diff --git a/niucloud/public/wap/assets/u-parse-9cce559f.css b/niucloud/public/wap/assets/agreement-ca06a3ce.css similarity index 92% rename from niucloud/public/wap/assets/u-parse-9cce559f.css rename to niucloud/public/wap/assets/agreement-ca06a3ce.css index eb526bcbb..0cd59f476 100644 --- a/niucloud/public/wap/assets/u-parse-9cce559f.css +++ b/niucloud/public/wap/assets/agreement-ca06a3ce.css @@ -1 +1 @@ -._a[data-v-08dfb3fe]{padding:1.5px 0;color:#366092;word-break:break-all}._hover[data-v-08dfb3fe]{text-decoration:underline;opacity:.7}._img[data-v-08dfb3fe]{max-width:100%;-webkit-touch-callout:none}._block[data-v-08dfb3fe]{display:block}._b[data-v-08dfb3fe],._strong[data-v-08dfb3fe]{font-weight:700}._code[data-v-08dfb3fe]{font-family:monospace}._del[data-v-08dfb3fe]{text-decoration:line-through}._em[data-v-08dfb3fe],._i[data-v-08dfb3fe]{font-style:italic}._h1[data-v-08dfb3fe]{font-size:2em}._h2[data-v-08dfb3fe]{font-size:1.5em}._h3[data-v-08dfb3fe]{font-size:1.17em}._h5[data-v-08dfb3fe]{font-size:.83em}._h6[data-v-08dfb3fe]{font-size:.67em}._h1[data-v-08dfb3fe],._h2[data-v-08dfb3fe],._h3[data-v-08dfb3fe],._h4[data-v-08dfb3fe],._h5[data-v-08dfb3fe],._h6[data-v-08dfb3fe]{display:block;font-weight:700}._image[data-v-08dfb3fe]{height:1px}._ins[data-v-08dfb3fe]{text-decoration:underline}._li[data-v-08dfb3fe]{display:list-item}._ol[data-v-08dfb3fe]{list-style-type:decimal}._ol[data-v-08dfb3fe],._ul[data-v-08dfb3fe]{display:block;padding-left:40px;margin:1em 0}._q[data-v-08dfb3fe]:before{content:'"'}._q[data-v-08dfb3fe]:after{content:'"'}._sub[data-v-08dfb3fe]{font-size:smaller;vertical-align:sub}._sup[data-v-08dfb3fe]{font-size:smaller;vertical-align:super}._thead[data-v-08dfb3fe],._tbody[data-v-08dfb3fe],._tfoot[data-v-08dfb3fe]{display:table-row-group}._tr[data-v-08dfb3fe]{display:table-row}._td[data-v-08dfb3fe],._th[data-v-08dfb3fe]{display:table-cell;vertical-align:middle}._th[data-v-08dfb3fe]{font-weight:700;text-align:center}._ul[data-v-08dfb3fe]{list-style-type:disc}._ul ._ul[data-v-08dfb3fe]{margin:0;list-style-type:circle}._ul ._ul ._ul[data-v-08dfb3fe]{list-style-type:square}._abbr[data-v-08dfb3fe],._b[data-v-08dfb3fe],._code[data-v-08dfb3fe],._del[data-v-08dfb3fe],._em[data-v-08dfb3fe],._i[data-v-08dfb3fe],._ins[data-v-08dfb3fe],._label[data-v-08dfb3fe],._q[data-v-08dfb3fe],._span[data-v-08dfb3fe],._strong[data-v-08dfb3fe],._sub[data-v-08dfb3fe],._sup[data-v-08dfb3fe]{display:inline}._root[data-v-223c9678]{padding:1px 0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}._select[data-v-223c9678]{-webkit-user-select:text;user-select:text} +._a[data-v-08dfb3fe]{padding:1.5px 0;color:#366092;word-break:break-all}._hover[data-v-08dfb3fe]{text-decoration:underline;opacity:.7}._img[data-v-08dfb3fe]{max-width:100%;-webkit-touch-callout:none}._block[data-v-08dfb3fe]{display:block}._b[data-v-08dfb3fe],._strong[data-v-08dfb3fe]{font-weight:700}._code[data-v-08dfb3fe]{font-family:monospace}._del[data-v-08dfb3fe]{text-decoration:line-through}._em[data-v-08dfb3fe],._i[data-v-08dfb3fe]{font-style:italic}._h1[data-v-08dfb3fe]{font-size:2em}._h2[data-v-08dfb3fe]{font-size:1.5em}._h3[data-v-08dfb3fe]{font-size:1.17em}._h5[data-v-08dfb3fe]{font-size:.83em}._h6[data-v-08dfb3fe]{font-size:.67em}._h1[data-v-08dfb3fe],._h2[data-v-08dfb3fe],._h3[data-v-08dfb3fe],._h4[data-v-08dfb3fe],._h5[data-v-08dfb3fe],._h6[data-v-08dfb3fe]{display:block;font-weight:700}._image[data-v-08dfb3fe]{height:1px}._ins[data-v-08dfb3fe]{text-decoration:underline}._li[data-v-08dfb3fe]{display:list-item}._ol[data-v-08dfb3fe]{list-style-type:decimal}._ol[data-v-08dfb3fe],._ul[data-v-08dfb3fe]{display:block;padding-left:40px;margin:1em 0}._q[data-v-08dfb3fe]:before{content:'"'}._q[data-v-08dfb3fe]:after{content:'"'}._sub[data-v-08dfb3fe]{font-size:smaller;vertical-align:sub}._sup[data-v-08dfb3fe]{font-size:smaller;vertical-align:super}._thead[data-v-08dfb3fe],._tbody[data-v-08dfb3fe],._tfoot[data-v-08dfb3fe]{display:table-row-group}._tr[data-v-08dfb3fe]{display:table-row}._td[data-v-08dfb3fe],._th[data-v-08dfb3fe]{display:table-cell;vertical-align:middle}._th[data-v-08dfb3fe]{font-weight:700;text-align:center}._ul[data-v-08dfb3fe]{list-style-type:disc}._ul ._ul[data-v-08dfb3fe]{margin:0;list-style-type:circle}._ul ._ul ._ul[data-v-08dfb3fe]{list-style-type:square}._abbr[data-v-08dfb3fe],._b[data-v-08dfb3fe],._code[data-v-08dfb3fe],._del[data-v-08dfb3fe],._em[data-v-08dfb3fe],._i[data-v-08dfb3fe],._ins[data-v-08dfb3fe],._label[data-v-08dfb3fe],._q[data-v-08dfb3fe],._span[data-v-08dfb3fe],._strong[data-v-08dfb3fe],._sub[data-v-08dfb3fe],._sup[data-v-08dfb3fe]{display:inline}._root[data-v-0aa9b049]{padding:1px 0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}._select[data-v-0aa9b049]{-webkit-user-select:text;-moz-user-select:text;user-select:text} diff --git a/niucloud/public/wap/assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js b/niucloud/public/wap/assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js deleted file mode 100644 index 7be083b91..000000000 --- a/niucloud/public/wap/assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,h as t,i as e,w as s,C as r,ai as n,aY as i,X as d,aZ as l,R as o,t as u}from"./index-15eacd31.js";const p=a({__name:"app-link",props:{url:String,data:{type:Object,default:()=>({})},mode:{type:String,default:"navigateTo"}},setup(a){const p=a,f=()=>{if(Object.keys(p.data).length){if(!p.data.url)return;if("pages/member/index"==n()&&!i())return void d().setLoginBack({url:p.data.url});l(p.data)}else o(p)};return(a,n)=>{const i=u;return t(),e(i,{onClick:f},{default:s((()=>[r(a.$slots,"default")])),_:3})}}});export{p as _}; diff --git a/niucloud/public/wap/assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js b/niucloud/public/wap/assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js new file mode 100644 index 000000000..cdf36c740 --- /dev/null +++ b/niucloud/public/wap/assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js @@ -0,0 +1 @@ +import{d as a,i as t,j as e,w as s,T as r,ab as n,aU as d,a0 as i,aV as l,h as o,x as u}from"./index-59b72094.js";const p=a({__name:"app-link",props:{url:String,data:{type:Object,default:()=>({})},mode:{type:String,default:"navigateTo"}},setup(a){const p=a,f=()=>{if(Object.keys(p.data).length){if(!p.data.url)return;if("app/pages/member/index"==n()&&!d())return void i().setLoginBack({url:p.data.url});l(p.data)}else o(p)};return(a,n)=>{const d=u;return t(),e(d,{onClick:f},{default:s((()=>[r(a.$slots,"default")])),_:3})}}});export{p as _}; diff --git a/niucloud/public/wap/assets/app-locale-en-pages.setting.index.7f2a9cf4.js b/niucloud/public/wap/assets/app-locale-en-pages.setting.index.7f2a9cf4.js new file mode 100644 index 000000000..86aca1821 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-en-pages.setting.index.7f2a9cf4.js @@ -0,0 +1 @@ +const t="Personal settings",o="Switch language",s="Version",e="Log out",n={personalSettings:t,switchLang:o,version:s,logout:e};export{n as default,e as logout,t as personalSettings,o as switchLang,s as version}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.bind.356a10db.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.bind.356a10db.js new file mode 100644 index 000000000..0005094ce --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.bind.356a10db.js @@ -0,0 +1 @@ +const e="绑定手机号",i="绑定",l="绑定中",d="请阅读并同意",o="请勾选已阅读并同意",a="请输入手机号",n="请输入验证码",r="微信用户一键绑定",b={bindMobile:e,bind:"绑定",binding:"绑定中",agreeTips:d,pleaceAgree:o,mobilePlaceholder:a,codePlaceholder:n,weixinUserAuth:r};export{d as agreeTips,i as bind,e as bindMobile,l as binding,n as codePlaceholder,b as default,a as mobilePlaceholder,o as pleaceAgree,r as weixinUserAuth}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.login.0404bd09.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.login.0404bd09.js new file mode 100644 index 000000000..72fd330dc --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.login.0404bd09.js @@ -0,0 +1 @@ +const e="登录中",o="请输入账号",a="请输入密码",l="忘记密码",n="还没有账号",r="去注册",s="和",i="登录代表您同意",d="密码登录",t="验证码登录",c="请输入手机号",g={logining:"登录中",usernamePlaceholder:o,passwordPlaceholder:a,resetpwd:l,noAccount:n,toRegister:"去注册",and:"和",agreeTips:i,usernameLogin:d,mobileLogin:t,mobilePlaceholder:c};export{i as agreeTips,s as and,g as default,e as logining,t as mobileLogin,c as mobilePlaceholder,n as noAccount,a as passwordPlaceholder,l as resetpwd,r as toRegister,d as usernameLogin,o as usernamePlaceholder}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.register.a5ee0e14.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.register.a5ee0e14.js new file mode 100644 index 000000000..5e9a4d748 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.register.a5ee0e14.js @@ -0,0 +1 @@ +const e="注册中",r="请输入账号",o="请输入密码",s="请再次确认密码",a="两次输入的密码不一致",i="忘记密码",l="已有账号",d="去登录",t="和",c="注册代表您同意",n="账号注册",g="手机号注册",m="请输入手机号",P={registering:"注册中",usernamePlaceholder:r,passwordPlaceholder:o,confirmPasswordPlaceholder:s,confirmPasswordError:a,resetpwd:i,haveAccount:l,toLogin:"去登录",and:"和",registerAgreeTips:c,usernameRegister:n,mobileRegister:g,mobilePlaceholder:m};export{t as and,a as confirmPasswordError,s as confirmPasswordPlaceholder,P as default,l as haveAccount,m as mobilePlaceholder,g as mobileRegister,o as passwordPlaceholder,c as registerAgreeTips,e as registering,i as resetpwd,d as toLogin,r as usernamePlaceholder,n as usernameRegister}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.resetpwd.75e76a8e.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.resetpwd.75e76a8e.js new file mode 100644 index 000000000..cf51bfa72 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.auth.resetpwd.75e76a8e.js @@ -0,0 +1 @@ +const r="找回密码",o="请输入密码",s="请再次确认密码",a="两次输入的密码不一致",d={findPassword:r,passwordPlaceholder:o,confirmPasswordPlaceholder:s,confirmPasswordError:a};export{a as confirmPasswordError,s as confirmPasswordPlaceholder,d as default,r as findPassword,o as passwordPlaceholder}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.index.develop.01fcf72e.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.index.develop.01fcf72e.js new file mode 100644 index 000000000..45eaded03 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.index.develop.01fcf72e.js @@ -0,0 +1 @@ +const e="开发环境配置",a="API请求地址",l="图片服务器地址",t="请输入数字",m="最大不能超过",r={developTitle:e,baseUrl:a,imgUrl:l,pleaseEnterNumber:t,maximumCannotExceed:m};export{a as baseUrl,r as default,e as developTitle,l as imgUrl,m as maximumCannotExceed,t as pleaseEnterNumber}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.account.a20f7aba.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.account.a20f7aba.js new file mode 100644 index 000000000..ec69786b5 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.account.a20f7aba.js @@ -0,0 +1 @@ +const a="支付宝账号",d="添加银行卡",n="添加支付宝账号",c="尾号",o="银行卡",t={alipayAccountNo:a,addBankCard:d,addAlipayAccount:n,endNumber:"尾号",bankCard:"银行卡"};export{n as addAlipayAccount,d as addBankCard,a as alipayAccountNo,o as bankCard,t as default,c as endNumber}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.account_edit.10181839.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.account_edit.10181839.js new file mode 100644 index 000000000..545236d5a --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.account_edit.10181839.js @@ -0,0 +1 @@ +const a="添加银行卡",e="请添加持卡人本人的银行卡",l="添加支付宝账号",n="请添加已实名的支付宝账号",c="持卡人姓名",o="请输入持卡人姓名",d="银行名称",t="请输入银行名称",i="银行卡号",p="请输入银行卡号",r="真实姓名",k="请输入真实姓名",A="支付宝账号",m="请输入支付宝账号",u="确定要删除该账号吗?",b={addBankCard:a,addBankCardTips:e,addAlipayAccount:l,addAlipayAccountTips:n,bankRealname:c,bankRealnamePlaceholder:o,bankName:d,bankNamePlaceholder:t,bankAccountNo:i,bankAccountNoPlaceholder:p,alipayRealname:r,alipayRealnamePlaceholder:k,alipayAccountNo:A,alipayAccountNoPlaceholder:m,deleteConfirm:u};export{l as addAlipayAccount,n as addAlipayAccountTips,a as addBankCard,e as addBankCardTips,A as alipayAccountNo,m as alipayAccountNoPlaceholder,r as alipayRealname,k as alipayRealnamePlaceholder,i as bankAccountNo,p as bankAccountNoPlaceholder,d as bankName,t as bankNamePlaceholder,c as bankRealname,o as bankRealnamePlaceholder,b as default,u as deleteConfirm}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.apply_cash_out.7f44b3a1.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.apply_cash_out.7f44b3a1.js new file mode 100644 index 000000000..6e5b900d3 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.apply_cash_out.7f44b3a1.js @@ -0,0 +1 @@ +const a="提现",o="余额明细",e="提现到",t="请选择提现方式",c="微信默认钱包",l="提现金额",s="可提现余额",p="全部提现",h="最小提现金额为",i="手续费为",n="提现记录",y="提现至微信",T="提现至微信零钱",u="提现至支付宝",O="请先添加支付宝账号",r="提现至银行卡",d="请先添加银行卡",m="支付宝账号",A="储蓄卡",b="异常操作",M="没有可用的提现方式",w="请输入提现金额",x="提现金额格式错误",B="提现金额超出可提现金额",W="提现金额小于最低提现金额",f="更换",k="去添加",C={cashOut:"提现",balanceDetail:o,cashOutTo:"提现到",cashOutTypePlaceholder:t,wechatpay:c,cashOutMoneyTip:l,money:s,allTx:p,minWithdrawal:h,commissionTo:i,cashOutList:n,cashOutToWechat:y,cashOutToWechatTips:T,cashOutToAlipay:u,cashOutToAlipayTips:O,cashOutToBank:r,cashOutToBankTips:d,alipayAccountNo:m,debitCard:"储蓄卡",abnormalOperation:b,noAvailableCashOutType:M,applyMoneyPlaceholder:w,moneyformatError:x,applyMoneyExceed:B,applyMoneyBelow:W,replace:"更换",toAdd:"去添加"};export{b as abnormalOperation,m as alipayAccountNo,p as allTx,W as applyMoneyBelow,B as applyMoneyExceed,w as applyMoneyPlaceholder,o as balanceDetail,a as cashOut,n as cashOutList,l as cashOutMoneyTip,e as cashOutTo,u as cashOutToAlipay,O as cashOutToAlipayTips,r as cashOutToBank,d as cashOutToBankTips,y as cashOutToWechat,T as cashOutToWechatTips,t as cashOutTypePlaceholder,i as commissionTo,A as debitCard,C as default,h as minWithdrawal,s as money,x as moneyformatError,M as noAvailableCashOutType,f as replace,k as toAdd,c as wechatpay}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.balance.0a372d3c.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.balance.0a372d3c.js new file mode 100644 index 000000000..1dbe6871c --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.balance.0a372d3c.js @@ -0,0 +1 @@ +const a="我的余额",e="充值",c="提现",r="余额明细",l="账户余额(元)",n="余额(元)",o="可提现余额(元)",t="可用余额",h="充值金额错误",u="立即充值",g="请输入充值金额",b="元",d="充值记录",i={balanceInfo:a,recharge:"充值",cashOut:"提现",balanceDetail:r,accountBalance:l,balance:n,money:o,availableBalance:t,rechargeAmountError:h,clickRecharge:u,rechargeAmountPlaceholder:g,yuan:"元",rechargeRecord:d};export{l as accountBalance,t as availableBalance,n as balance,r as balanceDetail,a as balanceInfo,c as cashOut,u as clickRecharge,i as default,o as money,e as recharge,h as rechargeAmountError,g as rechargeAmountPlaceholder,d as rechargeRecord,b as yuan}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.cash_out.e9b5df1c.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.cash_out.e9b5df1c.js new file mode 100644 index 000000000..d32c4b614 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.cash_out.e9b5df1c.js @@ -0,0 +1 @@ +const e="申请时间",a="官方正在审核,请耐心等待",t="官方正在转账,请耐心等待",i="官方已转账,请及时查收",p="申请已取消",s="余额记录",l="佣金记录",m="暂无余额记录",o="暂无佣金记录",c={applyTime:e,toBeReviewed:a,toBeTransfer:t,transfer:i,cancelApply:p,balanceDetail:s,commissionDetail:l,emptyTip:m,commissemptyTip:o};export{e as applyTime,s as balanceDetail,p as cancelApply,o as commissemptyTip,l as commissionDetail,c as default,m as emptyTip,a as toBeReviewed,t as toBeTransfer,i as transfer}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.cash_out_detail.587d5494.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.cash_out_detail.587d5494.js new file mode 100644 index 000000000..88bd0b950 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.cash_out_detail.587d5494.js @@ -0,0 +1 @@ +const e="当前状态",a="交易号",t="手续费",r="申请时间",s="审核时间",n="银行名称",c="收款账号",f="拒绝理由",o="转账方式名称",u="转账时间",i={statusName:e,cashOutNo:"交易号",serviceMoney:"手续费",createTime:r,auditTime:s,transferBank:n,transferAccount:c,refuseReason:f,transferTypeName:o,transferTime:u};export{s as auditTime,a as cashOutNo,r as createTime,i as default,f as refuseReason,t as serviceMoney,e as statusName,c as transferAccount,n as transferBank,u as transferTime,o as transferTypeName}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.commission.c54dbf6f.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.commission.c54dbf6f.js new file mode 100644 index 000000000..2fbedf15f --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.commission.c54dbf6f.js @@ -0,0 +1 @@ +const o="充值",e="提现",a="佣金明细",c="账户佣金(元)",i="累计佣金(元)",m="提现中佣金(元)",s="可用佣金",n="充值金额错误",r="立即充值",t="请输入充值金额",l="元",h="我的佣金",u={recharge:"充值",cashOut:"提现",commissionDetail:a,accountCommission:c,commission:i,money:m,availableCommission:s,rechargeAmountError:n,clickRecharge:r,rechargeAmountPlaceholder:t,yuan:"元",commissionInfo:h};export{c as accountCommission,s as availableCommission,e as cashOut,r as clickRecharge,i as commission,a as commissionDetail,h as commissionInfo,u as default,m as money,o as recharge,n as rechargeAmountError,t as rechargeAmountPlaceholder,l as yuan}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.detailed_account.d74ec38a.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.detailed_account.d74ec38a.js new file mode 100644 index 000000000..be07ba449 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.detailed_account.d74ec38a.js @@ -0,0 +1 @@ +const e="余额明细",i="佣金明细",t="暂无余额明细",a="暂无佣金明细",m={balanceDetail:e,commissionDetail:i,emptyTip:t,commissemptyTip:a};export{e as balanceDetail,a as commissemptyTip,i as commissionDetail,m as default,t as emptyTip}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.personal.ee5ae624.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.personal.ee5ae624.js new file mode 100644 index 000000000..f8fc3b1a3 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.personal.ee5ae624.js @@ -0,0 +1 @@ +const a="昵称",e="性别",n="手机号",i="生日",d="未知",m="更换头像",o="修改昵称",t="男",b="女",u="绑定手机",c={nickname:"昵称",sex:"性别",mobile:"手机号",birthday:"生日",unknown:"未知",updateHeadimg:m,updateNickname:o,man:"男",woman:"女",bindMobile:u};export{u as bindMobile,i as birthday,c as default,t as man,n as mobile,a as nickname,e as sex,d as unknown,m as updateHeadimg,o as updateNickname,b as woman}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.withdrawal_detail.c63044ba.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.withdrawal_detail.c63044ba.js new file mode 100644 index 000000000..dfaf052bc --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.member.withdrawal_detail.c63044ba.js @@ -0,0 +1 @@ +const a="充值",e="提现",c="余额明细",r="账户余额(元)",l="余额(元)",n="可提现余额(元)",o="可用余额",t="充值金额错误",h="立即充值",u="请输入充值金额",g="元",b={recharge:"充值",cashOut:"提现",balanceDetail:c,accountBalance:r,balance:l,money:n,availableBalance:o,rechargeAmountError:t,clickRecharge:h,rechargeAmountPlaceholder:u,yuan:"元"};export{r as accountBalance,o as availableBalance,l as balance,c as balanceDetail,e as cashOut,h as clickRecharge,b as default,n as money,a as recharge,t as rechargeAmountError,u as rechargeAmountPlaceholder,g as yuan}; diff --git a/niucloud/public/wap/assets/app-locale-zh-Hans-pages.setting.index.81e854bb.js b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.setting.index.81e854bb.js new file mode 100644 index 000000000..88e9ce319 --- /dev/null +++ b/niucloud/public/wap/assets/app-locale-zh-Hans-pages.setting.index.81e854bb.js @@ -0,0 +1 @@ +const t="个人设置",o="切换语言",s="版本号",e="退出登录",n={personalSettings:t,switchLang:o,version:"版本号",logout:e};export{n as default,e as logout,t as personalSettings,o as switchLang,s as version}; diff --git a/niucloud/public/wap/assets/app-pages-auth-agreement.8a878b04.js b/niucloud/public/wap/assets/app-pages-auth-agreement.8a878b04.js new file mode 100644 index 000000000..433fec9f8 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-auth-agreement.8a878b04.js @@ -0,0 +1 @@ +import{z as t,A as s,B as e,C as i,D as n,E as a,i as r,j as o,w as l,F as h,G as c,H as d,m as p,p as u,I as m,J as g,k as f,K as y,L as b,M as x,N as k,x as v,O as w,P as T,Q as _,f as $,R as N,S as L,T as O,d as S,r as C,o as I,U as j,q as R,t as A}from"./index-59b72094.js";import{_ as z}from"./_plugin-vue_export-helper.1b428a4d.js";var B={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};const E={isInline:function(t,s){return B[t]||-1!==(s||"").indexOf("display:inline")}},V=t=>{t.$wxs||(t.$wxs=[]),t.$wxs.push("handler"),t.mixins||(t.mixins=[]),t.mixins.push({beforeCreate(){this.handler=E}})},q={name:"node",options:{},data:()=>({ctrl:{}}),props:{name:String,attrs:{type:Object,default:()=>({})},childs:Array,opts:Array},components:{},mounted(){if(this.$nextTick((()=>{for(this.root=this.$parent;"u-parse"!==this.root.$options.name;this.root=this.root.$parent);})),this.opts[0]){let s;for(s=this.childs.length;s--&&"img"!==this.childs[s].name;);-1!==s&&(this.observer=t(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",(t=>{t.intersectionRatio&&(this.$set(this.ctrl,"load",1),this.observer.disconnect())})))}},beforeDestroy(){this.observer&&this.observer.disconnect()},methods:{play(t){if(this.root.$emit("play"),this.root.pauseVideo){let e=!1;const i=t.target.id;for(let t=this.root._videos.length;t--;)this.root._videos[t].id===i?e=!0:this.root._videos[t].pause();if(!e){const t=s(i,this);t.id=i,this.root.playbackRate&&t.playbackRate(this.root.playbackRate),this.root._videos.push(t)}}},imgTap(t){const s=this.childs[t.currentTarget.dataset.i];s.a?this.linkTap(s.a):s.attrs.ignore||(s.attrs.src=s.attrs.src||s.attrs["data-src"],this.root.$emit("imgtap",s.attrs),this.root.previewImg&&e({current:parseInt(s.attrs.i),urls:this.root.imgList}))},imgLongTap(t){},imgLoad(t){const s=t.currentTarget.dataset.i;(this.opts[1]&&!this.ctrl[s]||-1===this.ctrl[s])&&this.$set(this.ctrl,s,1),this.checkReady()},checkReady(){this.root.lazyLoad||(this.root._unloadimgs-=1,this.root._unloadimgs||setTimeout((()=>{this.root.getRect().then((t=>{this.root.$emit("ready",t)})).catch((()=>{this.root.$emit("ready",{})}))}),350))},linkTap(t){const s=t.currentTarget?this.childs[t.currentTarget.dataset.i]:{},e=s.attrs||t,a=e.href;this.root.$emit("linktap",Object.assign({innerText:this.root.getText(s.children||[])},e)),a&&("#"===a[0]?this.root.navigateTo(a.substring(1)).catch((()=>{})):a.split("?")[0].includes("://")?this.root.copyLink&&window.open(a):i({url:a,fail(){n({url:a,fail(){}})}}))},mediaError(t){const s=t.currentTarget.dataset.i,e=this.childs[s];if("video"===e.name||"audio"===e.name){let t=(this.ctrl[s]||0)+1;if(t>e.src.length&&(t=0),t[(r(!0),h(c,null,d(e.childs,((i,a)=>(r(),h(c,{key:a},[p(" 图片 "),p(" 占位图 "),"img"===i.name&&!i.t&&(e.opts[1]&&!n.ctrl[a]||n.ctrl[a]<0)?(r(),o($,{key:0,class:"_img",style:u(i.attrs.style),src:n.ctrl[a]<0?e.opts[2]:e.opts[1],mode:"widthFix"},null,8,["style","src"])):p("v-if",!0),p(" 显示图片 "),"img"===i.name?(r(),h("img",{key:1,id:i.attrs.id,class:m("_img "+i.attrs.class),style:u((-1===n.ctrl[a]?"display:none;":"")+i.attrs.style),src:i.attrs.src||(n.ctrl.load?i.attrs["data-src"]:""),"data-i":a,onLoad:s[0]||(s[0]=(...t)=>_.imgLoad&&_.imgLoad(...t)),onError:s[1]||(s[1]=(...t)=>_.mediaError&&_.mediaError(...t)),onClick:s[2]||(s[2]=g(((...t)=>_.imgTap&&_.imgTap(...t)),["stop"])),onLongpress:s[3]||(s[3]=(...t)=>_.imgLongTap&&_.imgLongTap(...t))},null,46,["id","src","data-i"])):i.text?(r(),h(c,{key:2},[p(" 文本 "),f(N,{decode:""},{default:l((()=>[y(b(i.text),1)])),_:2},1024)],2112)):"br"===i.name?(r(),o(N,{key:3},{default:l((()=>[y("\\n")])),_:1})):"a"===i.name?(r(),h(c,{key:4},[p(" 链接 "),f(O,{id:i.attrs.id,class:m((i.attrs.href?"_a ":"")+i.attrs.class),"hover-class":"_hover",style:u("display:inline;"+i.attrs.style),"data-i":a,onClick:g(_.linkTap,["stop"])},{default:l((()=>[f(L,{name:"span",childs:i.children,opts:e.opts,style:{display:"inherit"}},null,8,["childs","opts"])])),_:2},1032,["id","class","style","data-i","onClick"])],2112)):"video"===i.name?(r(),h(c,{key:5},[p(" 视频 "),f(S,{id:i.attrs.id,class:m(i.attrs.class),style:u(i.attrs.style),autoplay:i.attrs.autoplay,controls:i.attrs.controls,loop:i.attrs.loop,muted:i.attrs.muted,"object-fit":i.attrs["object-fit"],poster:i.attrs.poster,src:i.src[n.ctrl[a]||0],"data-i":a,onPlay:_.play,onError:_.mediaError},null,8,["id","class","style","autoplay","controls","loop","muted","object-fit","poster","src","data-i","onPlay","onError"])],2112)):"iframe"===i.name?(r(),h("iframe",{key:6,style:u(i.attrs.style),allowfullscreen:i.attrs.allowfullscreen,frameborder:i.attrs.frameborder,src:i.attrs.src},null,12,["allowfullscreen","frameborder","src"])):"embed"===i.name?(r(),h("embed",{key:7,style:u(i.attrs.style),src:i.attrs.src},null,12,["src"])):"table"===i.name&&i.c||"li"===i.name?(r(),o(O,{key:8,id:i.attrs.id,class:m("_"+i.name+" "+i.attrs.class),style:u(i.attrs.style)},{default:l((()=>["li"===i.name?(r(),o(L,{key:0,childs:i.children,opts:e.opts},null,8,["childs","opts"])):(r(!0),h(c,{key:1},d(i.children,((t,s)=>(r(),o(O,{key:s,class:m("_"+t.name+" "+t.attrs.class),style:u(t.attrs.style)},{default:l((()=>["td"===t.name||"th"===t.name?(r(),o(L,{key:0,childs:t.children,opts:e.opts},null,8,["childs","opts"])):(r(!0),h(c,{key:1},d(t.children,((t,s)=>(r(),h(c,{key:s},["td"===t.name||"th"===t.name?(r(),o(O,{key:0,class:m("_"+t.name+" "+t.attrs.class),style:u(t.attrs.style)},{default:l((()=>[f(L,{childs:t.children,opts:e.opts},null,8,["childs","opts"])])),_:2},1032,["class","style"])):(r(),o(O,{key:1,class:m("_"+t.name+" "+t.attrs.class),style:u(t.attrs.style)},{default:l((()=>[(r(!0),h(c,null,d(t.children,((t,s)=>(r(),o(O,{key:s,class:m("_"+t.name+" "+t.attrs.class),style:u(t.attrs.style)},{default:l((()=>[f(L,{childs:t.children,opts:e.opts},null,8,["childs","opts"])])),_:2},1032,["class","style"])))),128))])),_:2},1032,["class","style"]))],64)))),128))])),_:2},1032,["class","style"])))),128))])),_:2},1032,["id","class","style"])):i.c||t.handler.isInline(i.name,i.attrs.style)?2===i.c?(r(),h(c,{key:10},[p(" 继续递归 "),f(O,{id:i.attrs.id,class:m("_block _"+i.name+" "+i.attrs.class),style:u(i.f+";"+i.attrs.style)},{default:l((()=>[(r(!0),h(c,null,d(i.children,((t,s)=>(r(),o(L,{key:s,style:u(t.f),name:t.name,attrs:t.attrs,childs:t.children,opts:e.opts},null,8,["style","name","attrs","childs","opts"])))),128))])),_:2},1032,["id","class","style"])],2112)):(r(),o(L,{key:11,style:u(i.f),name:i.name,attrs:i.attrs,childs:i.children,opts:e.opts},null,8,["style","name","attrs","childs","opts"])):(r(),h(c,{key:9},[p(" 富文本 "),f(C,{id:i.attrs.id,style:u(i.f),"user-select":e.opts[4],nodes:[i]},null,8,["id","style","user-select","nodes"])],2112))],64)))),128))])),_:1},8,["id","class","style"])}],["__scopeId","data-v-08dfb3fe"]]),F={trustTags:Z("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:Z("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:Z("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:Z("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur"}},P={},{windowWidth:U}=_(),M=Z(" ,\r,\n,\t,\f");let G=0;function Z(t){const s=Object.create(null),e=t.split(",");for(let i=e.length;i--;)s[e[i]]=!0;return s}function H(t,s){let e=t.indexOf("&");for(;-1!==e;){const i=t.indexOf(";",e+3);let n;if(-1===i)break;"#"===t[e+1]?(n=parseInt(("x"===t[e+2]?"0":"")+t.substring(e+2,i)),isNaN(n)||(t=t.substr(0,e)+String.fromCharCode(n)+t.substr(i+1))):(n=t.substring(e+1,i),(F.entities[n]||"amp"===n&&s)&&(t=t.substr(0,e)+(F.entities[n]||"&")+t.substr(i+1))),e=t.indexOf("&",e+1)}return t}function J(t){let s=t.length-1;for(let e=s;e>=-1;e--)(-1===e||t[e].c||!t[e].name||"div"!==t[e].name&&"p"!==t[e].name&&"h"!==t[e].name[0]||(t[e].attrs.style||"").includes("inline"))&&(s-e>=5&&t.splice(e+1,s-e,{name:"div",attrs:{},children:t.slice(e+1,s+1)}),s=e-1)}function K(t){this.options=t||{},this.tagStyle=Object.assign({},F.tagStyle,this.options.tagStyle),this.imgList=t.imgList||[],this.imgList._unloadimgs=0,this.plugins=t.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function Q(t){this.handler=t}F.ignoreTags.iframe=void 0,F.trustTags.iframe=!0,F.ignoreTags.embed=void 0,F.trustTags.embed=!0,K.prototype.parse=function(t){for(let s=this.plugins.length;s--;)this.plugins[s].onUpdate&&(t=this.plugins[s].onUpdate(t,F)||t);for(new Q(this).parse(t);this.stack.length;)this.popNode();return this.nodes.length>50&&J(this.nodes),this.nodes},K.prototype.expose=function(){for(let t=this.stack.length;t--;){const s=this.stack[t];if(s.c||"a"===s.name||"video"===s.name||"audio"===s.name)return;s.c=1}},K.prototype.hook=function(t){for(let s=this.plugins.length;s--;)if(this.plugins[s].onParse&&!1===this.plugins[s].onParse(t,this))return!1;return!0},K.prototype.getUrl=function(t){const s=this.options.domain;return"/"===t[0]?"/"===t[1]?t=(s?s.split("://")[0]:"http")+":"+t:s&&(t=s+t):t.includes("data:")||t.includes("://")||s&&(t=s+"/"+t),t},K.prototype.parseStyle=function(t){const s=t.attrs,e=(this.tagStyle[t.name]||"").split(";").concat((s.style||"").split(";")),i={};let n="";s.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==t.name&&"a"!==t.name&&"video"!==t.name&&"audio"!==t.name&&(s.id=void 0)),s.width&&(i.width=parseFloat(s.width)+(s.width.includes("%")?"%":"px"),s.width=void 0),s.height&&(i.height=parseFloat(s.height)+(s.height.includes("%")?"%":"px"),s.height=void 0);for(let a=0,r=e.length;a0||r.includes("safe"))n+=`;${s}:${r}`;else if(!i[s]||r.includes("import")||!i[s].includes("import")){if(r.includes("url")){let t=r.indexOf("(")+1;if(t){for(;'"'===r[t]||"'"===r[t]||M[r[t]];)t++;r=r.substr(0,t)+this.getUrl(r.substr(t))}}else r.includes("rpx")&&(r=r.replace(/[0-9.]+\s*rpx/g,(t=>parseFloat(t)*U/750+"px")));i[s]=r}}return t.attrs.style=n,i},K.prototype.onTagName=function(t){this.tagName=this.xml?t:t.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1)},K.prototype.onAttrName=function(t){"data-"===(t=this.xml?t:t.toLowerCase()).substr(0,5)?"data-src"!==t||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=t:this.attrName=void 0:this.attrName="src":(this.attrName=t,this.attrs[t]="T")},K.prototype.onAttrVal=function(t){const s=this.attrName||"";"style"===s||"href"===s?this.attrs[s]=H(t,!0):s.includes("src")?this.attrs[s]=this.getUrl(H(t,!0)):s&&(this.attrs[s]=t)},K.prototype.onOpenTag=function(t){const s=Object.create(null);s.name=this.tagName,s.attrs=this.attrs,this.options.nodes.length&&(s.type="node"),this.attrs=Object.create(null);const e=s.attrs,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes,a=this.xml?t:F.voidTags[s.name];if(P[s.name]&&(e.class=P[s.name]+(e.class?" "+e.class:"")),"embed"===s.name&&this.expose(),"video"!==s.name&&"audio"!==s.name||("video"!==s.name||e.id||(e.id="v"+G++),e.controls||e.autoplay||(e.controls="T"),s.src=[],e.src&&(s.src.push(e.src),e.src=void 0),this.expose()),a){if(!this.hook(s)||F.ignoreTags[s.name])return void("base"!==s.name||this.options.domain?"source"===s.name&&i&&("video"===i.name||"audio"===i.name)&&e.src&&i.src.push(e.src):this.options.domain=e.href);const t=this.parseStyle(s);if("img"===s.name){if(e.src&&(e.src.includes("webp")&&(s.webp="T"),e.src.includes("data:")&&!e["original-src"]&&(e.ignore="T"),!e.ignore||s.webp||e.src.includes("cloud://"))){for(let n=this.stack.length;n--;){const i=this.stack[n];"a"===i.name&&(s.a=i.attrs),"table"!==i.name||s.webp||e.src.includes("cloud://")||(!t.display||t.display.includes("inline")?s.t="inline-block":s.t=t.display,t.display=void 0),i.c=1}e.i=this.imgList.length.toString();let i=e["original-src"]||e.src;this.imgList.push(i),s.t||(this.imgList._unloadimgs+=1),this.options.lazyLoad&&(e["data-src"]=e.src,e.src=void 0)}"inline"===t.display&&(t.display=""),e.ignore&&(t["max-width"]=t["max-width"]||"100%",e.style+=";-webkit-touch-callout:none"),parseInt(t.width)>U&&(t.height=void 0),isNaN(parseInt(t.width))||(s.w="T"),!isNaN(parseInt(t.height))&&(!t.height.includes("%")||i&&(i.attrs.style||"").includes("height"))&&(s.h="T")}else if("svg"===s.name)return n.push(s),this.stack.push(s),void this.popNode();for(const s in t)t[s]&&(e.style+=`;${s}:${t[s].replace(" !important","")}`);e.style=e.style.substr(1)||void 0}else("pre"===s.name||(e.style||"").includes("white-space")&&e.style.includes("pre"))&&2!==this.pre&&(this.pre=s.pre=1),s.children=[],this.stack.push(s);n.push(s)},K.prototype.onCloseTag=function(t){let s;for(t=this.xml?t:t.toLowerCase(),s=this.stack.length;s--&&this.stack[s].name!==t;);if(-1!==s)for(;this.stack.length>s;)this.popNode();else if("p"===t||"br"===t){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push({name:t,attrs:{class:P[t]||"",style:this.tagStyle[t]||""}})}},K.prototype.popNode=function(){const t=this.stack.pop();let s=t.attrs;const e=t.children,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes;if(!this.hook(t)||F.ignoreTags[t.name])return"title"===t.name&&e.length&&"text"===e[0].type&&this.options.setTitle&&$({title:e[0].text}),void n.pop();if(t.pre&&2!==this.pre){this.pre=t.pre=void 0;for(let t=this.stack.length;t--;)this.stack[t].pre&&(this.pre=1)}const a={};if("svg"===t.name){if(this.xml>1)return void this.xml--;let e="";const i=s.style;return s.style="",s.xmlns="http://www.w3.org/2000/svg",function t(s){if("text"===s.type)return void(e+=s.text);const i=F.svgDict[s.name]||s.name;e+="<"+i;for(const n in s.attrs){const t=s.attrs[n];t&&(e+=` ${F.svgDict[n]||n}="${t}"`)}if(s.children){e+=">";for(let e=0;e"}else e+="/>"}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+e.replace(/#/g,"%23"),style:i,ignore:"T"},t.children=void 0,void(this.xml=!1)}if(s.align&&("table"===t.name?"center"===s.align?a["margin-inline-start"]=a["margin-inline-end"]="auto":a.float=s.align:a["text-align"]=s.align,s.align=void 0),s.dir&&(a.direction=s.dir,s.dir=void 0),"font"===t.name&&(s.color&&(a.color=s.color,s.color=void 0),s.face&&(a["font-family"]=s.face,s.face=void 0),s.size)){let t=parseInt(s.size);isNaN(t)||(t<1?t=1:t>7&&(t=7),a["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][t-1]),s.size=void 0}if((s.class||"").includes("align-center")&&(a["text-align"]="center"),Object.assign(a,this.parseStyle(t)),"table"!==t.name&&parseInt(a.width)>U&&(a["max-width"]="100%",a["box-sizing"]="border-box"),F.blockTags[t.name]?t.name="div":F.trustTags[t.name]||this.xml||(t.name="span"),"a"===t.name||"ad"===t.name||"iframe"===t.name)this.expose();else if("video"===t.name)(a.height||"").includes("auto")&&(a.height=void 0);else if("ul"!==t.name&&"ol"!==t.name||!t.c){if("table"===t.name){let i=parseFloat(s.cellpadding),n=parseFloat(s.cellspacing);const r=parseFloat(s.border),o=a["border-color"],l=a["border-style"];if(t.c&&(isNaN(i)&&(i=2),isNaN(n)&&(n=2)),r&&(s.style+=`;border:${r}px ${l||"solid"} ${o||"gray"}`),t.flag&&t.c){a.display="grid",n?(a["grid-gap"]=n+"px",a.padding=n+"px"):r&&(s.style+=";border-left:0;border-top:0");const h=[],c=[],d=[],p={};!function t(s){for(let e=0;e=50&&t.c&&!(a.display||"").includes("flex")&&J(e);for(const o in a)if(a[o]){const e=`;${o}:${a[o].replace(" !important","")}`;r&&(o.includes("flex")&&"flex-direction"!==o||"align-self"===o||o.includes("grid")||"-"===a[o][0]||o.includes("width")&&e.includes("%"))?(t.f+=e,"width"===o&&(s.style+=";width:100%")):s.style+=e}s.style=s.style.substr(1)||void 0},K.prototype.onText=function(t){if(!this.pre){let s,e="";for(let i=0,n=t.length;i"===this.content[this.i]||s&&">"===this.content[this.i+1])&&(t&&this.handler[t](this.content.substring(this.start,this.i)),this.i+=s?2:1,this.start=this.i,this.handler.onOpenTag(s),"script"===this.handler.tagName?(this.i=this.content.indexOf("="a"&&t<="z"||t>="A"&&t<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===t||"!"===t||"?"===t){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));const s=this.content[this.i+2];if("/"===t&&(s>="a"&&s<="z"||s>="A"&&s<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);let e="--\x3e";"!"===t&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(e=">"),this.i=this.content.indexOf(e,this.i),-1!==this.i&&(this.i+=e.length,this.start=this.i)}else this.i++},Q.prototype.tagName=function(){if(M[this.content[this.i]]){for(this.handler.onTagName(this.content.substring(this.start,this.i));M[this.content[++this.i]];);this.i"===t||"/"===t){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==t&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};const W=[];const X=z({name:"u-parse",data:()=>({nodes:[]}),props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgTap","linkTap","play","error"],components:{node:D},watch:{content(t){this.setContent(t)}},created(){this.plugins=[];for(let t=W.length;t--;)this.plugins.push(new W[t](this))},mounted(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy(){this._hook("onDetached")},methods:{in(t,s,e){t&&s&&e&&(this._in={page:t,selector:s,scrollTop:e})},navigateTo(t,s){return new Promise(((e,i)=>{if(!this.useAnchor)return void i(Error("Anchor is disabled"));s=s||parseInt(this.useAnchor)||0;const n=N().in(this._in?this._in.page:this).select((this._in?this._in.selector:"._root")+(t?` #${t}`:"")).boundingClientRect();this._in?n.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():n.selectViewport().scrollOffset(),n.exec((t=>{if(!t[0])return void i(Error("Label not found"));const n=t[1].scrollTop+t[0].top-(t[2]?t[2].top:0)+s;this._in?this._in.page[this._in.scrollTop]=n:L({scrollTop:n,duration:300}),e()}))}))},getText(t){let s="";return function t(e){for(let i=0;i"0"&&n.name[1]<"7";e&&s&&"\n"!==s[s.length-1]&&(s+="\n"),n.children&&t(n.children),e&&"\n"!==s[s.length-1]?s+="\n":"td"!==n.name&&"th"!==n.name||(s+="\t")}}}(t||this.nodes),s},getRect(){return new Promise(((t,s)=>{N().in(this).select("#_root").boundingClientRect().exec((e=>e[0]?t(e[0]):s(Error("Root label not found"))))}))},pauseMedia(){for(let t=(this._videos||[]).length;t--;)this._videos[t].pause()},setPlaybackRate(t){this.playbackRate=t;for(let s=(this._videos||[]).length;s--;)this._videos[s].playbackRate(t)},setContent(t,s){s&&this.imgList||(this.imgList=[]);const e=new K(this).parse(t);if(this.$set(this,"nodes",s?(this.nodes||[]).concat(e):e),this._videos=[],this.$nextTick((()=>{this._hook("onLoad"),this.$emit("load")})),this.lazyLoad||this.imgList._unloadimgs{e&&e.height||(e={}),e.height===t?this.$emit("ready",e):(t=e.height,setTimeout((()=>{this.getRect().then(s).catch(s)}),350))};this.getRect().then(s).catch(s)}else this.imgList._unloadimgs||this.getRect().then((t=>{this.$emit("ready",t)})).catch((()=>{this.$emit("ready",{})}))},_hook(t){for(let s=W.length;s--;)this.plugins[s][t]&&this.plugins[s][t]()}}},[["render",function(t,s,e,i,n,h){const c=a("node"),d=v;return r(),o(d,{id:"_root",class:m((e.selectable?"_select ":"")+"_root"),style:u(e.containerStyle)},{default:l((()=>[n.nodes[0]?(r(),o(c,{key:1,childs:n.nodes,opts:[e.lazyLoad,e.loadingImg,e.errorImg,e.showImgMenu,e.selectable],name:"span"},null,8,["childs","opts"])):O(t.$slots,"default",{key:0},void 0,!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-0aa9b049"]]),Y=S({__name:"agreement",setup(t){const s=C(null);return I((t=>{j(t.key).then((t=>{s.value=t.data,$({title:t.data.title})}))})),(t,e)=>{const i=R(A("u-parse"),X),n=v;return s.value?(r(),o(n,{key:0,class:"p-[30rpx]"},{default:l((()=>[f(i,{content:s.value.content},null,8,["content"])])),_:1})):p("v-if",!0)}}});export{Y as default}; diff --git a/niucloud/public/wap/assets/app-pages-auth-bind.f727ccbc.js b/niucloud/public/wap/assets/app-pages-auth-bind.f727ccbc.js new file mode 100644 index 000000000..1f3ad361b --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-auth-bind.f727ccbc.js @@ -0,0 +1 @@ +import{V as e,W as t,X as a,q as l,t as o,i,j as r,w as s,k as n,I as c,J as u,p as h,T as d,K as p,L as b,x as m,N as f,d as k,Y as C,c as g,r as x,a as _,Z as y,n as S,m as v,_ as D,$ as z,h as $,a0 as w,a1 as B}from"./index-59b72094.js";import{_ as V,a as G,b as P}from"./u-form.a20c08e5.js";import{_ as j}from"./sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js";import{_ as I}from"./u-icon.4046c188.js";import{_ as N}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as L}from"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import{_ as T}from"./u-button.0f6f73b7.js";import"./u-line.9ef7233b.js";import"./u-modal.30bfd23d.js";import"./u-loading-icon.85becb71.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const H=N({name:"u-checkbox",mixins:[t,a,{props:{name:{type:[String,Number,Boolean],default:e.checkbox.name},shape:{type:String,default:e.checkbox.shape},size:{type:[String,Number],default:e.checkbox.size},checked:{type:Boolean,default:e.checkbox.checked},disabled:{type:[String,Boolean],default:e.checkbox.disabled},activeColor:{type:String,default:e.checkbox.activeColor},inactiveColor:{type:String,default:e.checkbox.inactiveColor},iconSize:{type:[String,Number],default:e.checkbox.iconSize},iconColor:{type:String,default:e.checkbox.iconColor},label:{type:[String,Number],default:e.checkbox.label},labelSize:{type:[String,Number],default:e.checkbox.labelSize},labelColor:{type:String,default:e.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:e.checkbox.labelDisabled}}}],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return uni.$u.addUnit(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=uni.$u.addUnit(this.elSize),e.height=uni.$u.addUnit(this.elSize),"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle(){const e={};return this.parentData.borderBottom&&"row"===this.parentData.placement&&uni.$u.error("检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效"),this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px"),uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},mounted(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-checkbox必须搭配u-checkbox-group组件使用");const e=this.parentData.modelValue;this.checked?this.isChecked=!0:uni.$u.test.array(e)&&(this.isChecked=e.some((e=>e===this.name)))},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){"right"===this.parentData.iconPlacement&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked),this.$nextTick((()=>{uni.$u.formValidate(this,"change")}))},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(){this.isChecked=this.checked}}},[["render",function(e,t,a,k,C,g){const x=l(o("u-icon"),I),_=m,y=f;return i(),r(_,{class:c(["u-checkbox",[`u-checkbox-label--${C.parentData.iconPlacement}`,C.parentData.borderBottom&&"column"===C.parentData.placement&&"u-border-bottom"]]),style:h([g.checkboxStyle]),onClick:u(g.wrapperClickHandler,["stop"])},{default:s((()=>[n(_,{class:c(["u-checkbox__icon-wrap",g.iconClasses]),onClick:u(g.iconClickHandler,["stop"]),style:h([g.iconWrapStyle])},{default:s((()=>[d(e.$slots,"icon",{},(()=>[n(x,{class:"u-checkbox__icon-wrap__icon",name:"checkbox-mark",size:g.elIconSize,color:g.elIconColor},null,8,["size","color"])]),!0)])),_:3},8,["onClick","class","style"]),n(y,{onClick:u(g.labelClickHandler,["stop"]),style:h({color:g.elDisabled?g.elInactiveColor:g.elLabelColor,fontSize:g.elLabelSize,lineHeight:g.elLabelSize})},{default:s((()=>[p(b(e.label),1)])),_:1},8,["onClick","style"])])),_:3},8,["style","onClick","class"])}],["__scopeId","data-v-fb07f37a"]]);const U=N({name:"u-checkbox-group",mixins:[t,a,{props:{name:{type:String,default:e.checkboxGroup.name},modelValue:{type:Array,default:e.checkboxGroup.value},shape:{type:String,default:e.checkboxGroup.shape},disabled:{type:Boolean,default:e.checkboxGroup.disabled},activeColor:{type:String,default:e.checkboxGroup.activeColor},inactiveColor:{type:String,default:e.checkboxGroup.inactiveColor},size:{type:[String,Number],default:e.checkboxGroup.size},placement:{type:String,default:e.checkboxGroup.placement},labelSize:{type:[String,Number],default:e.checkboxGroup.labelSize},labelColor:{type:[String],default:e.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:e.checkboxGroup.labelDisabled},iconColor:{type:String,default:e.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:e.checkboxGroup.iconSize},iconPlacement:{type:String,default:e.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:e.checkboxGroup.borderBottom}}}],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const t=[];this.children.map((e=>{e.isChecked&&t.push(e.name)})),this.$emit("change",t),this.$emit("update:modelValue",t)}}},[["render",function(e,t,a,l,o,n){const u=m;return i(),r(u,{class:c(["u-checkbox-group",n.bemClass])},{default:s((()=>[d(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"])}],["__scopeId","data-v-f5bb36e2"]]),A=k({__name:"bind",setup(e){const t=C(),a=g((()=>t.info)),c=g((()=>B().login)),u=x(!1),h=x(!1),d=_({mobile:"",mobile_code:"",mobile_key:"",openid:uni.getStorageSync("openid")}),k={mobile:[{type:"string",required:!0,message:y("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,t)=>uni.$u.test.mobile(t),message:y("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:!0,message:y("codePlaceholder"),trigger:["blur","change"]}},I=()=>{h.value=!h.value},N=x(null),A=()=>{N.value.validate().then((()=>{if(u.value)return;u.value=!0;(a.value?D:z)(d).then((e=>{a.value?(t.getMemberInfo(),$({url:"/app/pages/member/personal",mode:"redirectTo"})):(t.setToken(e.data.token),w().handleLoginBack())})).catch((()=>{u.value=!1}))}))};return(e,t)=>{const C=m,g=l(o("u-input"),V),x=l(o("u-form-item"),G),_=l(o("sms-code"),j),D=l(o("u-checkbox"),H),z=l(o("u-checkbox-group"),U),$=f,w=l(o("app-link"),L),B=l(o("u-button"),T),E=l(o("u-form"),P);return i(),r(C,{class:"w-screen h-screen flex flex-col"},{default:s((()=>[n(C,{class:"flex-1"},{default:s((()=>[n(C,{class:"h-[100rpx]"}),n(C,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:s((()=>[n(C,{class:"font-bold text-lg"},{default:s((()=>[p(b(S(y)("bindMobile")),1)])),_:1})])),_:1}),n(C,{class:"px-[60rpx]"},{default:s((()=>[n(E,{labelPosition:"left",model:d,errorType:"toast",rules:k,ref_key:"formRef",ref:N},{default:s((()=>[n(x,{label:"",prop:"mobile","border-bottom":!0},{default:s((()=>[n(g,{modelValue:d.mobile,"onUpdate:modelValue":t[0]||(t[0]=e=>d.mobile=e),border:"none",clearable:"",placeholder:S(y)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),n(C,{class:"mt-[40rpx]"},{default:s((()=>[n(x,{label:"",prop:"mobile_code","border-bottom":!0},{default:s((()=>[n(g,{modelValue:d.mobile_code,"onUpdate:modelValue":t[2]||(t[2]=e=>d.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:S(y)("codePlaceholder")},{suffix:s((()=>[n(_,{mobile:d.mobile,type:"bind_mobile",modelValue:d.mobile_key,"onUpdate:modelValue":t[1]||(t[1]=e=>d.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1}),!S(a)&&S(c).agreement_show?(i(),r(C,{key:0,class:"flex items-start mt-[30rpx]"},{default:s((()=>[n(z,null,{default:s((()=>[n(D,{checked:h.value,shape:"shape",size:"14",onChange:I,customStyle:{marginTop:"4rpx"}},null,8,["checked"])])),_:1}),n(C,{class:"text-xs text-gray-400 flex flex-wrap"},{default:s((()=>[p(b(S(y)("agreeTips"))+" ",1),n(w,{url:"/app/pages/auth/agreement?key=service"},{default:s((()=>[n($,{class:"text-primary"},{default:s((()=>[p("《"+b(S(y)("userAgreement"))+"》",1)])),_:1})])),_:1}),n(w,{url:"/app/pages/auth/agreement?key=privacy"},{default:s((()=>[n($,{class:"text-primary"},{default:s((()=>[p("《"+b(S(y)("privacyAgreement"))+"》",1)])),_:1})])),_:1})])),_:1})])),_:1})):v("v-if",!0),n(C,{class:"mt-[60rpx]"},{default:s((()=>[n(B,{type:"primary",loading:u.value,loadingText:S(y)("logining"),onClick:A},{default:s((()=>[p(b(S(y)("bind")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model"])])),_:1})])),_:1})])),_:1})}}});export{A as default}; diff --git a/niucloud/public/wap/assets/app-pages-auth-login.e7dce401.js b/niucloud/public/wap/assets/app-pages-auth-login.e7dce401.js new file mode 100644 index 000000000..223017c4f --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-auth-login.e7dce401.js @@ -0,0 +1 @@ +import{d as e,a as l,Y as a,a1 as r,r as o,c as s,i as t,j as u,w as n,k as d,K as i,L as p,n as m,F as c,H as b,G as g,m as _,l as f,v as x,a2 as y,a3 as h,a0 as v,x as j,q as k,t as w,N as V,Z as P,I as U}from"./index-59b72094.js";import{_ as q,a as S,b as T}from"./u-form.a20c08e5.js";import{_ as L}from"./sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js";import{_ as A}from"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import{_ as C}from"./u-button.0f6f73b7.js";import"./u-icon.4046c188.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.9ef7233b.js";import"./u-modal.30bfd23d.js";import"./u-loading-icon.85becb71.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const N=e({__name:"login",setup(e){const N=l({username:"",password:"",mobile:"",mobile_code:"",mobile_key:""});uni.getStorageSync("openid")&&Object.assign(N,{openid:uni.getStorageSync("openid")});const O=a(),R=r(),Y=o(!1),Z=o(""),$=s((()=>{const e=[];return R.login.is_username&&e.push({type:"username",title:P("usernameLogin")}),R.login.is_mobile&&e.push({type:"mobile",title:P("mobileLogin")}),Z.value=e[0]?e[0].type:"",e})),B=s((()=>({username:{type:"string",required:"username"==Z.value,message:P("usernamePlaceholder"),trigger:["blur","change"]},password:{type:"string",required:"username"==Z.value,message:P("passwordPlaceholder"),trigger:["blur","change"]},mobile:[{type:"string",required:"mobile"==Z.value,message:P("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>"mobile"!=Z.value||uni.$u.test.mobile(l),message:P("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:"mobile"==Z.value,message:P("codePlaceholder"),trigger:["blur","change"]}}))),E=o(null),F=()=>{E.value.validate().then((()=>{if(Y.value)return;Y.value=!0;("username"==Z.value?y:h)(N).then((e=>{O.setToken(e.data.token),v().handleLoginBack()})).catch((()=>{Y.value=!1}))}))};return(e,l)=>{const a=j,r=k(w("u-input"),q),o=k(w("u-form-item"),S),s=k(w("sms-code"),L),y=V,h=k(w("app-link"),A),v=k(w("u-button"),C),O=k(w("u-form"),T);return t(),u(a,{class:"w-screen h-screen flex flex-col"},{default:n((()=>[d(a,{class:"flex-1"},{default:n((()=>[d(a,{class:"h-[100rpx]"}),d(a,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:n((()=>[d(a,{class:"font-bold text-xl"},{default:n((()=>[i(p(m(P)("login")),1)])),_:1})])),_:1}),m($).length>1?(t(),u(a,{key:0,class:"px-[60rpx] text-sm flex mb-[50rpx] font-bold leading-none"},{default:n((()=>[(t(!0),c(g,null,b(m($),((e,l)=>(t(),c(g,null,[d(a,{class:U({"text-gray-300":e.type!=Z.value}),onClick:l=>Z.value=e.type},{default:n((()=>[i(p(e.title),1)])),_:2},1032,["class","onClick"]),f(d(a,{class:"mx-[30rpx] border-solid border-0 border-r-[2px] border-gray-300"},null,512),[[x,0==l]])],64)))),256))])),_:1})):_("v-if",!0),d(a,{class:"px-[60rpx]"},{default:n((()=>[d(O,{labelPosition:"left",model:N,errorType:"toast",rules:m(B),ref_key:"formRef",ref:E},{default:n((()=>[f(d(a,null,{default:n((()=>[d(o,{label:"",prop:"username","border-bottom":!0},{default:n((()=>[d(r,{modelValue:N.username,"onUpdate:modelValue":l[0]||(l[0]=e=>N.username=e),border:"none",clearable:"",placeholder:m(P)("usernamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),d(a,{class:"mt-[40rpx]"},{default:n((()=>[d(o,{label:"",prop:"password","border-bottom":!0},{default:n((()=>[d(r,{modelValue:N.password,"onUpdate:modelValue":l[1]||(l[1]=e=>N.password=e),border:"none",type:"password",clearable:"",placeholder:m(P)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[x,"username"==Z.value]]),f(d(a,null,{default:n((()=>[d(o,{label:"",prop:"mobile","border-bottom":!0},{default:n((()=>[d(r,{modelValue:N.mobile,"onUpdate:modelValue":l[2]||(l[2]=e=>N.mobile=e),border:"none",clearable:"",placeholder:m(P)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),d(a,{class:"mt-[40rpx]"},{default:n((()=>[d(o,{label:"",prop:"mobile_code","border-bottom":!0},{default:n((()=>[d(r,{modelValue:N.mobile_code,"onUpdate:modelValue":l[4]||(l[4]=e=>N.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:m(P)("codePlaceholder")},{suffix:n((()=>[d(s,{mobile:N.mobile,type:"login",modelValue:N.mobile_key,"onUpdate:modelValue":l[3]||(l[3]=e=>N.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[x,"mobile"==Z.value]]),d(a,{class:"flex text-xs justify-between mt-[20rpx] text-gray-400"},{default:n((()=>[d(h,{url:"/app/pages/auth/register"},{default:n((()=>[i(p(m(P)("noAccount"))+" ",1),d(y,{class:"text-primary"},{default:n((()=>[i(p(m(P)("toRegister")),1)])),_:1})])),_:1}),d(h,{url:"/app/pages/auth/resetpwd"},{default:n((()=>[i(p(m(P)("resetpwd")),1)])),_:1})])),_:1}),d(a,{class:"mt-[80rpx]"},{default:n((()=>[d(v,{type:"primary",loading:Y.value,loadingText:m(P)("logining"),onClick:F},{default:n((()=>[i(p(m(P)("login")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1}),m(R).login.agreement_show?(t(),u(a,{key:0,class:"text-xs py-[50rpx] flex justify-center w-full"},{default:n((()=>[i(p(m(P)("agreeTips"))+" ",1),d(h,{url:"/app/pages/auth/agreement?key=service"},{default:n((()=>[d(y,{class:"text-primary"},{default:n((()=>[i(p(m(P)("userAgreement")),1)])),_:1})])),_:1}),i(" "+p(m(P)("and"))+" ",1),d(h,{url:"/app/pages/auth/agreement?key=privacy"},{default:n((()=>[d(y,{class:"text-primary"},{default:n((()=>[i(p(m(P)("privacyAgreement")),1)])),_:1})])),_:1})])),_:1})):_("v-if",!0)])),_:1})}}});export{N as default}; diff --git a/niucloud/public/wap/assets/app-pages-auth-register.246fbdd3.js b/niucloud/public/wap/assets/app-pages-auth-register.246fbdd3.js new file mode 100644 index 000000000..f05a1b423 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-auth-register.246fbdd3.js @@ -0,0 +1 @@ +import{d as e,a as l,Y as a,a1 as r,r as o,c as s,i as t,j as u,w as d,k as i,K as n,L as p,n as m,F as c,H as b,G as _,m as g,l as f,v as h,a4 as x,a5 as y,a0 as v,x as w,q as V,t as k,M as j,N as P,Z as U,I as q}from"./index-59b72094.js";import{_ as S,a as T,b as A}from"./u-form.a20c08e5.js";import{u as C,_ as L}from"./sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js";import{_ as R}from"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import{_ as E}from"./u-button.0f6f73b7.js";import"./u-icon.4046c188.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.9ef7233b.js";import"./u-modal.30bfd23d.js";import"./u-loading-icon.85becb71.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const F=e({__name:"register",setup(e){const F=l({username:"",password:"",confirm_password:"",mobile:"",mobile_code:"",mobile_key:"",captcha_key:"",captcha_code:""});uni.getStorageSync("openid")&&Object.assign(F,{openid:uni.getStorageSync("openid")});const N=C(F);N.refresh();const O=a(),Y=r(),Z=o(!1),$=o(""),B=s((()=>{const e=[];return Y.login.is_username&&e.push({type:"username",title:U("usernameRegister")}),Y.login.is_mobile&&!Y.login.is_bind_mobile&&e.push({type:"mobile",title:U("mobileRegister")}),$.value=e[0]?e[0].type:"",e})),G=s((()=>({username:{type:"string",required:"username"==$.value,message:U("usernamePlaceholder"),trigger:["blur","change"]},password:{type:"string",required:"username"==$.value,message:U("passwordPlaceholder"),trigger:["blur","change"]},confirm_password:[{type:"string",required:"username"==$.value,message:U("confirmPasswordPlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>l==F.password,message:U("confirmPasswordError"),trigger:["change","blur"]}],mobile:[{type:"string",required:"mobile"==$.value||Y.login.is_bind_mobile,message:U("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>"mobile"!=$.value&&!Y.login.is_bind_mobile||uni.$u.test.mobile(l),message:U("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:"mobile"==$.value||Y.login.is_bind_mobile,message:U("codePlaceholder"),trigger:["blur","change"]},captcha_code:{type:"string",required:"username"==$.value,message:U("captchaPlaceholder"),trigger:["blur","change"]}}))),H=o(null),I=()=>{H.value.validate().then((()=>{if(Z.value)return;Z.value=!0;("username"==$.value?x:y)(F).then((e=>{O.setToken(e.data.token),v().handleLoginBack()})).catch((()=>{Z.value=!1,N.refresh()}))}))};return(e,l)=>{const a=w,r=V(k("u-input"),S),o=V(k("u-form-item"),T),s=V(k("sms-code"),L),x=j,y=P,v=V(k("app-link"),R),C=V(k("u-button"),E),O=V(k("u-form"),A);return t(),u(a,{class:"w-screen h-screen flex flex-col"},{default:d((()=>[i(a,{class:"flex-1"},{default:d((()=>[i(a,{class:"h-[100rpx]"}),i(a,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:d((()=>[i(a,{class:"font-bold text-xl"},{default:d((()=>[n(p(m(U)("register")),1)])),_:1})])),_:1}),m(B).length>1?(t(),u(a,{key:0,class:"px-[60rpx] text-sm flex mb-[50rpx] font-bold leading-none"},{default:d((()=>[(t(!0),c(_,null,b(m(B),((e,l)=>(t(),c(_,null,[i(a,{class:q({"text-gray-300":e.type!=$.value}),onClick:l=>$.value=e.type},{default:d((()=>[n(p(e.title),1)])),_:2},1032,["class","onClick"]),f(i(a,{class:"mx-[30rpx] border-solid border-0 border-r-[2px] border-gray-300"},null,512),[[h,0==l]])],64)))),256))])),_:1})):g("v-if",!0),i(a,{class:"px-[60rpx]"},{default:d((()=>[i(O,{labelPosition:"left",model:F,errorType:"toast",rules:m(G),ref_key:"formRef",ref:H},{default:d((()=>[f(i(a,null,{default:d((()=>[i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"username","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.username,"onUpdate:modelValue":l[0]||(l[0]=e=>F.username=e),border:"none",clearable:"",placeholder:m(U)("usernamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"password","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.password,"onUpdate:modelValue":l[1]||(l[1]=e=>F.password=e),border:"none",type:"password",clearable:"",placeholder:m(U)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"confirm_password","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.confirm_password,"onUpdate:modelValue":l[2]||(l[2]=e=>F.confirm_password=e),border:"none",type:"password",clearable:"",placeholder:m(U)("confirmPasswordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[h,"username"==$.value]]),f(i(a,null,{default:d((()=>[i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"mobile","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.mobile,"onUpdate:modelValue":l[3]||(l[3]=e=>F.mobile=e),border:"none",clearable:"",placeholder:m(U)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"code","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.mobile_code,"onUpdate:modelValue":l[5]||(l[5]=e=>F.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:m(U)("codePlaceholder")},{suffix:d((()=>[i(s,{mobile:F.mobile,type:"register",modelValue:F.mobile_key,"onUpdate:modelValue":l[4]||(l[4]=e=>F.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[h,"mobile"==$.value||m(Y).login.is_bind_mobile]]),f(i(a,null,{default:d((()=>[i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"captcha_code","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.captcha_code,"onUpdate:modelValue":l[7]||(l[7]=e=>F.captcha_code=e),border:"none",clearable:"",placeholder:m(U)("captchaPlaceholder")},{suffix:d((()=>[i(x,{src:m(N).image.value,class:"h-[48rpx] ml-[20rpx]",mode:"heightFix",onClick:l[6]||(l[6]=e=>m(N).refresh())},null,8,["src"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[h,"username"==$.value]]),i(a,{class:"flex text-xs justify-between mt-[20rpx] text-gray-400"},{default:d((()=>[i(v,{url:"/app/pages/auth/login"},{default:d((()=>[n(p(m(U)("haveAccount"))+",",1),i(y,{class:"text-primary"},{default:d((()=>[n(p(m(U)("toLogin")),1)])),_:1})])),_:1})])),_:1}),i(a,{class:"mt-[80rpx]"},{default:d((()=>[i(C,{type:"primary",loading:Z.value,loadingText:m(U)("registering"),onClick:I},{default:d((()=>[n(p(m(U)("register")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1}),m(Y).login.agreement_show?(t(),u(a,{key:0,class:"text-xs py-[50rpx] flex justify-center w-full"},{default:d((()=>[n(p(m(U)("registerAgreeTips"))+" ",1),i(v,{url:"/app/pages/auth/agreement?key=service"},{default:d((()=>[i(y,{class:"text-primary"},{default:d((()=>[n(p(m(U)("userAgreement")),1)])),_:1})])),_:1}),n(" "+p(m(U)("and"))+" ",1),i(v,{url:"/app/pages/auth/agreement?key=privacy"},{default:d((()=>[i(y,{class:"text-primary"},{default:d((()=>[n(p(m(U)("privacyAgreement")),1)])),_:1})])),_:1})])),_:1})):g("v-if",!0)])),_:1})}}});export{F as default}; diff --git a/niucloud/public/wap/assets/app-pages-auth-resetpwd.5c677ead.js b/niucloud/public/wap/assets/app-pages-auth-resetpwd.5c677ead.js new file mode 100644 index 000000000..752a873ce --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-auth-resetpwd.5c677ead.js @@ -0,0 +1 @@ +import{d as e,a as l,r as o,Z as r,i as a,j as s,w as d,k as t,K as m,L as p,n as i,a6 as u,h as n,x as c,q as b,t as f}from"./index-59b72094.js";import{_,a as g,b as h}from"./u-form.a20c08e5.js";import{_ as x}from"./sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js";import{_ as w}from"./u-button.0f6f73b7.js";import"./u-icon.4046c188.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.9ef7233b.js";import"./u-modal.30bfd23d.js";import"./u-loading-icon.85becb71.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const y=e({__name:"resetpwd",setup(e){const y=l({mobile:"",mobile_code:"",mobile_key:"",password:"",confirm_password:""}),V=o(!1),P=o(null),j={password:{type:"string",required:!0,message:r("passwordPlaceholder"),trigger:["blur","change"]},confirm_password:[{type:"string",required:!0,message:r("confirmPasswordPlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>l==y.password,message:r("confirmPasswordError"),trigger:["change","blur"]}],mobile:[{type:"string",required:!0,message:r("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>uni.$u.test.mobile(l),message:r("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:!0,message:r("codePlaceholder"),trigger:["blur","change"]}},v=()=>{P.value.validate().then((()=>{V.value||(V.value=!0,u(y).then((e=>{n({url:"/app/pages/auth/login",mode:"redirectTo"})})).catch((()=>{V.value=!1})))}))};return(e,l)=>{const o=c,u=b(f("u-input"),_),n=b(f("u-form-item"),g),k=b(f("sms-code"),x),U=b(f("u-button"),w),q=b(f("u-form"),h);return a(),s(o,{class:"w-screen h-screen flex flex-col"},{default:d((()=>[t(o,{class:"flex-1"},{default:d((()=>[t(o,{class:"h-[100rpx]"}),t(o,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:d((()=>[t(o,{class:"font-bold text-xl"},{default:d((()=>[m(p(i(r)("findPassword")),1)])),_:1})])),_:1}),t(o,{class:"px-[60rpx]"},{default:d((()=>[t(q,{labelPosition:"left",model:y,errorType:"toast",rules:j,ref_key:"formRef",ref:P},{default:d((()=>[t(o,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"mobile","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.mobile,"onUpdate:modelValue":l[0]||(l[0]=e=>y.mobile=e),border:"none",clearable:"",placeholder:i(r)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),t(o,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"code","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.mobile_code,"onUpdate:modelValue":l[2]||(l[2]=e=>y.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:i(r)("codePlaceholder")},{suffix:d((()=>[t(k,{mobile:y.mobile,type:"find_pass",modelValue:y.mobile_key,"onUpdate:modelValue":l[1]||(l[1]=e=>y.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1}),t(o,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"password","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.password,"onUpdate:modelValue":l[3]||(l[3]=e=>y.password=e),border:"none",type:"password",clearable:"",placeholder:i(r)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),t(o,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"confirm_password","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.confirm_password,"onUpdate:modelValue":l[4]||(l[4]=e=>y.confirm_password=e),border:"none",type:"password",clearable:"",placeholder:i(r)("confirmPasswordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),t(o,{class:"mt-[80rpx]"},{default:d((()=>[t(U,{type:"primary",loading:V.value,loadingText:i(r)("confirm"),onClick:v},{default:d((()=>[m(p(i(r)("confirm")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model"])])),_:1})])),_:1})])),_:1})}}});export{y as default}; diff --git a/niucloud/public/wap/assets/app-pages-index-develop.d4f8daf0.js b/niucloud/public/wap/assets/app-pages-index-develop.d4f8daf0.js new file mode 100644 index 000000000..343f89a5f --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-index-develop.d4f8daf0.js @@ -0,0 +1 @@ +import{d as e,a,i as s,j as t,w as l,k as o,K as r,L as p,n as i,b6 as n,x,N as c,q as d,t as u,Z as m}from"./index-59b72094.js";import{_ as f}from"./u-button.0f6f73b7.js";import"./u-loading-icon.85becb71.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.4046c188.js";const _=e({__name:"develop",setup(e){const _=a({baseUrl:`${location.origin}/api/`,imgUrl:""}),b=()=>{let e=uni.getStorageSync("develop_before_path")||"/app/pages/index/index";"/app/pages/index/develop"==e&&(e="/app/pages/index/index"),e=e.replace("/",""),uni.removeStorageSync("develop_before_path"),location.href=`${location.origin}${n.h5.router.base}${e}`};return(e,a)=>{const n=x,g=c,v=d(u("u-button"),f);return s(),t(n,{class:"mt-[80rpx] px-[60rpx]"},{default:l((()=>[o(n,{class:"font-bold text-xl mb-[80rpx]"},{default:l((()=>[r(p(i(m)("developTitle")),1)])),_:1}),o(n,{class:"mb-[40rpx] flex flex-col"},{default:l((()=>[o(g,{class:"mb-[10rpx]"},{default:l((()=>[r(p(i(m)("baseUrl")),1)])),_:1}),o(g,{class:"text-sm"},{default:l((()=>[r(p(_.baseUrl),1)])),_:1})])),_:1}),o(n,{class:"mb-[40rpx] flex flex-col"},{default:l((()=>[o(g,{class:"mb-[10rpx]"},{default:l((()=>[r(p(i(m)("imgUrl")),1)])),_:1}),o(g,{class:"text-sm"},{default:l((()=>[r(p(_.imgUrl),1)])),_:1})])),_:1}),o(v,{type:"primary",onClick:b,class:"mt-[80rpx]"},{default:l((()=>[r(p(i(m)("confirm")),1)])),_:1})])),_:1})}}});export{_ as default}; diff --git a/niucloud/public/wap/assets/app-pages-index-diy.3ac4c0c5.js b/niucloud/public/wap/assets/app-pages-index-diy.3ac4c0c5.js new file mode 100644 index 000000000..02854f2a8 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-index-diy.3ac4c0c5.js @@ -0,0 +1 @@ +import{d as a,r as e,u as l,a as t,c as o,o as r,b as s,s as p,e as i,g as u,f as d,h as g,i as n,j as m,w as f,k as v,l as c,v as h,m as b,n as _,p as x,q as y,t as j,x as S,y as w}from"./index-59b72094.js";import{_ as k}from"./u-loading-page.966ecc29.js";import{_ as M,a as R}from"./index.3ac4c3b4.js";import{u as C}from"./useShare.4592b318.js";import{_ as D}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.85becb71.js";import"./u-transition.4588f416.js";import"./u-icon.4046c188.js";import"./u-image.480f9d13.js";import"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import"./u-avatar.45f327ca.js";import"./u-safe-bottom.1b1ffd7b.js";import"./wechat.62b247b7.js";const B=D(a({__name:"diy",setup(a){const{setShare:D,onShareAppMessage:B,onShareTimeline:N}=C();B(),N();const O=e(!0),T=l(),U=e(0),I=e(0),J=e(""),q=e(""),A=t({pageMode:"diy",title:"",global:{},value:[]}),E=o((()=>"decorate"==T.mode?T:A));return r((a=>{T.mode=a.mode||"","decorate"==T.mode&&(O.value=!1),I.value=a.id||"",J.value=a.name||"",q.value=a.template||""})),s((()=>{U.value++,p()})),i((()=>{"decorate"==T.mode?T.init():u({id:I.value,name:J.value,template:q.value}).then((a=>{let e=a.data;if(e.value){A.pageMode=e.mode,A.title=e.title;let l=JSON.parse(e.value);A.global=l.global,A.value=l.value,A.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),d({title:A.title}),O.value=!1;let t=a.data.share?JSON.parse(a.data.share):null;D(t)}else"other"==e.mode&&g({url:e.page})}))})),(a,e)=>{const l=y(j("u-loading-page"),k),t=y(j("diy-group"),M),o=S,r=y(j("fixed-group"),R);return n(),m(o,null,{default:f((()=>[v(l,{loading:O.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),c(v(o,null,{default:f((()=>[b(" 自定义模板渲染 "),"fixed"!=_(E).pageMode?(n(),m(o,{key:0,class:"diy-template-wrap bg-index",style:x({backgroundColor:_(E).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:_(E).global.bgUrl?"url("+_(w)(_(E).global.bgUrl)+")":""})},{default:f((()=>[v(t,{data:_(E),pullDownRefresh:U.value},null,8,["data","pullDownRefresh"])])),_:1},8,["style"])):b("v-if",!0),b(" 固定模板渲染 "),"fixed"==_(E).pageMode?(n(),m(o,{key:1,class:"fixed-template-wrap"},{default:f((()=>[v(r,{data:_(E),pullDownRefresh:U.value},null,8,["data","pullDownRefresh"])])),_:1})):b("v-if",!0)])),_:1},512),[[h,!O.value]])])),_:1})}}}),[["__scopeId","data-v-84f14713"]]);export{B as default}; diff --git a/niucloud/public/wap/assets/app-pages-index-index.b5dd3506.js b/niucloud/public/wap/assets/app-pages-index-index.b5dd3506.js new file mode 100644 index 000000000..300b2215a --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-index-index.b5dd3506.js @@ -0,0 +1 @@ +import{d as a,r as e,u as l,a as t,c as o,o as r,b as s,s as p,e as i,g,f as u,h as d,i as n,j as m,w as f,k as v,l as c,v as b,m as _,n as h,p as x,q as y,t as j,x as S,y as w}from"./index-59b72094.js";import{_ as k}from"./u-loading-page.966ecc29.js";import{_ as D,a as M}from"./index.3ac4c3b4.js";import{u as R}from"./useShare.4592b318.js";import{_ as C}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.85becb71.js";import"./u-transition.4588f416.js";import"./u-icon.4046c188.js";import"./u-image.480f9d13.js";import"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import"./u-avatar.45f327ca.js";import"./u-safe-bottom.1b1ffd7b.js";import"./wechat.62b247b7.js";const I=C(a({__name:"index",setup(a){const{setShare:C,onShareAppMessage:I,onShareTimeline:B}=R();C(),I(),B();const N=e(!0),T=l(),U=e(0),E=e("DIY_INDEX"),O=e(""),q=t({pageMode:"diy",title:"",global:{},value:[]}),A=o((()=>"decorate"==T.mode?T:q));return r((a=>{T.mode=a.mode||"","decorate"==T.mode&&(N.value=!1),O.value=a.template||""})),s((()=>{U.value++,p()})),i((()=>{"decorate"==T.mode?T.init():g({name:E.value,template:O.value}).then((a=>{let e=a.data;if(e.value){q.pageMode=e.mode,q.title=e.title;let a=JSON.parse(e.value);q.global=a.global,q.value=a.value,q.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),u({title:q.title}),N.value=!1}else"other"==e.mode&&d({url:e.page})}))})),(a,e)=>{const l=y(j("u-loading-page"),k),t=y(j("diy-group"),D),o=S,r=y(j("fixed-group"),M);return n(),m(o,null,{default:f((()=>[v(l,{loading:N.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),c(v(o,null,{default:f((()=>[_(" 自定义模板渲染 "),"fixed"!=h(A).pageMode?(n(),m(o,{key:0,class:"diy-template-wrap bg-index",style:x({backgroundColor:h(A).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:h(A).global.bgUrl?"url("+h(w)(h(A).global.bgUrl)+")":""})},{default:f((()=>[v(t,{data:h(A),pullDownRefresh:U.value},null,8,["data","pullDownRefresh"])])),_:1},8,["style"])):_("v-if",!0),_(" 固定模板渲染 "),"fixed"==h(A).pageMode?(n(),m(o,{key:1,class:"fixed-template-wrap"},{default:f((()=>[v(r,{data:h(A),pullDownRefresh:U.value},null,8,["data","pullDownRefresh"])])),_:1})):_("v-if",!0)])),_:1},512),[[b,!N.value]])])),_:1})}}}),[["__scopeId","data-v-55de07b8"]]);export{I as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-account.ad4591e4.js b/niucloud/public/wap/assets/app-pages-member-account.ad4591e4.js new file mode 100644 index 000000000..cee4ab870 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-account.ad4591e4.js @@ -0,0 +1 @@ +import{d as a,r as e,o as t,i as A,j as s,w as u,k as l,F as o,H as n,G as r,n as i,K as c,L as d,au as g,av as p,aX as m,x,N as f,q as B,t as G,Z as Q,h as y,M as h}from"./index-59b72094.js";import{_ as v}from"./u-icon.4046c188.js";import{u as b,M as T}from"./useMescroll.3e6a9ffa.js";import"./_plugin-vue_export-helper.1b428a4d.js";const M=a({__name:"account",setup(a){const{mescrollInit:M,downCallback:P,getMescroll:U}=b(p,g),w=e([]),O=e(!1),k=e("bank"),F=e(null),S=e("get");t((a=>{a.type&&(k.value=a.type),a.mode&&(S.value=a.mode)}));const Z=a=>{O.value=!1;let e={page:a.num,limit:a.size,account_type:k.value};m(e).then((e=>{const t=e.data.data;1==a.num&&(w.value=[]),w.value=w.value.concat(t),a.endSuccess(t.length),O.value=!0})).catch((()=>{O.value=!0,a.endErr()}))};return(a,e)=>{const t=x,g=h,p=f,m=B(G("u-icon"),v);return A(),s(t,{class:"w-screen h-screen bg-page"},{default:u((()=>[l(T,{ref_key:"mescrollRef",ref:F,onInit:i(M),onDown:i(P),onUp:Z},{default:u((()=>[l(t,{class:"h-[20rpx]"}),(A(!0),o(r,null,n(w.value,((a,e)=>(A(),s(t,{class:"p-[30rpx] bg-white mx-[32rpx] my-[20rpx] rounded flex",key:e,onClick:e=>{return t=a,void("get"==S.value?y({url:"/app/pages/member/account_edit",param:{id:t.account_id,type:k.value,mode:S.value}}):y({url:"/app/pages/member/apply_cash_out",param:{account_id:t.account_id,type:k.value}}));var t}},{default:u((()=>[l(t,{class:"w-[100rpx] h-[100rpx] flex items-center justify-center mr-[10rpx]"},{default:u((()=>["bank"==a.account_type?(A(),s(g,{key:0,src:"data:image/png;base64,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",mode:"widthFix",class:"w-[80rpx]"})):(A(),s(p,{key:1,class:"iconfont iconzhifubaoxuanzhong text-[#188dfb] text-[80rpx]"}))])),_:2},1024),l(t,null,{default:u((()=>[l(t,null,{default:u((()=>[c(d("bank"==a.account_type?a.bank_name:i(Q)("alipayAccountNo")),1)])),_:2},1024),"bank"==a.account_type?(A(),s(t,{key:0,class:"text-sm text-gray-subtitle mt-[10rpx]"},{default:u((()=>[c(d(i(Q)("endNumber"))+" "+d(a.account_no.substring(a.account_no.length-4))+d(i(Q)("bankCard")),1)])),_:2},1024)):(A(),s(t,{key:1,class:"text-sm text-gray-subtitle mt-[10rpx]"},{default:u((()=>[c(d(a.account_no),1)])),_:2},1024))])),_:2},1024)])),_:2},1032,["onClick"])))),128)),l(t,{class:"p-[30rpx] bg-white mx-[32rpx] my-[20rpx] rounded flex",onClick:e[0]||(e[0]=a=>i(y)({url:"/app/pages/member/account_edit",param:{type:k.value,mode:S.value}}))},{default:u((()=>[l(m,{name:"plus",color:"#333",size:"16"}),l(p,{class:"text-sm ml-[10rpx] flex-1"},{default:u((()=>[c(d("bank"==k.value?i(Q)("addBankCard"):i(Q)("addAlipayAccount")),1)])),_:1}),l(m,{name:"arrow-right",color:"#333",size:"14"})])),_:1})])),_:1},8,["onInit","onDown"])])),_:1})}}});export{M as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-account_edit.d15b57ac.js b/niucloud/public/wap/assets/app-pages-member-account_edit.d15b57ac.js new file mode 100644 index 000000000..e9c687700 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-account_edit.d15b57ac.js @@ -0,0 +1 @@ +import{d as e,r as a,a as l,c as t,o,am as n,i as r,F as c,k as u,w as d,G as s,K as p,L as m,n as i,m as b,j as _,a_ as f,a$ as h,h as x,b0 as y,x as k,q as g,t as v,ap as V,Z as j}from"./index-59b72094.js";import{_ as P,a as A,b as N}from"./u-form.a20c08e5.js";import{_ as T}from"./u-button.0f6f73b7.js";import{_ as C}from"./u-modal.30bfd23d.js";import"./u-icon.4046c188.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.9ef7233b.js";import"./u-loading-icon.85becb71.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const R=e({__name:"account_edit",setup(e){const R=a(!1),w=a(null),U=a("get"),q=a(!1),B=l({account_id:0,account_type:"bank",bank_name:"",realname:"",account_no:""}),W=t((()=>({realname:{type:"string",required:!0,message:"bank"==B.account_type?j("bankRealnamePlaceholder"):j("alipayRealnamePlaceholder"),trigger:["blur","change"]},bank_name:{type:"string",required:"bank"==B.account_type,message:j("bankNamePlaceholder"),trigger:["blur","change"]},account_no:{type:"string",required:!0,message:"bank"==B.account_type?j("bankAccountNoPlaceholder"):j("alipayAccountNoPlaceholder"),trigger:["blur","change"]}})));o((e=>{e.type&&(B.account_type=e.type),e.mode&&(U.value=e.mode),e.id&&(B.account_id=e.id,n({account_id:e.id}).then((e=>{e.data&&Object.keys(B).forEach((a=>{null!=e.data[a]&&(B[a]=e.data[a])}))})))}));const O=()=>{const e=B.account_id?f:h;w.value.validate().then((()=>{R.value||(R.value=!0,e(B).then((e=>{"get"==U.value?x({url:"/app/pages/member/account",param:{type:B.account_type,mode:U.value}}):x({url:"/app/pages/member/apply_cash_out",param:{account_id:e.data,type:B.account_type}})})).catch((()=>{R.value=!1})))}))},Z=()=>{y(B.account_id).then((()=>{x({url:"/app/pages/member/account",mode:"redirectTo"})}))};return(e,a)=>{const l=k,t=g(v("u-input"),P),o=g(v("u-form-item"),A),n=g(v("u-form"),N),f=g(v("u-button"),T),h=V,x=g(v("u-modal"),C);return r(),c(s,null,[u(h,{"scroll-y":"true",class:"w-screen h-screen bg-page"},{default:d((()=>[u(l,{class:"h-[30rpx]"}),u(l,{class:"p-[30rpx] bg-white mx-[32rpx] rounded"},{default:d((()=>["bank"==B.account_type?(r(),c(s,{key:0},[u(l,{class:"text-center text-base font-bold mt-[50rpx]"},{default:d((()=>[p(m(i(j)("addBankCard")),1)])),_:1}),u(l,{class:"text-center text-sm mt-[10rpx]"},{default:d((()=>[p(m(i(j)("addBankCardTips")),1)])),_:1}),u(l,{class:"mt-[50rpx]"},{default:d((()=>[u(n,{labelPosition:"left",model:B,labelWidth:"200rpx",errorType:"toast",rules:i(W),ref_key:"formRef",ref:w},{default:d((()=>[u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("bankRealname"),prop:"realname","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.realname,"onUpdate:modelValue":a[0]||(a[0]=e=>B.realname=e),border:"none",clearable:"",placeholder:i(j)("bankRealnamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("bankName"),prop:"bank_name","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.bank_name,"onUpdate:modelValue":a[1]||(a[1]=e=>B.bank_name=e),border:"none",clearable:"",placeholder:i(j)("bankNamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("bankAccountNo"),prop:"account_no","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.account_no,"onUpdate:modelValue":a[2]||(a[2]=e=>B.account_no=e),border:"none",clearable:"",placeholder:i(j)("bankAccountNoPlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1})])),_:1},8,["model","rules"])])),_:1})],64)):b("v-if",!0),"alipay"==B.account_type?(r(),c(s,{key:1},[u(l,{class:"text-center text-base font-bold mt-[50rpx]"},{default:d((()=>[p(m(i(j)("addAlipayAccount")),1)])),_:1}),u(l,{class:"text-center text-sm mt-[10rpx]"},{default:d((()=>[p(m(i(j)("addAlipayAccountTips")),1)])),_:1}),u(l,{class:"mt-[50rpx]"},{default:d((()=>[u(n,{labelPosition:"left",model:B,labelWidth:"200rpx",errorType:"toast",rules:i(W),ref_key:"formRef",ref:w},{default:d((()=>[u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("alipayRealname"),prop:"realname","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.realname,"onUpdate:modelValue":a[3]||(a[3]=e=>B.realname=e),border:"none",clearable:"",placeholder:i(j)("alipayRealnamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("alipayAccountNo"),prop:"account_no","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.account_no,"onUpdate:modelValue":a[4]||(a[4]=e=>B.account_no=e),border:"none",clearable:"",placeholder:i(j)("alipayAccountNoPlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1})])),_:1},8,["model","rules"])])),_:1})],64)):b("v-if",!0),u(l,{class:"mt-[100rpx]"},{default:d((()=>[u(f,{text:i(j)("save"),type:"primary",shape:"circle",loading:R.value,onClick:O},null,8,["text","loading"]),B.account_id?(r(),_(l,{key:0,class:"mt-[30rpx]"},{default:d((()=>[u(f,{text:i(j)("delete"),type:"primary",shape:"circle",plain:!0,loading:R.value,onClick:a[5]||(a[5]=e=>q.value=!0)},null,8,["text","loading"])])),_:1})):b("v-if",!0)])),_:1})])),_:1})])),_:1}),u(x,{show:q.value,content:i(j)("deleteConfirm"),confirmText:i(j)("confirm"),cancelText:i(j)("cancel"),showCancelButton:!0,onConfirm:Z,onCancel:a[6]||(a[6]=e=>q.value=!1)},null,8,["show","content","confirmText","cancelText"])],64)}}});export{R as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-apply_cash_out.6d009bd6.js b/niucloud/public/wap/assets/app-pages-member-apply_cash_out.6d009bd6.js new file mode 100644 index 000000000..62e21cfff --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-apply_cash_out.6d009bd6.js @@ -0,0 +1 @@ +import{d as e,r as a,Y as t,a as l,c as n,ag as s,o,ah as c,a9 as p,Z as i,ai as u,aj as r,i as d,F as y,j as f,w as x,k as A,K as m,L as g,n as _,m as b,G as h,ak as k,al as T,am as B,an as O,h as v,x as w,N as G,ao as Q,M as F,q as P,t as C,ap as M,y as U}from"./index-59b72094.js";import{_ as Y}from"./u-button.0f6f73b7.js";import{_ as S}from"./u-loading-page.966ecc29.js";import"./u-loading-icon.85becb71.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.4046c188.js";import"./u-transition.4588f416.js";const Z=e({__name:"apply_cash_out",setup(e){const Z=a(!0),j=a(!1),E=t(),H=l({apply_money:"",transfer_type:"",account_type:"money",account_id:0}),V=n((()=>E.info?E.info[H.account_type]:0));s((()=>H.transfer_type),(e=>{switch(e){case"bank":H.account_id=D.value?D.value.account_id:0;break;case"alipay":H.account_id=z.value?z.value.account_id:0;break;default:H.account_id=0}}),{immediate:!0});const L=l({is_auto_transfer:0,is_auto_verify:0,is_open:0,min:0,rate:0,transfer_type:[]});let I={};o((async e=>{I=e,c("cashOutAccountType")&&(H.account_type=c("cashOutAccountType")),["money","commission"].includes(H.account_type)?await r().then((e=>{for(let a in e.data)L[a]=e.data[a];L.transfer_type.includes("wechat")&&E.info&&!E.info.wx_openid&&!E.info.weapp_openid&&L.transfer_type.splice(0,1),L.transfer_type.includes("bank")&&W(),L.transfer_type.includes("alipay")&&R(),H.transfer_type=L.transfer_type[0],Z.value=!1})):p({title:i("abnormalOperation"),icon:"none",success(){setTimeout((()=>{u({delta:1})}),1500)}})}));const N=()=>{H.apply_money=k(V.value)},X=()=>{H.apply_money=""},z=a(null),R=()=>{const e={account_type:"alipay",account_id:0};let a=T;I.type&&"alipay"==I.type&&I.account_id&&(a=B,e.account_id=I.account_id),a(e).then((e=>{e.data&&e.data.account_id&&(z.value=e.data)}))},D=a(null),W=()=>{const e={account_type:"bank",account_id:0};let a=T;I.type&&"bank"==I.type&&I.account_id&&(a=B,e.account_id=I.account_id),a(e).then((e=>{e.data&&e.data.account_id&&(D.value=e.data)}))},K=()=>{if(H.transfer_type?uni.$u.test.isEmpty(H.apply_money)?(p({title:i("applyMoneyPlaceholder"),icon:"none"}),0):uni.$u.test.amount(H.apply_money)?parseFloat(H.apply_money)>parseFloat(V.value)?(p({title:i("applyMoneyExceed"),icon:"none"}),0):!(parseFloat(H.apply_money){v({url:"/app/pages/member/cash_out"})})).catch((()=>{j.value=!1}))}};return(e,a)=>{const t=w,l=G,n=Q,s=F,o=P(C("u-button"),Y),c=M,p=P(C("u-loading-page"),S);return d(),y(h,null,[Z.value?b("v-if",!0):(d(),f(c,{key:0,"scroll-y":"true",class:"w-screen h-screen bg-page"},{default:x((()=>[A(t,null,{default:x((()=>[A(t,{class:"p-[30rpx] bg-white"},{default:x((()=>[A(t,null,{default:x((()=>[m(g(_(i)("cashOutMoneyTip")),1)])),_:1}),A(t,{class:"flex py-[20rpx] items-baseline border-0 border-b-[2rpx] border-solid border-gray-200"},{default:x((()=>[A(l,{class:"text-[60rpx]"},{default:x((()=>[m(g(_(i)("currency")),1)])),_:1}),A(n,{type:"digit",class:"h-[70rpx] leading-[70rpx] pl-[10rpx] flex-1 font-bold text-[60rpx]",modelValue:H.apply_money,"onUpdate:modelValue":a[0]||(a[0]=e=>H.apply_money=e)},null,8,["modelValue"]),H.apply_money?(d(),f(s,{key:0,onClick:X,src:_(U)("static/resource/images/member/apply_withdrawal/close.png"),class:"w-[40rpx] h-[40rpx]",mode:"widthFix"},null,8,["src"])):b("v-if",!0)])),_:1}),A(t,{class:"pt-[20rpx]"},{default:x((()=>[A(l,{class:"text-gray-400 text-[28rpx]"},{default:x((()=>[m(g(_(i)("money"))+":"+g(_(i)("currency"))+g(_(k)(_(V))),1)])),_:1}),A(l,{class:"pl-[10rpx] text-[28rpx] text-primary",onClick:N},{default:x((()=>[m(g(_(i)("allTx")),1)])),_:1})])),_:1}),A(t,null,{default:x((()=>[A(l,{class:"text-[24rpx] text-gray-400"},{default:x((()=>[m(g(_(i)("minWithdrawal"))+g(_(i)("currency"))+g(_(k)(L.min)),1)])),_:1}),A(l,{class:"text-[24rpx] text-gray-400"},{default:x((()=>[m(","+g(_(i)("commissionTo"))+g(L.rate+"%"),1)])),_:1})])),_:1})])),_:1}),A(t,{class:"px-[30rpx] bg-white mt-[30rpx]"},{default:x((()=>[b(" 提现到微信 "),L.transfer_type.includes("wechat")&&_(E).info&&(_(E).info.wx_openid||_(E).info.weapp_openid)?(d(),f(t,{key:0,class:"py-[30rpx] flex"},{default:x((()=>[A(t,null,{default:x((()=>[A(l,{class:"iconfont iconweixin1 text-[#43c93e] text-[70rpx]"})])),_:1}),A(t,{class:"flex-1 px-[20rpx]"},{default:x((()=>[A(t,null,{default:x((()=>[m(g(_(i)("cashOutToWechat")),1)])),_:1}),A(t,{class:"text-[#bbb] text-[26rpx] mt-[16rpx]"},{default:x((()=>[m(g(_(i)("cashOutToWechatTips")),1)])),_:1})])),_:1}),A(t,{class:"flex items-center",onClick:a[1]||(a[1]=e=>H.transfer_type="wechat")},{default:x((()=>["wechat"==H.transfer_type?(d(),f(l,{key:0,class:"iconfont iconduigou text-[40rpx] text-primary"})):(d(),f(l,{key:1,class:"iconfont iconcheckbox_nol text-[40rpx] text-[#bbb]"}))])),_:1})])),_:1})):b("v-if",!0),b(" 提现到支付宝 "),L.transfer_type.includes("alipay")?(d(),f(t,{key:1,class:"py-[30rpx] flex"},{default:x((()=>[A(t,null,{default:x((()=>[A(l,{class:"iconfont iconzhifubaoxuanzhong text-[#188dfb] text-[70rpx]"})])),_:1}),A(t,{class:"flex-1 px-[20rpx]"},{default:x((()=>[A(t,null,{default:x((()=>[m(g(_(i)("cashOutToAlipay")),1)])),_:1}),A(t,{class:"text-[#bbb] text-[26rpx] mt-[16rpx]"},{default:x((()=>[z.value?(d(),f(t,{key:0},{default:x((()=>[m(g(_(i)("cashOutTo"))+g(_(i)("alipayAccountNo"))+g(z.value.account_no)+" ",1),A(l,{class:"text-black",onClick:a[2]||(a[2]=e=>_(v)({url:"/app/pages/member/account",param:{type:"alipay",mode:"select"}}))},{default:x((()=>[m(g(_(i)("replace")),1)])),_:1})])),_:1})):(d(),f(t,{key:1},{default:x((()=>[m(g(_(i)("cashOutToAlipayTips")),1)])),_:1}))])),_:1})])),_:1}),A(t,{class:"flex items-center"},{default:x((()=>[z.value?(d(),f(t,{key:1,onClick:a[4]||(a[4]=e=>H.transfer_type="alipay")},{default:x((()=>["alipay"==H.transfer_type?(d(),f(l,{key:0,class:"iconfont iconduigou text-[40rpx] text-primary"})):(d(),f(l,{key:1,class:"iconfont iconcheckbox_nol text-[40rpx] text-[#bbb]"}))])),_:1})):(d(),f(o,{key:0,plain:!0,type:"primary",shape:"circle","custom-style":{height:"56rpx"},onClick:a[3]||(a[3]=e=>_(v)({url:"/app/pages/member/account",param:{type:"alipay",mode:"select"}}))},{default:x((()=>[m(g(_(i)("toAdd")),1)])),_:1}))])),_:1})])),_:1})):b("v-if",!0),b(" 提现到银行卡 "),L.transfer_type.includes("bank")?(d(),f(t,{key:2,class:"py-[30rpx] flex"},{default:x((()=>[A(t,{class:"w-[70rpx] flex justify-center"},{default:x((()=>[A(s,{src:"data:image/png;base64,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",mode:"widthFix",class:"w-[60rpx]"})])),_:1}),A(t,{class:"flex-1 px-[20rpx]"},{default:x((()=>[A(t,null,{default:x((()=>[m(g(_(i)("cashOutToBank")),1)])),_:1}),A(t,{class:"text-[#bbb] text-[26rpx] mt-[16rpx]"},{default:x((()=>[D.value?(d(),f(t,{key:0},{default:x((()=>[m(g(_(i)("cashOutTo"))+g(D.value.bank_name)+g(_(i)("debitCard"))+g(D.value.account_no.substring(D.value.account_no.length-4))+" ",1),A(l,{class:"text-black",onClick:a[5]||(a[5]=e=>_(v)({url:"/app/pages/member/account",param:{type:"bank",mode:"select"}}))},{default:x((()=>[m(g(_(i)("replace")),1)])),_:1})])),_:1})):(d(),f(t,{key:1},{default:x((()=>[m(g(_(i)("cashOutToBankTips")),1)])),_:1}))])),_:1})])),_:1}),A(t,{class:"flex items-center"},{default:x((()=>[D.value?(d(),f(t,{key:1,onClick:a[7]||(a[7]=e=>H.transfer_type="bank")},{default:x((()=>["bank"==H.transfer_type?(d(),f(l,{key:0,class:"iconfont iconduigou text-[40rpx] text-primary"})):(d(),f(l,{key:1,class:"iconfont iconcheckbox_nol text-[40rpx] text-[#bbb]"}))])),_:1})):(d(),f(o,{key:0,plain:!0,type:"primary",shape:"circle","custom-style":{height:"56rpx"},onClick:a[6]||(a[6]=e=>_(v)({url:"/app/pages/member/account",param:{type:"bank",mode:"select"}}))},{default:x((()=>[m(g(_(i)("toAdd")),1)])),_:1}))])),_:1})])),_:1})):b("v-if",!0)])),_:1}),A(t,{class:"px-[32rpx]"},{default:x((()=>[A(o,{type:"primary",shape:"circle",text:_(i)("cashOut"),class:"mt-[60rpx] mb-[40rpx]",disabled:""==H.apply_money||0==H.apply_money,loading:j.value,onClick:K},null,8,["text","disabled","loading"])])),_:1}),A(t,{class:"mt-[40rpx] text-center text-sm",onClick:a[8]||(a[8]=e=>_(v)({url:"/app/pages/member/cash_out"}))},{default:x((()=>[m(g(_(i)("cashOutList")),1)])),_:1})])),_:1})])),_:1})),A(p,{loading:Z.value,"bg-color":"#e8e8e8","loading-text":""},null,8,["loading"])],64)}}});export{Z as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-balance.2e81b8df.js b/niucloud/public/wap/assets/app-pages-member-balance.2e81b8df.js new file mode 100644 index 000000000..7833966a8 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-balance.2e81b8df.js @@ -0,0 +1 @@ +import{d as e,af as a,r as t,ar as l,h as r,q as n,t as s,i as o,j as u,w as p,k as c,K as i,L as d,n as y,Z as m,ak as _,F as f,G as v,H as g,y as x,m as b,a9 as h,x as k,ap as S,Y as w,a as C,e as j,as as E,aj as F,l as I,v as R,p as T,M as O,N as P}from"./index-59b72094.js";import{_ as U}from"./u-loading-page.966ecc29.js";import{_ as A}from"./u-button.0f6f73b7.js";import{_ as H}from"./u-image.480f9d13.js";import{_ as $}from"./u-icon.4046c188.js";import{_ as K}from"./u-popup.94ffd479.js";import{p as N,g as Y}from"./pay.12e83dba.js";import{w as q}from"./wechat.62b247b7.js";import{_ as z}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.85becb71.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const B=z(e({__name:"pay",emits:["close"],setup(e,{expose:w,emit:C}){a()&&q.init();const j=t(!1),E=t(!1),F=t(null),I=t(""),R=()=>{var e,t;uni.$u.test.isEmpty(I.value)?h({title:m("pay.notHavePayType"),icon:"none"}):E.value||(E.value=!0,N({trade_type:null==(e=F.value)?void 0:e.trade_type,trade_id:null==(t=F.value)?void 0:t.trade_id,type:I.value}).then((e=>{var t,l,n,s,o,u;switch(I.value){case"wechatpay":a()?(e.data.timestamp=e.data.timeStamp,delete e.data.timeStamp,q.pay({...e.data,success:()=>{T()},cancel:()=>{E.value=!1}})):(uni.setStorageSync("paymenting",{trade_type:null==(t=F.value)?void 0:t.trade_type,trade_id:null==(l=F.value)?void 0:l.trade_id}),location.href=e.data.h5_url);break;case"alipay":a()?r({url:"/app/pages/pay/browser",param:{trade_type:null==(n=F.value)?void 0:n.trade_type,trade_id:null==(s=F.value)?void 0:s.trade_id,alipay:encodeURIComponent(e.data.url)},mode:"redirectTo"}):(uni.setStorageSync("paymenting",{trade_type:null==(o=F.value)?void 0:o.trade_type,trade_id:null==(u=F.value)?void 0:u.trade_id}),location.href=e.data.url);break;default:T()}})).catch((()=>{E.value=!1})))};l("checkIsReturnAfterPayment",(()=>{const e=uni.getStorageSync("paymenting");uni.getStorageSync("paymenting")&&r({url:"/app/pages/pay/result",param:{trade_type:e.trade_type,trade_id:e.trade_id},mode:"redirectTo",success(){uni.removeStorageSync("paymenting")}})}));const T=()=>{var e,a;r({url:"/app/pages/pay/result",param:{trade_type:null==(e=F.value)?void 0:e.trade_type,trade_id:null==(a=F.value)?void 0:a.trade_id},mode:"redirectTo"})},O=()=>{uni.removeStorageSync("paymenting"),j.value=!1;const e=decodeURIComponent(uni.getStorageSync("payReturn"));e&&r({url:e,mode:"redirectTo"}),C("close")};return w({open:(e,a,t="")=>{uni.setStorageSync("payReturn",encodeURIComponent(t)),Y(e,a).then((e=>{let{data:a}=e;F.value=a,uni.$u.test.isEmpty(a)?h({title:m("pay.notObtainedInfo"),icon:"none"}):0!=a.money?0==a.status?(I.value=a.pay_type_list[0]?a.pay_type_list[0].key:"",j.value=!0):h({title:m("pay.paymentDocuments")+a.status_name,icon:"none"}):T()})).catch((()=>{}))}}),(e,a)=>{const t=k,l=n(s("u-image"),H),r=n(s("u-icon"),$),h=S,w=n(s("u-button"),A),C=n(s("u-popup"),K);return o(),u(C,{show:j.value,round:10,onClose:O,closeable:!0,bgColor:"#fff",zIndex:"10081",closeOnClickOverlay:!1},{default:p((()=>[F.value?(o(),u(t,{key:0,class:"flex flex-col h-[75vh]"},{default:p((()=>[c(t,{class:"head"},{default:p((()=>[c(t,{class:"text-center py-[26rpx]"},{default:p((()=>[i(d(y(m)("pay.payTitle")),1)])),_:1}),c(t,{class:"flex items-end justify-center w-full text-xl font-bold py-[20rpx]"},{default:p((()=>[c(t,{class:"text-base mr-[4rpx]"},{default:p((()=>[i(d(y(m)("currency")),1)])),_:1}),i(" "+d(y(_)(F.value.money)),1)])),_:1})])),_:1}),c(h,{"scroll-y":"true",class:"flex-1 pt-[20rpx]"},{default:p((()=>[c(t,{class:"flex text-sm px-[30rpx] py-[20rpx]"},{default:p((()=>[c(t,{class:"text-gray-500"},{default:p((()=>[i(d(y(m)("pay.orderInfo")),1)])),_:1}),c(t,{class:"text-right flex-1 pl-[30rpx] truncate"},{default:p((()=>[i(d(F.value.body),1)])),_:1})])),_:1}),c(t,{class:"mx-[30rpx] py-[10rpx] px-[30rpx] bg-white rounded-md bg-page"},{default:p((()=>[F.value.pay_type_list.length?(o(!0),f(v,{key:0},g(F.value.pay_type_list,((e,a)=>(o(),u(t,{class:"pay-item py-[18rpx] flex items-center border-0 border-b border-solid border-[#eee]",key:a,onClick:a=>I.value=e.key},{default:p((()=>[c(l,{src:y(x)(e.icon),width:"50rpx",height:"50rpx"},null,8,["src"]),c(t,{class:"flex-1 px-[20rpx] text-sm font-bold"},{default:p((()=>[i(d(e.name),1)])),_:2},1024),e.key==I.value?(o(),u(r,{key:0,name:"checkbox-mark",color:"var(--primary-color)"})):b("v-if",!0)])),_:2},1032,["onClick"])))),128)):(o(),u(t,{key:1,class:"py-[20rpx] text-center text-sm text-gray-subtitle"},{default:p((()=>[i(d(y(m)("pay.notHavePayType")),1)])),_:1}))])),_:1})])),_:1}),c(t,{class:"p-[30rpx]"},{default:p((()=>[c(w,{type:"primary",loading:E.value,text:y(m)("pay.confirmPay"),shape:"circle",onClick:R},null,8,["loading","text"])])),_:1})])),_:1})):b("v-if",!0)])),_:1},8,["show"])}}}),[["__scopeId","data-v-4fc9a620"]]),D=z(e({__name:"balance",setup(e){const a=w(),l=t(!1),g=t(null),h=C({is_auto_transfer:0,is_auto_verify:0,is_open:0,min:0,rate:0,transfer_type:[]}),S=t(!0);j((()=>{E("checkIsReturnAfterPayment"),F().then((e=>{for(let a in e.data)h[a]=e.data[a];S.value=!1}))}));const H=()=>{uni.setStorageSync("cashOutAccountType","money"),r({url:"/app/pages/member/apply_cash_out"})};return(e,t)=>{const w=n(s("u-loading-page"),U),C=k,j=O,E=P,F=n(s("u-button"),A),$=n(s("pay"),B);return o(),f(v,null,[c(w,{loading:S.value,loadingText:""},null,8,["loading"]),I(c(C,{class:"account-info-wrap"},{default:p((()=>[c(C,{class:"account-info-head",style:T({background:"url("+y(x)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:p((()=>[c(C,{class:"name"},{default:p((()=>[i(d(y(m)("balanceInfo")),1)])),_:1}),c(C,{class:"content"},{default:p((()=>[c(C,{class:"money"},{default:p((()=>[i(d(y(a).info?y(_)((parseFloat(y(a).info.balance)+parseFloat(y(a).info.money)).toString()):"0.00"),1)])),_:1}),c(C,{class:"text"},{default:p((()=>[i(d(y(m)("accountBalance")),1)])),_:1}),c(C,{class:"money-wrap"},{default:p((()=>[c(C,{class:"money-item",onClick:t[0]||(t[0]=e=>y(r)({url:"/app/pages/member/detailed_account",param:{type:"balance"}}))},{default:p((()=>[c(C,{class:"money"},{default:p((()=>{var e;return[i(d(y(_)(null==(e=y(a).info)?void 0:e.balance)||"0.00"),1)]})),_:1}),c(C,{class:"text leading-none"},{default:p((()=>[i(d(y(m)("balance")),1)])),_:1})])),_:1}),c(C,{class:"money-item",onClick:t[1]||(t[1]=e=>y(r)({url:"/app/pages/member/detailed_account",param:{type:"money"}}))},{default:p((()=>[c(C,{class:"money"},{default:p((()=>{var e;return[i(d(y(_)(null==(e=y(a).info)?void 0:e.money)||"0.00"),1)]})),_:1}),c(C,{class:"text leading-none"},{default:p((()=>[i(d(y(m)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),c(C,{class:"account-info-btn"},{default:p((()=>[b(' \r\n\t\t\t\t\r\n\t\t\t\t{{t(\'recharge\')}}\r\n\t\t\t '),1==h.is_open?(o(),u(F,{key:0,type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:H},{default:p((()=>[c(j,{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:y(x)("static/resource/images/member/withdraw_deposit.png")},null,8,["src"]),c(E,null,{default:p((()=>[i(d(y(m)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])):b("v-if",!0)])),_:1}),c($,{ref_key:"payRef",ref:g,onClose:t[2]||(t[2]=e=>l.value=!1)},null,512)])),_:1},512),[[R,!S.value]])],64)}}}),[["__scopeId","data-v-1495d8e2"]]);export{D as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-cash_out.5e6dd2b5.js b/niucloud/public/wap/assets/app-pages-member-cash_out.5e6dd2b5.js new file mode 100644 index 000000000..a3f468e67 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-cash_out.5e6dd2b5.js @@ -0,0 +1 @@ +import{d as e,r as a,ah as s,i as t,j as l,w as n,k as o,F as r,H as c,n as u,G as m,m as p,au as i,av as _,az as d,x as f,K as y,L as v,Z as h,I as g,h as k}from"./index-59b72094.js";import{u as w,M as j}from"./useMescroll.3e6a9ffa.js";import{M as x}from"./mescroll-empty.8fa55762.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";const T=I(e({__name:"cash_out",setup(e){const{mescrollInit:I,downCallback:T,getMescroll:b}=w(_,i);let M=a([]),z=a(null),C=a(!1),A=s("cashOutAccountType");const B=e=>{switch(e){case 1:return h("toBeReviewed");case 2:return h("toBeTransfer");case 3:return h("transfer");case-2:return h("cancelApply")}},D=e=>{let s=a({});C.value=!1,s.value.page=e.num,s.value.page_size=e.size,s.value.account_type=A,d(s.value).then((a=>{let s=a.data.data;e.endSuccess(s.length),1==e.num&&(M.value=[]),M.value=M.value.concat(s),C.value=!0})).catch((()=>{C.value=!0,e.endErr()}))};return(e,a)=>{const s=f;return t(),l(s,{class:"member-record-list"},{default:n((()=>[o(j,{ref_key:"mescrollRef",ref:z,onInit:u(I),onDown:u(T),onUp:D},{default:n((()=>[(t(!0),r(m,null,c(u(M),((e,a)=>(t(),l(s,{key:e.id,class:"member-record-item",onClick:a=>{k({url:"/app/pages/member/cash_out_detail",param:{id:e.id}})}},{default:n((()=>[o(s,{class:"name"},{default:n((()=>[y(v(e.transfer_type_name),1)])),_:2},1024),o(s,{class:"desc"},{default:n((()=>[y(v(u(h)("applyTime"))+": "+v(e.create_time),1)])),_:2},1024),o(s,{class:"desc"},{default:n((()=>[y(v(-1!=e.status?B(e.status):e.refuse_reason),1)])),_:2},1024),o(s,{class:g(["money",e.apply_money>0?"text-active":""])},{default:n((()=>[y(v(e.apply_money>0?"+"+e.apply_money:e.apply_money),1)])),_:2},1032,["class"]),o(s,{class:"state"},{default:n((()=>[y(v(e.status_name),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128)),!u(M).length&&u(C)?(t(),l(x,{key:0,option:{tip:"commission"==u(A)?u(h)("commissemptyTip"):u(h)("emptyTip")}},null,8,["option"])):p("v-if",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-e3956900"]]);export{T as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-cash_out_detail.df2ffe58.js b/niucloud/public/wap/assets/app-pages-member-cash_out_detail.df2ffe58.js new file mode 100644 index 000000000..114a385de --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-cash_out_detail.df2ffe58.js @@ -0,0 +1 @@ +import{d as a,r as e,o as l,aA as s,i as t,j as u,w as _,k as f,K as r,L as c,n as d,m as n,N as i,x as o,Z as p}from"./index-59b72094.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";const m=v(a({__name:"cash_out_detail",setup(a){let v=e({}),m=e(!1);l((a=>{let e=a.id||"";b(e)}));const b=a=>{m.value=!1,s(a).then((a=>{v.value=a.data,m.value=!0})).catch((()=>{m.value=!0}))};return(a,e)=>{const l=i,s=o;return t(),u(s,{class:"member-record-detail"},{default:_((()=>[f(s,{class:"money-wrap"},{default:_((()=>[f(l,null,{default:_((()=>[r("-"+c(d(v).apply_money),1)])),_:1}),f(l,null,{default:_((()=>[r(c(d(v).status_name),1)])),_:1})])),_:1}),n(" 状态0待审核1.待转账2已转账 -1拒绝' "),f(s,{class:"item"},{default:_((()=>[f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("cashOutNo")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).cash_out_no),1)])),_:1})])),_:1}),f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("serviceMoney")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r("¥"+c(d(v).service_money),1)])),_:1})])),_:1}),f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("createTime")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).create_time),1)])),_:1})])),_:1}),d(v).status?(t(),u(s,{key:0,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("auditTime")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).audit_time),1)])),_:1})])),_:1})):n("v-if",!0),d(v).transfer_bank?(t(),u(s,{key:1,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferBank")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_bank),1)])),_:1})])),_:1})):n("v-if",!0),f(s,{class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferAccount")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_account),1)])),_:1})])),_:1}),-1==d(v).status&&d(v).refuse_reason?(t(),u(s,{key:2,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("refuseReason")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).refuse_reason),1)])),_:1})])),_:1})):n("v-if",!0),2==d(v).status?(t(),u(s,{key:3,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferTypeName")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_type_name),1)])),_:1})])),_:1})):n("v-if",!0),2==d(v).status?(t(),u(s,{key:4,class:"line-wrap"},{default:_((()=>[f(l,{class:"label"},{default:_((()=>[r(c(d(p)("transferTime")),1)])),_:1}),f(l,{class:"value"},{default:_((()=>[r(c(d(v).transfer_time),1)])),_:1})])),_:1})):n("v-if",!0)])),_:1})])),_:1})}}}),[["__scopeId","data-v-ad6681a5"]]);export{m as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-commission.e6378aa1.js b/niucloud/public/wap/assets/app-pages-member-commission.e6378aa1.js new file mode 100644 index 000000000..96ba15f33 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-commission.e6378aa1.js @@ -0,0 +1 @@ +import{d as a,Y as s,i as e,j as o,w as t,k as n,K as c,L as l,n as i,p as m,aq as r,h as u,x as p,M as d,N as _,q as f,t as y,y as g,Z as b,ak as x}from"./index-59b72094.js";import{_ as h}from"./u-button.0f6f73b7.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.85becb71.js";import"./u-icon.4046c188.js";const k=w(a({__name:"commission",setup(a){const w=s(),k=()=>{r("cashOutAccountType","commission"),u({url:"/app/pages/member/apply_cash_out"})};return(a,s)=>{const r=p,v=d,j=_,C=f(y("u-button"),h);return e(),o(r,{class:"account-info-wrap"},{default:t((()=>[n(r,{class:"account-info-head",style:m({background:"url("+i(g)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:t((()=>[n(r,{class:"name"},{default:t((()=>[c(l(i(b)("commissionInfo")),1)])),_:1}),n(r,{class:"content"},{default:t((()=>[n(r,{class:"money",onClick:s[0]||(s[0]=a=>i(u)({url:"/app/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[c(l(i(w).info?i(x)(i(w).info.commission):0),1)])),_:1}),n(r,{class:"text",onClick:s[1]||(s[1]=a=>i(u)({url:"/app/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[c(l(i(b)("accountCommission")),1)])),_:1}),n(r,{class:"money-wrap"},{default:t((()=>[n(r,{class:"money-item"},{default:t((()=>[n(r,{class:"money"},{default:t((()=>{var a;return[c(l(i(x)(null==(a=i(w).info)?void 0:a.commission_get)||"0.00"),1)]})),_:1}),n(r,{class:"text"},{default:t((()=>[c(l(i(b)("commission")),1)])),_:1})])),_:1}),n(r,{class:"money-item"},{default:t((()=>[n(r,{class:"money"},{default:t((()=>{var a;return[c(l(i(x)(null==(a=i(w).info)?void 0:a.commission_cash_outing)||"0.00"),1)]})),_:1}),n(r,{class:"text"},{default:t((()=>[c(l(i(b)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),n(r,{class:"account-info-btn"},{default:t((()=>[n(C,{type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:k},{default:t((()=>[n(v,{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:i(g)("static/resource/images/member/withdraw_deposit.png")},null,8,["src"]),n(j,null,{default:t((()=>[c(l(i(b)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-d4a8aab7"]]);export{k as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-detailed_account.6e3cb299.js b/niucloud/public/wap/assets/app-pages-member-detailed_account.6e3cb299.js new file mode 100644 index 000000000..7ccbbd728 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-detailed_account.6e3cb299.js @@ -0,0 +1 @@ +import{d as a,r as e,o as s,i as t,j as l,w as o,k as n,F as c,H as u,G as m,n as r,m as i,au as d,av as p,x as _,K as v,L as f,I as y,Z as g,aw as k,ax as x,ay as b}from"./index-59b72094.js";import{u as h,M as j}from"./useMescroll.3e6a9ffa.js";import{M as w}from"./mescroll-empty.8fa55762.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";const M=I(a({__name:"detailed_account",setup(a){const{mescrollInit:I,downCallback:M,getMescroll:z}=h(p,d),D=e("");s((a=>{D.value=a.type||"balance"}));const T=e([]),C=e(!1),E=e(null),F=a=>{C.value=!1;let e={page:a.num,page_size:a.size},s=a=>{};"balance"==D.value?s=k:"money"==D.value?s=x:"commission"==D.value&&(s=b),s(e).then((e=>{let s=e.data.data;a.endSuccess(s.length),1==a.num&&(T.value=[]),T.value=T.value.concat(s),C.value=!0})).catch((()=>{C.value=!0,a.endErr()}))};return(a,e)=>{const s=_;return t(),l(s,{class:"member-record-list"},{default:o((()=>[n(j,{ref_key:"mescrollRef",ref:E,onInit:r(I),onDown:r(M),onUp:F,top:""},{default:o((()=>[(t(!0),c(m,null,u(T.value,((a,e)=>(t(),l(s,{key:a.id,class:"member-record-item"},{default:o((()=>[n(s,{class:"name"},{default:o((()=>[v(f(a.from_type_name),1)])),_:2},1024),a.memo?(t(),l(s,{key:0,class:"desc"},{default:o((()=>[v(f(a.memo),1)])),_:2},1024)):i("v-if",!0),n(s,{class:"desc"},{default:o((()=>[v(f(a.create_time),1)])),_:2},1024),n(s,{class:y(["money",a.account_data>0?"text-active":""])},{default:o((()=>[v(f(a.account_data>0?"+"+a.account_data:a.account_data),1)])),_:2},1032,["class"])])),_:2},1024)))),128)),!T.value.length&&C.value?(t(),l(w,{key:0,option:{tip:"commission"==D.value?r(g)("commissemptyTip"):r(g)("emptyTip")}},null,8,["option"])):i("v-if",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-3aa51d56"]]);export{M as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-index.49b791b7.js b/niucloud/public/wap/assets/app-pages-member-index.49b791b7.js new file mode 100644 index 000000000..6805aebac --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-index.49b791b7.js @@ -0,0 +1 @@ +import{d as a,r as e,u as l,a as o,c as t,o as r,b as s,s as p,e as i,g as d,f as g,h as u,Y as n,i as m,j as f,w as v,k as c,l as _,v as b,m as x,n as y,p as h,q as j,t as S,x as k,y as w}from"./index-59b72094.js";import{_ as M}from"./u-loading-page.966ecc29.js";import{_ as D,a as R}from"./index.3ac4c3b4.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.85becb71.js";import"./u-transition.4588f416.js";import"./u-icon.4046c188.js";import"./u-image.480f9d13.js";import"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import"./u-avatar.45f327ca.js";import"./u-safe-bottom.1b1ffd7b.js";const B=I(a({__name:"index",setup(a){const I=e(!0),B=l(),C=e(0),E=e("DIY_MEMBER_INDEX"),N=o({pageMode:"diy",title:"",global:{},value:[]}),U=t((()=>"decorate"==B.mode?B:N));return r((a=>{B.mode=a.mode||"","decorate"==B.mode&&(I.value=!1)})),s((()=>{C.value++,p()})),i((()=>{"decorate"==B.mode?B.init():d({name:E.value}).then((a=>{let e=a.data;if(e.value){N.pageMode=e.mode,N.title=e.title;let a=JSON.parse(e.value);N.global=a.global,N.value=a.value,N.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),g({title:N.title}),I.value=!1}else"other"==e.mode&&u({url:e.page})})),n().getMemberInfo()})),(a,e)=>{const l=j(S("u-loading-page"),M),o=j(S("diy-group"),D),t=k,r=j(S("fixed-group"),R);return m(),f(t,null,{default:v((()=>[c(l,{loading:I.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),_(c(t,null,{default:v((()=>[x(" 自定义模板渲染 "),"fixed"!=y(U).pageMode?(m(),f(t,{key:0,class:"diy-template-wrap bg-index",style:h({backgroundColor:y(U).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:y(U).global.bgUrl?"url("+y(w)(y(U).global.bgUrl)+")":""})},{default:v((()=>[c(o,{data:y(U),pullDownRefresh:C.value},null,8,["data","pullDownRefresh"])])),_:1},8,["style"])):x("v-if",!0),x(" 固定模板渲染 "),"fixed"==y(U).pageMode?(m(),f(t,{key:1,class:"fixed-template-wrap"},{default:v((()=>[c(r,{data:y(U),pullDownRefresh:C.value},null,8,["data","pullDownRefresh"])])),_:1})):x("v-if",!0)])),_:1},512),[[b,!I.value]])])),_:1})}}}),[["__scopeId","data-v-e52d8d91"]]);export{B as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-personal.8f08f834.js b/niucloud/public/wap/assets/app-pages-member-personal.8f08f834.js new file mode 100644 index 000000000..2975e4871 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-personal.8f08f834.js @@ -0,0 +1 @@ +import{aK as e,aL as t,aM as a,V as i,W as n,X as r,B as s,q as l,t as o,i as u,j as c,w as d,k as m,F as h,G as f,H as p,p as y,K as g,L as _,m as v,J as x,T as $,I as b,M as k,N as C,x as w,aN as I,aO as S,d as D,Y as M,c as T,a as O,r as H,n as P,a9 as j,Z as V,aP as B,aQ as F,ao as N,y as z,aR as A}from"./index-59b72094.js";import{_ as L}from"./u-avatar.45f327ca.js";import{_ as R}from"./u-icon.4046c188.js";import{_ as Y}from"./u-loading-icon.85becb71.js";import{_ as U}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as Z,a as W,b as J}from"./u-action-sheet.4f32c162.js";import{_ as Q}from"./u-button.0f6f73b7.js";import{_ as q}from"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import{_ as E}from"./u-modal.30bfd23d.js";import{_ as K}from"./u-popup.94ffd479.js";import"./u-line.9ef7233b.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";function G(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce(((a,i)=>(t.includes(i)||(a[i]=e[i]),a)),{}):{}}function X(e){return e.tempFiles.map((e=>({...G(e,["path"]),url:e.path,size:e.size,name:e.name,type:e.type})))}function ee({accept:i,multiple:n,capture:r,compressed:s,maxDuration:l,sizeType:o,camera:u,maxCount:c}){return new Promise(((d,m)=>{switch(i){case"image":a({count:n?Math.min(c,9):1,sourceType:r,sizeType:o,success:e=>d(function(e){return e.tempFiles.map((e=>({...G(e,["path"]),type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name})))}(e)),fail:m});break;case"video":t({sourceType:r,compressed:s,maxDuration:l,camera:u,success:e=>d(function(e){return[{...G(e,["tempFilePath","thumbTempFilePath","errMsg"]),type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,name:e.name}]}(e)),fail:m});break;case"file":e({count:n?c:1,type:i,success:e=>d(X(e)),fail:m});break;default:e({count:n?c:1,type:"all",success:e=>d(X(e)),fail:m})}}))}const te=U({name:"u-upload",mixins:[n,r,{watch:{accept:{immediate:!0,handler(e){"all"!==e&&"media"!==e||uni.$u.error("只有微信小程序才支持把accept配置为all、media之一")}}}},{props:{accept:{type:String,default:i.upload.accept},capture:{type:[String,Array],default:i.upload.capture},compressed:{type:Boolean,default:i.upload.compressed},camera:{type:String,default:i.upload.camera},maxDuration:{type:Number,default:i.upload.maxDuration},uploadIcon:{type:String,default:i.upload.uploadIcon},uploadIconColor:{type:String,default:i.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:i.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:i.upload.previewFullImage},maxCount:{type:[String,Number],default:i.upload.maxCount},disabled:{type:Boolean,default:i.upload.disabled},imageMode:{type:String,default:i.upload.imageMode},name:{type:String,default:i.upload.name},sizeType:{type:Array,default:i.upload.sizeType},multiple:{type:Boolean,default:i.upload.multiple},deletable:{type:Boolean,default:i.upload.deletable},maxSize:{type:[String,Number],default:i.upload.maxSize},fileList:{type:Array,default:i.upload.fileList},uploadText:{type:String,default:i.upload.uploadText},width:{type:[String,Number],default:i.upload.width},height:{type:[String,Number],default:i.upload.height},previewImage:{type:Boolean,default:i.upload.previewImage}}}],data:()=>({lists:[],isInCount:!0}),watch:{fileList:{handler(){this.formatFileList()},immediate:!0,deep:!0}},emits:["error","beforeRead","oversize","afterRead","delete","clickPreview"],methods:{formatFileList(){const{fileList:e=[],maxCount:t}=this,a=e.map((e=>Object.assign(Object.assign({},e),{isImage:"image"===this.accept||uni.$u.test.image(e.url||e.thumb),isVideo:"video"===this.accept||uni.$u.test.video(e.url||e.thumb),deletable:"boolean"==typeof e.deletable?e.deletable:this.deletable})));this.lists=a,this.isInCount=a.length{this.onBeforeRead(t?e:e[0])})).catch((e=>{this.$emit("error",e)}))},onBeforeRead(e){const{beforeRead:t,useBeforeRead:a}=this;let i=!0;uni.$u.test.func(t)&&(i=t(e,this.getDetail())),a&&(i=new Promise(((t,a)=>{this.$emit("beforeRead",Object.assign(Object.assign({file:e},this.getDetail()),{callback:e=>{e?t():a()}}))}))),i&&(uni.$u.test.promise(i)?i.then((t=>this.onAfterRead(t||e))):this.onAfterRead(e))},getDetail(e){return{name:this.name,index:null==e?this.fileList.length:e}},onAfterRead(e){const{maxSize:t,afterRead:a}=this;(Array.isArray(e)?e.some((e=>e.size>t)):e.size>t)?this.$emit("oversize",Object.assign({file:e},this.getDetail())):("function"==typeof a&&a(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail())))},deleteItem(e){this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage(e){e.isImage&&this.previewFullImage&&s({urls:this.lists.filter((e=>"image"===this.accept||uni.$u.test.image(e.url||e.thumb))).map((e=>e.url||e.thumb)),current:e.url||e.thumb,fail(){uni.$u.toast("预览图片失败")}})},onPreviewVideo(e){if(!this.data.previewFullImage)return;const{index:t}=e.currentTarget.dataset,{lists:a}=this.data;wx.previewMedia({sources:a.filter((e=>isVideoFile(e))).map((e=>Object.assign(Object.assign({},e),{type:"video"}))),current:t,fail(){uni.$u.toast("预览视频失败")}})},onClickPreview(e){const{index:t}=e.currentTarget.dataset,a=this.data.lists[t];this.$emit("clickPreview",Object.assign(Object.assign({},a),this.getDetail(t)))}}},[["render",function(e,t,a,i,n,r){const s=k,I=l(o("u-icon"),R),S=C,D=w,M=l(o("u-loading-icon"),Y);return u(),c(D,{class:"u-upload",style:y([e.$u.addStyle(e.customStyle)])},{default:d((()=>[m(D,{class:"u-upload__wrap"},{default:d((()=>[e.previewImage?(u(!0),h(f,{key:0},p(n.lists,((t,a)=>(u(),c(D,{class:"u-upload__wrap__preview",key:a},{default:d((()=>[t.isImage||t.type&&"image"===t.type?(u(),c(s,{key:0,src:t.thumb||t.url,mode:e.imageMode,class:"u-upload__wrap__preview__image",onClick:e=>r.onPreviewImage(t),style:y([{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}])},null,8,["src","mode","onClick","style"])):(u(),c(D,{key:1,class:"u-upload__wrap__preview__other"},{default:d((()=>[m(I,{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"},null,8,["name"]),m(S,{class:"u-upload__wrap__preview__other__text"},{default:d((()=>[g(_(t.isVideo||t.type&&"video"===t.type?"视频":"文件"),1)])),_:2},1024)])),_:2},1024)),"uploading"===t.status||"failed"===t.status?(u(),c(D,{key:2,class:"u-upload__status"},{default:d((()=>[m(D,{class:"u-upload__status__icon"},{default:d((()=>["failed"===t.status?(u(),c(I,{key:0,name:"close-circle",color:"#ffffff",size:"25"})):(u(),c(M,{key:1,size:"22",mode:"circle",color:"#ffffff"}))])),_:2},1024),t.message?(u(),c(S,{key:0,class:"u-upload__status__message"},{default:d((()=>[g(_(t.message),1)])),_:2},1024)):v("v-if",!0)])),_:2},1024)):v("v-if",!0),"uploading"!==t.status&&(e.deletable||t.deletable)?(u(),c(D,{key:3,class:"u-upload__deletable",onClick:x((e=>r.deleteItem(a)),["stop"])},{default:d((()=>[m(D,{class:"u-upload__deletable__icon"},{default:d((()=>[m(I,{name:"close",color:"#ffffff",size:"10"})])),_:1})])),_:2},1032,["onClick"])):v("v-if",!0),"success"===t.status?(u(),c(D,{key:4,class:"u-upload__success"},{default:d((()=>[m(D,{class:"u-upload__success__icon"},{default:d((()=>[m(I,{name:"checkmark",color:"#ffffff",size:"12"})])),_:1})])),_:1})):v("v-if",!0)])),_:2},1024)))),128)):v("v-if",!0),n.isInCount?(u(),h(f,{key:1},[e.$slots.default||e.$slots.$default?(u(),c(D,{key:0,onClick:r.chooseFile},{default:d((()=>[$(e.$slots,"default",{},void 0,!0)])),_:3},8,["onClick"])):(u(),c(D,{key:1,class:b(["u-upload__button",[e.disabled&&"u-upload__button--disabled"]]),"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150",onClick:r.chooseFile,style:y([{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}])},{default:d((()=>[m(I,{name:e.uploadIcon,size:"26",color:e.uploadIconColor},null,8,["name","color"]),e.uploadText?(u(),c(S,{key:0,class:"u-upload__button__text"},{default:d((()=>[g(_(e.uploadText),1)])),_:1})):v("v-if",!0)])),_:1},8,["hover-class","onClick","class","style"]))],64)):v("v-if",!0)])),_:3})])),_:3},8,["style"])}],["__scopeId","data-v-1941ac11"]]);const ae=U({name:"u-toolbar",mixins:[n,r,{props:{show:{type:Boolean,default:i.toolbar.show},cancelText:{type:String,default:i.toolbar.cancelText},confirmText:{type:String,default:i.toolbar.confirmText},cancelColor:{type:String,default:i.toolbar.cancelColor},confirmColor:{type:String,default:i.toolbar.confirmColor},title:{type:String,default:i.toolbar.title}}}],methods:{cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm")}}},[["render",function(e,t,a,i,n,r){const s=C,l=w;return e.show?(u(),c(l,{key:0,class:"u-toolbar",onTouchmove:x(e.noop,["stop","prevent"])},{default:d((()=>[m(l,{class:"u-toolbar__cancel__wrapper","hover-class":"u-hover-class"},{default:d((()=>[m(s,{class:"u-toolbar__wrapper__cancel",onClick:r.cancel,style:y({color:e.cancelColor})},{default:d((()=>[g(_(e.cancelText),1)])),_:1},8,["onClick","style"])])),_:1}),e.title?(u(),c(s,{key:0,class:"u-toolbar__title u-line-1"},{default:d((()=>[g(_(e.title),1)])),_:1})):v("v-if",!0),m(l,{class:"u-toolbar__confirm__wrapper","hover-class":"u-hover-class"},{default:d((()=>[m(s,{class:"u-toolbar__wrapper__confirm",onClick:r.confirm,style:y({color:e.confirmColor})},{default:d((()=>[g(_(e.confirmText),1)])),_:1},8,["onClick","style"])])),_:1})])),_:1},8,["onTouchmove"])):v("v-if",!0)}],["__scopeId","data-v-88cf1536"]]);const ie=U({name:"u-picker",mixins:[n,r,{props:{show:{type:Boolean,default:i.picker.show},showToolbar:{type:Boolean,default:i.picker.showToolbar},title:{type:String,default:i.picker.title},columns:{type:Array,default:i.picker.columns},loading:{type:Boolean,default:i.picker.loading},itemHeight:{type:[String,Number],default:i.picker.itemHeight},cancelText:{type:String,default:i.picker.cancelText},confirmText:{type:String,default:i.picker.confirmText},cancelColor:{type:String,default:i.picker.cancelColor},confirmColor:{type:String,default:i.picker.confirmColor},visibleItemCount:{type:[String,Number],default:i.picker.visibleItemCount},keyName:{type:String,default:i.picker.keyName},closeOnClickOverlay:{type:Boolean,default:i.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:i.picker.defaultIndex},immediateChange:{type:Boolean,default:i.picker.immediateChange}}}],data:()=>({lastIndex:[],innerIndex:[],innerColumns:[],columnIndex:0}),watch:{defaultIndex:{immediate:!0,handler(e){this.setIndexs(e,!0)}},columns:{immediate:!0,deep:!0,handler(e){this.setColumns(e)}}},emits:["close","cancel","confirm","change"],methods:{getItemText(e){return uni.$u.test.object(e)?e[this.keyName]:e},closeHandler(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm",{indexs:this.innerIndex,value:this.innerColumns.map(((e,t)=>e[this.innerIndex[t]])),values:this.innerColumns})},changeHandler(e){const{value:t}=e.detail;let a=0,i=0;for(let r=0;re[t[a]])),index:a,indexs:t,values:n,columnIndex:i})},setIndexs(e,t){this.innerIndex=uni.$u.deepClone(e),t&&this.setLastIndex(e)},setLastIndex(e){this.lastIndex=uni.$u.deepClone(e)},setColumnValues(e,t){this.innerColumns.splice(e,1,t);let a=uni.$u.deepClone(this.innerIndex);for(let i=0;ithis.columnIndex&&(a[i]=0);this.setIndexs(a)},getColumnValues(e){return(async()=>{await uni.$u.sleep()})(),this.innerColumns[e]},setColumns(e){this.innerColumns=uni.$u.deepClone(e),0===this.innerIndex.length&&(this.innerIndex=new Array(e.length).fill(0))},getIndexs(){return this.innerIndex},getValues(){return(async()=>{await uni.$u.sleep()})(),this.innerColumns.map(((e,t)=>e[this.innerIndex[t]]))}}},[["render",function(e,t,a,i,n,r){const s=l(o("u-toolbar"),ae),x=C,$=I,b=S,k=l(o("u-loading-icon"),Y),D=w,M=l(o("u-popup"),K);return u(),c(M,{show:e.show,onClose:r.closeHandler},{default:d((()=>[m(D,{class:"u-picker"},{default:d((()=>[e.showToolbar?(u(),c(s,{key:0,cancelColor:e.cancelColor,confirmColor:e.confirmColor,cancelText:e.cancelText,confirmText:e.confirmText,title:e.title,onCancel:r.cancel,onConfirm:r.confirm},null,8,["cancelColor","confirmColor","cancelText","confirmText","title","onCancel","onConfirm"])):v("v-if",!0),m(b,{class:"u-picker__view",indicatorStyle:`height: ${e.$u.addUnit(e.itemHeight)}`,value:n.innerIndex,immediateChange:e.immediateChange,style:y({height:`${e.$u.addUnit(e.visibleItemCount*e.itemHeight)}`}),onChange:r.changeHandler},{default:d((()=>[(u(!0),h(f,null,p(n.innerColumns,((t,a)=>(u(),c($,{key:a,class:"u-picker__view__column"},{default:d((()=>[e.$u.test.array(t)?(u(!0),h(f,{key:0},p(t,((t,i)=>(u(),c(x,{class:"u-picker__view__column__item u-line-1",key:i,style:y({height:e.$u.addUnit(e.itemHeight),lineHeight:e.$u.addUnit(e.itemHeight),fontWeight:i===n.innerIndex[a]?"bold":"normal"})},{default:d((()=>[g(_(r.getItemText(t)),1)])),_:2},1032,["style"])))),128)):v("v-if",!0)])),_:2},1024)))),128))])),_:1},8,["indicatorStyle","value","immediateChange","style","onChange"]),e.loading?(u(),c(D,{key:1,class:"u-picker--loading"},{default:d((()=>[m(k,{mode:"circle"})])),_:1})):v("v-if",!0)])),_:1})])),_:1},8,["show","onClose"])}],["__scopeId","data-v-6971b6c7"]]),ne={props:{show:{type:Boolean,default:i.datetimePicker.show},showToolbar:{type:Boolean,default:i.datetimePicker.showToolbar},modelValue:{type:[String,Number],default:i.datetimePicker.value},title:{type:String,default:i.datetimePicker.title},mode:{type:String,default:i.datetimePicker.mode},maxDate:{type:Number,default:i.datetimePicker.maxDate},minDate:{type:Number,default:i.datetimePicker.minDate},minHour:{type:Number,default:i.datetimePicker.minHour},maxHour:{type:Number,default:i.datetimePicker.maxHour},minMinute:{type:Number,default:i.datetimePicker.minMinute},maxMinute:{type:Number,default:i.datetimePicker.maxMinute},filter:{type:[Function,null],default:i.datetimePicker.filter},formatter:{type:[Function,null],default:i.datetimePicker.formatter},loading:{type:Boolean,default:i.datetimePicker.loading},itemHeight:{type:[String,Number],default:i.datetimePicker.itemHeight},cancelText:{type:String,default:i.datetimePicker.cancelText},confirmText:{type:String,default:i.datetimePicker.confirmText},cancelColor:{type:String,default:i.datetimePicker.cancelColor},confirmColor:{type:String,default:i.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:i.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:i.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:i.datetimePicker.defaultIndex}}};var re=1e3,se=6e4,le=36e5,oe="millisecond",ue="second",ce="minute",de="hour",me="day",he="week",fe="month",pe="quarter",ye="year",ge="date",_e="Invalid Date",ve=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,xe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const $e={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};var be=function(e,t,a){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(a)+e};const ke={s:be,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),i=Math.floor(a/60),n=a%60;return(t<=0?"+":"-")+be(i,2,"0")+":"+be(n,2,"0")},m:function e(t,a){if(t.date()1)return e(s[0])}else{var l=t.name;we[l]=t,n=l}return!i&&n&&(Ce=n),n||!i&&Ce},De=function(e,t){if(Ie(e))return e.clone();var a="object"==typeof t?t:{};return a.date=e,a.args=arguments,new Te(a)},Me=ke;Me.l=Se,Me.i=Ie,Me.w=function(e,t){return De(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var Te=function(){function e(e){this.$L=Se(e.locale,null,!0),this.parse(e)}var t=e.prototype;return t.parse=function(e){this.$d=function(e){var t=e.date,a=e.utc;if(null===t)return new Date(NaN);if(Me.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(ve);if(i){var n=i[2]-1||0,r=(i[7]||"0").substring(0,3);return a?new Date(Date.UTC(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)):new Date(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},t.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},t.$utils=function(){return Me},t.isValid=function(){return!(this.$d.toString()===_e)},t.isSame=function(e,t){var a=De(e);return this.startOf(t)<=a&&a<=this.endOf(t)},t.isAfter=function(e,t){return De(e)({columns:[],innerDefaultIndex:[],innerFormatter:(e,t)=>t}),watch:{show(e,t){e&&this.updateColumnValue(this.innerValue)},propsChange(){this.init()}},computed:{propsChange(){return[this.mode,this.maxDate,this.minDate,this.minHour,this.maxHour,this.minMinute,this.maxMinute,this.filter]}},mounted(){this.init()},emits:["close","cancel","confirm","change","update:modelValue"],methods:{init(){this.innerValue=this.correctValue(this.modelValue),this.updateColumnValue(this.innerValue)},setFormatter(e){this.innerFormatter=e},close(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm",{value:this.innerValue,mode:this.mode}),this.$emit("update:modelValue",this.innerValue)},intercept(e,t){let a=e.match(/\d+/g);return a.length>1?(uni.$u.error("请勿在过滤或格式化函数时添加数字"),0):t&&4==a[0].length?a[0]:a[0].length>2?(uni.$u.error("请勿在过滤或格式化函数时添加数字"),0):a[0]},change(e){const{indexs:t,values:a}=e;let i="";if("time"===this.mode)i=`${this.intercept(a[0][t[0]])}:${this.intercept(a[1][t[1]])}`;else{const e=parseInt(this.intercept(a[0][t[0]],"year")),n=parseInt(this.intercept(a[1][t[1]]));let r=parseInt(a[2]?this.intercept(a[2][t[2]]):1),s=0,l=0;const o=De(`${e}-${n}`).daysInMonth();"year-month"===this.mode&&(r=1),r=Math.min(o,r),"datetime"===this.mode&&(s=parseInt(this.intercept(a[3][t[3]])),l=parseInt(this.intercept(a[4][t[4]]))),i=Number(new Date(e,n-1,r,s,l))}i=this.correctValue(i),this.innerValue=i,this.updateColumnValue(i),this.$emit("change",{value:i,picker:this.$refs.picker,mode:this.mode})},updateColumnValue(e){this.innerValue=e,this.updateColumns(),this.updateIndexs(e)},updateIndexs(e){let t=[];const a=this.formatter||this.innerFormatter,i=uni.$u.padZero;if("time"===this.mode){const i=e.split(":");t=[a("hour",i[0]),a("minute",i[1])]}else t=[a("year",`${De(e).year()}`),a("month",i(De(e).month()+1))],"date"===this.mode&&t.push(a("day",i(De(e).date()))),"datetime"===this.mode&&t.push(a("day",i(De(e).date())),a("hour",i(De(e).hour())),a("minute",i(De(e).minute())));const n=this.columns.map(((e,a)=>Math.max(0,e.findIndex((e=>e===t[a])))));this.innerDefaultIndex=n},updateColumns(){const e=this.formatter||this.innerFormatter,t=this.getOriginColumns().map((t=>t.values.map((a=>e(t.type,a)))));this.columns=t},getOriginColumns(){return this.getRanges().map((({type:e,range:t})=>{let a=function(e,t){let a=-1;const i=Array(e<0?0:e);for(;++a{let i=t[0]+a;return i="year"===e?`${i}`:uni.$u.padZero(i),i}));return this.filter&&(a=this.filter(e,a)),{type:e,values:a}}))},generateArray:(e,t)=>Array.from(new Array(t+1).keys()).slice(e),correctValue(e){const t="time"!==this.mode;if(t&&!uni.$u.test.date(e)?e=this.minDate:t||e||(e=`${uni.$u.padZero(this.minHour)}:${uni.$u.padZero(this.minMinute)}`),t)return e=De(e).isBefore(De(this.minDate))?this.minDate:e,e=De(e).isAfter(De(this.maxDate))?this.maxDate:e;{if(-1===String(e).indexOf(":"))return uni.$u.error("时间错误,请传递如12:24的格式");let[t,a]=e.split(":");return t=uni.$u.padZero(uni.$u.range(this.minHour,this.maxHour,Number(t))),a=uni.$u.padZero(uni.$u.range(this.minMinute,this.maxMinute,Number(a))),`${t}:${a}`}},getRanges(){if("time"===this.mode)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];const{maxYear:e,maxDate:t,maxMonth:a,maxHour:i,maxMinute:n}=this.getBoundary("max",this.innerValue),{minYear:r,minDate:s,minMonth:l,minHour:o,minMinute:u}=this.getBoundary("min",this.innerValue),c=[{type:"year",range:[r,e]},{type:"month",range:[l,a]},{type:"day",range:[s,t]},{type:"hour",range:[o,i]},{type:"minute",range:[u,n]}];return"date"===this.mode&&c.splice(3,2),"year-month"===this.mode&&c.splice(2,3),c},getBoundary(e,t){const a=new Date(t),i=new Date(this[`${e}Date`]),n=De(i).year();let r=1,s=1,l=0,o=0;return"max"===e&&(r=12,s=De(a).daysInMonth(),l=23,o=59),De(a).year()===n&&(r=De(i).month()+1,De(a).month()+1===r&&(s=De(i).date(),De(a).date()===s&&(l=De(i).hour(),De(a).hour()===l&&(o=De(i).minute())))),{[`${e}Year`]:n,[`${e}Month`]:r,[`${e}Date`]:s,[`${e}Hour`]:l,[`${e}Minute`]:o}}}},[["render",function(e,t,a,i,n,r){const s=l(o("u-picker"),ie);return u(),c(s,{ref:"picker",show:e.show,closeOnClickOverlay:e.closeOnClickOverlay,columns:n.columns,title:e.title,itemHeight:e.itemHeight,showToolbar:e.showToolbar,visibleItemCount:e.visibleItemCount,defaultIndex:n.innerDefaultIndex,cancelText:e.cancelText,confirmText:e.confirmText,cancelColor:e.cancelColor,confirmColor:e.confirmColor,onClose:r.close,onCancel:r.cancel,onConfirm:r.confirm,onChange:r.change},null,8,["show","closeOnClickOverlay","columns","title","itemHeight","showToolbar","visibleItemCount","defaultIndex","cancelText","confirmText","cancelColor","confirmColor","onClose","onCancel","onConfirm","onChange"])}],["__scopeId","data-v-e4f68153"]]),Pe=U(D({__name:"personal",setup(e){const t=M(),a=T((()=>t.info)),i=O({modal:!1,value:a.nickname||""}),n=e=>{i.value=e.detail.value},r=()=>{uni.$u.test.isEmpty(i.value)?j({title:V("nicknamePlaceholder"),icon:"none"}):B({field:"nickname",value:i.value}).then((e=>{t.info.nickname=i.value,i.modal=!1}))},s=H(!1),h=T((()=>[{name:V("man"),value:1},{name:V("woman"),value:2}])),f=e=>{B({field:"sex",value:e.value}).then((a=>{t.info.sex_name=e.name}))},p=e=>{F({filePath:e.file.url,name:"file"}).then((e=>{B({field:"headimg",value:e.data.url}).then((()=>{t.info.headimg=e.data.url}))})).catch((()=>{}))},y=H(!1),x=e=>{B({field:"birthday",value:uni.$u.date(e.value,"yyyy-mm-dd")}).then((()=>{t.info.birthday=uni.$u.date(e.value,"yyyy-mm-dd"),y.value=!1}))};return(e,t)=>{const $=l(o("u-avatar"),L),b=w,k=l(o("u-upload"),te),C=l(o("u-cell"),Z),I=l(o("u-button"),Q),S=l(o("app-link"),q),D=l(o("u-cell-group"),W),M=N,T=l(o("u-modal"),E),O=l(o("u-action-sheet"),J),H=l(o("u-datetime-picker"),He);return P(a)?(u(),c(b,{key:0,class:"w-full h-screen bg-page"},{default:d((()=>[m(b,{class:"flex flex-col items-center pt-[30rpx]"},{default:d((()=>[m(k,{onAfterRead:p,maxCount:1},{default:d((()=>[m($,{src:P(z)(P(a).headimg),size:"60",leftIcon:"none"},null,8,["src"]),m(b,{class:"text-primary text-sm mt-[10rpx]"},{default:d((()=>[g(_(P(V)("updateHeadimg")),1)])),_:1})])),_:1})])),_:1}),m(b,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:d((()=>[m(D,{border:!1},{default:d((()=>[m(C,{title:P(V)("nickname"),"is-link":!0,value:P(a).nickname,onClick:t[0]||(t[0]=e=>i.modal=!0)},null,8,["title","value"]),m(C,{title:P(V)("sex"),"is-link":!0,value:P(a).sex_name||P(V)("unknown"),onClick:t[1]||(t[1]=e=>s.value=!0)},null,8,["title","value"]),m(C,{title:P(V)("mobile")},{value:d((()=>[P(a).mobile?(u(),c(b,{key:0},{default:d((()=>[g(_(P(A)(P(a).mobile)),1)])),_:1})):v("v-if",!0),m(b,null,{default:d((()=>[m(S,{url:"/app/pages/auth/bind"},{default:d((()=>[m(I,{type:"primary",plain:!0,text:P(V)("bindMobile"),shape:"circle",size:"mini"},null,8,["text"])])),_:1})])),_:1})])),_:1},8,["title"]),m(C,{title:P(V)("birthday"),"is-link":!0,value:P(a).birthday||P(V)("unknown"),onClick:t[2]||(t[2]=e=>y.value=!0)},null,8,["title","value"])])),_:1})])),_:1}),m(T,{show:i.modal,closeOnClickOverlay:!0,onClose:t[4]||(t[4]=e=>i.modal=!1),"show-cancel-button":!0,onCancel:t[5]||(t[5]=e=>i.modal=!1),title:P(V)("updateNickname")},{confirmButton:d((()=>[m(b,{class:"mt-[10rpx]"},{default:d((()=>[m(I,{type:"primary",text:P(V)("confirm"),shape:"circle",onClick:r},null,8,["text"])])),_:1})])),default:d((()=>[m(b,{class:"w-full mt-[20rpx] border-0 border-b border-gray-300 border-solid py-[20rpx]"},{default:d((()=>[m(M,{type:"nickname",modelValue:i.value,"onUpdate:modelValue":t[3]||(t[3]=e=>i.value=e),placeholder:P(V)("nicknamePlaceholder"),onBlur:n},null,8,["modelValue","placeholder"])])),_:1})])),_:1},8,["show","title"]),m(O,{actions:P(h),show:s.value,closeOnClickOverlay:!0,safeAreaInsetBottom:!0,onClose:t[6]||(t[6]=e=>s.value=!1),onSelect:f},null,8,["actions","show"]),m(H,{show:y.value,mode:"date","confirm-text":P(V)("confirm"),maxDate:(new Date).valueOf(),minDate:0,"cancel-text":P(V)("cancel"),onCancel:t[7]||(t[7]=e=>y.value=!1),onConfirm:x},null,8,["show","confirm-text","maxDate","cancel-text"])])),_:1})):v("v-if",!0)}}}),[["__scopeId","data-v-dcfc3b6c"]]);export{Pe as default}; diff --git a/niucloud/public/wap/assets/app-pages-member-point.e43599bd.js b/niucloud/public/wap/assets/app-pages-member-point.e43599bd.js new file mode 100644 index 000000000..946a4673b --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-member-point.e43599bd.js @@ -0,0 +1 @@ +import{d as e,r as a,i as t,j as s,w as l,k as r,F as o,H as n,n as u,G as c,m as p,au as d,av as i,aW as m,x as f,I as _,K as x,L as v}from"./index-59b72094.js";import{u as g,M as b}from"./useMescroll.3e6a9ffa.js";import{M as h}from"./mescroll-empty.8fa55762.js";import"./_plugin-vue_export-helper.1b428a4d.js";const y=e({__name:"point",setup(e){const{mescrollInit:y,downCallback:j,getMescroll:k}=g(i,d);let w=a([]),I=a(null),M=a(!1);const z=e=>{let t=a({});M.value=!1,t.value.page=e.num,t.value.page_size=e.size,m(t.value).then((a=>{let t=a.data.data;e.endSuccess(t.length),1==e.num&&(w.value=[]),w.value=w.value.concat(t),M.value=!0})).catch((()=>{M.value=!0,e.endErr()}))};return(e,a)=>{const d=f;return t(),s(d,{class:"bg-gray-100 min-h-[100vh]"},{default:l((()=>[r(b,{ref_key:"mescrollRef",ref:I,onInit:u(y),onDown:u(j),onUp:z},{default:l((()=>[(t(!0),o(c,null,n(u(w),((e,a)=>(t(),s(d,{key:e.id,class:_(["bg-white relative p-[10px]",{"border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200":u(w).length-1!=a}])},{default:l((()=>[r(d,{class:"text-[14px]"},{default:l((()=>[x(v(e.from_type_name),1)])),_:2},1024),r(d,{class:"text-[12px] text-gray-400 mt-[10px]"},{default:l((()=>[x(v(e.create_time),1)])),_:2},1024),r(d,{class:"text-[14px] absolute top-[50%] transform -translate-y-[50%] right-[10px]"},{default:l((()=>[x(v(e.account_data),1)])),_:2},1024)])),_:2},1032,["class"])))),128)),!u(w).length&&u(M)?(t(),s(h,{key:0})):p("v-if",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}});export{y as default}; diff --git a/niucloud/public/wap/assets/app-pages-pay-browser.efb0a044.js b/niucloud/public/wap/assets/app-pages-pay-browser.efb0a044.js new file mode 100644 index 000000000..a4fe30a41 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-pay-browser.efb0a044.js @@ -0,0 +1 @@ +import{d as a,o as e,af as s,aq as t,i as r,j as p,w as i,k as n,n as d,K as o,M as c,x as l,y as x}from"./index-59b72094.js";const _=a({__name:"browser",setup:a=>(e((a=>{!s()&&a.alipay&&(t("paymenting",{trade_type:a.trade_type,trade_id:a.trade_id}),location.href=decodeURIComponent(a.alipay))})),(a,e)=>{const s=c,t=l;return r(),p(t,{class:"w-screen h-screen bg-[#424040] text-right"},{default:i((()=>[n(s,{src:d(x)("static/resource/images/pay/invite_friends_share.png"),mode:"heightFix",class:"pt-[30rpx] pr-[30rpx] h-[200rpx]"},null,8,["src"]),n(t,{class:"text-white font-bold pt-[30rpx] pr-[30rpx]"},{default:i((()=>[o("点击右上角跳转到浏览器打开")])),_:1})])),_:1})})});export{_ as default}; diff --git a/niucloud/public/wap/assets/app-pages-pay-result.e4fdfd0c.js b/niucloud/public/wap/assets/app-pages-pay-result.e4fdfd0c.js new file mode 100644 index 000000000..b396141b9 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-pay-result.e4fdfd0c.js @@ -0,0 +1 @@ +import{d as a,r as e,o as t,f as s,Z as l,i as r,F as o,j as u,w as p,k as c,n,K as i,L as m,m as x,G as d,h as f,b1 as y,M as _,x as v,N as g,q as j,t as b,y as h,ak as w}from"./index-59b72094.js";import{_ as T}from"./u-button.0f6f73b7.js";import{_ as k}from"./u-loading-icon.85becb71.js";import{_ as F}from"./u-modal.30bfd23d.js";import{g as S}from"./pay.12e83dba.js";import{_ as C}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.4046c188.js";import"./u-line.9ef7233b.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const P=C(a({__name:"result",setup(a){const C=e(null),P=e(!1);let I="",N=0,R=0;t((a=>{I=a.trade_type,N=a.trade_id,U()}));const U=()=>{S(I,N).then((a=>{if(!uni.$u.test.isEmpty(a.data)){if(1==a.data.status&&R<5)return P.value=!0,R++,void setTimeout((()=>{U()}),1e3);C.value=a.data,P.value=!1,s({title:2==C.value.status?l("pay.paySuccess"):l("pay.payFail")})}})).catch((()=>{}))},Z=()=>{var a;const e=decodeURIComponent(uni.getStorageSync("payReturn"));f(e?{url:e,mode:"redirectTo"}:{url:y(),param:{code:null==(a=C.value)?void 0:a.out_trade_no},mode:"redirectTo"})};return(a,e)=>{const t=_,s=v,f=g,y=j(b("u-button"),T),S=j(b("u-loading-icon"),k),I=j(b("u-modal"),F);return r(),o(d,null,[C.value?(r(),u(s,{key:0,class:"w-screen bg-[#fff] flex flex-col items-center"},{default:p((()=>[c(s,{class:"flex-1 flex flex-col items-center w-full pt-[100rpx]"},{default:p((()=>[2==C.value.status?(r(),u(t,{key:0,class:"max-w-[144rpx] max-h-[88rpx]",src:n(h)("static/resource/images/result/pay_succeed.png")},null,8,["src"])):(r(),u(t,{key:1,class:"max-w-[144rpx] max-h-[88rpx]",src:n(h)("static/resource/images/result/pay_error.png")},null,8,["src"])),c(s,{class:"text-[32rpx] font-bold mt-[22rpx]"},{default:p((()=>[i(m(2==C.value.status?n(l)("pay.paySuccess"):n(l)("pay.payFail")),1)])),_:1}),c(s,{class:"text-[40rpx] font-bold mt-[40rpx] text-[#FF4646]"},{default:p((()=>[c(f,{class:"text-base"},{default:p((()=>[i(m(n(l)("currency")),1)])),_:1}),c(f,null,{default:p((()=>[i(m(n(w)(C.value.money)),1)])),_:1})])),_:1})])),_:1}),c(s,{class:"pb-[80rpx] pt-[40rpx] w-[240rpx]"},{default:p((()=>[c(y,{type:"primary",text:2==C.value.status?n(l)("complete"):n(l)("close"),plain:!0,onClick:Z},null,8,["text"])])),_:1})])),_:1})):x("v-if",!0),c(I,{show:P.value,showCancelButton:!0,confirmText:n(l)("pay.completePay"),cancelText:n(l)("pay.incompletePay"),onCancel:Z},{default:p((()=>[c(s,{class:"py-[20rpx]"},{default:p((()=>[c(S,{text:n(l)("pay.getting"),textSize:"16",mode:"circle",vertical:!0},null,8,["text"])])),_:1})])),_:1},8,["show","confirmText","cancelText"])],64)}}}),[["__scopeId","data-v-03e1fe0c"]]);export{P as default}; diff --git a/niucloud/public/wap/assets/app-pages-setting-index.9df6c6b5.js b/niucloud/public/wap/assets/app-pages-setting-index.9df6c6b5.js new file mode 100644 index 000000000..aebfb27c0 --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-setting-index.9df6c6b5.js @@ -0,0 +1 @@ +import{d as e,Y as a,r as t,a as l,c as s,i as n,j as o,w as r,k as i,n as u,m as p,b3 as d,ab as c,x as m,q as v,t as f,Z as g,af as h,b4 as x}from"./index-59b72094.js";import{_,a as b,b as k}from"./u-action-sheet.4f32c162.js";import{_ as w}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.4046c188.js";import"./u-line.9ef7233b.js";import"./u-loading-icon.85becb71.js";import"./u-popup.94ffd479.js";import"./u-transition.4588f416.js";import"./u-safe-bottom.1b1ffd7b.js";const j=w(e({__name:"index",setup(e){const w=a(),j=t("1.0.1"),y=l({"zh-Hans":{name:"简体中文",fontSize:"14",value:"zh-Hans"},en:{name:"English",fontSize:"14",value:"en"}}),z=t(!1),C=s((()=>{const e=x();return y[e].name})),S=e=>{d.loadLocaleMessages("/"+c(),e.value)};return(e,a)=>{const t=m,l=v(f("u-cell"),_),s=v(f("u-cell-group"),b),d=v(f("u-action-sheet"),k);return n(),o(t,{class:"w-full h-screen bg-page"},{default:r((()=>[i(t,{class:"h-[30rpx]"}),i(t,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(l,{title:u(g)("personalSettings"),"is-link":!0,url:"/app/pages/member/personal"},null,8,["title"]),i(l,{title:u(g)("switchLang"),"is-link":!0,value:u(C),onClick:a[0]||(a[0]=e=>z.value=!0)},null,8,["title","value"]),i(l,{title:u(g)("version"),value:j.value},null,8,["title","value"])])),_:1})])),_:1}),i(t,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(l,{title:u(g)("userAgreement"),"is-link":!0,url:"/app/pages/auth/agreement?key=service"},null,8,["title"]),i(l,{title:u(g)("privacyAgreement"),"is-link":!0,url:"/app/pages/auth/agreement?key=privacy"},null,8,["title"])])),_:1})])),_:1}),u(h)()?p("v-if",!0):(n(),o(t,{key:0,class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(l,{title:u(g)("logout"),class:"text-center",onClick:a[1]||(a[1]=e=>u(w).logout(!0))},null,8,["title"])])),_:1})])),_:1})),i(d,{actions:y,show:z.value,closeOnClickOverlay:!0,safeAreaInsetBottom:!0,onClose:a[2]||(a[2]=e=>z.value=!1),onSelect:S},null,8,["actions","show"])])),_:1})}}}),[["__scopeId","data-v-edddd92e"]]);export{j as default}; diff --git a/niucloud/public/wap/assets/app-pages-webview-index.64395c49.js b/niucloud/public/wap/assets/app-pages-webview-index.64395c49.js new file mode 100644 index 000000000..ff04be9bb --- /dev/null +++ b/niucloud/public/wap/assets/app-pages-webview-index.64395c49.js @@ -0,0 +1 @@ +import{d as a,r as s,o as e,i as o,j as t,w as n,k as r,ai as c,q as l,t as u,b5 as i,x as d}from"./index-59b72094.js";import{_ as p}from"./u-icon.4046c188.js";import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const m=f(a({__name:"index",setup(a){const f=s("");e((a=>{f.value=decodeURIComponent(a.src)}));const m=()=>{c({delta:1})};return(a,s)=>{const e=l(u("u-icon"),p),c=i,_=d;return o(),t(_,null,{default:n((()=>[r(e,{name:"arrow-left",class:"navigate-back",onClick:m}),r(c,{src:f.value},null,8,["src"])])),_:1})}}}),[["__scopeId","data-v-04f91ffc"]]);export{m as default}; diff --git a/niucloud/public/wap/assets/article.0307362e.js b/niucloud/public/wap/assets/article.0307362e.js deleted file mode 100644 index c748539a0..000000000 --- a/niucloud/public/wap/assets/article.0307362e.js +++ /dev/null @@ -1 +0,0 @@ -import{aN as t}from"./index-15eacd31.js";function r(r){return t.get("article/article",r)}function e(r){return t.get("article/article/all",r)}function a(r){return t.get(`article/article/${r}`)}function c(){return t.get("article/category")}export{r as a,a as b,e as c,c as g}; diff --git a/niucloud/public/wap/assets/balance-77568516.css b/niucloud/public/wap/assets/balance-77568516.css new file mode 100644 index 000000000..af26c1589 --- /dev/null +++ b/niucloud/public/wap/assets/balance-77568516.css @@ -0,0 +1 @@ +.pay-item[data-v-4fc9a620]:last-child{border:none}.account-info-wrap[data-v-1495d8e2]{--tw-bg-opacity: 1;background-color:rgba(245,246,250,var(--tw-bg-opacity));min-height:100vh}.account-info-wrap .account-info-head[data-v-1495d8e2]{height:10rem;position:relative}.account-info-wrap .account-info-head .name[data-v-1495d8e2]{font-size:1.125rem;line-height:1.75rem;margin-left:1rem;margin-bottom:.75rem;padding-top:1.75rem;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content[data-v-1495d8e2]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.5rem;padding:1.25rem;position:absolute;left:.75rem;right:.75rem}.account-info-wrap .account-info-head .content .money[data-v-1495d8e2]{font-weight:700;font-size:1.25rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .text[data-v-1495d8e2]{font-size:.75rem;line-height:1rem;margin-top:.5rem;--tw-text-opacity: 1;color:rgba(100,116,139,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content .money-wrap[data-v-1495d8e2]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:1.25rem}.account-info-wrap .account-info-head .content .money-wrap .money-item[data-v-1495d8e2]{-webkit-box-flex:1;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%}.account-info-wrap .account-info-head .content .money-wrap .money[data-v-1495d8e2]{font-size:1.125rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .money-wrap .text[data-v-1495d8e2]{margin-top:.25rem}.account-info-wrap .account-info-btn[data-v-1495d8e2]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:6rem;margin-left:.75rem;margin-right:.75rem}.account-info-wrap .account-info-btn .btn[data-v-1495d8e2]:first-of-type{border-radius:.25rem;margin-right:.25rem}.account-info-wrap .account-info-btn .btn[data-v-1495d8e2]:last-of-type{border-radius:.25rem;margin-left:.25rem} diff --git a/niucloud/public/wap/assets/balance-d8f1465a.css b/niucloud/public/wap/assets/balance-d8f1465a.css deleted file mode 100644 index 7cc305e50..000000000 --- a/niucloud/public/wap/assets/balance-d8f1465a.css +++ /dev/null @@ -1 +0,0 @@ -.pay-item[data-v-3a12120a]:last-child{border:none}.account-info-wrap[data-v-1c825d43]{--tw-bg-opacity: 1;background-color:rgba(245,246,250,var(--tw-bg-opacity));min-height:100vh}.account-info-wrap .account-info-head[data-v-1c825d43]{height:10rem;position:relative}.account-info-wrap .account-info-head .name[data-v-1c825d43]{font-size:1.125rem;line-height:1.75rem;margin-left:1rem;margin-bottom:.75rem;padding-top:1.75rem;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content[data-v-1c825d43]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.5rem;padding:1.25rem;position:absolute;left:.75rem;right:.75rem}.account-info-wrap .account-info-head .content .money[data-v-1c825d43]{font-weight:700;font-size:1.66rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .text[data-v-1c825d43]{font-size:.75rem;line-height:1rem;margin-top:.5rem;--tw-text-opacity: 1;color:rgba(100,116,139,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content .money-wrap[data-v-1c825d43]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:1.25rem}.account-info-wrap .account-info-head .content .money-wrap .money-item[data-v-1c825d43]{-webkit-box-flex:1;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%}.account-info-wrap .account-info-head .content .money-wrap .money[data-v-1c825d43]{font-size:1.125rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .money-wrap .text[data-v-1c825d43]{margin-top:.25rem}.account-info-wrap .account-info-btn[data-v-1c825d43]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:6rem;margin-left:.75rem;margin-right:.75rem}.account-info-wrap .account-info-btn .btn[data-v-1c825d43]:first-of-type{border-radius:.25rem;margin-right:.25rem}.account-info-wrap .account-info-btn .btn[data-v-1c825d43]:last-of-type{border-radius:.25rem;margin-left:.25rem} diff --git a/niucloud/public/wap/assets/detailed_account-3b9b6750.css b/niucloud/public/wap/assets/cash_out-0edc5ff6.css similarity index 54% rename from niucloud/public/wap/assets/detailed_account-3b9b6750.css rename to niucloud/public/wap/assets/cash_out-0edc5ff6.css index 75e3f080c..46a0bcc57 100644 --- a/niucloud/public/wap/assets/detailed_account-3b9b6750.css +++ b/niucloud/public/wap/assets/cash_out-0edc5ff6.css @@ -1 +1 @@ -.member-record-list[data-v-ba9ac1e5]{min-height:100vh}.member-record-list .member-record-item[data-v-ba9ac1e5]{--tw-border-opacity: 1;border-color:rgba(236,235,236,var(--tw-border-opacity));border-style:solid;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;margin-left:1rem;margin-right:1rem;padding-top:.75rem;padding-bottom:.75rem;position:relative}.member-record-list .member-record-item .name[data-v-ba9ac1e5]{font-size:.875rem;line-height:1.25rem}.member-record-list .member-record-item .desc[data-v-ba9ac1e5]{font-size:.75rem;line-height:1rem;margin-top:.25rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))}.member-record-list .member-record-item .text-active[data-v-ba9ac1e5]{color:#ff0d3e}.member-record-list .member-record-item .money[data-v-ba9ac1e5]{font-weight:700;font-size:1rem;line-height:1.5rem;position:absolute;right:.75rem;top:1rem}.member-record-list .member-record-item .state[data-v-ba9ac1e5]{font-size:.75rem;line-height:1rem;position:absolute;right:.75rem;top:2.75rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))} +.member-record-list[data-v-e3956900]{min-height:100vh}.member-record-list .member-record-item[data-v-e3956900]{--tw-border-opacity: 1;border-color:rgba(236,235,236,var(--tw-border-opacity));border-style:solid;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;margin-left:1rem;margin-right:1rem;padding-top:.75rem;padding-bottom:.75rem;position:relative}.member-record-list .member-record-item .name[data-v-e3956900]{font-size:.875rem;line-height:1.25rem}.member-record-list .member-record-item .desc[data-v-e3956900]{font-size:.75rem;line-height:1rem;margin-top:.25rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))}.member-record-list .member-record-item .text-active[data-v-e3956900]{color:#ff0d3e}.member-record-list .member-record-item .money[data-v-e3956900]{font-weight:700;font-size:1rem;line-height:1.5rem;position:absolute;right:.75rem;top:1rem}.member-record-list .member-record-item .state[data-v-e3956900]{font-size:.75rem;line-height:1rem;position:absolute;right:.75rem;top:2.75rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))} diff --git a/niucloud/public/wap/assets/cash_out_detail-a5b1b8f4.css b/niucloud/public/wap/assets/cash_out_detail-644668b2.css similarity index 61% rename from niucloud/public/wap/assets/cash_out_detail-a5b1b8f4.css rename to niucloud/public/wap/assets/cash_out_detail-644668b2.css index 4bcd87492..8e40c4eef 100644 --- a/niucloud/public/wap/assets/cash_out_detail-a5b1b8f4.css +++ b/niucloud/public/wap/assets/cash_out_detail-644668b2.css @@ -1 +1 @@ -uni-page-body[data-v-49c455c6]{background-color:#f5f6fa;padding-top:1rem}body[data-v-49c455c6]{background-color:#f5f6fa}.member-record-detail[data-v-49c455c6]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.375rem;margin:1rem;margin-top:0;padding:1.5rem 1rem}.member-record-detail .money-wrap[data-v-49c455c6]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;margin-bottom:1.5rem}.member-record-detail .money-wrap uni-text[data-v-49c455c6]:first-of-type{font-weight:700;font-size:1.875rem;line-height:2.25rem;margin-top:.25rem}.member-record-detail .money-wrap uni-text[data-v-49c455c6]:last-of-type{font-size:.875rem;line-height:1.25rem;margin-top:.75rem}.member-record-detail .line-wrap[data-v-49c455c6]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:.875rem;line-height:1.25rem;margin-top:.75rem}.member-record-detail .line-wrap .label[data-v-49c455c6]{--tw-text-opacity: 1;color:rgba(135,135,135,var(--tw-text-opacity))}.member-record-detail .line-wrap .value[data-v-49c455c6]{--tw-text-opacity: 1;color:rgba(34,34,34,var(--tw-text-opacity))} +uni-page-body[data-v-ad6681a5]{background-color:#f5f6fa;padding-top:1rem}body[data-v-ad6681a5]{background-color:#f5f6fa}.member-record-detail[data-v-ad6681a5]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.375rem;margin:1rem;margin-top:0;padding:1.5rem 1rem}.member-record-detail .money-wrap[data-v-ad6681a5]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;margin-bottom:1.5rem}.member-record-detail .money-wrap uni-text[data-v-ad6681a5]:first-of-type{font-weight:700;font-size:1.875rem;line-height:2.25rem;margin-top:.25rem}.member-record-detail .money-wrap uni-text[data-v-ad6681a5]:last-of-type{font-size:.875rem;line-height:1.25rem;margin-top:.75rem}.member-record-detail .line-wrap[data-v-ad6681a5]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:.875rem;line-height:1.25rem;margin-top:.75rem}.member-record-detail .line-wrap .label[data-v-ad6681a5]{--tw-text-opacity: 1;color:rgba(135,135,135,var(--tw-text-opacity))}.member-record-detail .line-wrap .value[data-v-ad6681a5]{--tw-text-opacity: 1;color:rgba(34,34,34,var(--tw-text-opacity))} diff --git a/niucloud/public/wap/assets/commission-df4369d0.css b/niucloud/public/wap/assets/commission-9a91ef84.css similarity index 56% rename from niucloud/public/wap/assets/commission-df4369d0.css rename to niucloud/public/wap/assets/commission-9a91ef84.css index fdbf110e3..4d99269d1 100644 --- a/niucloud/public/wap/assets/commission-df4369d0.css +++ b/niucloud/public/wap/assets/commission-9a91ef84.css @@ -1 +1 @@ -.account-info-wrap[data-v-a04a90cc]{--tw-bg-opacity: 1;background-color:rgba(245,246,250,var(--tw-bg-opacity));min-height:100vh}.account-info-wrap .account-info-head[data-v-a04a90cc]{height:10rem;position:relative}.account-info-wrap .account-info-head .name[data-v-a04a90cc]{font-size:1.125rem;line-height:1.75rem;margin-left:1rem;margin-bottom:.75rem;padding-top:1.75rem;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content[data-v-a04a90cc]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.5rem;padding:1.25rem;position:absolute;left:.75rem;right:.75rem}.account-info-wrap .account-info-head .content .money[data-v-a04a90cc]{font-weight:700;font-size:1.66rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .text[data-v-a04a90cc]{font-size:.75rem;line-height:1rem;margin-top:.5rem;--tw-text-opacity: 1;color:rgba(100,116,139,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content .money-wrap[data-v-a04a90cc]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:1.25rem}.account-info-wrap .account-info-head .content .money-wrap .money-item[data-v-a04a90cc]{-webkit-box-flex:1;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%}.account-info-wrap .account-info-head .content .money-wrap .money[data-v-a04a90cc]{font-size:1.125rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .money-wrap .text[data-v-a04a90cc]{margin-top:.25rem}.account-info-wrap .account-info-btn[data-v-a04a90cc]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:6rem;margin-left:.75rem;margin-right:.75rem}.account-info-wrap .account-info-btn .btn[data-v-a04a90cc]:first-of-type{border-radius:.25rem;margin-right:.25rem}.account-info-wrap .account-info-btn .btn[data-v-a04a90cc]:last-of-type{border-radius:.25rem;margin-left:.25rem} +.account-info-wrap[data-v-d4a8aab7]{--tw-bg-opacity: 1;background-color:rgba(245,246,250,var(--tw-bg-opacity));min-height:100vh}.account-info-wrap .account-info-head[data-v-d4a8aab7]{height:10rem;position:relative}.account-info-wrap .account-info-head .name[data-v-d4a8aab7]{font-size:1.125rem;line-height:1.75rem;margin-left:1rem;margin-bottom:.75rem;padding-top:1.75rem;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content[data-v-d4a8aab7]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.5rem;padding:1.25rem;position:absolute;left:.75rem;right:.75rem}.account-info-wrap .account-info-head .content .money[data-v-d4a8aab7]{font-weight:700;font-size:1.25rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .text[data-v-d4a8aab7]{font-size:.75rem;line-height:1rem;margin-top:.5rem;--tw-text-opacity: 1;color:rgba(100,116,139,var(--tw-text-opacity))}.account-info-wrap .account-info-head .content .money-wrap[data-v-d4a8aab7]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:1.25rem}.account-info-wrap .account-info-head .content .money-wrap .money-item[data-v-d4a8aab7]{-webkit-box-flex:1;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%}.account-info-wrap .account-info-head .content .money-wrap .money[data-v-d4a8aab7]{font-size:1.125rem;line-height:1.75rem}.account-info-wrap .account-info-head .content .money-wrap .text[data-v-d4a8aab7]{margin-top:.25rem}.account-info-wrap .account-info-btn[data-v-d4a8aab7]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;margin-top:6rem;margin-left:.75rem;margin-right:.75rem}.account-info-wrap .account-info-btn .btn[data-v-d4a8aab7]:first-of-type{border-radius:.25rem;margin-right:.25rem}.account-info-wrap .account-info-btn .btn[data-v-d4a8aab7]:last-of-type{border-radius:.25rem;margin-left:.25rem} diff --git a/niucloud/public/wap/assets/cash_out-25dffb81.css b/niucloud/public/wap/assets/detailed_account-dc8f0aff.css similarity index 54% rename from niucloud/public/wap/assets/cash_out-25dffb81.css rename to niucloud/public/wap/assets/detailed_account-dc8f0aff.css index 135d325a0..bbd8a68d4 100644 --- a/niucloud/public/wap/assets/cash_out-25dffb81.css +++ b/niucloud/public/wap/assets/detailed_account-dc8f0aff.css @@ -1 +1 @@ -.member-record-list[data-v-84fd62a2]{min-height:100vh}.member-record-list .member-record-item[data-v-84fd62a2]{--tw-border-opacity: 1;border-color:rgba(236,235,236,var(--tw-border-opacity));border-style:solid;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;margin-left:1rem;margin-right:1rem;padding-top:.75rem;padding-bottom:.75rem;position:relative}.member-record-list .member-record-item .name[data-v-84fd62a2]{font-size:.875rem;line-height:1.25rem}.member-record-list .member-record-item .desc[data-v-84fd62a2]{font-size:.75rem;line-height:1rem;margin-top:.25rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))}.member-record-list .member-record-item .text-active[data-v-84fd62a2]{color:#ff0d3e}.member-record-list .member-record-item .money[data-v-84fd62a2]{font-weight:700;font-size:1rem;line-height:1.5rem;position:absolute;right:.75rem;top:1rem}.member-record-list .member-record-item .state[data-v-84fd62a2]{font-size:.75rem;line-height:1rem;position:absolute;right:.75rem;top:2.75rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))} +.member-record-list[data-v-3aa51d56]{min-height:100vh}.member-record-list .member-record-item[data-v-3aa51d56]{--tw-border-opacity: 1;border-color:rgba(236,235,236,var(--tw-border-opacity));border-style:solid;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;margin-left:1rem;margin-right:1rem;padding-top:.75rem;padding-bottom:.75rem;position:relative}.member-record-list .member-record-item .name[data-v-3aa51d56]{font-size:.875rem;line-height:1.25rem}.member-record-list .member-record-item .desc[data-v-3aa51d56]{font-size:.75rem;line-height:1rem;margin-top:.25rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))}.member-record-list .member-record-item .text-active[data-v-3aa51d56]{color:#ff0d3e}.member-record-list .member-record-item .money[data-v-3aa51d56]{font-weight:700;font-size:1rem;line-height:1.5rem;position:absolute;right:.75rem;top:1rem}.member-record-list .member-record-item .state[data-v-3aa51d56]{font-size:.75rem;line-height:1rem;position:absolute;right:.75rem;top:2.75rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))} diff --git a/niucloud/public/wap/assets/diy-9a1c7fc3.css b/niucloud/public/wap/assets/diy-d1da132c.css similarity index 54% rename from niucloud/public/wap/assets/diy-9a1c7fc3.css rename to niucloud/public/wap/assets/diy-d1da132c.css index 8959ab3dd..633359a21 100644 --- a/niucloud/public/wap/assets/diy-9a1c7fc3.css +++ b/niucloud/public/wap/assets/diy-d1da132c.css @@ -1 +1 @@ -.bg-index[data-v-56539ac1]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important} +.bg-index[data-v-84f14713]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important} diff --git a/niucloud/public/wap/assets/index-15eacd31.js b/niucloud/public/wap/assets/index-15eacd31.js deleted file mode 100644 index 22e37b70a..000000000 --- a/niucloud/public/wap/assets/index-15eacd31.js +++ /dev/null @@ -1,17067 +0,0 @@ -!function () { - const e = document.createElement("link").relList; - if (!(e && e.supports && e.supports("modulepreload"))) { - for (const e of document.querySelectorAll('link[rel="modulepreload"]')) t(e); - new MutationObserver((e => { - for (const n of e) if ("childList" === n.type) for (const e of n.addedNodes) "LINK" === e.tagName && "modulepreload" === e.rel && t(e) - })).observe(document, {childList: !0, subtree: !0}) - } - - function t(e) { - if (e.ep) return; - e.ep = !0; - const t = function (e) { - const t = {}; - return e.integrity && (t.integrity = e.integrity), e.referrerPolicy && (t.referrerPolicy = e.referrerPolicy), "use-credentials" === e.crossOrigin ? t.credentials = "include" : "anonymous" === e.crossOrigin ? t.credentials = "omit" : t.credentials = "same-origin", t - }(e); - fetch(e.href, t) - } -}(); -const e = {}, t = function (t, n, o) { - if (!n || 0 === n.length) return t(); - const r = document.getElementsByTagName("link"); - return Promise.all(n.map((t => { - if ((t = function (e) { - return "/wap/" + e - }(t)) in e) return; - e[t] = !0; - const n = t.endsWith(".css"), i = n ? '[rel="stylesheet"]' : ""; - if (!!o) for (let e = r.length - 1; e >= 0; e--) { - const o = r[e]; - if (o.href === t && (!n || "stylesheet" === o.rel)) return - } else if (document.querySelector(`link[href="${t}"]${i}`)) return; - const a = document.createElement("link"); - return a.rel = n ? "stylesheet" : "modulepreload", n || (a.as = "script", a.crossOrigin = ""), a.href = t, document.head.appendChild(a), n ? new Promise(((e, n) => { - a.addEventListener("load", e), a.addEventListener("error", (() => n(new Error(`Unable to preload CSS for ${t}`)))) - })) : void 0 - }))).then((() => t())) -}, n = Object.freeze(Object.defineProperty({ - __proto__: null, - default: { - "pages.index.index": "Index", - "pages.article.list": "Information Center", - "pages.article.detail": "Information detail", - "pages.member.index": "My", - "pages.auth.login": "Login", - "pages.auth.register": "Register", - "pages.auth.resetpwd": "Retrieve password", - "pages.setting.index": "Settings", - "pages.auth.bind": "Bind Mobile" - } -}, Symbol.toStringTag, {value: "Module"})), o = Object.freeze(Object.defineProperty({ - __proto__: null, - default: { - "pages.index.index": "", - "pages.index.close": "站点已关闭", - "pages.index.nosite": "站点不存在", - "pages.index.develop": "开发环境配置", - "pages.index.diy": "", - "pages.article.list": "资讯中心", - "pages.article.detail": "文章详情", - "pages.auth.agreement": "协议", - "pages.auth.bind": "绑定手机号", - "pages.auth.login": "登录", - "pages.auth.register": "注册", - "pages.auth.resetpwd": "找回密码", - "pages.member.account": "会员账户", - "pages.member.account_edit": "编辑会员账户", - "pages.member.apply_cash_out": "申请提现", - "pages.member.balance": "我的余额", - "pages.member.cash_out": "提现记录", - "pages.member.cash_out_detail": "提现详情", - "pages.member.commission": "我的佣金", - "pages.member.detailed_account": "流水明细", - "pages.member.index": "", - "pages.member.personal": "个人资料", - "pages.member.recharge_record": "充值记录", - "pages.member.recharge_record_detail": "充值详情", - "pages.pay.browser": "支付", - "pages.pay.result": "支付结果", - "pages.setting.index": "设置", - "pages.webview.index": "" - } -}, Symbol.toStringTag, {value: "Module"})); - -function r(e, t) { - const n = Object.create(null), o = e.split(","); - for (let r = 0; r < o.length; r++) n[o[r]] = !0; - return t ? e => !!n[e.toLowerCase()] : e => !!n[e] -} - -function i(e) { - if (C(e)) { - const t = {}; - for (let n = 0; n < e.length; n++) { - const o = e[n], r = I(o) ? c(o) : i(o); - if (r) for (const e in r) t[e] = r[e] - } - return t - } - return I(e) || F(e) ? e : void 0 -} - -const a = /;(?![^(]*\))/g, s = /:([^]+)/, l = /\/\*.*?\*\//gs; - -function c(e) { - const t = {}; - return e.replace(l, "").split(a).forEach((e => { - if (e) { - const n = e.split(s); - n.length > 1 && (t[n[0].trim()] = n[1].trim()) - } - })), t -} - -function u(e) { - let t = ""; - if (I(e)) t = e; else if (C(e)) for (let n = 0; n < e.length; n++) { - const o = u(e[n]); - o && (t += o + " ") - } else if (F(e)) for (const n in e) e[n] && (t += n + " "); - return t.trim() -} - -const d = r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"); - -function p(e) { - return !!e || "" === e -} - -function f(e, t) { - if (e === t) return !0; - let n = L(e), o = L(t); - if (n || o) return !(!n || !o) && e.getTime() === t.getTime(); - if (n = M(e), o = M(t), n || o) return e === t; - if (n = C(e), o = C(t), n || o) return !(!n || !o) && function (e, t) { - if (e.length !== t.length) return !1; - let n = !0; - for (let o = 0; n && o < e.length; o++) n = f(e[o], t[o]); - return n - }(e, t); - if (n = F(e), o = F(t), n || o) { - if (!n || !o) return !1; - if (Object.keys(e).length !== Object.keys(t).length) return !1; - for (const n in e) { - const o = e.hasOwnProperty(n), r = t.hasOwnProperty(n); - if (o && !r || !o && r || !f(e[n], t[n])) return !1 - } - } - return String(e) === String(t) -} - -function h(e, t) { - return e.findIndex((e => f(e, t))) -} - -const m = e => I(e) ? e : null == e ? "" : C(e) || F(e) && (e.toString === R || !O(e.toString)) ? JSON.stringify(e, g, 2) : String(e), - g = (e, t) => t && t.__v_isRef ? g(e, t.value) : B(t) ? {[`Map(${t.size})`]: [...t.entries()].reduce(((e, [t, n]) => (e[`${t} =>`] = n, e)), {})} : P(t) ? {[`Set(${t.size})`]: [...t.values()]} : !F(t) || C(t) || D(t) ? t : String(t), - v = {}, b = [], y = () => { - }, _ = () => !1, w = /^on[^a-z]/, x = e => w.test(e), T = e => e.startsWith("onUpdate:"), S = Object.assign, - E = (e, t) => { - const n = e.indexOf(t); - n > -1 && e.splice(n, 1) - }, k = Object.prototype.hasOwnProperty, A = (e, t) => k.call(e, t), C = Array.isArray, - B = e => "[object Map]" === N(e), P = e => "[object Set]" === N(e), L = e => "[object Date]" === N(e), - O = e => "function" == typeof e, I = e => "string" == typeof e, M = e => "symbol" == typeof e, - F = e => null !== e && "object" == typeof e, j = e => F(e) && O(e.then) && O(e.catch), - R = Object.prototype.toString, N = e => R.call(e), D = e => "[object Object]" === N(e), - z = e => I(e) && "NaN" !== e && "-" !== e[0] && "" + parseInt(e, 10) === e, - H = r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"), - q = e => { - const t = Object.create(null); - return n => t[n] || (t[n] = e(n)) - }, V = /-(\w)/g, W = q((e => e.replace(V, ((e, t) => t ? t.toUpperCase() : "")))), $ = /\B([A-Z])/g, - Q = q((e => e.replace($, "-$1").toLowerCase())), U = q((e => e.charAt(0).toUpperCase() + e.slice(1))), - X = q((e => e ? `on${U(e)}` : "")), Y = (e, t) => !Object.is(e, t), J = (e, t) => { - for (let n = 0; n < e.length; n++) e[n](t) - }, G = (e, t, n) => { - Object.defineProperty(e, t, {configurable: !0, enumerable: !1, value: n}) - }, K = e => { - const t = parseFloat(e); - return isNaN(t) ? e : t - }; -let Z; -const ee = ["ad", "ad-content-page", "ad-draw", "audio", "button", "camera", "canvas", "checkbox", "checkbox-group", "cover-image", "cover-view", "editor", "form", "functional-page-navigator", "icon", "image", "input", "label", "live-player", "live-pusher", "map", "movable-area", "movable-view", "navigator", "official-account", "open-data", "picker", "picker-view", "picker-view-column", "progress", "radio", "radio-group", "rich-text", "scroll-view", "slider", "swiper", "swiper-item", "switch", "text", "textarea", "video", "view", "web-view"].map((e => "uni-" + e)); -const te = ["%", "%"], ne = /^([a-z-]+:)?\/\//i, oe = /^data:.*,.*/; - -function re(e) { - return e && (e.appContext ? e.proxy : e) -} - -function ie(e) { - if (!e) return; - let t = e.type.name; - for (; t && (n = Q(t), -1 !== ee.indexOf("uni-" + n.replace("v-uni-", "")));) t = (e = e.parent).type.name; - var n; - return e.proxy -} - -function ae(e) { - return 1 === e.nodeType -} - -function se(e) { - return 0 === e.indexOf("/") -} - -function le(e) { - return se(e) ? e : "/" + e -} - -function ce(e) { - return se(e) ? e.slice(1) : e -} - -function ue(e, t) { - for (const n in t) e.style[n] = t[n] -} - -function de(e, t = null) { - let n; - return (...o) => (e && (n = e.apply(t, o), e = null), n) -} - -function pe(e) { - return W(e.substring(5)) -} - -const fe = de((() => { - const e = HTMLElement.prototype, t = e.setAttribute; - e.setAttribute = function (e, n) { - if (e.startsWith("data-") && this.tagName.startsWith("UNI-")) { - (this.__uniDataset || (this.__uniDataset = {}))[pe(e)] = n - } - t.call(this, e, n) - }; - const n = e.removeAttribute; - e.removeAttribute = function (e) { - this.__uniDataset && e.startsWith("data-") && this.tagName.startsWith("UNI-") && delete this.__uniDataset[pe(e)], n.call(this, e) - } -})); - -function he(e) { - return S({}, e.dataset, e.__uniDataset) -} - -const me = new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px", "g"); - -function ge(e) { - return {passive: e} -} - -function ve(e) { - const {id: t, offsetTop: n, offsetLeft: o} = e; - return {id: t, dataset: he(e), offsetTop: n, offsetLeft: o} -} - -function be(e) { - try { - return decodeURIComponent("" + e) - } catch (t) { - } - return "" + e -} - -function ye(e = {}) { - const t = {}; - return Object.keys(e).forEach((n => { - try { - t[n] = be(e[n]) - } catch (o) { - t[n] = e[n] - } - })), t -} - -const _e = /\+/g; - -function we(e) { - const t = {}; - if ("" === e || "?" === e) return t; - const n = ("?" === e[0] ? e.slice(1) : e).split("&"); - for (let o = 0; o < n.length; ++o) { - const e = n[o].replace(_e, " "); - let r = e.indexOf("="), i = be(r < 0 ? e : e.slice(0, r)), a = r < 0 ? null : be(e.slice(r + 1)); - if (i in t) { - let e = t[i]; - C(e) || (e = t[i] = [e]), e.push(a) - } else t[i] = a - } - return t -} - -function xe(e, t, {clearTimeout: n, setTimeout: o}) { - let r; - const i = function () { - n(r); - const i = () => e.apply(this, arguments); - r = o(i, t) - }; - return i.cancel = function () { - n(r) - }, i -} - -class Te { - constructor(e, t) { - this.id = e, this.listener = {}, this.emitCache = [], t && Object.keys(t).forEach((e => { - this.on(e, t[e]) - })) - } - - emit(e, ...t) { - const n = this.listener[e]; - if (!n) return this.emitCache.push({eventName: e, args: t}); - n.forEach((e => { - e.fn.apply(e.fn, t) - })), this.listener[e] = n.filter((e => "once" !== e.type)) - } - - on(e, t) { - this._addListener(e, "on", t), this._clearCache(e) - } - - once(e, t) { - this._addListener(e, "once", t), this._clearCache(e) - } - - off(e, t) { - const n = this.listener[e]; - if (n) if (t) for (let o = 0; o < n.length;) n[o].fn === t && (n.splice(o, 1), o--), o++; else delete this.listener[e] - } - - _clearCache(e) { - for (let t = 0; t < this.emitCache.length; t++) { - const n = this.emitCache[t], o = e ? n.eventName === e ? e : null : n.eventName; - if (!o) continue; - "number" != typeof this.emit.apply(this, [o, ...n.args]) ? (this.emitCache.splice(t, 1), t--) : this.emitCache.pop() - } - } - - _addListener(e, t, n) { - (this.listener[e] || (this.listener[e] = [])).push({fn: n, type: t}) - } -} - -const Se = ["onInit", "onLoad", "onShow", "onHide", "onUnload", "onBackPress", "onPageScroll", "onTabItemTap", "onReachBottom", "onPullDownRefresh", "onShareTimeline", "onShareAppMessage", "onAddToFavorites", "onSaveExitState", "onNavigationBarButtonTap", "onNavigationBarSearchInputClicked", "onNavigationBarSearchInputChanged", "onNavigationBarSearchInputConfirmed", "onNavigationBarSearchInputFocusChanged"], - Ee = ["onLoad", "onShow"]; -const ke = ["onShow", "onHide", "onLaunch", "onError", "onThemeChange", "onPageNotFound", "onUnhandledRejection", "onInit", "onLoad", "onReady", "onUnload", "onResize", "onBackPress", "onPageScroll", "onTabItemTap", "onReachBottom", "onPullDownRefresh", "onShareTimeline", "onAddToFavorites", "onShareAppMessage", "onSaveExitState", "onNavigationBarButtonTap", "onNavigationBarSearchInputClicked", "onNavigationBarSearchInputChanged", "onNavigationBarSearchInputConfirmed", "onNavigationBarSearchInputFocusChanged"]; -const Ae = []; -const Ce = de(((e, t) => { - if (O(e._component.onError)) return t(e) -})), Be = function () { -}; -Be.prototype = { - on: function (e, t, n) { - var o = this.e || (this.e = {}); - return (o[e] || (o[e] = [])).push({fn: t, ctx: n}), this - }, once: function (e, t, n) { - var o = this; - - function r() { - o.off(e, r), t.apply(n, arguments) - } - - return r._ = t, this.on(e, r, n) - }, emit: function (e) { - for (var t = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[e] || []).slice(), o = 0, r = n.length; o < r; o++) n[o].fn.apply(n[o].ctx, t); - return this - }, off: function (e, t) { - var n = this.e || (this.e = {}), o = n[e], r = []; - if (o && t) for (var i = 0, a = o.length; i < a; i++) o[i].fn !== t && o[i].fn._ !== t && r.push(o[i]); - return r.length ? n[e] = r : delete n[e], this - } -}; -var Pe = Be; -const Le = {black: "rgba(0,0,0,0.4)", white: "rgba(255,255,255,0.4)"}; - -function Oe(e, t = {}, n = "light") { - const o = t[n], r = {}; - return o ? (Object.keys(e).forEach((i => { - let a = e[i]; - r[i] = (() => { - if (D(a)) return Oe(a, t, n); - if (C(a)) return a.map((e => D(e) ? Oe(e, t, n) : e)); - if (I(a) && a.startsWith("@")) { - const t = a.replace("@", ""); - let n = o[t] || a; - switch (i) { - case"titleColor": - n = "black" === n ? "#000000" : "#ffffff"; - break; - case"borderStyle": - n = (e = n) && e in Le ? Le[e] : e - } - return n - } - var e; - return a - })() - })), r) : e -} - -let Ie; - -class Me { - constructor(e = !1) { - this.detached = e, this._active = !0, this.effects = [], this.cleanups = [], this.parent = Ie, !e && Ie && (this.index = (Ie.scopes || (Ie.scopes = [])).push(this) - 1) - } - - get active() { - return this._active - } - - run(e) { - if (this._active) { - const t = Ie; - try { - return Ie = this, e() - } finally { - Ie = t - } - } - } - - on() { - Ie = this - } - - off() { - Ie = this.parent - } - - stop(e) { - if (this._active) { - let t, n; - for (t = 0, n = this.effects.length; t < n; t++) this.effects[t].stop(); - for (t = 0, n = this.cleanups.length; t < n; t++) this.cleanups[t](); - if (this.scopes) for (t = 0, n = this.scopes.length; t < n; t++) this.scopes[t].stop(!0); - if (!this.detached && this.parent && !e) { - const e = this.parent.scopes.pop(); - e && e !== this && (this.parent.scopes[this.index] = e, e.index = this.index) - } - this.parent = void 0, this._active = !1 - } - } -} - -function Fe(e) { - return new Me(e) -} - -function je() { - return Ie -} - -const Re = e => { - const t = new Set(e); - return t.w = 0, t.n = 0, t -}, Ne = e => (e.w & qe) > 0, De = e => (e.n & qe) > 0, ze = new WeakMap; -let He = 0, qe = 1; -let Ve; -const We = Symbol(""), $e = Symbol(""); - -class Qe { - constructor(e, t = null, n) { - this.fn = e, this.scheduler = t, this.active = !0, this.deps = [], this.parent = void 0, function (e, t = Ie) { - t && t.active && t.effects.push(e) - }(this, n) - } - - run() { - if (!this.active) return this.fn(); - let e = Ve, t = Xe; - for (; e;) { - if (e === this) return; - e = e.parent - } - try { - return this.parent = Ve, Ve = this, Xe = !0, qe = 1 << ++He, He <= 30 ? (({deps: e}) => { - if (e.length) for (let t = 0; t < e.length; t++) e[t].w |= qe - })(this) : Ue(this), this.fn() - } finally { - He <= 30 && (e => { - const {deps: t} = e; - if (t.length) { - let n = 0; - for (let o = 0; o < t.length; o++) { - const r = t[o]; - Ne(r) && !De(r) ? r.delete(e) : t[n++] = r, r.w &= ~qe, r.n &= ~qe - } - t.length = n - } - })(this), qe = 1 << --He, Ve = this.parent, Xe = t, this.parent = void 0, this.deferStop && this.stop() - } - } - - stop() { - Ve === this ? this.deferStop = !0 : this.active && (Ue(this), this.onStop && this.onStop(), this.active = !1) - } -} - -function Ue(e) { - const {deps: t} = e; - if (t.length) { - for (let n = 0; n < t.length; n++) t[n].delete(e); - t.length = 0 - } -} - -let Xe = !0; -const Ye = []; - -function Je() { - Ye.push(Xe), Xe = !1 -} - -function Ge() { - const e = Ye.pop(); - Xe = void 0 === e || e -} - -function Ke(e, t, n) { - if (Xe && Ve) { - let t = ze.get(e); - t || ze.set(e, t = new Map); - let o = t.get(n); - o || t.set(n, o = Re()), Ze(o) - } -} - -function Ze(e, t) { - let n = !1; - He <= 30 ? De(e) || (e.n |= qe, n = !Ne(e)) : n = !e.has(Ve), n && (e.add(Ve), Ve.deps.push(e)) -} - -function et(e, t, n, o, r, i) { - const a = ze.get(e); - if (!a) return; - let s = []; - if ("clear" === t) s = [...a.values()]; else if ("length" === n && C(e)) { - const e = Number(o); - a.forEach(((t, n) => { - ("length" === n || n >= e) && s.push(t) - })) - } else switch (void 0 !== n && s.push(a.get(n)), t) { - case"add": - C(e) ? z(n) && s.push(a.get("length")) : (s.push(a.get(We)), B(e) && s.push(a.get($e))); - break; - case"delete": - C(e) || (s.push(a.get(We)), B(e) && s.push(a.get($e))); - break; - case"set": - B(e) && s.push(a.get(We)) - } - if (1 === s.length) s[0] && tt(s[0]); else { - const e = []; - for (const t of s) t && e.push(...t); - tt(Re(e)) - } -} - -function tt(e, t) { - const n = C(e) ? e : [...e]; - for (const o of n) o.computed && nt(o); - for (const o of n) o.computed || nt(o) -} - -function nt(e, t) { - (e !== Ve || e.allowRecurse) && (e.scheduler ? e.scheduler() : e.run()) -} - -const ot = r("__proto__,__v_isRef,__isVue"), - rt = new Set(Object.getOwnPropertyNames(Symbol).filter((e => "arguments" !== e && "caller" !== e)).map((e => Symbol[e])).filter(M)), - it = dt(), at = dt(!1, !0), st = dt(!0), lt = ct(); - -function ct() { - const e = {}; - return ["includes", "indexOf", "lastIndexOf"].forEach((t => { - e[t] = function (...e) { - const n = Yt(this); - for (let t = 0, r = this.length; t < r; t++) Ke(n, 0, t + ""); - const o = n[t](...e); - return -1 === o || !1 === o ? n[t](...e.map(Yt)) : o - } - })), ["push", "pop", "shift", "unshift", "splice"].forEach((t => { - e[t] = function (...e) { - Je(); - const n = Yt(this)[t].apply(this, e); - return Ge(), n - } - })), e -} - -function ut(e) { - const t = Yt(this); - return Ke(t, 0, e), t.hasOwnProperty(e) -} - -function dt(e = !1, t = !1) { - return function (n, o, r) { - if ("__v_isReactive" === o) return !e; - if ("__v_isReadonly" === o) return e; - if ("__v_isShallow" === o) return t; - if ("__v_raw" === o && r === (e ? t ? zt : Dt : t ? Nt : Rt).get(n)) return n; - const i = C(n); - if (!e) { - if (i && A(lt, o)) return Reflect.get(lt, o, r); - if ("hasOwnProperty" === o) return ut - } - const a = Reflect.get(n, o, r); - return (M(o) ? rt.has(o) : ot(o)) ? a : (e || Ke(n, 0, o), t ? a : tn(a) ? i && z(o) ? a : a.value : F(a) ? e ? Vt(a) : qt(a) : a) - } -} - -function pt(e = !1) { - return function (t, n, o, r) { - let i = t[n]; - if (Qt(i) && tn(i) && !tn(o)) return !1; - if (!e && (Ut(o) || Qt(o) || (i = Yt(i), o = Yt(o)), !C(t) && tn(i) && !tn(o))) return i.value = o, !0; - const a = C(t) && z(n) ? Number(n) < t.length : A(t, n), s = Reflect.set(t, n, o, r); - return t === Yt(r) && (a ? Y(o, i) && et(t, "set", n, o) : et(t, "add", n, o)), s - } -} - -const ft = { - get: it, set: pt(), deleteProperty: function (e, t) { - const n = A(e, t); - e[t]; - const o = Reflect.deleteProperty(e, t); - return o && n && et(e, "delete", t, void 0), o - }, has: function (e, t) { - const n = Reflect.has(e, t); - return M(t) && rt.has(t) || Ke(e, 0, t), n - }, ownKeys: function (e) { - return Ke(e, 0, C(e) ? "length" : We), Reflect.ownKeys(e) - } - }, ht = {get: st, set: (e, t) => !0, deleteProperty: (e, t) => !0}, mt = S({}, ft, {get: at, set: pt(!0)}), gt = e => e, - vt = e => Reflect.getPrototypeOf(e); - -function bt(e, t, n = !1, o = !1) { - const r = Yt(e = e.__v_raw), i = Yt(t); - n || (t !== i && Ke(r, 0, t), Ke(r, 0, i)); - const {has: a} = vt(r), s = o ? gt : n ? Kt : Gt; - return a.call(r, t) ? s(e.get(t)) : a.call(r, i) ? s(e.get(i)) : void (e !== r && e.get(t)) -} - -function yt(e, t = !1) { - const n = this.__v_raw, o = Yt(n), r = Yt(e); - return t || (e !== r && Ke(o, 0, e), Ke(o, 0, r)), e === r ? n.has(e) : n.has(e) || n.has(r) -} - -function _t(e, t = !1) { - return e = e.__v_raw, !t && Ke(Yt(e), 0, We), Reflect.get(e, "size", e) -} - -function wt(e) { - e = Yt(e); - const t = Yt(this); - return vt(t).has.call(t, e) || (t.add(e), et(t, "add", e, e)), this -} - -function xt(e, t) { - t = Yt(t); - const n = Yt(this), {has: o, get: r} = vt(n); - let i = o.call(n, e); - i || (e = Yt(e), i = o.call(n, e)); - const a = r.call(n, e); - return n.set(e, t), i ? Y(t, a) && et(n, "set", e, t) : et(n, "add", e, t), this -} - -function Tt(e) { - const t = Yt(this), {has: n, get: o} = vt(t); - let r = n.call(t, e); - r || (e = Yt(e), r = n.call(t, e)), o && o.call(t, e); - const i = t.delete(e); - return r && et(t, "delete", e, void 0), i -} - -function St() { - const e = Yt(this), t = 0 !== e.size, n = e.clear(); - return t && et(e, "clear", void 0, void 0), n -} - -function Et(e, t) { - return function (n, o) { - const r = this, i = r.__v_raw, a = Yt(i), s = t ? gt : e ? Kt : Gt; - return !e && Ke(a, 0, We), i.forEach(((e, t) => n.call(o, s(e), s(t), r))) - } -} - -function kt(e, t, n) { - return function (...o) { - const r = this.__v_raw, i = Yt(r), a = B(i), s = "entries" === e || e === Symbol.iterator && a, - l = "keys" === e && a, c = r[e](...o), u = n ? gt : t ? Kt : Gt; - return !t && Ke(i, 0, l ? $e : We), { - next() { - const {value: e, done: t} = c.next(); - return t ? {value: e, done: t} : {value: s ? [u(e[0]), u(e[1])] : u(e), done: t} - }, [Symbol.iterator]() { - return this - } - } - } -} - -function At(e) { - return function (...t) { - return "delete" !== e && this - } -} - -function Ct() { - const e = { - get(e) { - return bt(this, e) - }, get size() { - return _t(this) - }, has: yt, add: wt, set: xt, delete: Tt, clear: St, forEach: Et(!1, !1) - }, t = { - get(e) { - return bt(this, e, !1, !0) - }, get size() { - return _t(this) - }, has: yt, add: wt, set: xt, delete: Tt, clear: St, forEach: Et(!1, !0) - }, n = { - get(e) { - return bt(this, e, !0) - }, get size() { - return _t(this, !0) - }, has(e) { - return yt.call(this, e, !0) - }, add: At("add"), set: At("set"), delete: At("delete"), clear: At("clear"), forEach: Et(!0, !1) - }, o = { - get(e) { - return bt(this, e, !0, !0) - }, get size() { - return _t(this, !0) - }, has(e) { - return yt.call(this, e, !0) - }, add: At("add"), set: At("set"), delete: At("delete"), clear: At("clear"), forEach: Et(!0, !0) - }; - return ["keys", "values", "entries", Symbol.iterator].forEach((r => { - e[r] = kt(r, !1, !1), n[r] = kt(r, !0, !1), t[r] = kt(r, !1, !0), o[r] = kt(r, !0, !0) - })), [e, n, t, o] -} - -const [Bt, Pt, Lt, Ot] = Ct(); - -function It(e, t) { - const n = t ? e ? Ot : Lt : e ? Pt : Bt; - return (t, o, r) => "__v_isReactive" === o ? !e : "__v_isReadonly" === o ? e : "__v_raw" === o ? t : Reflect.get(A(n, o) && o in t ? n : t, o, r) -} - -const Mt = {get: It(!1, !1)}, Ft = {get: It(!1, !0)}, jt = {get: It(!0, !1)}, Rt = new WeakMap, Nt = new WeakMap, - Dt = new WeakMap, zt = new WeakMap; - -function Ht(e) { - return e.__v_skip || !Object.isExtensible(e) ? 0 : function (e) { - switch (e) { - case"Object": - case"Array": - return 1; - case"Map": - case"Set": - case"WeakMap": - case"WeakSet": - return 2; - default: - return 0 - } - }((e => N(e).slice(8, -1))(e)) -} - -function qt(e) { - return Qt(e) ? e : Wt(e, !1, ft, Mt, Rt) -} - -function Vt(e) { - return Wt(e, !0, ht, jt, Dt) -} - -function Wt(e, t, n, o, r) { - if (!F(e)) return e; - if (e.__v_raw && (!t || !e.__v_isReactive)) return e; - const i = r.get(e); - if (i) return i; - const a = Ht(e); - if (0 === a) return e; - const s = new Proxy(e, 2 === a ? o : n); - return r.set(e, s), s -} - -function $t(e) { - return Qt(e) ? $t(e.__v_raw) : !(!e || !e.__v_isReactive) -} - -function Qt(e) { - return !(!e || !e.__v_isReadonly) -} - -function Ut(e) { - return !(!e || !e.__v_isShallow) -} - -function Xt(e) { - return $t(e) || Qt(e) -} - -function Yt(e) { - const t = e && e.__v_raw; - return t ? Yt(t) : e -} - -function Jt(e) { - return G(e, "__v_skip", !0), e -} - -const Gt = e => F(e) ? qt(e) : e, Kt = e => F(e) ? Vt(e) : e; - -function Zt(e) { - Xe && Ve && Ze((e = Yt(e)).dep || (e.dep = Re())) -} - -function en(e, t) { - const n = (e = Yt(e)).dep; - n && tt(n) -} - -function tn(e) { - return !(!e || !0 !== e.__v_isRef) -} - -function nn(e) { - return rn(e, !1) -} - -function on(e) { - return rn(e, !0) -} - -function rn(e, t) { - return tn(e) ? e : new an(e, t) -} - -class an { - constructor(e, t) { - this.__v_isShallow = t, this.dep = void 0, this.__v_isRef = !0, this._rawValue = t ? e : Yt(e), this._value = t ? e : Gt(e) - } - - get value() { - return Zt(this), this._value - } - - set value(e) { - const t = this.__v_isShallow || Ut(e) || Qt(e); - e = t ? e : Yt(e), Y(e, this._rawValue) && (this._rawValue = e, this._value = t ? e : Gt(e), en(this)) - } -} - -function sn(e) { - return tn(e) ? e.value : e -} - -const ln = { - get: (e, t, n) => sn(Reflect.get(e, t, n)), set: (e, t, n, o) => { - const r = e[t]; - return tn(r) && !tn(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o) - } -}; - -function cn(e) { - return $t(e) ? e : new Proxy(e, ln) -} - -class un { - constructor(e, t, n) { - this._object = e, this._key = t, this._defaultValue = n, this.__v_isRef = !0 - } - - get value() { - const e = this._object[this._key]; - return void 0 === e ? this._defaultValue : e - } - - set value(e) { - this._object[this._key] = e - } - - get dep() { - return e = Yt(this._object), t = this._key, null === (n = ze.get(e)) || void 0 === n ? void 0 : n.get(t); - var e, t, n - } -} - -function dn(e, t, n) { - const o = e[t]; - return tn(o) ? o : new un(e, t, n) -} - -var pn; - -class fn { - constructor(e, t, n, o) { - this._setter = t, this.dep = void 0, this.__v_isRef = !0, this[pn] = !1, this._dirty = !0, this.effect = new Qe(e, (() => { - this._dirty || (this._dirty = !0, en(this)) - })), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = n - } - - get value() { - const e = Yt(this); - return Zt(e), !e._dirty && e._cacheable || (e._dirty = !1, e._value = e.effect.run()), e._value - } - - set value(e) { - this._setter(e) - } -} - -function hn(e, t, n, o) { - let r; - try { - r = o ? e(...o) : e() - } catch (i) { - gn(i, t, n) - } - return r -} - -function mn(e, t, n, o) { - if (O(e)) { - const r = hn(e, t, n, o); - return r && j(r) && r.catch((e => { - gn(e, t, n) - })), r - } - const r = []; - for (let i = 0; i < e.length; i++) r.push(mn(e[i], t, n, o)); - return r -} - -function gn(e, t, n, o = !0) { - t && t.vnode; - if (t) { - let o = t.parent; - const r = t.proxy, i = n; - for (; o;) { - const t = o.ec; - if (t) for (let n = 0; n < t.length; n++) if (!1 === t[n](e, r, i)) return; - o = o.parent - } - const a = t.appContext.config.errorHandler; - if (a) return void hn(a, null, 10, [e, r, i]) - } - !function (e, t, n, o = !0) { - console.error(e) - }(e, 0, 0, o) -} - -pn = "__v_isReadonly"; -let vn = !1, bn = !1; -const yn = []; -let _n = 0; -const wn = []; -let xn = null, Tn = 0; -const Sn = Promise.resolve(); -let En = null; - -function kn(e) { - const t = En || Sn; - return e ? t.then(this ? e.bind(this) : e) : t -} - -function An(e) { - yn.length && yn.includes(e, vn && e.allowRecurse ? _n + 1 : _n) || (null == e.id ? yn.push(e) : yn.splice(function (e) { - let t = _n + 1, n = yn.length; - for (; t < n;) { - const o = t + n >>> 1; - Ln(yn[o]) < e ? t = o + 1 : n = o - } - return t - }(e.id), 0, e), Cn()) -} - -function Cn() { - vn || bn || (bn = !0, En = Sn.then(In)) -} - -function Bn(e, t = (vn ? _n + 1 : 0)) { - for (; t < yn.length; t++) { - const e = yn[t]; - e && e.pre && (yn.splice(t, 1), t--, e()) - } -} - -function Pn(e) { - if (wn.length) { - const e = [...new Set(wn)]; - if (wn.length = 0, xn) return void xn.push(...e); - for (xn = e, xn.sort(((e, t) => Ln(e) - Ln(t))), Tn = 0; Tn < xn.length; Tn++) xn[Tn](); - xn = null, Tn = 0 - } -} - -const Ln = e => null == e.id ? 1 / 0 : e.id, On = (e, t) => { - const n = Ln(e) - Ln(t); - if (0 === n) { - if (e.pre && !t.pre) return -1; - if (t.pre && !e.pre) return 1 - } - return n -}; - -function In(e) { - bn = !1, vn = !0, yn.sort(On); - try { - for (_n = 0; _n < yn.length; _n++) { - const e = yn[_n]; - e && !1 !== e.active && hn(e, null, 14) - } - } finally { - _n = 0, yn.length = 0, Pn(), vn = !1, En = null, (yn.length || wn.length) && In() - } -} - -function Mn(e, t, ...n) { - if (e.isUnmounted) return; - const o = e.vnode.props || v; - let r = n; - const i = t.startsWith("update:"), a = i && t.slice(7); - if (a && a in o) { - const e = `${"modelValue" === a ? "model" : a}Modifiers`, {number: t, trim: i} = o[e] || v; - i && (r = n.map((e => I(e) ? e.trim() : e))), t && (r = n.map(K)) - } - let s, l = o[s = X(t)] || o[s = X(W(t))]; - !l && i && (l = o[s = X(Q(t))]), l && mn(l, e, 6, Fn(e, l, r)); - const c = o[s + "Once"]; - if (c) { - if (e.emitted) { - if (e.emitted[s]) return - } else e.emitted = {}; - e.emitted[s] = !0, mn(c, e, 6, Fn(e, c, r)) - } -} - -function Fn(e, t, n) { - if (1 !== n.length) return n; - if (O(t)) { - if (t.length < 2) return n - } else if (!t.find((e => e.length >= 2))) return n; - const o = n[0]; - if (o && A(o, "type") && A(o, "timeStamp") && A(o, "target") && A(o, "currentTarget") && A(o, "detail")) { - const t = e.proxy, o = t.$gcd(t, !0); - o && n.push(o) - } - return n -} - -function jn(e, t, n = !1) { - const o = t.emitsCache, r = o.get(e); - if (void 0 !== r) return r; - const i = e.emits; - let a = {}, s = !1; - if (!O(e)) { - const o = e => { - const n = jn(e, t, !0); - n && (s = !0, S(a, n)) - }; - !n && t.mixins.length && t.mixins.forEach(o), e.extends && o(e.extends), e.mixins && e.mixins.forEach(o) - } - return i || s ? (C(i) ? i.forEach((e => a[e] = null)) : S(a, i), F(e) && o.set(e, a), a) : (F(e) && o.set(e, null), null) -} - -function Rn(e, t) { - return !(!e || !x(t)) && (t = t.slice(2).replace(/Once$/, ""), A(e, t[0].toLowerCase() + t.slice(1)) || A(e, Q(t)) || A(e, t)) -} - -let Nn = null, Dn = null; - -function zn(e) { - const t = Nn; - return Nn = e, Dn = e && e.type.__scopeId || null, t -} - -function Hn(e, t = Nn, n) { - if (!t) return e; - if (e._n) return e; - const o = (...n) => { - o._d && qr(-1); - const r = zn(t); - let i; - try { - i = e(...n) - } finally { - zn(r), o._d && qr(1) - } - return i - }; - return o._n = !0, o._c = !0, o._d = !0, o -} - -function qn(e) { - const {type: t, vnode: n, proxy: o, withProxy: r, props: i, propsOptions: [a], slots: s, attrs: l, emit: c, render: u, renderCache: d, data: p, setupState: f, ctx: h, inheritAttrs: m} = e; - let g, v; - const b = zn(e); - try { - if (4 & n.shapeFlag) { - const e = r || o; - g = ni(u.call(e, e, d, i, f, p, h)), v = l - } else { - const e = t; - 0, g = ni(e.length > 1 ? e(i, {attrs: l, slots: s, emit: c}) : e(i, null)), v = t.props ? l : Vn(l) - } - } catch (_) { - Nr.length = 0, gn(_, e, 1), g = Kr(jr) - } - let y = g; - if (v && !1 !== m) { - const e = Object.keys(v), {shapeFlag: t} = y; - e.length && 7 & t && (a && e.some(T) && (v = Wn(v, a)), y = Zr(y, v)) - } - return n.dirs && (y = Zr(y), y.dirs = y.dirs ? y.dirs.concat(n.dirs) : n.dirs), n.transition && (y.transition = n.transition), g = y, zn(b), g -} - -const Vn = e => { - let t; - for (const n in e) ("class" === n || "style" === n || x(n)) && ((t || (t = {}))[n] = e[n]); - return t -}, Wn = (e, t) => { - const n = {}; - for (const o in e) T(o) && o.slice(9) in t || (n[o] = e[o]); - return n -}; - -function $n(e, t, n) { - const o = Object.keys(t); - if (o.length !== Object.keys(e).length) return !0; - for (let r = 0; r < o.length; r++) { - const i = o[r]; - if (t[i] !== e[i] && !Rn(n, i)) return !0 - } - return !1 -} - -const Qn = e => e.__isSuspense; - -function Un(e, t) { - if (ci) { - let n = ci.provides; - const o = ci.parent && ci.parent.provides; - o === n && (n = ci.provides = Object.create(o)), n[e] = t, "app" === ci.type.mpType && ci.appContext.app.provide(e, t) - } else ; -} - -function Xn(e, t, n = !1) { - const o = ci || Nn; - if (o) { - const r = null == o.parent ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides; - if (r && e in r) return r[e]; - if (arguments.length > 1) return n && O(t) ? t.call(o.proxy) : t - } -} - -function Yn(e, t) { - return Kn(e, null, t) -} - -const Jn = {}; - -function Gn(e, t, n) { - return Kn(e, t, n) -} - -function Kn(e, t, {immediate: n, deep: o, flush: r, onTrack: i, onTrigger: a} = v) { - const s = je() === (null == ci ? void 0 : ci.scope) ? ci : null; - let l, c, u = !1, d = !1; - if (tn(e) ? (l = () => e.value, u = Ut(e)) : $t(e) ? (l = () => e, o = !0) : C(e) ? (d = !0, u = e.some((e => $t(e) || Ut(e))), l = () => e.map((e => tn(e) ? e.value : $t(e) ? to(e) : O(e) ? hn(e, s, 2) : void 0))) : l = O(e) ? t ? () => hn(e, s, 2) : () => { - if (!s || !s.isUnmounted) return c && c(), mn(e, s, 3, [f]) - } : y, t && o) { - const e = l; - l = () => to(e()) - } - let p, f = e => { - c = b.onStop = () => { - hn(e, s, 4) - } - }; - if (hi) { - if (f = y, t ? n && mn(t, s, 3, [l(), d ? [] : void 0, f]) : l(), "sync" !== r) return y; - { - const e = xi(); - p = e.__watcherHandles || (e.__watcherHandles = []) - } - } - let h = d ? new Array(e.length).fill(Jn) : Jn; - const m = () => { - if (b.active) if (t) { - const e = b.run(); - (o || u || (d ? e.some(((e, t) => Y(e, h[t]))) : Y(e, h))) && (c && c(), mn(t, s, 3, [e, h === Jn ? void 0 : d && h[0] === Jn ? [] : h, f]), h = e) - } else b.run() - }; - let g; - m.allowRecurse = !!t, "sync" === r ? g = m : "post" === r ? g = () => Pr(m, s && s.suspense) : (m.pre = !0, s && (m.id = s.uid), g = () => An(m)); - const b = new Qe(l, g); - t ? n ? m() : h = b.run() : "post" === r ? Pr(b.run.bind(b), s && s.suspense) : b.run(); - const _ = () => { - b.stop(), s && s.scope && E(s.scope.effects, b) - }; - return p && p.push(_), _ -} - -function Zn(e, t, n) { - const o = this.proxy, r = I(e) ? e.includes(".") ? eo(o, e) : () => o[e] : e.bind(o, o); - let i; - O(t) ? i = t : (i = t.handler, n = t); - const a = ci; - di(this); - const s = Kn(r, i.bind(o), n); - return a ? di(a) : pi(), s -} - -function eo(e, t) { - const n = t.split("."); - return () => { - let t = e; - for (let e = 0; e < n.length && t; e++) t = t[n[e]]; - return t - } -} - -function to(e, t) { - if (!F(e) || e.__v_skip) return e; - if ((t = t || new Set).has(e)) return e; - if (t.add(e), tn(e)) to(e.value, t); else if (C(e)) for (let n = 0; n < e.length; n++) to(e[n], t); else if (P(e) || B(e)) e.forEach((e => { - to(e, t) - })); else if (D(e)) for (const n in e) to(e[n], t); - return e -} - -const no = [Function, Array], oo = { - mode: String, - appear: Boolean, - persisted: Boolean, - onBeforeEnter: no, - onEnter: no, - onAfterEnter: no, - onEnterCancelled: no, - onBeforeLeave: no, - onLeave: no, - onAfterLeave: no, - onLeaveCancelled: no, - onBeforeAppear: no, - onAppear: no, - onAfterAppear: no, - onAppearCancelled: no -}, ro = { - name: "BaseTransition", props: oo, setup(e, {slots: t}) { - const n = ui(), o = function () { - const e = {isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: new Map}; - return Io((() => { - e.isMounted = !0 - })), jo((() => { - e.isUnmounting = !0 - })), e - }(); - let r; - return () => { - const i = t.default && uo(t.default(), !0); - if (!i || !i.length) return; - let a = i[0]; - if (i.length > 1) for (const e of i) if (e.type !== jr) { - a = e; - break - } - const s = Yt(e), {mode: l} = s; - if (o.isLeaving) return so(a); - const c = lo(a); - if (!c) return so(a); - const u = ao(c, s, o, n); - co(c, u); - const d = n.subTree, p = d && lo(d); - let f = !1; - const {getTransitionKey: h} = c.type; - if (h) { - const e = h(); - void 0 === r ? r = e : e !== r && (r = e, f = !0) - } - if (p && p.type !== jr && (!Ur(c, p) || f)) { - const e = ao(p, s, o, n); - if (co(p, e), "out-in" === l) return o.isLeaving = !0, e.afterLeave = () => { - o.isLeaving = !1, !1 !== n.update.active && n.update() - }, so(a); - "in-out" === l && c.type !== jr && (e.delayLeave = (e, t, n) => { - io(o, p)[String(p.key)] = p, e._leaveCb = () => { - t(), e._leaveCb = void 0, delete u.delayedLeave - }, u.delayedLeave = n - }) - } - return a - } - } -}; - -function io(e, t) { - const {leavingVNodes: n} = e; - let o = n.get(t.type); - return o || (o = Object.create(null), n.set(t.type, o)), o -} - -function ao(e, t, n, o) { - const {appear: r, mode: i, persisted: a = !1, onBeforeEnter: s, onEnter: l, onAfterEnter: c, onEnterCancelled: u, onBeforeLeave: d, onLeave: p, onAfterLeave: f, onLeaveCancelled: h, onBeforeAppear: m, onAppear: g, onAfterAppear: v, onAppearCancelled: b} = t, - y = String(e.key), _ = io(n, e), w = (e, t) => { - e && mn(e, o, 9, t) - }, x = (e, t) => { - const n = t[1]; - w(e, t), C(e) ? e.every((e => e.length <= 1)) && n() : e.length <= 1 && n() - }, T = { - mode: i, persisted: a, beforeEnter(t) { - let o = s; - if (!n.isMounted) { - if (!r) return; - o = m || s - } - t._leaveCb && t._leaveCb(!0); - const i = _[y]; - i && Ur(e, i) && i.el._leaveCb && i.el._leaveCb(), w(o, [t]) - }, enter(e) { - let t = l, o = c, i = u; - if (!n.isMounted) { - if (!r) return; - t = g || l, o = v || c, i = b || u - } - let a = !1; - const s = e._enterCb = t => { - a || (a = !0, w(t ? i : o, [e]), T.delayedLeave && T.delayedLeave(), e._enterCb = void 0) - }; - t ? x(t, [e, s]) : s() - }, leave(t, o) { - const r = String(e.key); - if (t._enterCb && t._enterCb(!0), n.isUnmounting) return o(); - w(d, [t]); - let i = !1; - const a = t._leaveCb = n => { - i || (i = !0, o(), w(n ? h : f, [t]), t._leaveCb = void 0, _[r] === e && delete _[r]) - }; - _[r] = e, p ? x(p, [t, a]) : a() - }, clone: e => ao(e, t, n, o) - }; - return T -} - -function so(e) { - if (go(e)) return (e = Zr(e)).children = null, e -} - -function lo(e) { - return go(e) ? e.children ? e.children[0] : void 0 : e -} - -function co(e, t) { - 6 & e.shapeFlag && e.component ? co(e.component.subTree, t) : 128 & e.shapeFlag ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t -} - -function uo(e, t = !1, n) { - let o = [], r = 0; - for (let i = 0; i < e.length; i++) { - let a = e[i]; - const s = null == n ? a.key : String(n) + String(null != a.key ? a.key : i); - a.type === Mr ? (128 & a.patchFlag && r++, o = o.concat(uo(a.children, t, s))) : (t || a.type !== jr) && o.push(null != s ? Zr(a, {key: s}) : a) - } - if (r > 1) for (let i = 0; i < o.length; i++) o[i].patchFlag = -2; - return o -} - -function po(e) { - return O(e) ? {setup: e, name: e.name} : e -} - -const fo = e => !!e.type.__asyncLoader; - -function ho(e) { - O(e) && (e = {loader: e}); - const {loader: t, loadingComponent: n, errorComponent: o, delay: r = 200, timeout: i, suspensible: a = !0, onError: s} = e; - let l, c = null, u = 0; - const d = () => { - let e; - return c || (e = c = t().catch((e => { - if (e = e instanceof Error ? e : new Error(String(e)), s) return new Promise(((t, n) => { - s(e, (() => t((u++, c = null, d()))), (() => n(e)), u + 1) - })); - throw e - })).then((t => e !== c && c ? c : (t && (t.__esModule || "Module" === t[Symbol.toStringTag]) && (t = t.default), l = t, t)))) - }; - return po({ - name: "AsyncComponentWrapper", __asyncLoader: d, get __asyncResolved() { - return l - }, setup() { - const e = ci; - if (l) return () => mo(l, e); - const t = t => { - c = null, gn(t, e, 13, !o) - }; - if (a && e.suspense || hi) return d().then((t => () => mo(t, e))).catch((e => (t(e), () => o ? Kr(o, {error: e}) : null))); - const s = nn(!1), u = nn(), p = nn(!!r); - return r && setTimeout((() => { - p.value = !1 - }), r), null != i && setTimeout((() => { - if (!s.value && !u.value) { - const e = new Error(`Async component timed out after ${i}ms.`); - t(e), u.value = e - } - }), i), d().then((() => { - s.value = !0, e.parent && go(e.parent.vnode) && An(e.parent.update) - })).catch((e => { - t(e), u.value = e - })), () => s.value && l ? mo(l, e) : u.value && o ? Kr(o, {error: u.value}) : n && !p.value ? Kr(n) : void 0 - } - }) -} - -function mo(e, t) { - const {ref: n, props: o, children: r, ce: i} = t.vnode, a = Kr(e, o, r); - return a.ref = n, a.ce = i, delete t.vnode.ce, a -} - -const go = e => e.type.__isKeepAlive; - -class vo { - constructor(e) { - this.max = e, this._cache = new Map, this._keys = new Set, this._max = parseInt(e, 10) - } - - get(e) { - const {_cache: t, _keys: n, _max: o} = this, r = t.get(e); - if (r) n.delete(e), n.add(e); else if (n.add(e), o && n.size > o) { - const e = n.values().next().value; - this.pruneCacheEntry(t.get(e)), this.delete(e) - } - return r - } - - set(e, t) { - this._cache.set(e, t) - } - - delete(e) { - this._cache.delete(e), this._keys.delete(e) - } - - forEach(e, t) { - this._cache.forEach(e.bind(t)) - } -} - -const bo = { - name: "KeepAlive", - __isKeepAlive: !0, - props: { - include: [String, RegExp, Array], - exclude: [String, RegExp, Array], - max: [String, Number], - matchBy: {type: String, default: "name"}, - cache: Object - }, - setup(e, {slots: t}) { - const n = ui(), o = n.ctx; - if (!o.renderer) return () => { - const e = t.default && t.default(); - return e && 1 === e.length ? e[0] : e - }; - const r = e.cache || new vo(e.max); - r.pruneCacheEntry = a; - let i = null; - - function a(t) { - var o; - !i || !Ur(t, i) || "key" === e.matchBy && t.key !== i.key ? (Eo(o = t), u(o, n, s, !0)) : i && Eo(i) - } - - const s = n.suspense, {renderer: {p: l, m: c, um: u, o: {createElement: d}}} = o, p = d("div"); - - function f(t) { - r.forEach(((n, o) => { - const i = Ao(n, e.matchBy); - !i || t && t(i) || (r.delete(o), a(n)) - })) - } - - o.activate = (e, t, n, o, r) => { - const i = e.component; - if (i.ba) { - const e = i.isDeactivated; - i.isDeactivated = !1, J(i.ba), i.isDeactivated = e - } - c(e, t, n, 0, s), l(i.vnode, e, t, n, i, s, o, e.slotScopeIds, r), Pr((() => { - i.isDeactivated = !1, i.a && J(i.a); - const t = e.props && e.props.onVnodeMounted; - t && ai(t, i.parent, e) - }), s) - }, o.deactivate = e => { - const t = e.component; - t.bda && Co(t.bda), c(e, p, null, 1, s), Pr((() => { - t.bda && Bo(t.bda), t.da && J(t.da); - const n = e.props && e.props.onVnodeUnmounted; - n && ai(n, t.parent, e), t.isDeactivated = !0 - }), s) - }, Gn((() => [e.include, e.exclude, e.matchBy]), (([e, t]) => { - e && f((t => _o(e, t))), t && f((e => !_o(t, e))) - }), {flush: "post", deep: !0}); - let h = null; - const m = () => { - null != h && r.set(h, ko(n.subTree)) - }; - return Io(m), Fo(m), jo((() => { - r.forEach(((t, o) => { - r.delete(o), a(t); - const {subTree: i, suspense: s} = n, l = ko(i); - if (t.type !== l.type || "key" === e.matchBy && t.key !== l.key) ; else { - l.component.bda && J(l.component.bda), Eo(l); - const e = l.component.da; - e && Pr(e, s) - } - })) - })), () => { - if (h = null, !t.default) return null; - const n = t.default(), o = n[0]; - if (n.length > 1) return i = null, n; - if (!Qr(o) || !(4 & o.shapeFlag) && !Qn(o.type)) return i = null, o; - let a = ko(o); - const s = a.type, l = Ao(a, e.matchBy), {include: c, exclude: u} = e; - if (c && (!l || !_o(c, l)) || u && l && _o(u, l)) return i = a, o; - const d = null == a.key ? s : a.key, p = r.get(d); - return a.el && (a = Zr(a), Qn(o.type) && (o.ssContent = a)), h = d, p && (a.el = p.el, a.component = p.component, a.transition && co(a, a.transition), a.shapeFlag |= 512), a.shapeFlag |= 256, i = a, Qn(o.type) ? o : a - } - } -}, yo = bo; - -function _o(e, t) { - return C(e) ? e.some((e => _o(e, t))) : I(e) ? e.split(",").includes(t) : !!e.test && e.test(t) -} - -function wo(e, t) { - To(e, "a", t) -} - -function xo(e, t) { - To(e, "da", t) -} - -function To(e, t, n = ci) { - const o = e.__wdc || (e.__wdc = () => { - let t = n; - for (; t;) { - if (t.isDeactivated) return; - t = t.parent - } - return e() - }); - if (o.__called = !1, Po(t, o, n), n) { - let e = n.parent; - for (; e && e.parent;) go(e.parent.vnode) && So(o, t, n, e), e = e.parent - } -} - -function So(e, t, n, o) { - const r = Po(t, e, o, !0); - Ro((() => { - E(o[t], r) - }), n) -} - -function Eo(e) { - e.shapeFlag &= -257, e.shapeFlag &= -513 -} - -function ko(e) { - return Qn(e.type) ? e.ssContent : e -} - -function Ao(e, t) { - if ("name" === t) { - const t = e.type; - return bi(fo(e) ? t.__asyncResolved || {} : t) - } - return String(e.key) -} - -function Co(e) { - for (let t = 0; t < e.length; t++) { - const n = e[t]; - n.__called || (n(), n.__called = !0) - } -} - -function Bo(e) { - e.forEach((e => e.__called = !1)) -} - -function Po(e, t, n = ci, o = !1) { - if (n) { - if (r = e, Se.indexOf(r) > -1 && n.$pageInstance) { - if (n.type.__reserved) return; - if (n !== n.$pageInstance && (n = n.$pageInstance, function (e) { - return Ee.indexOf(e) > -1 - }(e))) { - const o = n.proxy; - mn(t.bind(o), n, e, "onLoad" === e ? [o.$page.options] : []) - } - } - const i = n[e] || (n[e] = []), a = t.__weh || (t.__weh = (...o) => { - if (n.isUnmounted) return; - Je(), di(n); - const r = mn(t, n, e, o); - return pi(), Ge(), r - }); - return o ? i.unshift(a) : i.push(a), a - } - var r -} - -const Lo = e => (t, n = ci) => (!hi || "sp" === e) && Po(e, ((...e) => t(...e)), n), Oo = Lo("bm"), Io = Lo("m"), - Mo = Lo("bu"), Fo = Lo("u"), jo = Lo("bum"), Ro = Lo("um"), No = Lo("sp"), Do = Lo("rtg"), zo = Lo("rtc"); - -function Ho(e, t = ci) { - Po("ec", e, t) -} - -function qo(e, t) { - const n = Nn; - if (null === n) return e; - const o = vi(n) || n.proxy, r = e.dirs || (e.dirs = []); - for (let i = 0; i < t.length; i++) { - let [e, n, a, s = v] = t[i]; - e && (O(e) && (e = {mounted: e, updated: e}), e.deep && to(n), r.push({ - dir: e, - instance: o, - value: n, - oldValue: void 0, - arg: a, - modifiers: s - })) - } - return e -} - -function Vo(e, t, n, o) { - const r = e.dirs, i = t && t.dirs; - for (let a = 0; a < r.length; a++) { - const s = r[a]; - i && (s.oldValue = i[a].value); - let l = s.dir[o]; - l && (Je(), mn(l, n, 8, [e.el, s, e, t]), Ge()) - } -} - -function Wo(e, t) { - return Uo("components", e, !0, t) || e -} - -const $o = Symbol(); - -function Qo(e) { - return I(e) ? Uo("components", e, !1) || e : e || $o -} - -function Uo(e, t, n = !0, o = !1) { - const r = Nn || ci; - if (r) { - const n = r.type; - if ("components" === e) { - const e = bi(n, !1); - if (e && (e === t || e === W(t) || e === U(W(t)))) return n - } - const i = Xo(r[e] || n[e], t) || Xo(r.appContext[e], t); - return !i && o ? n : i - } -} - -function Xo(e, t) { - return e && (e[t] || e[W(t)] || e[U(W(t))]) -} - -function Yo(e, t, n, o) { - let r; - const i = n && n[o]; - if (C(e) || I(e)) { - r = new Array(e.length); - for (let n = 0, o = e.length; n < o; n++) r[n] = t(e[n], n, void 0, i && i[n]) - } else if ("number" == typeof e) { - r = new Array(e); - for (let n = 0; n < e; n++) r[n] = t(n + 1, n, void 0, i && i[n]) - } else if (F(e)) if (e[Symbol.iterator]) r = Array.from(e, ((e, n) => t(e, n, void 0, i && i[n]))); else { - const n = Object.keys(e); - r = new Array(n.length); - for (let o = 0, a = n.length; o < a; o++) { - const a = n[o]; - r[o] = t(e[a], a, o, i && i[o]) - } - } else r = []; - return n && (n[o] = r), r -} - -function Jo(e, t, n = {}, o, r) { - if (Nn.isCE || Nn.parent && fo(Nn.parent) && Nn.parent.isCE) return "default" !== t && (n.name = t), Kr("slot", n, o && o()); - let i = e[t]; - i && i._c && (i._d = !1), zr(); - const a = i && Go(i(n)), - s = $r(Mr, {key: n.key || a && a.key || `_${t}`}, a || (o ? o() : []), a && 1 === e._ ? 64 : -2); - return !r && s.scopeId && (s.slotScopeIds = [s.scopeId + "-s"]), i && i._c && (i._d = !0), s -} - -function Go(e) { - return e.some((e => !Qr(e) || e.type !== jr && !(e.type === Mr && !Go(e.children)))) ? e : null -} - -const Ko = e => e ? fi(e) ? vi(e) || e.proxy : Ko(e.parent) : null, Zo = S(Object.create(null), { - $: e => e, - $el: e => e.vnode.el, - $data: e => e.data, - $props: e => e.props, - $attrs: e => e.attrs, - $slots: e => e.slots, - $refs: e => e.refs, - $parent: e => Ko(e.parent), - $root: e => Ko(e.root), - $emit: e => e.emit, - $options: e => ar(e), - $forceUpdate: e => e.f || (e.f = () => An(e.update)), - $nextTick: e => e.n || (e.n = kn.bind(e.proxy)), - $watch: e => Zn.bind(e) -}), er = (e, t) => e !== v && !e.__isScriptSetup && A(e, t), tr = { - get({_: e}, t) { - const {ctx: n, setupState: o, data: r, props: i, accessCache: a, type: s, appContext: l} = e; - let c; - if ("$" !== t[0]) { - const s = a[t]; - if (void 0 !== s) switch (s) { - case 1: - return o[t]; - case 2: - return r[t]; - case 4: - return n[t]; - case 3: - return i[t] - } else { - if (er(o, t)) return a[t] = 1, o[t]; - if (r !== v && A(r, t)) return a[t] = 2, r[t]; - if ((c = e.propsOptions[0]) && A(c, t)) return a[t] = 3, i[t]; - if (n !== v && A(n, t)) return a[t] = 4, n[t]; - nr && (a[t] = 0) - } - } - const u = Zo[t]; - let d, p; - return u ? ("$attrs" === t && Ke(e, 0, t), u(e)) : (d = s.__cssModules) && (d = d[t]) ? d : n !== v && A(n, t) ? (a[t] = 4, n[t]) : (p = l.config.globalProperties, A(p, t) ? p[t] : void 0) - }, set({_: e}, t, n) { - const {data: o, setupState: r, ctx: i} = e; - return er(r, t) ? (r[t] = n, !0) : o !== v && A(o, t) ? (o[t] = n, !0) : !A(e.props, t) && (("$" !== t[0] || !(t.slice(1) in e)) && (i[t] = n, !0)) - }, has({_: {data: e, setupState: t, accessCache: n, ctx: o, appContext: r, propsOptions: i}}, a) { - let s; - return !!n[a] || e !== v && A(e, a) || er(t, a) || (s = i[0]) && A(s, a) || A(o, a) || A(Zo, a) || A(r.config.globalProperties, a) - }, defineProperty(e, t, n) { - return null != n.get ? e._.accessCache[t] = 0 : A(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n) - } -}; -let nr = !0; - -function or(e) { - const t = ar(e), n = e.proxy, o = e.ctx; - nr = !1, t.beforeCreate && rr(t.beforeCreate, e, "bc"); - const {data: r, computed: i, methods: a, watch: s, provide: l, inject: c, created: u, beforeMount: d, mounted: p, beforeUpdate: f, updated: h, activated: m, deactivated: g, beforeDestroy: v, beforeUnmount: b, destroyed: _, unmounted: w, render: x, renderTracked: T, renderTriggered: S, errorCaptured: E, serverPrefetch: k, expose: A, inheritAttrs: B, components: P, directives: L, filters: I} = t; - if (c && function (e, t, n = y, o = !1) { - C(e) && (e = ur(e)); - for (const r in e) { - const n = e[r]; - let i; - i = F(n) ? "default" in n ? Xn(n.from || r, n.default, !0) : Xn(n.from || r) : Xn(n), tn(i) && o ? Object.defineProperty(t, r, { - enumerable: !0, - configurable: !0, - get: () => i.value, - set: e => i.value = e - }) : t[r] = i - } - }(c, o, null, e.appContext.config.unwrapInjectedRef), a) for (const y in a) { - const e = a[y]; - O(e) && (o[y] = e.bind(n)) - } - if (r) { - const t = r.call(n, n); - F(t) && (e.data = qt(t)) - } - if (nr = !0, i) for (const C in i) { - const e = i[C], t = O(e) ? e.bind(n, n) : O(e.get) ? e.get.bind(n, n) : y, - r = !O(e) && O(e.set) ? e.set.bind(n) : y, a = yi({get: t, set: r}); - Object.defineProperty(o, C, {enumerable: !0, configurable: !0, get: () => a.value, set: e => a.value = e}) - } - if (s) for (const y in s) ir(s[y], o, n, y); - if (l) { - const e = O(l) ? l.call(n) : l; - Reflect.ownKeys(e).forEach((t => { - Un(t, e[t]) - })) - } - - function M(e, t) { - C(t) ? t.forEach((t => e(t.bind(n)))) : t && e(t.bind(n)) - } - - if (u && rr(u, e, "c"), M(Oo, d), M(Io, p), M(Mo, f), M(Fo, h), M(wo, m), M(xo, g), M(Ho, E), M(zo, T), M(Do, S), M(jo, b), M(Ro, w), M(No, k), C(A)) if (A.length) { - const t = e.exposed || (e.exposed = {}); - A.forEach((e => { - Object.defineProperty(t, e, {get: () => n[e], set: t => n[e] = t}) - })) - } else e.exposed || (e.exposed = {}); - x && e.render === y && (e.render = x), null != B && (e.inheritAttrs = B), P && (e.components = P), L && (e.directives = L); - const j = e.appContext.config.globalProperties.$applyOptions; - j && j(t, e, n) -} - -function rr(e, t, n) { - mn(C(e) ? e.map((e => e.bind(t.proxy))) : e.bind(t.proxy), t, n) -} - -function ir(e, t, n, o) { - const r = o.includes(".") ? eo(n, o) : () => n[o]; - if (I(e)) { - const n = t[e]; - O(n) && Gn(r, n) - } else if (O(e)) Gn(r, e.bind(n)); else if (F(e)) if (C(e)) e.forEach((e => ir(e, t, n, o))); else { - const o = O(e.handler) ? e.handler.bind(n) : t[e.handler]; - O(o) && Gn(r, o, e) - } -} - -function ar(e) { - const t = e.type, {mixins: n, extends: o} = t, {mixins: r, optionsCache: i, config: {optionMergeStrategies: a}} = e.appContext, - s = i.get(t); - let l; - return s ? l = s : r.length || n || o ? (l = {}, r.length && r.forEach((e => sr(l, e, a, !0))), sr(l, t, a)) : l = t, F(t) && i.set(t, l), l -} - -function sr(e, t, n, o = !1) { - const {mixins: r, extends: i} = t; - i && sr(e, i, n, !0), r && r.forEach((t => sr(e, t, n, !0))); - for (const a in t) if (o && "expose" === a) ; else { - const o = lr[a] || n && n[a]; - e[a] = o ? o(e[a], t[a]) : t[a] - } - return e -} - -const lr = { - data: cr, - props: pr, - emits: pr, - methods: pr, - computed: pr, - beforeCreate: dr, - created: dr, - beforeMount: dr, - mounted: dr, - beforeUpdate: dr, - updated: dr, - beforeDestroy: dr, - beforeUnmount: dr, - destroyed: dr, - unmounted: dr, - activated: dr, - deactivated: dr, - errorCaptured: dr, - serverPrefetch: dr, - components: pr, - directives: pr, - watch: function (e, t) { - if (!e) return t; - if (!t) return e; - const n = S(Object.create(null), e); - for (const o in t) n[o] = dr(e[o], t[o]); - return n - }, - provide: cr, - inject: function (e, t) { - return pr(ur(e), ur(t)) - } -}; - -function cr(e, t) { - return t ? e ? function () { - return S(O(e) ? e.call(this, this) : e, O(t) ? t.call(this, this) : t) - } : t : e -} - -function ur(e) { - if (C(e)) { - const t = {}; - for (let n = 0; n < e.length; n++) t[e[n]] = e[n]; - return t - } - return e -} - -function dr(e, t) { - return e ? [...new Set([].concat(e, t))] : t -} - -function pr(e, t) { - return e ? S(S(Object.create(null), e), t) : t -} - -function fr(e, t, n, o = !1) { - const r = {}, i = {}; - G(i, Xr, 1), e.propsDefaults = Object.create(null), hr(e, t, r, i); - for (const a in e.propsOptions[0]) a in r || (r[a] = void 0); - n ? e.props = o ? r : Wt(r, !1, mt, Ft, Nt) : e.type.props ? e.props = r : e.props = i, e.attrs = i -} - -function hr(e, t, n, o) { - const [r, i] = e.propsOptions; - let a, s = !1; - if (t) for (let l in t) { - if (H(l)) continue; - const c = t[l]; - let u; - r && A(r, u = W(l)) ? i && i.includes(u) ? (a || (a = {}))[u] = c : n[u] = c : Rn(e.emitsOptions, l) || l in o && c === o[l] || (o[l] = c, s = !0) - } - if (i) { - const t = Yt(n), o = a || v; - for (let a = 0; a < i.length; a++) { - const s = i[a]; - n[s] = mr(r, t, s, o[s], e, !A(o, s)) - } - } - return s -} - -function mr(e, t, n, o, r, i) { - const a = e[n]; - if (null != a) { - const e = A(a, "default"); - if (e && void 0 === o) { - const e = a.default; - if (a.type !== Function && O(e)) { - const {propsDefaults: i} = r; - n in i ? o = i[n] : (di(r), o = i[n] = e.call(null, t), pi()) - } else o = e - } - a[0] && (i && !e ? o = !1 : !a[1] || "" !== o && o !== Q(n) || (o = !0)) - } - return o -} - -function gr(e, t, n = !1) { - const o = t.propsCache, r = o.get(e); - if (r) return r; - const i = e.props, a = {}, s = []; - let l = !1; - if (!O(e)) { - const o = e => { - l = !0; - const [n, o] = gr(e, t, !0); - S(a, n), o && s.push(...o) - }; - !n && t.mixins.length && t.mixins.forEach(o), e.extends && o(e.extends), e.mixins && e.mixins.forEach(o) - } - if (!i && !l) return F(e) && o.set(e, b), b; - if (C(i)) for (let u = 0; u < i.length; u++) { - const e = W(i[u]); - vr(e) && (a[e] = v) - } else if (i) for (const u in i) { - const e = W(u); - if (vr(e)) { - const t = i[u], n = a[e] = C(t) || O(t) ? {type: t} : Object.assign({}, t); - if (n) { - const t = _r(Boolean, n.type), o = _r(String, n.type); - n[0] = t > -1, n[1] = o < 0 || t < o, (t > -1 || A(n, "default")) && s.push(e) - } - } - } - const c = [a, s]; - return F(e) && o.set(e, c), c -} - -function vr(e) { - return "$" !== e[0] -} - -function br(e) { - const t = e && e.toString().match(/^\s*(function|class) (\w+)/); - return t ? t[2] : null === e ? "null" : "" -} - -function yr(e, t) { - return br(e) === br(t) -} - -function _r(e, t) { - return C(t) ? t.findIndex((t => yr(t, e))) : O(t) && yr(t, e) ? 0 : -1 -} - -const wr = e => "_" === e[0] || "$stable" === e, xr = e => C(e) ? e.map(ni) : [ni(e)], Tr = (e, t, n) => { - if (t._n) return t; - const o = Hn(((...e) => xr(t(...e))), n); - return o._c = !1, o -}, Sr = (e, t, n) => { - const o = e._ctx; - for (const r in e) { - if (wr(r)) continue; - const n = e[r]; - if (O(n)) t[r] = Tr(0, n, o); else if (null != n) { - const e = xr(n); - t[r] = () => e - } - } -}, Er = (e, t) => { - const n = xr(t); - e.slots.default = () => n -}; - -function kr() { - return { - app: null, - config: { - isNativeTag: _, - performance: !1, - globalProperties: {}, - optionMergeStrategies: {}, - errorHandler: void 0, - warnHandler: void 0, - compilerOptions: {} - }, - mixins: [], - components: {}, - directives: {}, - provides: Object.create(null), - optionsCache: new WeakMap, - propsCache: new WeakMap, - emitsCache: new WeakMap - } -} - -let Ar = 0; - -function Cr(e, t) { - return function (n, o = null) { - O(n) || (n = Object.assign({}, n)), null == o || F(o) || (o = null); - const r = kr(), i = new Set; - let a = !1; - const s = r.app = { - _uid: Ar++, - _component: n, - _props: o, - _container: null, - _context: r, - _instance: null, - version: Ti, - get config() { - return r.config - }, - set config(e) { - }, - use: (e, ...t) => (i.has(e) || (e && O(e.install) ? (i.add(e), e.install(s, ...t)) : O(e) && (i.add(e), e(s, ...t))), s), - mixin: e => (r.mixins.includes(e) || r.mixins.push(e), s), - component: (e, t) => t ? (r.components[e] = t, s) : r.components[e], - directive: (e, t) => t ? (r.directives[e] = t, s) : r.directives[e], - mount(i, l, c) { - if (!a) { - const u = Kr(n, o); - return u.appContext = r, l && t ? t(u, i) : e(u, i, c), a = !0, s._container = i, i.__vue_app__ = s, s._instance = u.component, vi(u.component) || u.component.proxy - } - }, - unmount() { - a && (e(null, s._container), delete s._container.__vue_app__) - }, - provide: (e, t) => (r.provides[e] = t, s) - }; - return s - } -} - -function Br(e, t, n, o, r = !1) { - if (C(e)) return void e.forEach(((e, i) => Br(e, t && (C(t) ? t[i] : t), n, o, r))); - if (fo(o) && !r) return; - const i = 4 & o.shapeFlag ? vi(o.component) || o.component.proxy : o.el, a = r ? null : i, {i: s, r: l} = e, - c = t && t.r, u = s.refs === v ? s.refs = {} : s.refs, d = s.setupState; - if (null != c && c !== l && (I(c) ? (u[c] = null, A(d, c) && (d[c] = null)) : tn(c) && (c.value = null)), O(l)) hn(l, s, 12, [a, u]); else { - const t = I(l), o = tn(l); - if (t || o) { - const s = () => { - if (e.f) { - const n = t ? A(d, l) ? d[l] : u[l] : l.value; - r ? C(n) && E(n, i) : C(n) ? n.includes(i) || n.push(i) : t ? (u[l] = [i], A(d, l) && (d[l] = u[l])) : (l.value = [i], e.k && (u[e.k] = l.value)) - } else t ? (u[l] = a, A(d, l) && (d[l] = a)) : o && (l.value = a, e.k && (u[e.k] = a)) - }; - a ? (s.id = -1, Pr(s, n)) : s() - } - } -} - -const Pr = function (e, t) { - var n; - t && t.pendingBranch ? C(e) ? t.effects.push(...e) : t.effects.push(e) : (C(n = e) ? wn.push(...n) : xn && xn.includes(n, n.allowRecurse ? Tn + 1 : Tn) || wn.push(n), Cn()) -}; - -function Lr(e) { - return function (e, t) { - (Z || (Z = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : "undefined" != typeof window ? window : "undefined" != typeof global ? global : {})).__VUE__ = !0; - const {insert: n, remove: o, patchProp: r, forcePatchProp: i, createElement: a, createText: s, createComment: l, setText: c, setElementText: u, parentNode: d, nextSibling: p, setScopeId: f = y, insertStaticContent: h} = e, - m = (e, t, n, o = null, r = null, i = null, a = !1, s = null, l = !!t.dynamicChildren) => { - if (e === t) return; - e && !Ur(e, t) && (o = te(e), U(e, r, i, !0), e = null), -2 === t.patchFlag && (l = !1, t.dynamicChildren = null); - const {type: c, ref: u, shapeFlag: d} = t; - switch (c) { - case Fr: - g(e, t, n, o); - break; - case jr: - _(e, t, n, o); - break; - case Rr: - null == e && w(t, n, o, a); - break; - case Mr: - I(e, t, n, o, r, i, a, s, l); - break; - default: - 1 & d ? E(e, t, n, o, r, i, a, s, l) : 6 & d ? M(e, t, n, o, r, i, a, s, l) : (64 & d || 128 & d) && c.process(e, t, n, o, r, i, a, s, l, oe) - } - null != u && r && Br(u, e && e.ref, i, t || e, !t) - }, g = (e, t, o, r) => { - if (null == e) n(t.el = s(t.children), o, r); else { - const n = t.el = e.el; - t.children !== e.children && c(n, t.children) - } - }, _ = (e, t, o, r) => { - null == e ? n(t.el = l(t.children || ""), o, r) : t.el = e.el - }, w = (e, t, n, o) => { - [e.el, e.anchor] = h(e.children, t, n, o, e.el, e.anchor) - }, x = ({el: e, anchor: t}, o, r) => { - let i; - for (; e && e !== t;) i = p(e), n(e, o, r), e = i; - n(t, o, r) - }, T = ({el: e, anchor: t}) => { - let n; - for (; e && e !== t;) n = p(e), o(e), e = n; - o(t) - }, E = (e, t, n, o, r, i, a, s, l) => { - a = a || "svg" === t.type, null == e ? k(t, n, o, r, i, a, s, l) : P(e, t, r, i, a, s, l) - }, k = (e, t, o, i, s, l, c, d) => { - let p, f; - const {type: h, props: m, shapeFlag: g, transition: v, dirs: b} = e; - if (p = e.el = a(e.type, l, m && m.is, m), 8 & g ? u(p, e.children) : 16 & g && B(e.children, p, null, i, s, l && "foreignObject" !== h, c, d), b && Vo(e, null, i, "created"), C(p, e, e.scopeId, c, i), m) { - for (const t in m) "value" === t || H(t) || r(p, t, null, m[t], l, e.children, i, s, ee); - "value" in m && r(p, "value", null, m.value), (f = m.onVnodeBeforeMount) && ai(f, i, e) - } - Object.defineProperty(p, "__vueParentComponent", { - value: i, - enumerable: !1 - }), b && Vo(e, null, i, "beforeMount"); - const y = (!s || s && !s.pendingBranch) && v && !v.persisted; - y && v.beforeEnter(p), n(p, t, o), ((f = m && m.onVnodeMounted) || y || b) && Pr((() => { - f && ai(f, i, e), y && v.enter(p), b && Vo(e, null, i, "mounted") - }), s) - }, C = (e, t, n, o, r) => { - if (n && f(e, n), o) for (let i = 0; i < o.length; i++) f(e, o[i]); - if (r) { - if (t === r.subTree) { - const t = r.vnode; - C(e, t, t.scopeId, t.slotScopeIds, r.parent) - } - } - }, B = (e, t, n, o, r, i, a, s, l = 0) => { - for (let c = l; c < e.length; c++) { - const l = e[c] = s ? oi(e[c]) : ni(e[c]); - m(null, l, t, n, o, r, i, a, s) - } - }, P = (e, t, n, o, a, s, l) => { - const c = t.el = e.el; - let {patchFlag: d, dynamicChildren: p, dirs: f} = t; - d |= 16 & e.patchFlag; - const h = e.props || v, m = t.props || v; - let g; - n && Or(n, !1), (g = m.onVnodeBeforeUpdate) && ai(g, n, t, e), f && Vo(t, e, n, "beforeUpdate"), n && Or(n, !0); - const b = a && "foreignObject" !== t.type; - if (p ? L(e.dynamicChildren, p, c, n, o, b, s) : l || z(e, t, c, null, n, o, b, s, !1), d > 0) { - if (16 & d) O(c, t, h, m, n, o, a); else if (2 & d && h.class !== m.class && r(c, "class", null, m.class, a), 4 & d && r(c, "style", h.style, m.style, a), 8 & d) { - const s = t.dynamicProps; - for (let t = 0; t < s.length; t++) { - const l = s[t], u = h[l], d = m[l]; - (d !== u || "value" === l || i && i(c, l)) && r(c, l, u, d, a, e.children, n, o, ee) - } - } - 1 & d && e.children !== t.children && u(c, t.children) - } else l || null != p || O(c, t, h, m, n, o, a); - ((g = m.onVnodeUpdated) || f) && Pr((() => { - g && ai(g, n, t, e), f && Vo(t, e, n, "updated") - }), o) - }, L = (e, t, n, o, r, i, a) => { - for (let s = 0; s < t.length; s++) { - const l = e[s], c = t[s], u = l.el && (l.type === Mr || !Ur(l, c) || 70 & l.shapeFlag) ? d(l.el) : n; - m(l, c, u, null, o, r, i, a, !0) - } - }, O = (e, t, n, o, a, s, l) => { - if (n !== o) { - if (n !== v) for (const i in n) H(i) || i in o || r(e, i, n[i], null, l, t.children, a, s, ee); - for (const c in o) { - if (H(c)) continue; - const u = o[c], d = n[c]; - (u !== d && "value" !== c || i && i(e, c)) && r(e, c, d, u, l, t.children, a, s, ee) - } - "value" in o && r(e, "value", n.value, o.value) - } - }, I = (e, t, o, r, i, a, l, c, u) => { - const d = t.el = e ? e.el : s(""), p = t.anchor = e ? e.anchor : s(""); - let {patchFlag: f, dynamicChildren: h, slotScopeIds: m} = t; - m && (c = c ? c.concat(m) : m), null == e ? (n(d, o, r), n(p, o, r), B(t.children, o, p, i, a, l, c, u)) : f > 0 && 64 & f && h && e.dynamicChildren ? (L(e.dynamicChildren, h, o, i, a, l, c), (null != t.key || i && t === i.subTree) && Ir(e, t, !0)) : z(e, t, o, p, i, a, l, c, u) - }, M = (e, t, n, o, r, i, a, s, l) => { - t.slotScopeIds = s, null == e ? 512 & t.shapeFlag ? r.ctx.activate(t, n, o, a, l) : F(t, n, o, r, i, a, l) : R(e, t, l) - }, F = (e, t, n, o, r, i, a) => { - const s = e.component = function (e, t, n) { - const o = e.type, r = (t ? t.appContext : e.appContext) || si, i = { - uid: li++, - vnode: e, - type: o, - parent: t, - appContext: r, - root: null, - next: null, - subTree: null, - effect: null, - update: null, - scope: new Me(!0), - render: null, - proxy: null, - exposed: null, - exposeProxy: null, - withProxy: null, - provides: t ? t.provides : Object.create(r.provides), - accessCache: null, - renderCache: [], - components: null, - directives: null, - propsOptions: gr(o, r), - emitsOptions: jn(o, r), - emit: null, - emitted: null, - propsDefaults: v, - inheritAttrs: o.inheritAttrs, - ctx: v, - data: v, - props: v, - attrs: v, - slots: v, - refs: v, - setupState: v, - setupContext: null, - suspense: n, - suspenseId: n ? n.pendingId : 0, - asyncDep: null, - asyncResolved: !1, - isMounted: !1, - isUnmounted: !1, - isDeactivated: !1, - bc: null, - c: null, - bm: null, - m: null, - bu: null, - u: null, - um: null, - bum: null, - bda: null, - da: null, - ba: null, - a: null, - rtg: null, - rtc: null, - ec: null, - sp: null - }; - i.ctx = {_: i}, i.root = t ? t.root : i, i.emit = Mn.bind(null, i), i.$pageInstance = t && t.$pageInstance, e.ce && e.ce(i); - return i - }(e, o, r); - if (go(e) && (s.ctx.renderer = oe), function (e, t = !1) { - hi = t; - const {props: n, children: o} = e.vnode, r = fi(e); - fr(e, n, r, t), ((e, t) => { - if (32 & e.vnode.shapeFlag) { - const n = t._; - n ? (e.slots = Yt(t), G(t, "_", n)) : Sr(t, e.slots = {}) - } else e.slots = {}, t && Er(e, t); - G(e.slots, Xr, 1) - })(e, o); - const i = r ? function (e, t) { - const n = e.type; - e.accessCache = Object.create(null), e.proxy = Jt(new Proxy(e.ctx, tr)); - const {setup: o} = n; - if (o) { - const n = e.setupContext = o.length > 1 ? function (e) { - const t = t => { - e.exposed = t || {} - }; - let n; - return { - get attrs() { - return n || (n = function (e) { - return new Proxy(e.attrs, {get: (t, n) => (Ke(e, 0, "$attrs"), t[n])}) - }(e)) - }, slots: e.slots, emit: e.emit, expose: t - } - }(e) : null; - di(e), Je(); - const r = hn(o, e, 0, [e.props, n]); - if (Ge(), pi(), j(r)) { - if (r.then(pi, pi), t) return r.then((n => { - mi(e, n, t) - })).catch((t => { - gn(t, e, 0) - })); - e.asyncDep = r - } else mi(e, r, t) - } else gi(e, t) - }(e, t) : void 0; - hi = !1 - }(s), s.asyncDep) { - if (r && r.registerDep(s, N), !e.el) { - const e = s.subTree = Kr(jr); - _(null, e, t, n) - } - } else N(s, e, t, n, r, i, a) - }, R = (e, t, n) => { - const o = t.component = e.component; - if (function (e, t, n) { - const {props: o, children: r, component: i} = e, {props: a, children: s, patchFlag: l} = t, - c = i.emitsOptions; - if (t.dirs || t.transition) return !0; - if (!(n && l >= 0)) return !(!r && !s || s && s.$stable) || o !== a && (o ? !a || $n(o, a, c) : !!a); - if (1024 & l) return !0; - if (16 & l) return o ? $n(o, a, c) : !!a; - if (8 & l) { - const e = t.dynamicProps; - for (let t = 0; t < e.length; t++) { - const n = e[t]; - if (a[n] !== o[n] && !Rn(c, n)) return !0 - } - } - return !1 - }(e, t, n)) { - if (o.asyncDep && !o.asyncResolved) return void D(o, t, n); - o.next = t, function (e) { - const t = yn.indexOf(e); - t > _n && yn.splice(t, 1) - }(o.update), o.update() - } else t.el = e.el, o.vnode = t - }, N = (e, t, n, o, r, i, a) => { - const s = () => { - if (e.isMounted) { - let t, {next: n, bu: o, u: s, parent: l, vnode: c} = e, u = n; - Or(e, !1), n ? (n.el = c.el, D(e, n, a)) : n = c, o && J(o), (t = n.props && n.props.onVnodeBeforeUpdate) && ai(t, l, n, c), Or(e, !0); - const p = qn(e), f = e.subTree; - e.subTree = p, m(f, p, d(f.el), te(f), e, r, i), n.el = p.el, null === u && function ({vnode: e, parent: t}, n) { - for (; t && t.subTree === e;) (e = t.vnode).el = n, t = t.parent - }(e, p.el), s && Pr(s, r), (t = n.props && n.props.onVnodeUpdated) && Pr((() => ai(t, l, n, c)), r) - } else { - let a; - const {el: s, props: l} = t, {bm: c, m: u, parent: d} = e, p = fo(t); - if (Or(e, !1), c && J(c), !p && (a = l && l.onVnodeBeforeMount) && ai(a, d, t), Or(e, !0), s && ie) { - const n = () => { - e.subTree = qn(e), ie(s, e.subTree, e, r, null) - }; - p ? t.type.__asyncLoader().then((() => !e.isUnmounted && n())) : n() - } else { - const a = e.subTree = qn(e); - m(null, a, n, o, e, r, i), t.el = a.el - } - if (u && Pr(u, r), !p && (a = l && l.onVnodeMounted)) { - const e = t; - Pr((() => ai(a, d, e)), r) - } - const {ba: f, a: h} = e; - (256 & t.shapeFlag || d && fo(d.vnode) && 256 & d.vnode.shapeFlag) && (f && Co(f), h && Pr(h, r), f && Pr((() => Bo(f)), r)), e.isMounted = !0, t = n = o = null - } - }, l = e.effect = new Qe(s, (() => An(c)), e.scope), c = e.update = () => l.run(); - c.id = e.uid, Or(e, !0), c() - }, D = (e, t, n) => { - t.component = e; - const o = e.vnode.props; - e.vnode = t, e.next = null, function (e, t, n, o) { - const {props: r, attrs: i, vnode: {patchFlag: a}} = e, s = Yt(r), [l] = e.propsOptions; - let c = !1; - if (!(o || a > 0) || 16 & a) { - let o; - hr(e, t, r, i) && (c = !0); - for (const i in s) t && (A(t, i) || (o = Q(i)) !== i && A(t, o)) || (l ? !n || void 0 === n[i] && void 0 === n[o] || (r[i] = mr(l, s, i, void 0, e, !0)) : delete r[i]); - if (i !== s) for (const e in i) t && A(t, e) || (delete i[e], c = !0) - } else if (8 & a) { - const n = e.vnode.dynamicProps; - for (let o = 0; o < n.length; o++) { - let a = n[o]; - if (Rn(e.emitsOptions, a)) continue; - const u = t[a]; - if (l) if (A(i, a)) u !== i[a] && (i[a] = u, c = !0); else { - const t = W(a); - r[t] = mr(l, s, t, u, e, !1) - } else u !== i[a] && (i[a] = u, c = !0) - } - } - c && et(e, "set", "$attrs") - }(e, t.props, o, n), ((e, t, n) => { - const {vnode: o, slots: r} = e; - let i = !0, a = v; - if (32 & o.shapeFlag) { - const e = t._; - e ? n && 1 === e ? i = !1 : (S(r, t), n || 1 !== e || delete r._) : (i = !t.$stable, Sr(t, r)), a = t - } else t && (Er(e, t), a = {default: 1}); - if (i) for (const s in r) wr(s) || s in a || delete r[s] - })(e, t.children, n), Je(), Bn(), Ge() - }, z = (e, t, n, o, r, i, a, s, l = !1) => { - const c = e && e.children, d = e ? e.shapeFlag : 0, p = t.children, {patchFlag: f, shapeFlag: h} = t; - if (f > 0) { - if (128 & f) return void V(c, p, n, o, r, i, a, s, l); - if (256 & f) return void q(c, p, n, o, r, i, a, s, l) - } - 8 & h ? (16 & d && ee(c, r, i), p !== c && u(n, p)) : 16 & d ? 16 & h ? V(c, p, n, o, r, i, a, s, l) : ee(c, r, i, !0) : (8 & d && u(n, ""), 16 & h && B(p, n, o, r, i, a, s, l)) - }, q = (e, t, n, o, r, i, a, s, l) => { - t = t || b; - const c = (e = e || b).length, u = t.length, d = Math.min(c, u); - let p; - for (p = 0; p < d; p++) { - const o = t[p] = l ? oi(t[p]) : ni(t[p]); - m(e[p], o, n, null, r, i, a, s, l) - } - c > u ? ee(e, r, i, !0, !1, d) : B(t, n, o, r, i, a, s, l, d) - }, V = (e, t, n, o, r, i, a, s, l) => { - let c = 0; - const u = t.length; - let d = e.length - 1, p = u - 1; - for (; c <= d && c <= p;) { - const o = e[c], u = t[c] = l ? oi(t[c]) : ni(t[c]); - if (!Ur(o, u)) break; - m(o, u, n, null, r, i, a, s, l), c++ - } - for (; c <= d && c <= p;) { - const o = e[d], c = t[p] = l ? oi(t[p]) : ni(t[p]); - if (!Ur(o, c)) break; - m(o, c, n, null, r, i, a, s, l), d--, p-- - } - if (c > d) { - if (c <= p) { - const e = p + 1, d = e < u ? t[e].el : o; - for (; c <= p;) m(null, t[c] = l ? oi(t[c]) : ni(t[c]), n, d, r, i, a, s, l), c++ - } - } else if (c > p) for (; c <= d;) U(e[c], r, i, !0), c++; else { - const f = c, h = c, g = new Map; - for (c = h; c <= p; c++) { - const e = t[c] = l ? oi(t[c]) : ni(t[c]); - null != e.key && g.set(e.key, c) - } - let v, y = 0; - const _ = p - h + 1; - let w = !1, x = 0; - const T = new Array(_); - for (c = 0; c < _; c++) T[c] = 0; - for (c = f; c <= d; c++) { - const o = e[c]; - if (y >= _) { - U(o, r, i, !0); - continue - } - let u; - if (null != o.key) u = g.get(o.key); else for (v = h; v <= p; v++) if (0 === T[v - h] && Ur(o, t[v])) { - u = v; - break - } - void 0 === u ? U(o, r, i, !0) : (T[u - h] = c + 1, u >= x ? x = u : w = !0, m(o, t[u], n, null, r, i, a, s, l), y++) - } - const S = w ? function (e) { - const t = e.slice(), n = [0]; - let o, r, i, a, s; - const l = e.length; - for (o = 0; o < l; o++) { - const l = e[o]; - if (0 !== l) { - if (r = n[n.length - 1], e[r] < l) { - t[o] = r, n.push(o); - continue - } - for (i = 0, a = n.length - 1; i < a;) s = i + a >> 1, e[n[s]] < l ? i = s + 1 : a = s; - l < e[n[i]] && (i > 0 && (t[o] = n[i - 1]), n[i] = o) - } - } - i = n.length, a = n[i - 1]; - for (; i-- > 0;) n[i] = a, a = t[a]; - return n - }(T) : b; - for (v = S.length - 1, c = _ - 1; c >= 0; c--) { - const e = h + c, d = t[e], p = e + 1 < u ? t[e + 1].el : o; - 0 === T[c] ? m(null, d, n, p, r, i, a, s, l) : w && (v < 0 || c !== S[v] ? $(d, n, p, 2) : v--) - } - } - }, $ = (e, t, o, r, i = null) => { - const {el: a, type: s, transition: l, children: c, shapeFlag: u} = e; - if (6 & u) return void $(e.component.subTree, t, o, r); - if (128 & u) return void e.suspense.move(t, o, r); - if (64 & u) return void s.move(e, t, o, oe); - if (s === Mr) { - n(a, t, o); - for (let e = 0; e < c.length; e++) $(c[e], t, o, r); - return void n(e.anchor, t, o) - } - if (s === Rr) return void x(e, t, o); - if (2 !== r && 1 & u && l) if (0 === r) l.beforeEnter(a), n(a, t, o), Pr((() => l.enter(a)), i); else { - const {leave: e, delayLeave: r, afterLeave: i} = l, s = () => n(a, t, o), c = () => { - e(a, (() => { - s(), i && i() - })) - }; - r ? r(a, s, c) : c() - } else n(a, t, o) - }, U = (e, t, n, o = !1, r = !1) => { - const {type: i, props: a, ref: s, children: l, dynamicChildren: c, shapeFlag: u, patchFlag: d, dirs: p} = e; - if (null != s && Br(s, null, n, e, !0), 256 & u) return void t.ctx.deactivate(e); - const f = 1 & u && p, h = !fo(e); - let m; - if (h && (m = a && a.onVnodeBeforeUnmount) && ai(m, t, e), 6 & u) K(e.component, n, o); else { - if (128 & u) return void e.suspense.unmount(n, o); - f && Vo(e, null, t, "beforeUnmount"), 64 & u ? e.type.remove(e, t, n, r, oe, o) : c && (i !== Mr || d > 0 && 64 & d) ? ee(c, t, n, !1, !0) : (i === Mr && 384 & d || !r && 16 & u) && ee(l, t, n), o && X(e) - } - (h && (m = a && a.onVnodeUnmounted) || f) && Pr((() => { - m && ai(m, t, e), f && Vo(e, null, t, "unmounted") - }), n) - }, X = e => { - const {type: t, el: n, anchor: r, transition: i} = e; - if (t === Mr) return void Y(n, r); - if (t === Rr) return void T(e); - const a = () => { - o(n), i && !i.persisted && i.afterLeave && i.afterLeave() - }; - if (1 & e.shapeFlag && i && !i.persisted) { - const {leave: t, delayLeave: o} = i, r = () => t(n, a); - o ? o(e.el, a, r) : r() - } else a() - }, Y = (e, t) => { - let n; - for (; e !== t;) n = p(e), o(e), e = n; - o(t) - }, K = (e, t, n) => { - const {bum: o, scope: r, update: i, subTree: a, um: s} = e; - o && J(o), r.stop(), i && (i.active = !1, U(a, e, t, n)), s && Pr(s, t), Pr((() => { - e.isUnmounted = !0 - }), t), t && t.pendingBranch && !t.isUnmounted && e.asyncDep && !e.asyncResolved && e.suspenseId === t.pendingId && (t.deps--, 0 === t.deps && t.resolve()) - }, ee = (e, t, n, o = !1, r = !1, i = 0) => { - for (let a = i; a < e.length; a++) U(e[a], t, n, o, r) - }, - te = e => 6 & e.shapeFlag ? te(e.component.subTree) : 128 & e.shapeFlag ? e.suspense.next() : p(e.anchor || e.el), - ne = (e, t, n) => { - null == e ? t._vnode && U(t._vnode, null, null, !0) : m(t._vnode || null, e, t, null, null, null, n), Bn(), Pn(), t._vnode = e - }, oe = {p: m, um: U, m: $, r: X, mt: F, mc: B, pc: z, pbc: L, n: te, o: e}; - let re, ie; - t && ([re, ie] = t(oe)); - return {render: ne, hydrate: re, createApp: Cr(ne, re)} - }(e) -} - -function Or({effect: e, update: t}, n) { - e.allowRecurse = t.allowRecurse = n -} - -function Ir(e, t, n = !1) { - const o = e.children, r = t.children; - if (C(o) && C(r)) for (let i = 0; i < o.length; i++) { - const e = o[i]; - let t = r[i]; - 1 & t.shapeFlag && !t.dynamicChildren && ((t.patchFlag <= 0 || 32 === t.patchFlag) && (t = r[i] = oi(r[i]), t.el = e.el), n || Ir(e, t)), t.type === Fr && (t.el = e.el) - } -} - -const Mr = Symbol(void 0), Fr = Symbol(void 0), jr = Symbol(void 0), Rr = Symbol(void 0), Nr = []; -let Dr = null; - -function zr(e = !1) { - Nr.push(Dr = e ? null : []) -} - -let Hr = 1; - -function qr(e) { - Hr += e -} - -function Vr(e) { - return e.dynamicChildren = Hr > 0 ? Dr || b : null, Nr.pop(), Dr = Nr[Nr.length - 1] || null, Hr > 0 && Dr && Dr.push(e), e -} - -function Wr(e, t, n, o, r, i) { - return Vr(Gr(e, t, n, o, r, i, !0)) -} - -function $r(e, t, n, o, r) { - return Vr(Kr(e, t, n, o, r, !0)) -} - -function Qr(e) { - return !!e && !0 === e.__v_isVNode -} - -function Ur(e, t) { - return e.type === t.type && e.key === t.key -} - -const Xr = "__vInternal", Yr = ({key: e}) => null != e ? e : null, - Jr = ({ref: e, ref_key: t, ref_for: n}) => null != e ? I(e) || tn(e) || O(e) ? { - i: Nn, - r: e, - k: t, - f: !!n - } : e : null; - -function Gr(e, t = null, n = null, o = 0, r = null, i = (e === Mr ? 0 : 1), a = !1, s = !1) { - const l = { - __v_isVNode: !0, - __v_skip: !0, - type: e, - props: t, - key: t && Yr(t), - ref: t && Jr(t), - scopeId: Dn, - slotScopeIds: null, - children: n, - component: null, - suspense: null, - ssContent: null, - ssFallback: null, - dirs: null, - transition: null, - el: null, - anchor: null, - target: null, - targetAnchor: null, - staticCount: 0, - shapeFlag: i, - patchFlag: o, - dynamicProps: r, - dynamicChildren: null, - appContext: null, - ctx: Nn - }; - return s ? (ri(l, n), 128 & i && e.normalize(l)) : n && (l.shapeFlag |= I(n) ? 8 : 16), Hr > 0 && !a && Dr && (l.patchFlag > 0 || 6 & i) && 32 !== l.patchFlag && Dr.push(l), l -} - -const Kr = function (e, t = null, n = null, o = 0, r = null, a = !1) { - e && e !== $o || (e = jr); - if (Qr(e)) { - const o = Zr(e, t, !0); - return n && ri(o, n), Hr > 0 && !a && Dr && (6 & o.shapeFlag ? Dr[Dr.indexOf(e)] = o : Dr.push(o)), o.patchFlag |= -2, o - } - s = e, O(s) && "__vccOpts" in s && (e = e.__vccOpts); - var s; - if (t) { - t = function (e) { - return e ? Xt(e) || Xr in e ? S({}, e) : e : null - }(t); - let {class: e, style: n} = t; - e && !I(e) && (t.class = u(e)), F(n) && (Xt(n) && !C(n) && (n = S({}, n)), t.style = i(n)) - } - const l = I(e) ? 1 : Qn(e) ? 128 : (e => e.__isTeleport)(e) ? 64 : F(e) ? 4 : O(e) ? 2 : 0; - return Gr(e, t, n, o, r, l, a, !0) -}; - -function Zr(e, t, n = !1) { - const {props: o, ref: r, patchFlag: i, children: a} = e, s = t ? ii(o || {}, t) : o; - return { - __v_isVNode: !0, - __v_skip: !0, - type: e.type, - props: s, - key: s && Yr(s), - ref: t && t.ref ? n && r ? C(r) ? r.concat(Jr(t)) : [r, Jr(t)] : Jr(t) : r, - scopeId: e.scopeId, - slotScopeIds: e.slotScopeIds, - children: a, - target: e.target, - targetAnchor: e.targetAnchor, - staticCount: e.staticCount, - shapeFlag: e.shapeFlag, - patchFlag: t && e.type !== Mr ? -1 === i ? 16 : 16 | i : i, - dynamicProps: e.dynamicProps, - dynamicChildren: e.dynamicChildren, - appContext: e.appContext, - dirs: e.dirs, - transition: e.transition, - component: e.component, - suspense: e.suspense, - ssContent: e.ssContent && Zr(e.ssContent), - ssFallback: e.ssFallback && Zr(e.ssFallback), - el: e.el, - anchor: e.anchor, - ctx: e.ctx, - ce: e.ce - } -} - -function ei(e = " ", t = 0) { - return Kr(Fr, null, e, t) -} - -function ti(e = "", t = !1) { - return t ? (zr(), $r(jr, null, e)) : Kr(jr, null, e) -} - -function ni(e) { - return null == e || "boolean" == typeof e ? Kr(jr) : C(e) ? Kr(Mr, null, e.slice()) : "object" == typeof e ? oi(e) : Kr(Fr, null, String(e)) -} - -function oi(e) { - return null === e.el && -1 !== e.patchFlag || e.memo ? e : Zr(e) -} - -function ri(e, t) { - let n = 0; - const {shapeFlag: o} = e; - if (null == t) t = null; else if (C(t)) n = 16; else if ("object" == typeof t) { - if (65 & o) { - const n = t.default; - return void (n && (n._c && (n._d = !1), ri(e, n()), n._c && (n._d = !0))) - } - { - n = 32; - const o = t._; - o || Xr in t ? 3 === o && Nn && (1 === Nn.slots._ ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024)) : t._ctx = Nn - } - } else O(t) ? (t = {default: t, _ctx: Nn}, n = 32) : (t = String(t), 64 & o ? (n = 16, t = [ei(t)]) : n = 8); - e.children = t, e.shapeFlag |= n -} - -function ii(...e) { - const t = {}; - for (let n = 0; n < e.length; n++) { - const o = e[n]; - for (const e in o) if ("class" === e) t.class !== o.class && (t.class = u([t.class, o.class])); else if ("style" === e) t.style = i([t.style, o.style]); else if (x(e)) { - const n = t[e], r = o[e]; - !r || n === r || C(n) && n.includes(r) || (t[e] = n ? [].concat(n, r) : r) - } else "" !== e && (t[e] = o[e]) - } - return t -} - -function ai(e, t, n, o = null) { - mn(e, t, 7, [n, o]) -} - -const si = kr(); -let li = 0; -let ci = null; -const ui = () => ci || Nn, di = e => { - ci = e, e.scope.on() -}, pi = () => { - ci && ci.scope.off(), ci = null -}; - -function fi(e) { - return 4 & e.vnode.shapeFlag -} - -let hi = !1; - -function mi(e, t, n) { - O(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : F(t) && (e.setupState = cn(t)), gi(e, n) -} - -function gi(e, t, n) { - const o = e.type; - e.render || (e.render = o.render || y), di(e), Je(), or(e), Ge(), pi() -} - -function vi(e) { - if (e.exposed) return e.exposeProxy || (e.exposeProxy = new Proxy(cn(Jt(e.exposed)), { - get: (t, n) => n in t ? t[n] : n in Zo ? Zo[n](e) : void 0, - has: (e, t) => t in e || t in Zo - })) -} - -function bi(e, t = !0) { - return O(e) ? e.displayName || e.name : e.name || t && e.__name -} - -const yi = (e, t) => function (e, t, n = !1) { - let o, r; - const i = O(e); - return i ? (o = e, r = y) : (o = e.get, r = e.set), new fn(o, r, i || !r, n) -}(e, 0, hi); - -function _i(e, t, n) { - const o = arguments.length; - return 2 === o ? F(t) && !C(t) ? Qr(t) ? Kr(e, null, [t]) : Kr(e, t) : Kr(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : 3 === o && Qr(n) && (n = [n]), Kr(e, t, n)) -} - -const wi = Symbol(""), xi = () => Xn(wi), Ti = "3.2.47", Si = "undefined" != typeof document ? document : null, - Ei = Si && Si.createElement("template"), ki = { - insert: (e, t, n) => { - t.insertBefore(e, n || null) - }, - remove: e => { - const t = e.parentNode; - t && t.removeChild(e) - }, - createElement: (e, t, n, o) => { - const r = t ? Si.createElementNS("http://www.w3.org/2000/svg", e) : Si.createElement(e, n ? {is: n} : void 0); - return "select" === e && o && null != o.multiple && r.setAttribute("multiple", o.multiple), r - }, - createText: e => Si.createTextNode(e), - createComment: e => Si.createComment(e), - setText: (e, t) => { - e.nodeValue = t - }, - setElementText: (e, t) => { - e.textContent = t - }, - parentNode: e => e.parentNode, - nextSibling: e => e.nextSibling, - querySelector: e => Si.querySelector(e), - setScopeId(e, t) { - e.setAttribute(t, "") - }, - insertStaticContent(e, t, n, o, r, i) { - const a = n ? n.previousSibling : t.lastChild; - if (r && (r === i || r.nextSibling)) for (; t.insertBefore(r.cloneNode(!0), n), r !== i && (r = r.nextSibling);) ; else { - Ei.innerHTML = o ? `${e}` : e; - const r = Ei.content; - if (o) { - const e = r.firstChild; - for (; e.firstChild;) r.appendChild(e.firstChild); - r.removeChild(e) - } - t.insertBefore(r, n) - } - return [a ? a.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild] - } - }; -const Ai = /\s*!important$/; - -function Ci(e, t, n) { - if (C(n)) n.forEach((n => Ci(e, t, n))); else if (null == n && (n = ""), n = Ni(n), t.startsWith("--")) e.setProperty(t, n); else { - const o = function (e, t) { - const n = Pi[t]; - if (n) return n; - let o = W(t); - if ("filter" !== o && o in e) return Pi[t] = o; - o = U(o); - for (let r = 0; r < Bi.length; r++) { - const n = Bi[r] + o; - if (n in e) return Pi[t] = n - } - return t - }(e, t); - Ai.test(n) ? e.setProperty(Q(o), n.replace(Ai, ""), "important") : e[o] = n - } -} - -const Bi = ["Webkit", "Moz", "ms"], Pi = {}; -const {unit: Li, unitRatio: Oi, unitPrecision: Ii} = {unit: "rem", unitRatio: 10 / 320, unitPrecision: 5}, - Mi = (Fi = Li, ji = Oi, Ri = Ii, e => e.replace(me, ((e, t) => { - if (!t) return e; - if (1 === ji) return `${t}${Fi}`; - const n = function (e, t) { - const n = Math.pow(10, t + 1), o = Math.floor(e * n); - return 10 * Math.round(o / 10) / n - }(parseFloat(t) * ji, Ri); - return 0 === n ? "0" : `${n}${Fi}` - }))); -var Fi, ji, Ri; -const Ni = e => I(e) ? Mi(e) : e, Di = "http://www.w3.org/1999/xlink"; - -function zi(e, t, n, o) { - e.addEventListener(t, n, o) -} - -function Hi(e, t, n, o, r = null) { - const i = e._vei || (e._vei = {}), a = i[t]; - if (o && a) a.value = o; else { - const [n, s] = function (e) { - let t; - if (qi.test(e)) { - let n; - for (t = {}; n = e.match(qi);) e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0 - } - return [":" === e[2] ? e.slice(3) : Q(e.slice(2)), t] - }(t); - if (o) { - const a = i[t] = function (e, t) { - const n = e => { - if (e._vts) { - if (e._vts <= n.attached) return - } else e._vts = Date.now(); - const o = t && t.proxy, r = o && o.$nne, {value: i} = n; - if (r && C(i)) { - const n = $i(e, i); - for (let o = 0; o < n.length; o++) { - const i = n[o]; - mn(i, t, 5, i.__wwe ? [e] : r(e)) - } - } else mn($i(e, i), t, 5, r && !i.__wwe ? r(e, i, t) : [e]) - }; - return n.value = e, n.attached = (() => Vi || (Wi.then((() => Vi = 0)), Vi = Date.now()))(), n - }(o, r); - zi(e, n, a, s) - } else a && (!function (e, t, n, o) { - e.removeEventListener(t, n, o) - }(e, n, a, s), i[t] = void 0) - } -} - -const qi = /(?:Once|Passive|Capture)$/; -let Vi = 0; -const Wi = Promise.resolve(); - -function $i(e, t) { - if (C(t)) { - const n = e.stopImmediatePropagation; - return e.stopImmediatePropagation = () => { - n.call(e), e._stopped = !0 - }, t.map((e => { - const t = t => !t._stopped && e && e(t); - return t.__wwe = e.__wwe, t - })) - } - return t -} - -const Qi = /^on[a-z]/; -const Ui = "transition", Xi = (e, {slots: t}) => _i(ro, function (e) { - const t = {}; - for (const S in e) S in Yi || (t[S] = e[S]); - if (!1 === e.css) return t; - const {name: n = "v", type: o, duration: r, enterFromClass: i = `${n}-enter-from`, enterActiveClass: a = `${n}-enter-active`, enterToClass: s = `${n}-enter-to`, appearFromClass: l = i, appearActiveClass: c = a, appearToClass: u = s, leaveFromClass: d = `${n}-leave-from`, leaveActiveClass: p = `${n}-leave-active`, leaveToClass: f = `${n}-leave-to`} = e, - h = function (e) { - if (null == e) return null; - if (F(e)) return [Ki(e.enter), Ki(e.leave)]; - { - const t = Ki(e); - return [t, t] - } - }(r), m = h && h[0], - g = h && h[1], {onBeforeEnter: v, onEnter: b, onEnterCancelled: y, onLeave: _, onLeaveCancelled: w, onBeforeAppear: x = v, onAppear: T = b, onAppearCancelled: E = y} = t, - k = (e, t, n) => { - ea(e, t ? u : s), ea(e, t ? c : a), n && n() - }, A = (e, t) => { - e._isLeaving = !1, ea(e, d), ea(e, f), ea(e, p), t && t() - }, C = e => (t, n) => { - const r = e ? T : b, a = () => k(t, e, n); - Ji(r, [t, a]), ta((() => { - ea(t, e ? l : i), Zi(t, e ? u : s), Gi(r) || oa(t, o, m, a) - })) - }; - return S(t, { - onBeforeEnter(e) { - Ji(v, [e]), Zi(e, i), Zi(e, a) - }, onBeforeAppear(e) { - Ji(x, [e]), Zi(e, l), Zi(e, c) - }, onEnter: C(!1), onAppear: C(!0), onLeave(e, t) { - e._isLeaving = !0; - const n = () => A(e, t); - Zi(e, d), document.body.offsetHeight, Zi(e, p), ta((() => { - e._isLeaving && (ea(e, d), Zi(e, f), Gi(_) || oa(e, o, g, n)) - })), Ji(_, [e, n]) - }, onEnterCancelled(e) { - k(e, !1), Ji(y, [e]) - }, onAppearCancelled(e) { - k(e, !0), Ji(E, [e]) - }, onLeaveCancelled(e) { - A(e), Ji(w, [e]) - } - }) -}(e), t); -Xi.displayName = "Transition"; -const Yi = { - name: String, - type: String, - css: {type: Boolean, default: !0}, - duration: [String, Number, Object], - enterFromClass: String, - enterActiveClass: String, - enterToClass: String, - appearFromClass: String, - appearActiveClass: String, - appearToClass: String, - leaveFromClass: String, - leaveActiveClass: String, - leaveToClass: String -}; -Xi.props = S({}, oo, Yi); -const Ji = (e, t = []) => { - C(e) ? e.forEach((e => e(...t))) : e && e(...t) -}, Gi = e => !!e && (C(e) ? e.some((e => e.length > 1)) : e.length > 1); - -function Ki(e) { - const t = (e => { - const t = I(e) ? Number(e) : NaN; - return isNaN(t) ? e : t - })(e); - return t -} - -function Zi(e, t) { - t.split(/\s+/).forEach((t => t && e.classList.add(t))), (e._vtc || (e._vtc = new Set)).add(t) -} - -function ea(e, t) { - t.split(/\s+/).forEach((t => t && e.classList.remove(t))); - const {_vtc: n} = e; - n && (n.delete(t), n.size || (e._vtc = void 0)) -} - -function ta(e) { - requestAnimationFrame((() => { - requestAnimationFrame(e) - })) -} - -let na = 0; - -function oa(e, t, n, o) { - const r = e._endId = ++na, i = () => { - r === e._endId && o() - }; - if (n) return setTimeout(i, n); - const {type: a, timeout: s, propCount: l} = function (e, t) { - const n = window.getComputedStyle(e), o = e => (n[e] || "").split(", "), r = o("transitionDelay"), - i = o("transitionDuration"), a = ra(r, i), s = o("animationDelay"), l = o("animationDuration"), - c = ra(s, l); - let u = null, d = 0, p = 0; - t === Ui ? a > 0 && (u = Ui, d = a, p = i.length) : "animation" === t ? c > 0 && (u = "animation", d = c, p = l.length) : (d = Math.max(a, c), u = d > 0 ? a > c ? Ui : "animation" : null, p = u ? u === Ui ? i.length : l.length : 0); - const f = u === Ui && /\b(transform|all)(,|$)/.test(o("transitionProperty").toString()); - return {type: u, timeout: d, propCount: p, hasTransform: f} - }(e, t); - if (!a) return o(); - const c = a + "end"; - let u = 0; - const d = () => { - e.removeEventListener(c, p), i() - }, p = t => { - t.target === e && ++u >= l && d() - }; - setTimeout((() => { - u < l && d() - }), s + 1), e.addEventListener(c, p) -} - -function ra(e, t) { - for (; e.length < t.length;) e = e.concat(e); - return Math.max(...t.map(((t, n) => ia(t) + ia(e[n])))) -} - -function ia(e) { - return 1e3 * Number(e.slice(0, -1).replace(",", ".")) -} - -const aa = e => { - const t = e.props["onUpdate:modelValue"] || !1; - return C(t) ? e => J(t, e) : t -}; - -function sa(e) { - e.target.composing = !0 -} - -function la(e) { - const t = e.target; - t.composing && (t.composing = !1, t.dispatchEvent(new Event("input"))) -} - -const ca = { - created(e, {modifiers: {lazy: t, trim: n, number: o}}, r) { - e._assign = aa(r); - const i = o || r.props && "number" === r.props.type; - zi(e, t ? "change" : "input", (t => { - if (t.target.composing) return; - let o = e.value; - n && (o = o.trim()), i && (o = K(o)), e._assign(o) - })), n && zi(e, "change", (() => { - e.value = e.value.trim() - })), t || (zi(e, "compositionstart", sa), zi(e, "compositionend", la), zi(e, "change", la)) - }, mounted(e, {value: t}) { - e.value = null == t ? "" : t - }, beforeUpdate(e, {value: t, modifiers: {lazy: n, trim: o, number: r}}, i) { - if (e._assign = aa(i), e.composing) return; - if (document.activeElement === e && "range" !== e.type) { - if (n) return; - if (o && e.value.trim() === t) return; - if ((r || "number" === e.type) && K(e.value) === t) return - } - const a = null == t ? "" : t; - e.value !== a && (e.value = a) - } -}, ua = { - deep: !0, created(e, t, n) { - e._assign = aa(n), zi(e, "change", (() => { - const t = e._modelValue, n = ma(e), o = e.checked, r = e._assign; - if (C(t)) { - const e = h(t, n), i = -1 !== e; - if (o && !i) r(t.concat(n)); else if (!o && i) { - const n = [...t]; - n.splice(e, 1), r(n) - } - } else if (P(t)) { - const e = new Set(t); - o ? e.add(n) : e.delete(n), r(e) - } else r(ga(e, o)) - })) - }, mounted: da, beforeUpdate(e, t, n) { - e._assign = aa(n), da(e, t, n) - } -}; - -function da(e, {value: t, oldValue: n}, o) { - e._modelValue = t, C(t) ? e.checked = h(t, o.props.value) > -1 : P(t) ? e.checked = t.has(o.props.value) : t !== n && (e.checked = f(t, ga(e, !0))) -} - -const pa = { - created(e, {value: t}, n) { - e.checked = f(t, n.props.value), e._assign = aa(n), zi(e, "change", (() => { - e._assign(ma(e)) - })) - }, beforeUpdate(e, {value: t, oldValue: n}, o) { - e._assign = aa(o), t !== n && (e.checked = f(t, o.props.value)) - } -}, fa = { - deep: !0, created(e, {value: t, modifiers: {number: n}}, o) { - const r = P(t); - zi(e, "change", (() => { - const t = Array.prototype.filter.call(e.options, (e => e.selected)).map((e => n ? K(ma(e)) : ma(e))); - e._assign(e.multiple ? r ? new Set(t) : t : t[0]) - })), e._assign = aa(o) - }, mounted(e, {value: t}) { - ha(e, t) - }, beforeUpdate(e, t, n) { - e._assign = aa(n) - }, updated(e, {value: t}) { - ha(e, t) - } -}; - -function ha(e, t) { - const n = e.multiple; - if (!n || C(t) || P(t)) { - for (let o = 0, r = e.options.length; o < r; o++) { - const r = e.options[o], i = ma(r); - if (n) C(t) ? r.selected = h(t, i) > -1 : r.selected = t.has(i); else if (f(ma(r), t)) return void (e.selectedIndex !== o && (e.selectedIndex = o)) - } - n || -1 === e.selectedIndex || (e.selectedIndex = -1) - } -} - -function ma(e) { - return "_value" in e ? e._value : e.value -} - -function ga(e, t) { - const n = t ? "_trueValue" : "_falseValue"; - return n in e ? e[n] : t -} - -const va = { - created(e, t, n) { - ba(e, t, n, null, "created") - }, mounted(e, t, n) { - ba(e, t, n, null, "mounted") - }, beforeUpdate(e, t, n, o) { - ba(e, t, n, o, "beforeUpdate") - }, updated(e, t, n, o) { - ba(e, t, n, o, "updated") - } -}; - -function ba(e, t, n, o, r) { - const i = function (e, t) { - switch (e) { - case"SELECT": - return fa; - case"TEXTAREA": - return ca; - default: - switch (t) { - case"checkbox": - return ua; - case"radio": - return pa; - default: - return ca - } - } - }(e.tagName, n.props && n.props.type)[r]; - i && i(e, t, n, o) -} - -const ya = ["ctrl", "shift", "alt", "meta"], _a = { - stop: e => e.stopPropagation(), - prevent: e => e.preventDefault(), - self: e => e.target !== e.currentTarget, - ctrl: e => !e.ctrlKey, - shift: e => !e.shiftKey, - alt: e => !e.altKey, - meta: e => !e.metaKey, - left: e => "button" in e && 0 !== e.button, - middle: e => "button" in e && 1 !== e.button, - right: e => "button" in e && 2 !== e.button, - exact: (e, t) => ya.some((n => e[`${n}Key`] && !t.includes(n))) -}, wa = (e, t) => (n, ...o) => { - for (let e = 0; e < t.length; e++) { - const o = _a[t[e]]; - if (o && o(n, t)) return - } - return e(n, ...o) -}, xa = { - beforeMount(e, {value: t}, {transition: n}) { - e._vod = "none" === e.style.display ? "" : e.style.display, n && t ? n.beforeEnter(e) : Ta(e, t) - }, mounted(e, {value: t}, {transition: n}) { - n && t && n.enter(e) - }, updated(e, {value: t, oldValue: n}, {transition: o}) { - !t != !n && (o ? t ? (o.beforeEnter(e), Ta(e, !0), o.enter(e)) : o.leave(e, (() => { - Ta(e, !1) - })) : Ta(e, t)) - }, beforeUnmount(e, {value: t}) { - Ta(e, t) - } -}; - -function Ta(e, t) { - e.style.display = t ? e._vod : "none" -} - -const Sa = S({ - patchProp: (e, t, n, o, r = !1, i, a, s, l) => { - if (0 === t.indexOf("change:")) return function (e, t, n, o = null) { - if (!n || !o) return; - const r = t.replace("change:", ""), {attrs: i} = o, a = i[r], s = (e.__wxsProps || (e.__wxsProps = {}))[r]; - if (s === a) return; - e.__wxsProps[r] = a; - const l = o.proxy; - kn((() => { - n(a, s, l.$gcd(l, !0), l.$gcd(l, !1)) - })) - }(e, t, o, a); - "class" === t ? function (e, t, n) { - const {__wxsAddClass: o, __wxsRemoveClass: r} = e; - r && r.length && (t = (t || "").split(/\s+/).filter((e => -1 === r.indexOf(e))).join(" "), r.length = 0), o && o.length && (t = (t || "") + " " + o.join(" ")); - const i = e._vtc; - i && (t = (t ? [t, ...i] : [...i]).join(" ")), null == t ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t - }(e, o, r) : "style" === t ? function (e, t, n) { - const o = e.style, r = I(n); - if (n && !r) { - if (t && !I(t)) for (const e in t) null == n[e] && Ci(o, e, ""); - for (const e in n) Ci(o, e, n[e]) - } else { - const i = o.display; - r ? t !== n && (o.cssText = n) : t && e.removeAttribute("style"), "_vod" in e && (o.display = i) - } - const {__wxsStyle: i} = e; - if (i) for (const a in i) Ci(o, a, i[a]) - }(e, n, o) : x(t) ? T(t) || Hi(e, t, 0, o, a) : ("." === t[0] ? (t = t.slice(1), 1) : "^" === t[0] ? (t = t.slice(1), 0) : function (e, t, n, o) { - if (o) return "innerHTML" === t || "textContent" === t || !!(t in e && Qi.test(t) && O(n)); - if ("spellcheck" === t || "draggable" === t || "translate" === t) return !1; - if ("form" === t) return !1; - if ("list" === t && "INPUT" === e.tagName) return !1; - if ("type" === t && "TEXTAREA" === e.tagName) return !1; - if (Qi.test(t) && I(n)) return !1; - return t in e - }(e, t, o, r)) ? function (e, t, n, o, r, i, a) { - if ("innerHTML" === t || "textContent" === t) return o && a(o, r, i), void (e[t] = null == n ? "" : n); - if ("value" === t && "PROGRESS" !== e.tagName && !e.tagName.includes("-")) { - e._value = n; - const o = null == n ? "" : n; - return e.value === o && "OPTION" !== e.tagName || (e.value = o), void (null == n && e.removeAttribute(t)) - } - let s = !1; - if ("" === n || null == n) { - const o = typeof e[t]; - "boolean" === o ? n = p(n) : null == n && "string" === o ? (n = "", s = !0) : "number" === o && (n = 0, s = !0) - } - try { - e[t] = n - } catch (l) { - } - s && e.removeAttribute(t) - }(e, t, o, i, a, s, l) : ("true-value" === t ? e._trueValue = o : "false-value" === t && (e._falseValue = o), function (e, t, n, o, r) { - if (o && t.startsWith("xlink:")) null == n ? e.removeAttributeNS(Di, t.slice(6, t.length)) : e.setAttributeNS(Di, t, n); else { - const o = d(t); - null == n || o && !p(n) ? e.removeAttribute(t) : e.setAttribute(t, o ? "" : n) - } - }(e, t, o, r)) - }, - forcePatchProp: (e, t) => 0 === t.indexOf("change:") || ("class" === t && e.__wxsClassChanged ? (e.__wxsClassChanged = !1, !0) : !("style" !== t || !e.__wxsStyleChanged) && (e.__wxsStyleChanged = !1, !0)) -}, ki); -let Ea; -const ka = (...e) => { - const t = (Ea || (Ea = Lr(Sa))).createApp(...e), {mount: n} = t; - return t.mount = e => { - const o = function (e) { - if (I(e)) { - return document.querySelector(e) - } - return e - }(e); - if (!o) return; - const r = t._component; - O(r) || r.render || r.template || (r.template = o.innerHTML), o.innerHTML = ""; - const i = n(o, !1, o instanceof SVGElement); - return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), i - }, t -}; -const Aa = ["{", "}"]; -const Ca = /^(?:\d)+/, Ba = /^(?:\w)+/; -const Pa = Object.prototype.hasOwnProperty, La = (e, t) => Pa.call(e, t), Oa = new class { - constructor() { - this._caches = Object.create(null) - } - - interpolate(e, t, n = Aa) { - if (!t) return [e]; - let o = this._caches[e]; - return o || (o = function (e, [t, n]) { - const o = []; - let r = 0, i = ""; - for (; r < e.length;) { - let a = e[r++]; - if (a === t) { - i && o.push({type: "text", value: i}), i = ""; - let t = ""; - for (a = e[r++]; void 0 !== a && a !== n;) t += a, a = e[r++]; - const s = a === n, l = Ca.test(t) ? "list" : s && Ba.test(t) ? "named" : "unknown"; - o.push({value: t, type: l}) - } else i += a - } - return i && o.push({type: "text", value: i}), o - }(e, n), this._caches[e] = o), function (e, t) { - const n = []; - let o = 0; - const r = Array.isArray(t) ? "list" : (i = t, null !== i && "object" == typeof i ? "named" : "unknown"); - var i; - if ("unknown" === r) return n; - for (; o < e.length;) { - const i = e[o]; - switch (i.type) { - case"text": - n.push(i.value); - break; - case"list": - n.push(t[parseInt(i.value, 10)]); - break; - case"named": - "named" === r && n.push(t[i.value]) - } - o++ - } - return n - }(o, t) - } -}; - -function Ia(e, t) { - if (!e) return; - if (e = e.trim().replace(/_/g, "-"), t && t[e]) return e; - if ("chinese" === (e = e.toLowerCase())) return "zh-Hans"; - if (0 === e.indexOf("zh")) return e.indexOf("-hans") > -1 ? "zh-Hans" : e.indexOf("-hant") > -1 ? "zh-Hant" : (n = e, ["-tw", "-hk", "-mo", "-cht"].find((e => -1 !== n.indexOf(e))) ? "zh-Hant" : "zh-Hans"); - var n; - let o = ["en", "fr", "es"]; - t && Object.keys(t).length > 0 && (o = Object.keys(t)); - const r = function (e, t) { - return t.find((t => 0 === e.indexOf(t))) - }(e, o); - return r || void 0 -} - -class Ma { - constructor({locale: e, fallbackLocale: t, messages: n, watcher: o, formater: r}) { - this.locale = "en", this.fallbackLocale = "en", this.message = {}, this.messages = {}, this.watchers = [], t && (this.fallbackLocale = t), this.formater = r || Oa, this.messages = n || {}, this.setLocale(e || "en"), o && this.watchLocale(o) - } - - setLocale(e) { - const t = this.locale; - this.locale = Ia(e, this.messages) || this.fallbackLocale, this.messages[this.locale] || (this.messages[this.locale] = {}), this.message = this.messages[this.locale], t !== this.locale && this.watchers.forEach((e => { - e(this.locale, t) - })) - } - - getLocale() { - return this.locale - } - - watchLocale(e) { - const t = this.watchers.push(e) - 1; - return () => { - this.watchers.splice(t, 1) - } - } - - add(e, t, n = !0) { - const o = this.messages[e]; - o ? n ? Object.assign(o, t) : Object.keys(t).forEach((e => { - La(o, e) || (o[e] = t[e]) - })) : this.messages[e] = t - } - - f(e, t, n) { - return this.formater.interpolate(e, t, n).join("") - } - - t(e, t, n) { - let o = this.message; - return "string" == typeof t ? (t = Ia(t, this.messages)) && (o = this.messages[t]) : n = t, La(o, e) ? this.formater.interpolate(o[e], n).join("") : (console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`), e) - } -} - -function Fa(e, t = {}, n, o) { - "string" != typeof e && ([e, t] = [t, e]), "string" != typeof e && (e = "undefined" != typeof uni && Ud ? Ud() : "undefined" != typeof global && global.getLocale ? global.getLocale() : "en"), "string" != typeof n && (n = "undefined" != typeof __uniConfig && __uniConfig.fallbackLocale || "en"); - const r = new Ma({locale: e, fallbackLocale: n, messages: t, watcher: o}); - let i = (e, t) => { - { - let e = !1; - i = function (t, n) { - const o = dm().$vm; - return o && (o.$locale, e || (e = !0, function (e, t) { - e.$watchLocale ? e.$watchLocale((e => { - t.setLocale(e) - })) : e.$watch((() => e.$locale), (e => { - t.setLocale(e) - })) - }(o, r))), r.t(t, n) - } - } - return i(e, t) - }; - return { - i18n: r, - f: (e, t, n) => r.f(e, t, n), - t: (e, t) => i(e, t), - add: (e, t, n = !0) => r.add(e, t, n), - watch: e => r.watchLocale(e), - getLocale: () => r.getLocale(), - setLocale: e => r.setLocale(e) - } -} - -function ja(e, t) { - return e.indexOf(t[0]) > -1 -} - -/*! - * vue-router v4.1.6 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */ -const Ra = "undefined" != typeof window; -const Na = Object.assign; - -function Da(e, t) { - const n = {}; - for (const o in t) { - const r = t[o]; - n[o] = Ha(r) ? r.map(e) : e(r) - } - return n -} - -const za = () => { -}, Ha = Array.isArray, qa = /\/$/; - -function Va(e, t, n = "/") { - let o, r = {}, i = "", a = ""; - const s = t.indexOf("#"); - let l = t.indexOf("?"); - return s < l && s >= 0 && (l = -1), l > -1 && (o = t.slice(0, l), i = t.slice(l + 1, s > -1 ? s : t.length), r = e(i)), s > -1 && (o = o || t.slice(0, s), a = t.slice(s, t.length)), o = function (e, t) { - if (e.startsWith("/")) return e; - if (!e) return t; - const n = t.split("/"), o = e.split("/"); - let r, i, a = n.length - 1; - for (r = 0; r < o.length; r++) if (i = o[r], "." !== i) { - if (".." !== i) break; - a > 1 && a-- - } - return n.slice(0, a).join("/") + "/" + o.slice(r - (r === o.length ? 1 : 0)).join("/") - }(null != o ? o : t, n), {fullPath: o + (i && "?") + i + a, path: o, query: r, hash: a} -} - -function Wa(e, t) { - return t && e.toLowerCase().startsWith(t.toLowerCase()) ? e.slice(t.length) || "/" : e -} - -function $a(e, t) { - return (e.aliasOf || e) === (t.aliasOf || t) -} - -function Qa(e, t) { - if (Object.keys(e).length !== Object.keys(t).length) return !1; - for (const n in e) if (!Ua(e[n], t[n])) return !1; - return !0 -} - -function Ua(e, t) { - return Ha(e) ? Xa(e, t) : Ha(t) ? Xa(t, e) : e === t -} - -function Xa(e, t) { - return Ha(t) ? e.length === t.length && e.every(((e, n) => e === t[n])) : 1 === e.length && e[0] === t -} - -var Ya, Ja, Ga, Ka; - -function Za(e) { - if (!e) if (Ra) { - const t = document.querySelector("base"); - e = (e = t && t.getAttribute("href") || "/").replace(/^\w+:\/\/[^\/]+/, "") - } else e = "/"; - return "/" !== e[0] && "#" !== e[0] && (e = "/" + e), e.replace(qa, "") -} - -(Ja = Ya || (Ya = {})).pop = "pop", Ja.push = "push", (Ka = Ga || (Ga = {})).back = "back", Ka.forward = "forward", Ka.unknown = ""; -const es = /^[^#]+#/; - -function ts(e, t) { - return e.replace(es, "#") + t -} - -const ns = () => ({left: window.pageXOffset, top: window.pageYOffset}); - -function os(e) { - let t; - if ("el" in e) { - const n = e.el, o = "string" == typeof n && n.startsWith("#"), - r = "string" == typeof n ? o ? document.getElementById(n.slice(1)) : document.querySelector(n) : n; - if (!r) return; - t = function (e, t) { - const n = document.documentElement.getBoundingClientRect(), o = e.getBoundingClientRect(); - return {behavior: t.behavior, left: o.left - n.left - (t.left || 0), top: o.top - n.top - (t.top || 0)} - }(r, e) - } else t = e; - "scrollBehavior" in document.documentElement.style ? window.scrollTo(t) : window.scrollTo(null != t.left ? t.left : window.pageXOffset, null != t.top ? t.top : window.pageYOffset) -} - -function rs(e, t) { - return (history.state ? history.state.position - t : -1) + e -} - -const is = new Map; - -function as(e, t) { - const {pathname: n, search: o, hash: r} = t, i = e.indexOf("#"); - if (i > -1) { - let t = r.includes(e.slice(i)) ? e.slice(i).length : 1, n = r.slice(t); - return "/" !== n[0] && (n = "/" + n), Wa(n, "") - } - return Wa(n, e) + o + r -} - -function ss(e, t, n, o = !1, r = !1) { - return {back: e, current: t, forward: n, replaced: o, position: window.history.length, scroll: r ? ns() : null} -} - -function ls(e) { - const {history: t, location: n} = window, o = {value: as(e, n)}, r = {value: t.state}; - - function i(o, i, a) { - const s = e.indexOf("#"), - l = s > -1 ? (n.host && document.querySelector("base") ? e : e.slice(s)) + o : location.protocol + "//" + location.host + e + o; - try { - t[a ? "replaceState" : "pushState"](i, "", l), r.value = i - } catch (c) { - console.error(c), n[a ? "replace" : "assign"](l) - } - } - - return r.value || i(o.value, { - back: null, - current: o.value, - forward: null, - position: t.length - 1, - replaced: !0, - scroll: null - }, !0), { - location: o, state: r, push: function (e, n) { - const a = Na({}, r.value, t.state, {forward: e, scroll: ns()}); - i(a.current, a, !0), i(e, Na({}, ss(o.value, e, null), {position: a.position + 1}, n), !1), o.value = e - }, replace: function (e, n) { - i(e, Na({}, t.state, ss(r.value.back, e, r.value.forward, !0), n, {position: r.value.position}), !0), o.value = e - } - } -} - -function cs(e) { - const t = ls(e = Za(e)), n = function (e, t, n, o) { - let r = [], i = [], a = null; - const s = ({state: i}) => { - const s = as(e, location), l = n.value, c = t.value; - let u = 0; - if (i) { - if (n.value = s, t.value = i, a && a === l) return void (a = null); - u = c ? i.position - c.position : 0 - } else o(s); - r.forEach((e => { - e(n.value, l, {delta: u, type: Ya.pop, direction: u ? u > 0 ? Ga.forward : Ga.back : Ga.unknown}) - })) - }; - - function l() { - const {history: e} = window; - e.state && e.replaceState(Na({}, e.state, {scroll: ns()}), "") - } - - return window.addEventListener("popstate", s), window.addEventListener("beforeunload", l), { - pauseListeners: function () { - a = n.value - }, listen: function (e) { - r.push(e); - const t = () => { - const t = r.indexOf(e); - t > -1 && r.splice(t, 1) - }; - return i.push(t), t - }, destroy: function () { - for (const e of i) e(); - i = [], window.removeEventListener("popstate", s), window.removeEventListener("beforeunload", l) - } - } - }(e, t.state, t.location, t.replace); - const o = Na({ - location: "", base: e, go: function (e, t = !0) { - t || n.pauseListeners(), history.go(e) - }, createHref: ts.bind(null, e) - }, t, n); - return Object.defineProperty(o, "location", { - enumerable: !0, - get: () => t.location.value - }), Object.defineProperty(o, "state", {enumerable: !0, get: () => t.state.value}), o -} - -function us(e) { - return "string" == typeof e || "symbol" == typeof e -} - -const ds = { - path: "/", - name: void 0, - params: {}, - query: {}, - hash: "", - fullPath: "/", - matched: [], - meta: {}, - redirectedFrom: void 0 -}, ps = Symbol(""); -var fs, hs; - -function ms(e, t) { - return Na(new Error, {type: e, [ps]: !0}, t) -} - -function gs(e, t) { - return e instanceof Error && ps in e && (null == t || !!(e.type & t)) -} - -(hs = fs || (fs = {}))[hs.aborted = 4] = "aborted", hs[hs.cancelled = 8] = "cancelled", hs[hs.duplicated = 16] = "duplicated"; -const vs = {sensitive: !1, strict: !1, start: !0, end: !0}, bs = /[.+*?^${}()[\]/\\]/g; - -function ys(e, t) { - let n = 0; - for (; n < e.length && n < t.length;) { - const o = t[n] - e[n]; - if (o) return o; - n++ - } - return e.length < t.length ? 1 === e.length && 80 === e[0] ? -1 : 1 : e.length > t.length ? 1 === t.length && 80 === t[0] ? 1 : -1 : 0 -} - -function _s(e, t) { - let n = 0; - const o = e.score, r = t.score; - for (; n < o.length && n < r.length;) { - const e = ys(o[n], r[n]); - if (e) return e; - n++ - } - if (1 === Math.abs(r.length - o.length)) { - if (ws(o)) return 1; - if (ws(r)) return -1 - } - return r.length - o.length -} - -function ws(e) { - const t = e[e.length - 1]; - return e.length > 0 && t[t.length - 1] < 0 -} - -const xs = {type: 0, value: ""}, Ts = /[a-zA-Z0-9_]/; - -function Ss(e, t, n) { - const o = function (e, t) { - const n = Na({}, vs, t), o = []; - let r = n.start ? "^" : ""; - const i = []; - for (const l of e) { - const e = l.length ? [] : [90]; - n.strict && !l.length && (r += "/"); - for (let t = 0; t < l.length; t++) { - const o = l[t]; - let a = 40 + (n.sensitive ? .25 : 0); - if (0 === o.type) t || (r += "/"), r += o.value.replace(bs, "\\$&"), a += 40; else if (1 === o.type) { - const {value: e, repeatable: n, optional: c, regexp: u} = o; - i.push({name: e, repeatable: n, optional: c}); - const d = u || "[^/]+?"; - if ("[^/]+?" !== d) { - a += 10; - try { - new RegExp(`(${d})`) - } catch (s) { - throw new Error(`Invalid custom RegExp for param "${e}" (${d}): ` + s.message) - } - } - let p = n ? `((?:${d})(?:/(?:${d}))*)` : `(${d})`; - t || (p = c && l.length < 2 ? `(?:/${p})` : "/" + p), c && (p += "?"), r += p, a += 20, c && (a += -8), n && (a += -20), ".*" === d && (a += -50) - } - e.push(a) - } - o.push(e) - } - if (n.strict && n.end) { - const e = o.length - 1; - o[e][o[e].length - 1] += .7000000000000001 - } - n.strict || (r += "/?"), n.end ? r += "$" : n.strict && (r += "(?:/|$)"); - const a = new RegExp(r, n.sensitive ? "" : "i"); - return { - re: a, score: o, keys: i, parse: function (e) { - const t = e.match(a), n = {}; - if (!t) return null; - for (let o = 1; o < t.length; o++) { - const e = t[o] || "", r = i[o - 1]; - n[r.name] = e && r.repeatable ? e.split("/") : e - } - return n - }, stringify: function (t) { - let n = "", o = !1; - for (const r of e) { - o && n.endsWith("/") || (n += "/"), o = !1; - for (const e of r) if (0 === e.type) n += e.value; else if (1 === e.type) { - const {value: i, repeatable: a, optional: s} = e, l = i in t ? t[i] : ""; - if (Ha(l) && !a) throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`); - const c = Ha(l) ? l.join("/") : l; - if (!c) { - if (!s) throw new Error(`Missing required param "${i}"`); - r.length < 2 && (n.endsWith("/") ? n = n.slice(0, -1) : o = !0) - } - n += c - } - } - return n || "/" - } - } - }(function (e) { - if (!e) return [[]]; - if ("/" === e) return [[xs]]; - if (!e.startsWith("/")) throw new Error(`Invalid path "${e}"`); - - function t(e) { - throw new Error(`ERR (${n})/"${c}": ${e}`) - } - - let n = 0, o = n; - const r = []; - let i; - - function a() { - i && r.push(i), i = [] - } - - let s, l = 0, c = "", u = ""; - - function d() { - c && (0 === n ? i.push({ - type: 0, - value: c - }) : 1 === n || 2 === n || 3 === n ? (i.length > 1 && ("*" === s || "+" === s) && t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`), i.push({ - type: 1, - value: c, - regexp: u, - repeatable: "*" === s || "+" === s, - optional: "*" === s || "?" === s - })) : t("Invalid state to consume buffer"), c = "") - } - - function p() { - c += s - } - - for (; l < e.length;) if (s = e[l++], "\\" !== s || 2 === n) switch (n) { - case 0: - "/" === s ? (c && d(), a()) : ":" === s ? (d(), n = 1) : p(); - break; - case 4: - p(), n = o; - break; - case 1: - "(" === s ? n = 2 : Ts.test(s) ? p() : (d(), n = 0, "*" !== s && "?" !== s && "+" !== s && l--); - break; - case 2: - ")" === s ? "\\" == u[u.length - 1] ? u = u.slice(0, -1) + s : n = 3 : u += s; - break; - case 3: - d(), n = 0, "*" !== s && "?" !== s && "+" !== s && l--, u = ""; - break; - default: - t("Unknown state") - } else o = n, n = 4; - return 2 === n && t(`Unfinished custom RegExp for param "${c}"`), d(), a(), r - }(e.path), n), r = Na(o, {record: e, parent: t, children: [], alias: []}); - return t && !r.record.aliasOf == !t.record.aliasOf && t.children.push(r), r -} - -function Es(e, t) { - const n = [], o = new Map; - - function r(e, n, o) { - const s = !o, l = function (e) { - return { - path: e.path, - redirect: e.redirect, - name: e.name, - meta: e.meta || {}, - aliasOf: void 0, - beforeEnter: e.beforeEnter, - props: As(e), - children: e.children || [], - instances: {}, - leaveGuards: new Set, - updateGuards: new Set, - enterCallbacks: {}, - components: "components" in e ? e.components || null : e.component && {default: e.component} - } - }(e); - l.aliasOf = o && o.record; - const c = Ps(t, e), u = [l]; - if ("alias" in e) { - const t = "string" == typeof e.alias ? [e.alias] : e.alias; - for (const e of t) u.push(Na({}, l, { - components: o ? o.record.components : l.components, - path: e, - aliasOf: o ? o.record : l - })) - } - let d, p; - for (const t of u) { - const {path: u} = t; - if (n && "/" !== u[0]) { - const e = n.record.path, o = "/" === e[e.length - 1] ? "" : "/"; - t.path = n.record.path + (u && o + u) - } - if (d = Ss(t, n, c), o ? o.alias.push(d) : (p = p || d, p !== d && p.alias.push(d), s && e.name && !Cs(d) && i(e.name)), l.children) { - const e = l.children; - for (let t = 0; t < e.length; t++) r(e[t], d, o && o.children[t]) - } - o = o || d, (d.record.components && Object.keys(d.record.components).length || d.record.name || d.record.redirect) && a(d) - } - return p ? () => { - i(p) - } : za - } - - function i(e) { - if (us(e)) { - const t = o.get(e); - t && (o.delete(e), n.splice(n.indexOf(t), 1), t.children.forEach(i), t.alias.forEach(i)) - } else { - const t = n.indexOf(e); - t > -1 && (n.splice(t, 1), e.record.name && o.delete(e.record.name), e.children.forEach(i), e.alias.forEach(i)) - } - } - - function a(e) { - let t = 0; - for (; t < n.length && _s(e, n[t]) >= 0 && (e.record.path !== n[t].record.path || !Ls(e, n[t]));) t++; - n.splice(t, 0, e), e.record.name && !Cs(e) && o.set(e.record.name, e) - } - - return t = Ps({strict: !1, end: !0, sensitive: !1}, t), e.forEach((e => r(e))), { - addRoute: r, - resolve: function (e, t) { - let r, i, a, s = {}; - if ("name" in e && e.name) { - if (r = o.get(e.name), !r) throw ms(1, {location: e}); - a = r.record.name, s = Na(ks(t.params, r.keys.filter((e => !e.optional)).map((e => e.name))), e.params && ks(e.params, r.keys.map((e => e.name)))), i = r.stringify(s) - } else if ("path" in e) i = e.path, r = n.find((e => e.re.test(i))), r && (s = r.parse(i), a = r.record.name); else { - if (r = t.name ? o.get(t.name) : n.find((e => e.re.test(t.path))), !r) throw ms(1, { - location: e, - currentLocation: t - }); - a = r.record.name, s = Na({}, t.params, e.params), i = r.stringify(s) - } - const l = []; - let c = r; - for (; c;) l.unshift(c.record), c = c.parent; - return {name: a, path: i, params: s, matched: l, meta: Bs(l)} - }, - removeRoute: i, - getRoutes: function () { - return n - }, - getRecordMatcher: function (e) { - return o.get(e) - } - } -} - -function ks(e, t) { - const n = {}; - for (const o of t) o in e && (n[o] = e[o]); - return n -} - -function As(e) { - const t = {}, n = e.props || !1; - if ("component" in e) t.default = n; else for (const o in e.components) t[o] = "boolean" == typeof n ? n : n[o]; - return t -} - -function Cs(e) { - for (; e;) { - if (e.record.aliasOf) return !0; - e = e.parent - } - return !1 -} - -function Bs(e) { - return e.reduce(((e, t) => Na(e, t.meta)), {}) -} - -function Ps(e, t) { - const n = {}; - for (const o in e) n[o] = o in t ? t[o] : e[o]; - return n -} - -function Ls(e, t) { - return t.children.some((t => t === e || Ls(e, t))) -} - -const Os = /#/g, Is = /&/g, Ms = /\//g, Fs = /=/g, js = /\?/g, Rs = /\+/g, Ns = /%5B/g, Ds = /%5D/g, zs = /%5E/g, - Hs = /%60/g, qs = /%7B/g, Vs = /%7C/g, Ws = /%7D/g, $s = /%20/g; - -function Qs(e) { - return encodeURI("" + e).replace(Vs, "|").replace(Ns, "[").replace(Ds, "]") -} - -function Us(e) { - return Qs(e).replace(Rs, "%2B").replace($s, "+").replace(Os, "%23").replace(Is, "%26").replace(Hs, "`").replace(qs, "{").replace(Ws, "}").replace(zs, "^") -} - -function Xs(e) { - return null == e ? "" : function (e) { - return Qs(e).replace(Os, "%23").replace(js, "%3F") - }(e).replace(Ms, "%2F") -} - -function Ys(e) { - try { - return decodeURIComponent("" + e) - } catch (t) { - } - return "" + e -} - -function Js(e) { - const t = {}; - if ("" === e || "?" === e) return t; - const n = ("?" === e[0] ? e.slice(1) : e).split("&"); - for (let o = 0; o < n.length; ++o) { - const e = n[o].replace(Rs, " "), r = e.indexOf("="), i = Ys(r < 0 ? e : e.slice(0, r)), - a = r < 0 ? null : Ys(e.slice(r + 1)); - if (i in t) { - let e = t[i]; - Ha(e) || (e = t[i] = [e]), e.push(a) - } else t[i] = a - } - return t -} - -function Gs(e) { - let t = ""; - for (let n in e) { - const o = e[n]; - if (n = Us(n).replace(Fs, "%3D"), null == o) { - void 0 !== o && (t += (t.length ? "&" : "") + n); - continue - } - (Ha(o) ? o.map((e => e && Us(e))) : [o && Us(o)]).forEach((e => { - void 0 !== e && (t += (t.length ? "&" : "") + n, null != e && (t += "=" + e)) - })) - } - return t -} - -function Ks(e) { - const t = {}; - for (const n in e) { - const o = e[n]; - void 0 !== o && (t[n] = Ha(o) ? o.map((e => null == e ? null : "" + e)) : null == o ? o : "" + o) - } - return t -} - -const Zs = Symbol(""), el = Symbol(""), tl = Symbol(""), nl = Symbol(""), ol = Symbol(""); - -function rl() { - let e = []; - return { - add: function (t) { - return e.push(t), () => { - const n = e.indexOf(t); - n > -1 && e.splice(n, 1) - } - }, list: () => e, reset: function () { - e = [] - } - } -} - -function il(e, t, n, o, r) { - const i = o && (o.enterCallbacks[r] = o.enterCallbacks[r] || []); - return () => new Promise(((a, s) => { - const l = e => { - var l; - !1 === e ? s(ms(4, { - from: n, - to: t - })) : e instanceof Error ? s(e) : "string" == typeof (l = e) || l && "object" == typeof l ? s(ms(2, { - from: t, - to: e - })) : (i && o.enterCallbacks[r] === i && "function" == typeof e && i.push(e), a()) - }, c = e.call(o && o.instances[r], t, n, l); - let u = Promise.resolve(c); - e.length < 3 && (u = u.then(l)), u.catch((e => s(e))) - })) -} - -function al(e, t, n, o) { - const r = []; - for (const a of e) for (const e in a.components) { - let s = a.components[e]; - if ("beforeRouteEnter" === t || a.instances[e]) if ("object" == typeof (i = s) || "displayName" in i || "props" in i || "__vccOpts" in i) { - const i = (s.__vccOpts || s)[t]; - i && r.push(il(i, n, o, a, e)) - } else { - let i = s(); - r.push((() => i.then((r => { - if (!r) return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`)); - const i = (s = r).__esModule || "Module" === s[Symbol.toStringTag] ? r.default : r; - var s; - a.components[e] = i; - const l = (i.__vccOpts || i)[t]; - return l && il(l, n, o, a, e)() - })))) - } - } - var i; - return r -} - -function sl(e) { - const t = Xn(tl), n = Xn(nl), o = yi((() => t.resolve(sn(e.to)))), r = yi((() => { - const {matched: e} = o.value, {length: t} = e, r = e[t - 1], i = n.matched; - if (!r || !i.length) return -1; - const a = i.findIndex($a.bind(null, r)); - if (a > -1) return a; - const s = cl(e[t - 2]); - return t > 1 && cl(r) === s && i[i.length - 1].path !== s ? i.findIndex($a.bind(null, e[t - 2])) : a - })), i = yi((() => r.value > -1 && function (e, t) { - for (const n in t) { - const o = t[n], r = e[n]; - if ("string" == typeof o) { - if (o !== r) return !1 - } else if (!Ha(r) || r.length !== o.length || o.some(((e, t) => e !== r[t]))) return !1 - } - return !0 - }(n.params, o.value.params))), - a = yi((() => r.value > -1 && r.value === n.matched.length - 1 && Qa(n.params, o.value.params))); - return { - route: o, href: yi((() => o.value.href)), isActive: i, isExactActive: a, navigate: function (n = {}) { - return function (e) { - if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return; - if (e.defaultPrevented) return; - if (void 0 !== e.button && 0 !== e.button) return; - if (e.currentTarget && e.currentTarget.getAttribute) { - const t = e.currentTarget.getAttribute("target"); - if (/\b_blank\b/i.test(t)) return - } - e.preventDefault && e.preventDefault(); - return !0 - }(n) ? t[sn(e.replace) ? "replace" : "push"](sn(e.to)).catch(za) : Promise.resolve() - } - } -} - -const ll = po({ - name: "RouterLink", - compatConfig: {MODE: 3}, - props: { - to: {type: [String, Object], required: !0}, - replace: Boolean, - activeClass: String, - exactActiveClass: String, - custom: Boolean, - ariaCurrentValue: {type: String, default: "page"} - }, - useLink: sl, - setup(e, {slots: t}) { - const n = qt(sl(e)), {options: o} = Xn(tl), r = yi((() => ({ - [ul(e.activeClass, o.linkActiveClass, "router-link-active")]: n.isActive, - [ul(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: n.isExactActive - }))); - return () => { - const o = t.default && t.default(n); - return e.custom ? o : _i("a", { - "aria-current": n.isExactActive ? e.ariaCurrentValue : null, - href: n.href, - onClick: n.navigate, - class: r.value - }, o) - } - } -}); - -function cl(e) { - return e ? e.aliasOf ? e.aliasOf.path : e.path : "" -} - -const ul = (e, t, n) => null != e ? e : null != t ? t : n; - -function dl(e, t) { - if (!e) return null; - const n = e(t); - return 1 === n.length ? n[0] : n -} - -const pl = po({ - name: "RouterView", - inheritAttrs: !1, - props: {name: {type: String, default: "default"}, route: Object}, - compatConfig: {MODE: 3}, - setup(e, {attrs: t, slots: n}) { - const o = Xn(ol), r = yi((() => e.route || o.value)), i = Xn(el, 0), a = yi((() => { - let e = sn(i); - const {matched: t} = r.value; - let n; - for (; (n = t[e]) && !n.components;) e++; - return e - })), s = yi((() => r.value.matched[a.value])); - Un(el, yi((() => a.value + 1))), Un(Zs, s), Un(ol, r); - const l = nn(); - return Gn((() => [l.value, s.value, e.name]), (([e, t, n], [o, r, i]) => { - t && (t.instances[n] = e, r && r !== t && e && e === o && (t.leaveGuards.size || (t.leaveGuards = r.leaveGuards), t.updateGuards.size || (t.updateGuards = r.updateGuards))), !e || !t || r && $a(t, r) && o || (t.enterCallbacks[n] || []).forEach((t => t(e))) - }), {flush: "post"}), () => { - const o = r.value, i = e.name, a = s.value, c = a && a.components[i]; - if (!c) return dl(n.default, {Component: c, route: o}); - const u = a.props[i], d = u ? !0 === u ? o.params : "function" == typeof u ? u(o) : u : null, - p = _i(c, Na({}, d, t, { - onVnodeUnmounted: e => { - e.component.isUnmounted && (a.instances[i] = null) - }, ref: l - })); - return dl(n.default, {Component: p, route: o}) || p - } - } -}); - -function fl(e) { - const t = Es(e.routes, e), n = e.parseQuery || Js, o = e.stringifyQuery || Gs, r = e.history, i = rl(), a = rl(), - s = rl(), l = on(ds); - let c = ds; - Ra && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual"); - const u = Da.bind(null, (e => "" + e)), d = Da.bind(null, Xs), p = Da.bind(null, Ys); - - function f(e, i) { - if (i = Na({}, i || l.value), "string" == typeof e) { - const o = Va(n, e, i.path), a = t.resolve({path: o.path}, i), s = r.createHref(o.fullPath); - return Na(o, a, {params: p(a.params), hash: Ys(o.hash), redirectedFrom: void 0, href: s}) - } - let a; - if ("path" in e) a = Na({}, e, {path: Va(n, e.path, i.path).path}); else { - const t = Na({}, e.params); - for (const e in t) null == t[e] && delete t[e]; - a = Na({}, e, {params: d(e.params)}), i.params = d(i.params) - } - const s = t.resolve(a, i), c = e.hash || ""; - s.params = u(p(s.params)); - const f = function (e, t) { - const n = t.query ? e(t.query) : ""; - return t.path + (n && "?") + n + (t.hash || "") - }(o, Na({}, e, {hash: (h = c, Qs(h).replace(qs, "{").replace(Ws, "}").replace(zs, "^")), path: s.path})); - var h; - const m = r.createHref(f); - return Na({fullPath: f, hash: c, query: o === Gs ? Ks(e.query) : e.query || {}}, s, { - redirectedFrom: void 0, - href: m - }) - } - - function h(e) { - return "string" == typeof e ? Va(n, e, l.value.path) : Na({}, e) - } - - function m(e, t) { - if (c !== e) return ms(8, {from: t, to: e}) - } - - function g(e) { - return b(e) - } - - function v(e) { - const t = e.matched[e.matched.length - 1]; - if (t && t.redirect) { - const {redirect: n} = t; - let o = "function" == typeof n ? n(e) : n; - return "string" == typeof o && (o = o.includes("?") || o.includes("#") ? o = h(o) : {path: o}, o.params = {}), Na({ - query: e.query, - hash: e.hash, - params: "path" in o ? {} : e.params - }, o) - } - } - - function b(e, t) { - const n = c = f(e), r = l.value, i = e.state, a = e.force, s = !0 === e.replace, u = v(n); - if (u) return b(Na(h(u), {state: "object" == typeof u ? Na({}, i, u.state) : i, force: a, replace: s}), t || n); - const d = n; - let p; - return d.redirectedFrom = t, !a && function (e, t, n) { - const o = t.matched.length - 1, r = n.matched.length - 1; - return o > -1 && o === r && $a(t.matched[o], n.matched[r]) && Qa(t.params, n.params) && e(t.query) === e(n.query) && t.hash === n.hash - }(o, r, n) && (p = ms(16, { - to: d, - from: r - }), P(r, r, !0, !1)), (p ? Promise.resolve(p) : _(d, r)).catch((e => gs(e) ? gs(e, 2) ? e : B(e) : C(e, d, r))).then((e => { - if (e) { - if (gs(e, 2)) return b(Na({replace: s}, h(e.to), { - state: "object" == typeof e.to ? Na({}, i, e.to.state) : i, - force: a - }), t || d) - } else e = x(d, r, !0, s, i); - return w(d, r, e), e - })) - } - - function y(e, t) { - const n = m(e, t); - return n ? Promise.reject(n) : Promise.resolve() - } - - function _(e, t) { - let n; - const [o, r, s] = function (e, t) { - const n = [], o = [], r = [], i = Math.max(t.matched.length, e.matched.length); - for (let a = 0; a < i; a++) { - const i = t.matched[a]; - i && (e.matched.find((e => $a(e, i))) ? o.push(i) : n.push(i)); - const s = e.matched[a]; - s && (t.matched.find((e => $a(e, s))) || r.push(s)) - } - return [n, o, r] - }(e, t); - n = al(o.reverse(), "beforeRouteLeave", e, t); - for (const i of o) i.leaveGuards.forEach((o => { - n.push(il(o, e, t)) - })); - const l = y.bind(null, e, t); - return n.push(l), hl(n).then((() => { - n = []; - for (const o of i.list()) n.push(il(o, e, t)); - return n.push(l), hl(n) - })).then((() => { - n = al(r, "beforeRouteUpdate", e, t); - for (const o of r) o.updateGuards.forEach((o => { - n.push(il(o, e, t)) - })); - return n.push(l), hl(n) - })).then((() => { - n = []; - for (const o of e.matched) if (o.beforeEnter && !t.matched.includes(o)) if (Ha(o.beforeEnter)) for (const r of o.beforeEnter) n.push(il(r, e, t)); else n.push(il(o.beforeEnter, e, t)); - return n.push(l), hl(n) - })).then((() => (e.matched.forEach((e => e.enterCallbacks = {})), n = al(s, "beforeRouteEnter", e, t), n.push(l), hl(n)))).then((() => { - n = []; - for (const o of a.list()) n.push(il(o, e, t)); - return n.push(l), hl(n) - })).catch((e => gs(e, 8) ? e : Promise.reject(e))) - } - - function w(e, t, n) { - for (const o of s.list()) o(e, t, n) - } - - function x(e, t, n, o, i) { - const a = m(e, t); - if (a) return a; - const s = t === ds, c = Ra ? history.state : {}; - n && (o || s ? r.replace(e.fullPath, Na({scroll: s && c && c.scroll}, i)) : r.push(e.fullPath, i)), l.value = e, P(e, t, n, s), B() - } - - let T; - - function S() { - T || (T = r.listen(((e, t, n) => { - if (!M.listening) return; - const o = f(e), i = v(o); - if (i) return void b(Na(i, {replace: !0}), o).catch(za); - c = o; - const a = l.value; - var s, u; - Ra && (s = rs(a.fullPath, n.delta), u = ns(), is.set(s, u)), _(o, a).catch((e => gs(e, 12) ? e : gs(e, 2) ? (b(e.to, o).then((e => { - gs(e, 20) && !n.delta && n.type === Ya.pop && r.go(-1, !1) - })).catch(za), Promise.reject()) : (n.delta && r.go(-n.delta, !1), C(e, o, a)))).then((e => { - (e = e || x(o, a, !1)) && (n.delta && !gs(e, 8) ? r.go(-n.delta, !1) : n.type === Ya.pop && gs(e, 20) && r.go(-1, !1)), w(o, a, e) - })).catch(za) - }))) - } - - let E, k = rl(), A = rl(); - - function C(e, t, n) { - B(e); - const o = A.list(); - return o.length ? o.forEach((o => o(e, t, n))) : console.error(e), Promise.reject(e) - } - - function B(e) { - return E || (E = !e, S(), k.list().forEach((([t, n]) => e ? n(e) : t())), k.reset()), e - } - - function P(t, n, o, r) { - const {scrollBehavior: i} = e; - if (!Ra || !i) return Promise.resolve(); - const a = !o && function (e) { - const t = is.get(e); - return is.delete(e), t - }(rs(t.fullPath, 0)) || (r || !o) && history.state && history.state.scroll || null; - return kn().then((() => i(t, n, a))).then((e => e && os(e))).catch((e => C(e, t, n))) - } - - const L = e => r.go(e); - let O; - const I = new Set, M = { - currentRoute: l, - listening: !0, - addRoute: function (e, n) { - let o, r; - return us(e) ? (o = t.getRecordMatcher(e), r = n) : r = e, t.addRoute(r, o) - }, - removeRoute: function (e) { - const n = t.getRecordMatcher(e); - n && t.removeRoute(n) - }, - hasRoute: function (e) { - return !!t.getRecordMatcher(e) - }, - getRoutes: function () { - return t.getRoutes().map((e => e.record)) - }, - resolve: f, - options: e, - push: g, - replace: function (e) { - return g(Na(h(e), {replace: !0})) - }, - go: L, - back: () => L(-1), - forward: () => L(1), - beforeEach: i.add, - beforeResolve: a.add, - afterEach: s.add, - onError: A.add, - isReady: function () { - return E && l.value !== ds ? Promise.resolve() : new Promise(((e, t) => { - k.add([e, t]) - })) - }, - install(e) { - e.component("RouterLink", ll), e.component("RouterView", pl), e.config.globalProperties.$router = this, Object.defineProperty(e.config.globalProperties, "$route", { - enumerable: !0, - get: () => sn(l) - }), Ra && !O && l.value === ds && (O = !0, g(r.location).catch((e => { - }))); - const t = {}; - for (const o in ds) t[o] = yi((() => l.value[o])); - e.provide(tl, this), e.provide(nl, qt(t)), e.provide(ol, l); - const n = e.unmount; - I.add(e), e.unmount = function () { - I.delete(e), I.size < 1 && (c = ds, T && T(), T = null, l.value = ds, O = !1, E = !1), n() - } - } - }; - return M -} - -function hl(e) { - return e.reduce(((e, t) => e.then((() => t()))), Promise.resolve()) -} - -function ml() { - return Xn(nl) -} - -const gl = de((() => "undefined" != typeof __uniConfig && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length)); -let vl; - -function bl(e) { - return ja(e, te) ? wl().f(e, function () { - const e = Ud(), t = __uniConfig.locales; - return t[e] || t[__uniConfig.fallbackLocale] || t.en || {} - }(), te) : e -} - -function yl(e, t) { - if (1 === t.length) { - if (e) { - const n = e => I(e) && ja(e, te), o = t[0]; - let r = []; - if (C(e) && (r = e.filter((e => n(e[o])))).length) return r; - const i = e[t[0]]; - if (n(i)) return e - } - return - } - const n = t.shift(); - return yl(e && e[n], t) -} - -function _l(e, t) { - const n = yl(e, t); - if (!n) return !1; - const o = t[t.length - 1]; - if (C(n)) n.forEach((e => _l(e, [o]))); else { - let e = n[o]; - Object.defineProperty(n, o, { - get: () => bl(e), set(t) { - e = t - } - }) - } - return !0 -} - -function wl() { - if (!vl) { - let e; - if (e = navigator.cookieEnabled && window.localStorage && localStorage.UNI_LOCALE || __uniConfig.locale || navigator.language, vl = Fa(e), gl()) { - const t = Object.keys(__uniConfig.locales || {}); - t.length && t.forEach((e => vl.add(e, __uniConfig.locales[e]))), vl.setLocale(e) - } - } - return vl -} - -function xl(e, t, n) { - return t.reduce(((t, o, r) => (t[e + o] = n[r], t)), {}) -} - -const Tl = de((() => { - const e = "uni.async.", t = ["error"]; - wl().add("en", xl(e, t, ["The connection timed out, click the screen to try again."]), !1), wl().add("es", xl(e, t, ["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]), !1), wl().add("fr", xl(e, t, ["La connexion a expiré, cliquez sur l'écran pour réessayer."]), !1), wl().add("zh-Hans", xl(e, t, ["连接服务器超时,点击屏幕重试"]), !1), wl().add("zh-Hant", xl(e, t, ["連接服務器超時,點擊屏幕重試"]), !1) -})), Sl = de((() => { - const e = "uni.showToast.", t = ["unpaired"]; - wl().add("en", xl(e, t, ["Please note showToast must be paired with hideToast"]), !1), wl().add("es", xl(e, t, ["Tenga en cuenta que showToast debe estar emparejado con hideToast"]), !1), wl().add("fr", xl(e, t, ["Veuillez noter que showToast doit être associé à hideToast"]), !1), wl().add("zh-Hans", xl(e, t, ["请注意 showToast 与 hideToast 必须配对使用"]), !1), wl().add("zh-Hant", xl(e, t, ["請注意 showToast 與 hideToast 必須配對使用"]), !1) -})), El = de((() => { - const e = "uni.showLoading.", t = ["unpaired"]; - wl().add("en", xl(e, t, ["Please note showLoading must be paired with hideLoading"]), !1), wl().add("es", xl(e, t, ["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]), !1), wl().add("fr", xl(e, t, ["Veuillez noter que showLoading doit être associé à hideLoading"]), !1), wl().add("zh-Hans", xl(e, t, ["请注意 showLoading 与 hideLoading 必须配对使用"]), !1), wl().add("zh-Hant", xl(e, t, ["請注意 showLoading 與 hideLoading 必須配對使用"]), !1) -})), kl = de((() => { - const e = "uni.chooseFile.", t = ["notUserActivation"]; - wl().add("en", xl(e, t, ["File chooser dialog can only be shown with a user activation"]), !1), wl().add("es", xl(e, t, ["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]), !1), wl().add("fr", xl(e, t, ["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]), !1), wl().add("zh-Hans", xl(e, t, ["文件选择器对话框只能在用户激活时显示"]), !1), wl().add("zh-Hant", xl(e, t, ["文件選擇器對話框只能在用戶激活時顯示"]), !1) -})), Al = de((() => { - const e = "uni.video.", t = ["danmu", "volume"]; - wl().add("en", xl(e, t, ["Danmu", "Volume"]), !1), wl().add("es", xl(e, t, ["Danmu", "Volumen"]), !1), wl().add("fr", xl(e, t, ["Danmu", "Le Volume"]), !1), wl().add("zh-Hans", xl(e, t, ["弹幕", "音量"]), !1), wl().add("zh-Hant", xl(e, t, ["彈幕", "音量"]), !1) -})); - -function Cl(e) { - if (gl()) return t = e, [["titleText"], ["searchInput", "placeholder"], ["buttons", "text"]].map((e => _l(t, e))); - var t -} - -function Bl(e) { - const t = new Pe; - return { - on: (e, n) => t.on(e, n), - once: (e, n) => t.once(e, n), - off: (e, n) => t.off(e, n), - emit: (e, ...n) => t.emit(e, ...n), - subscribe(n, o, r = !1) { - t[r ? "once" : "on"](`${e}.${n}`, o) - }, - unsubscribe(n, o) { - t.off(`${e}.${n}`, o) - }, - subscribeHandler(n, o, r) { - t.emit(`${e}.${n}`, o, r) - } - } -} - -let Pl = 1; -const Ll = Object.create(null); - -function Ol(e, t) { - return e + "." + t -} - -function Il(e, t, n) { - t = Ol(e, t), Ll[t] || (Ll[t] = n) -} - -function Ml({id: e, name: t, args: n}, o) { - t = Ol(o, t); - const r = t => { - e && pv.publishHandler("invokeViewApi." + e, t) - }, i = Ll[t]; - i ? i(n, r) : r({}) -} - -const Fl = S(Bl("service"), { - invokeServiceMethod: (e, t, n) => { - const {subscribe: o, publishHandler: r} = pv, i = n ? Pl++ : 0; - n && o("invokeServiceApi." + i, n, !0), r("invokeServiceApi", {id: i, name: e, args: t}) - } -}), jl = ge(!0); -let Rl; - -function Nl() { - Rl && (clearTimeout(Rl), Rl = null) -} - -let Dl = 0, zl = 0; - -function Hl(e) { - if (Nl(), 1 !== e.touches.length) return; - const {pageX: t, pageY: n} = e.touches[0]; - Dl = t, zl = n, Rl = setTimeout((function () { - const t = new CustomEvent("longpress", { - bubbles: !0, - cancelable: !0, - target: e.target, - currentTarget: e.currentTarget - }); - t.touches = e.touches, t.changedTouches = e.changedTouches, e.target.dispatchEvent(t) - }), 350) -} - -function ql(e) { - if (!Rl) return; - if (1 !== e.touches.length) return Nl(); - const {pageX: t, pageY: n} = e.touches[0]; - return Math.abs(t - Dl) > 10 || Math.abs(n - zl) > 10 ? Nl() : void 0 -} - -function Vl(e, t) { - const n = Number(e); - return isNaN(n) ? t : n -} - -function Wl() { - const e = __uniConfig.globalStyle || {}, t = Vl(e.rpxCalcMaxDeviceWidth, 960), - n = Vl(e.rpxCalcBaseDeviceWidth, 375); - - function o() { - let e = function () { - const e = /^Apple/.test(navigator.vendor) && "number" == typeof window.orientation, - t = e && 90 === Math.abs(window.orientation); - var n = e ? Math[t ? "max" : "min"](screen.width, screen.height) : screen.width; - return Math.min(window.innerWidth, document.documentElement.clientWidth, n) || n - }(); - e = e <= t ? e : n, document.documentElement.style.fontSize = e / 23.4375 + "px" - } - - o(), document.addEventListener("DOMContentLoaded", o), window.addEventListener("load", o), window.addEventListener("resize", o) -} - -function $l() { - Wl(), fe(), window.addEventListener("touchstart", Hl, jl), window.addEventListener("touchmove", ql, jl), window.addEventListener("touchend", Nl, jl), window.addEventListener("touchcancel", Nl, jl) -} - -var Ql, Ul, Xl = ["top", "left", "right", "bottom"], Yl = {}; - -function Jl() { - return Ul = "CSS" in window && "function" == typeof CSS.supports ? CSS.supports("top: env(safe-area-inset-top)") ? "env" : CSS.supports("top: constant(safe-area-inset-top)") ? "constant" : "" : "" -} - -function Gl() { - if (Ul = "string" == typeof Ul ? Ul : Jl()) { - var e = [], t = !1; - try { - var n = Object.defineProperty({}, "passive", { - get: function () { - t = {passive: !0} - } - }); - window.addEventListener("test", null, n) - } catch (s) { - } - var o = document.createElement("div"); - r(o, { - position: "absolute", - left: "0", - top: "0", - width: "0", - height: "0", - zIndex: "-1", - overflow: "hidden", - visibility: "hidden" - }), Xl.forEach((function (e) { - a(o, e) - })), document.body.appendChild(o), i(), Ql = !0 - } else Xl.forEach((function (e) { - Yl[e] = 0 - })); - - function r(e, t) { - var n = e.style; - Object.keys(t).forEach((function (e) { - var o = t[e]; - n[e] = o - })) - } - - function i(t) { - t ? e.push(t) : e.forEach((function (e) { - e() - })) - } - - function a(e, n) { - var o = document.createElement("div"), a = document.createElement("div"), s = document.createElement("div"), - l = document.createElement("div"), c = { - position: "absolute", - width: "100px", - height: "200px", - boxSizing: "border-box", - overflow: "hidden", - paddingBottom: Ul + "(safe-area-inset-" + n + ")" - }; - r(o, c), r(a, c), r(s, { - transition: "0s", - animation: "none", - width: "400px", - height: "400px" - }), r(l, { - transition: "0s", - animation: "none", - width: "250%", - height: "250%" - }), o.appendChild(s), a.appendChild(l), e.appendChild(o), e.appendChild(a), i((function () { - o.scrollTop = a.scrollTop = 1e4; - var e = o.scrollTop, r = a.scrollTop; - - function i() { - this.scrollTop !== (this === o ? e : r) && (o.scrollTop = a.scrollTop = 1e4, e = o.scrollTop, r = a.scrollTop, function (e) { - Zl.length || setTimeout((function () { - var e = {}; - Zl.forEach((function (t) { - e[t] = Yl[t] - })), Zl.length = 0, ec.forEach((function (t) { - t(e) - })) - }), 0); - Zl.push(e) - }(n)) - } - - o.addEventListener("scroll", i, t), a.addEventListener("scroll", i, t) - })); - var u = getComputedStyle(o); - Object.defineProperty(Yl, n, { - configurable: !0, get: function () { - return parseFloat(u.paddingBottom) - } - }) - } -} - -function Kl(e) { - return Ql || Gl(), Yl[e] -} - -var Zl = []; -var ec = []; -var tc = { - get support() { - return 0 != ("string" == typeof Ul ? Ul : Jl()).length - }, get top() { - return Kl("top") - }, get left() { - return Kl("left") - }, get right() { - return Kl("right") - }, get bottom() { - return Kl("bottom") - }, onChange: function (e) { - Jl() && (Ql || Gl(), "function" == typeof e && ec.push(e)) - }, offChange: function (e) { - var t = ec.indexOf(e); - t >= 0 && ec.splice(t, 1) - } -}; -const nc = wa((() => { -}), ["prevent"]); - -function oc(e, t) { - return parseInt((e.getPropertyValue(t).match(/\d+/) || ["0"])[0]) -} - -function rc() { - const e = oc(document.documentElement.style, "--window-top"); - return e ? e + tc.top : 0 -} - -function ic() { - const e = document.documentElement.style, t = rc(), n = oc(e, "--window-bottom"), o = oc(e, "--window-left"), - r = oc(e, "--window-right"), i = oc(e, "--top-window-height"); - return { - top: t, - bottom: n ? n + tc.bottom : 0, - left: o ? o + tc.left : 0, - right: r ? r + tc.right : 0, - topWindowHeight: i || 0 - } -} - -function ac(e) { - const t = document.documentElement.style; - Object.keys(e).forEach((n => { - t.setProperty(n, e[n]) - })) -} - -function sc(e) { - return ac(e) -} - -function lc(e) { - return Symbol(e) -} - -function cc(e) { - return -1 !== (e += "").indexOf("rpx") || -1 !== e.indexOf("upx") -} - -function uc(e, t = !1) { - if (t) return function (e) { - if (!cc(e)) return e; - return e.replace(/(\d+(\.\d+)?)[ru]px/g, ((e, t) => vd(parseFloat(t)) + "px")) - }(e); - if (I(e)) { - const t = parseInt(e) || 0; - return cc(e) ? vd(t) : t - } - return e -} - -const dc = "M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z", - pc = "M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z", - fc = "M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z"; - -function hc(e, t = "#000", n = 27) { - return Kr("svg", {width: n, height: n, viewBox: "0 0 32 32"}, [Kr("path", { - d: e, - fill: t - }, null, 8, ["d", "fill"])], 8, ["width", "height"]) -} - -function mc() { - { - const {$pageInstance: e} = ui(); - return e && e.proxy.$page.id - } -} - -function gc(e) { - const t = re(e); - if (t.$page) return t.$page.id; - if (t.$) { - const {$pageInstance: e} = t.$; - return e && e.proxy.$page.id - } -} - -function vc() { - const e = Hh(), t = e.length; - if (t) return e[t - 1] -} - -function bc() { - const e = vc(); - if (e) return e.$page.meta -} - -function yc() { - const e = bc(); - return e ? e.id : -1 -} - -function _c() { - const e = vc(); - if (e) return e.$vm -} - -const wc = ["navigationBar", "pullToRefresh"]; - -function xc(e, t) { - const n = JSON.parse(JSON.stringify(__uniConfig.globalStyle || {})), o = S({id: t}, n, e); - wc.forEach((t => { - o[t] = S({}, n[t], e[t]) - })); - const {navigationBar: r} = o; - return r.titleText && r.titleImage && (r.titleText = ""), o -} - -function Tc(e, t, n) { - if (I(e)) n = t, t = e, e = _c(); else if ("number" == typeof e) { - const t = Hh().find((t => t.$page.id === e)); - e = t ? t.$vm : _c() - } - if (!e) return; - const o = e.$[t]; - return o && ((e, t) => { - let n; - for (let o = 0; o < e.length; o++) n = e[o](t); - return n - })(o, n) -} - -function Sc(e) { - e.preventDefault() -} - -let Ec, kc = 0; - -function Ac({onPageScroll: e, onReachBottom: t, onReachBottomDistance: n}) { - let o = !1, r = !1, i = !0; - const a = () => { - function a() { - if ((() => { - const {scrollHeight: e} = document.documentElement, t = window.innerHeight, o = window.scrollY, - i = o > 0 && e > t && o + t + n >= e, a = Math.abs(e - kc) > n; - return !i || r && !a ? (!i && r && (r = !1), !1) : (kc = e, r = !0, !0) - })()) return t && t(), i = !1, setTimeout((function () { - i = !0 - }), 350), !0 - } - - e && e(window.pageYOffset), t && i && (a() || (Ec = setTimeout(a, 300))), o = !1 - }; - return function () { - clearTimeout(Ec), o || requestAnimationFrame(a), o = !0 - } -} - -function Cc(e, t) { - if (0 === t.indexOf("/")) return t; - if (0 === t.indexOf("./")) return Cc(e, t.slice(2)); - const n = t.split("/"), o = n.length; - let r = 0; - for (; r < o && ".." === n[r]; r++) ; - n.splice(0, r), t = n.join("/"); - const i = e.length > 0 ? e.split("/") : []; - return i.splice(i.length - r - 1, r + 1), le(i.concat(n).join("/")) -} - -function Bc(e, t = !1) { - return t ? __uniRoutes.find((t => t.path === e || t.alias === e)) : __uniRoutes.find((t => t.path === e)) -} - -class Pc { - constructor(e) { - this.$bindClass = !1, this.$bindStyle = !1, this.$vm = e, this.$el = function (e, t = !1) { - const {vnode: n} = e; - if (ae(n.el)) return t ? n.el ? [n.el] : [] : n.el; - const {subTree: o} = e; - if (16 & o.shapeFlag) { - const e = o.children.filter((e => e.el && ae(e.el))); - if (e.length > 0) return t ? e.map((e => e.el)) : e[0].el - } - return t ? n.el ? [n.el] : [] : n.el - }(e.$), this.$el.getAttribute && (this.$bindClass = !!this.$el.getAttribute("class"), this.$bindStyle = !!this.$el.getAttribute("style")) - } - - selectComponent(e) { - if (!this.$el || !e) return; - const t = Mc(this.$el.querySelector(e)); - return t ? Lc(t, !1) : void 0 - } - - selectAllComponents(e) { - if (!this.$el || !e) return []; - const t = [], n = this.$el.querySelectorAll(e); - for (let o = 0; o < n.length; o++) { - const e = Mc(n[o]); - e && t.push(Lc(e, !1)) - } - return t - } - - forceUpdate(e) { - "class" === e ? this.$bindClass ? (this.$el.__wxsClassChanged = !0, this.$vm.$forceUpdate()) : this.updateWxsClass() : "style" === e && (this.$bindStyle ? (this.$el.__wxsStyleChanged = !0, this.$vm.$forceUpdate()) : this.updateWxsStyle()) - } - - updateWxsClass() { - const {__wxsAddClass: e} = this.$el; - e.length && (this.$el.className = e.join(" ")) - } - - updateWxsStyle() { - const {__wxsStyle: e} = this.$el; - e && this.$el.setAttribute("style", function (e) { - let t = ""; - if (!e || I(e)) return t; - for (const n in e) { - const o = e[n], r = n.startsWith("--") ? n : Q(n); - (I(o) || "number" == typeof o) && (t += `${r}:${o};`) - } - return t - }(e)) - } - - setStyle(e) { - return this.$el && e ? (I(e) && (e = c(e)), D(e) && (this.$el.__wxsStyle = e, this.forceUpdate("style")), this) : this - } - - addClass(e) { - if (!this.$el || !e) return this; - const t = this.$el.__wxsAddClass || (this.$el.__wxsAddClass = []); - return -1 === t.indexOf(e) && (t.push(e), this.forceUpdate("class")), this - } - - removeClass(e) { - if (!this.$el || !e) return this; - const {__wxsAddClass: t} = this.$el; - if (t) { - const n = t.indexOf(e); - n > -1 && t.splice(n, 1) - } - const n = this.$el.__wxsRemoveClass || (this.$el.__wxsRemoveClass = []); - return -1 === n.indexOf(e) && (n.push(e), this.forceUpdate("class")), this - } - - hasClass(e) { - return this.$el && this.$el.classList.contains(e) - } - - getDataset() { - return this.$el && this.$el.dataset - } - - callMethod(e, t = {}) { - const n = this.$vm[e]; - O(n) ? n(JSON.parse(JSON.stringify(t))) : this.$vm.ownerId && pv.publishHandler("onWxsInvokeCallMethod", { - nodeId: this.$el.__id, - ownerId: this.$vm.ownerId, - method: e, - args: t - }) - } - - requestAnimationFrame(e) { - return window.requestAnimationFrame(e) - } - - getState() { - return this.$el && (this.$el.__wxsState || (this.$el.__wxsState = {})) - } - - triggerEvent(e, t = {}) { - return this.$vm.$emit(e, t), this - } - - getComputedStyle(e) { - if (this.$el) { - const t = window.getComputedStyle(this.$el); - return e && e.length ? e.reduce(((e, n) => (e[n] = t[n], e)), {}) : t - } - return {} - } - - setTimeout(e, t) { - return window.setTimeout(e, t) - } - - clearTimeout(e) { - return window.clearTimeout(e) - } - - getBoundingClientRect() { - return this.$el.getBoundingClientRect() - } -} - -function Lc(e, t = !0) { - if (t && e && (e = ie(e.$)), e && e.$el) return e.$el.__wxsComponentDescriptor || (e.$el.__wxsComponentDescriptor = new Pc(e)), e.$el.__wxsComponentDescriptor -} - -function Oc(e, t) { - return Lc(e, t) -} - -function Ic(e, t, n, o = !0) { - if (t) { - e.__instance || (e.__instance = !0, Object.defineProperty(e, "instance", {get: () => Oc(n.proxy, !1)})); - const r = function (e, t, n = !0) { - if (!t) return !1; - if (n && e.length < 2) return !1; - const o = ie(t); - if (!o) return !1; - const r = o.$.type; - return !(!r.$wxs && !r.$renderjs) && o - }(t, n, o); - if (r) return [e, Oc(r, !1)] - } -} - -function Mc(e) { - if (e) return e.__vueParentComponent && e.__vueParentComponent.proxy -} - -function Fc(e) { - for (; e && 0 !== e.tagName.indexOf("UNI-");) e = e.parentElement; - return e -} - -function jc(e, t = !1) { - const {type: n, timeStamp: o, target: r, currentTarget: i} = e, - a = {type: n, timeStamp: o, target: ve(t ? r : Fc(r)), detail: {}, currentTarget: ve(i)}; - return e._stopped && (a._stopped = !0), e.type.startsWith("touch") && (a.touches = e.touches, a.changedTouches = e.changedTouches), function (e, t) { - S(e, {preventDefault: () => t.preventDefault(), stopPropagation: () => t.stopPropagation()}) - }(a, e), a -} - -function Rc(e, t) { - return {force: 1, identifier: 0, clientX: e.clientX, clientY: e.clientY - t, pageX: e.pageX, pageY: e.pageY - t} -} - -function Nc(e, t) { - const n = []; - for (let o = 0; o < e.length; o++) { - const {identifier: r, pageX: i, pageY: a, clientX: s, clientY: l, force: c} = e[o]; - n.push({identifier: r, pageX: i, pageY: a - t, clientX: s, clientY: l - t, force: c || 0}) - } - return n -} - -const Dc = Object.defineProperty({ - __proto__: null, $nne: function (e, t, n) { - const {currentTarget: o} = e; - if (!(e instanceof Event && o instanceof HTMLElement)) return [e]; - const r = 0 !== o.tagName.indexOf("UNI-"); - if (r) return Ic(e, t, n, !1) || [e]; - const i = jc(e, r); - if ("click" === e.type) !function (e, t) { - const {x: n, y: o} = t, r = rc(); - e.detail = {x: n, y: o - r}, e.touches = e.changedTouches = [Rc(t, r)] - }(i, e); else if ((e => 0 === e.type.indexOf("mouse") || ["contextmenu"].includes(e.type))(e)) !function (e, t) { - const n = rc(); - e.pageX = t.pageX, e.pageY = t.pageY - n, e.clientX = t.clientX, e.clientY = t.clientY - n, e.touches = e.changedTouches = [Rc(t, n)] - }(i, e); else if ((e => "undefined" != typeof TouchEvent && e instanceof TouchEvent || 0 === e.type.indexOf("touch") || ["longpress"].indexOf(e.type) >= 0)(e)) { - const t = rc(); - i.touches = Nc(e.touches, t), i.changedTouches = Nc(e.changedTouches, t) - } - return Ic(i, t, n) || [i] - }, createNativeEvent: jc -}, Symbol.toStringTag, {value: "Module"}); - -function zc(e) { - !function (e) { - const t = e.globalProperties; - S(t, Dc), t.$gcd = Oc - }(e._context.config) -} - -let Hc = 1; - -function qc() { - return yc() + ".invokeViewApi" -} - -const Vc = S(Bl("view"), { - invokeOnCallback: (e, t) => fv.emit("api." + e, t), invokeViewMethod: (e, t, n, o) => { - const {subscribe: r, publishHandler: i} = fv, a = o ? Hc++ : 0; - o && r("invokeViewApi." + a, o, !0), i(qc(), {id: a, name: e, args: t}, n) - }, invokeViewMethodKeepAlive: (e, t, n, o) => { - const {subscribe: r, unsubscribe: i, publishHandler: a} = fv, s = Hc++, l = "invokeViewApi." + s; - return r(l, n), a(qc(), {id: s, name: e, args: t}, o), () => { - i(l) - } - } -}); - -function Wc(e) { - Tc(vc(), "onResize", e), fv.invokeOnCallback("onWindowResize", e) -} - -function $c(e) { - const t = vc(); - Tc(dm(), "onShow", e), Tc(t, "onShow") -} - -function Qc() { - Tc(dm(), "onHide"), Tc(vc(), "onHide") -} - -const Uc = ["onPageScroll", "onReachBottom"]; - -function Xc() { - Uc.forEach((e => fv.subscribe(e, function (e) { - return (t, n) => { - Tc(parseInt(n), e, t) - } - }(e)))) -} - -function Yc() { - !function () { - const {on: e} = fv; - e("onResize", Wc), e("onAppEnterForeground", $c), e("onAppEnterBackground", Qc) - }(), Xc() -} - -function Jc() { - if (this.$route) { - const e = this.$route.meta; - return e.eventChannel || (e.eventChannel = new Te(this.$page.id)), e.eventChannel - } -} - -function Gc(e) { - e._context.config.globalProperties.getOpenerEventChannel = Jc -} - -function Kc() { - return {path: "", query: {}, scene: 1001, referrerInfo: {appId: "", extraData: {}}} -} - -function Zc(e) { - return /^-?\d+[ur]px$/i.test(e) ? e.replace(/(^-?\d+)[ur]px$/i, ((e, t) => `${vd(parseFloat(t))}px`)) : /^-?[\d\.]+$/.test(e) ? `${e}px` : e || "" -} - -function eu(e) { - const t = e.animation; - if (!t || !t.actions || !t.actions.length) return; - let n = 0; - const o = t.actions, r = t.actions.length; - - function i() { - const t = o[n], a = t.option.transition, s = function (e) { - const t = ["matrix", "matrix3d", "scale", "scale3d", "rotate3d", "skew", "translate", "translate3d"], - n = ["scaleX", "scaleY", "scaleZ", "rotate", "rotateX", "rotateY", "rotateZ", "skewX", "skewY", "translateX", "translateY", "translateZ"], - o = ["opacity", "background-color"], r = ["width", "height", "left", "right", "top", "bottom"], - i = e.animates, a = e.option, s = a.transition, l = {}, c = []; - return i.forEach((e => { - let i = e.type, a = [...e.args]; - if (t.concat(n).includes(i)) i.startsWith("rotate") || i.startsWith("skew") ? a = a.map((e => parseFloat(e) + "deg")) : i.startsWith("translate") && (a = a.map(Zc)), n.indexOf(i) >= 0 && (a.length = 1), c.push(`${i}(${a.join(",")})`); else if (o.concat(r).includes(a[0])) { - i = a[0]; - const e = a[1]; - l[i] = r.includes(i) ? Zc(e) : e - } - })), l.transform = l.webkitTransform = c.join(" "), l.transition = l.webkitTransition = Object.keys(l).map((e => `${function (e) { - return e.replace(/[A-Z]/g, (e => `-${e.toLowerCase()}`)).replace("webkit", "-webkit") - }(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","), l.transformOrigin = l.webkitTransformOrigin = a.transformOrigin, l - }(t); - Object.keys(s).forEach((t => { - e.$el.style[t] = s[t] - })), n += 1, n < r && setTimeout(i, a.duration + a.delay) - } - - setTimeout((() => { - i() - }), 0) -} - -const tu = { - props: ["animation"], watch: { - animation: { - deep: !0, handler() { - eu(this) - } - } - }, mounted() { - eu(this) - } -}, nu = e => { - e.__reserved = !0; - const {props: t, mixins: n} = e; - return t && t.animation || (n || (e.mixins = [])).push(tu), ou(e) -}, ou = e => (e.__reserved = !0, e.compatConfig = {MODE: 3}, po(e)), ru = { - hoverClass: {type: String, default: "none"}, - hoverStopPropagation: {type: Boolean, default: !1}, - hoverStartTime: {type: [Number, String], default: 50}, - hoverStayTime: {type: [Number, String], default: 400} -}; - -function iu(e) { - const t = nn(!1); - let n, o, r = !1; - - function i() { - requestAnimationFrame((() => { - clearTimeout(o), o = setTimeout((() => { - t.value = !1 - }), parseInt(e.hoverStayTime)) - })) - } - - function a(o) { - o._hoverPropagationStopped || e.hoverClass && "none" !== e.hoverClass && !e.disabled && (e.hoverStopPropagation && (o._hoverPropagationStopped = !0), r = !0, n = setTimeout((() => { - t.value = !0, r || i() - }), parseInt(e.hoverStartTime))) - } - - function s() { - r = !1, t.value && i() - } - - function l() { - s(), window.removeEventListener("mouseup", l) - } - - return { - hovering: t, binding: { - onTouchstartPassive: function (e) { - e.touches.length > 1 || a(e) - }, onMousedown: function (e) { - r || (a(e), window.addEventListener("mouseup", l)) - }, onTouchend: function () { - s() - }, onMouseup: function () { - r && l() - }, onTouchcancel: function () { - r = !1, t.value = !1, clearTimeout(n) - } - } - } -} - -function au(e, t) { - return I(t) && (t = [t]), t.reduce(((t, n) => (e[n] && (t[n] = !0), t)), Object.create(null)) -} - -function su(e) { - return e.__wwe = !0, e -} - -function lu(e, t) { - return (n, o, r) => { - e.value && t(n, function (e, t, n, o) { - const r = ve(n); - return {type: o.type || e, timeStamp: t.timeStamp || 0, target: r, currentTarget: r, detail: o} - }(n, o, e.value, r || {})) - } -} - -const cu = lc("uf"), uu = lc("ul"); - -function du(e, t, n) { - const o = mc(); - n && !e || D(t) && Object.keys(t).forEach((r => { - n ? 0 !== r.indexOf("@") && 0 !== r.indexOf("uni-") && pv.on(`uni-${r}-${o}-${e}`, t[r]) : 0 === r.indexOf("uni-") ? pv.on(r, t[r]) : e && pv.on(`uni-${r}-${o}-${e}`, t[r]) - })) -} - -function pu(e, t, n) { - const o = mc(); - n && !e || D(t) && Object.keys(t).forEach((r => { - n ? 0 !== r.indexOf("@") && 0 !== r.indexOf("uni-") && pv.off(`uni-${r}-${o}-${e}`, t[r]) : 0 === r.indexOf("uni-") ? pv.off(r, t[r]) : e && pv.off(`uni-${r}-${o}-${e}`, t[r]) - })) -} - -const fu = nu({ - name: "Button", - props: { - id: {type: String, default: ""}, - hoverClass: {type: String, default: "button-hover"}, - hoverStartTime: {type: [Number, String], default: 20}, - hoverStayTime: {type: [Number, String], default: 70}, - hoverStopPropagation: {type: Boolean, default: !1}, - disabled: {type: [Boolean, String], default: !1}, - formType: {type: String, default: ""}, - openType: {type: String, default: ""}, - loading: {type: [Boolean, String], default: !1}, - plain: {type: [Boolean, String], default: !1} - }, - setup(e, {slots: t}) { - const n = nn(null), o = Xn(cu, !1), {hovering: r, binding: i} = iu(e); - wl(); - const a = su(((t, r) => { - if (e.disabled) return t.stopImmediatePropagation(); - r && n.value.click(); - const i = e.formType; - if (i) { - if (!o) return; - "submit" === i ? o.submit(t) : "reset" === i && o.reset(t) - } else ; - })), s = Xn(uu, !1); - return s && (s.addHandler(a), jo((() => { - s.removeHandler(a) - }))), function (e, t) { - du(e.id, t), Gn((() => e.id), ((e, n) => { - pu(n, t, !0), du(e, t, !0) - })), Ro((() => { - pu(e.id, t) - })) - }(e, {"label-click": a}), () => { - const o = e.hoverClass, s = au(e, "disabled"), l = au(e, "loading"), c = au(e, "plain"), - u = o && "none" !== o; - return Kr("uni-button", ii({ - ref: n, - onClick: a, - class: u && r.value ? o : "" - }, u && i, s, l, c), [t.default && t.default()], 16, ["onClick"]) - } - } -}); - -function hu(e) { - return e.$el -} - -function mu(e) { - const {base: t} = __uniConfig.router; - return 0 === le(e).indexOf(t) ? le(e) : t + e -} - -function gu(e) { - const {base: t, assets: n} = __uniConfig.router; - if ("./" === t && (0 === e.indexOf("./static/") || n && 0 === e.indexOf("./" + n + "/")) && (e = e.slice(1)), 0 === e.indexOf("/")) { - if (0 !== e.indexOf("//")) return mu(e.slice(1)); - e = "https:" + e - } - if (ne.test(e) || oe.test(e) || 0 === e.indexOf("blob:")) return e; - const o = Hh(); - return o.length ? mu(Cc(o[o.length - 1].$page.route, e).slice(1)) : e -} - -const vu = navigator.userAgent, bu = /android/i.test(vu), yu = /iphone|ipad|ipod/i.test(vu), - _u = vu.match(/Windows NT ([\d|\d.\d]*)/i), wu = /Macintosh|Mac/i.test(vu), xu = /Linux|X11/i.test(vu), - Tu = wu && navigator.maxTouchPoints > 0; - -function Su() { - return /^Apple/.test(navigator.vendor) && "number" == typeof window.orientation -} - -function Eu(e) { - return e && 90 === Math.abs(window.orientation) -} - -function ku(e, t) { - return e ? Math[t ? "max" : "min"](screen.width, screen.height) : screen.width -} - -function Au(e) { - return Math.min(window.innerWidth, document.documentElement.clientWidth, e) || e -} - -function Cu(e, t, n, o) { - fv.invokeViewMethod("video." + e, {videoId: e, type: n, data: o}, t) -} - -function Bu(e, t) { - const n = {}, {top: o, topWindowHeight: r} = ic(); - if (t.id && (n.id = e.id), t.dataset && (n.dataset = he(e)), t.rect || t.size) { - const i = e.getBoundingClientRect(); - t.rect && (n.left = i.left, n.right = i.right, n.top = i.top - o - r, n.bottom = i.bottom - o - r), t.size && (n.width = i.width, n.height = i.height) - } - if (C(t.properties) && t.properties.forEach((e => { - e = e.replace(/-([a-z])/g, (function (e, t) { - return t.toUpperCase() - })) - })), t.scrollOffset) if ("UNI-SCROLL-VIEW" === e.tagName) { - const t = e.children[0].children[0]; - n.scrollLeft = t.scrollLeft, n.scrollTop = t.scrollTop, n.scrollHeight = t.scrollHeight, n.scrollWidth = t.scrollWidth - } else n.scrollLeft = 0, n.scrollTop = 0, n.scrollHeight = 0, n.scrollWidth = 0; - if (C(t.computedStyle)) { - const o = getComputedStyle(e); - t.computedStyle.forEach((e => { - n[e] = o[e] - })) - } - return t.context && (n.contextInfo = function (e) { - return e.__uniContextInfo - }(e)), n -} - -function Pu(e, t) { - return (e.matches || e.matchesSelector || e.mozMatchesSelector || e.msMatchesSelector || e.oMatchesSelector || e.webkitMatchesSelector || function (e) { - const t = this.parentElement.querySelectorAll(e); - let n = t.length; - for (; --n >= 0 && t.item(n) !== this;) ; - return n > -1 - }).call(e, t) -} - -function Lu(e, t, n) { - const o = []; - t.forEach((({component: t, selector: n, single: r, fields: i}) => { - null === t ? o.push(function (e) { - const t = {}; - if (e.id && (t.id = ""), e.dataset && (t.dataset = {}), e.rect && (t.left = 0, t.right = 0, t.top = 0, t.bottom = 0), e.size && (t.width = document.documentElement.clientWidth, t.height = document.documentElement.clientHeight), e.scrollOffset) { - const e = document.documentElement, n = document.body; - t.scrollLeft = e.scrollLeft || n.scrollLeft || 0, t.scrollTop = e.scrollTop || n.scrollTop || 0, t.scrollHeight = e.scrollHeight || n.scrollHeight || 0, t.scrollWidth = e.scrollWidth || n.scrollWidth || 0 - } - return t - }(i)) : o.push(function (e, t, n, o, r) { - const i = function (e, t) { - return e ? e.$el : t.$el - }(t, e), a = i.parentElement; - if (!a) return o ? null : []; - const {nodeType: s} = i, l = 3 === s || 8 === s; - if (o) { - const e = l ? a.querySelector(n) : Pu(i, n) ? i : i.querySelector(n); - return e ? Bu(e, r) : null - } - { - let e = []; - const t = (l ? a : i).querySelectorAll(n); - return t && t.length && [].forEach.call(t, (t => { - e.push(Bu(t, r)) - })), !l && Pu(i, n) && e.unshift(Bu(i, r)), e - } - }(e, t, n, r, i)) - })), n(o) -} - -const Ou = ["original", "compressed"], Iu = ["album", "camera"], - Mu = ["GET", "OPTIONS", "HEAD", "POST", "PUT", "DELETE", "TRACE", "CONNECT", "PATCH"]; - -function Fu(e, t) { - return e && -1 !== t.indexOf(e) ? e : t[0] -} - -function ju(e, t) { - return !C(e) || 0 === e.length || e.find((e => -1 === t.indexOf(e))) ? t : e -} - -function Ru(e) { - return function () { - try { - return e.apply(e, arguments) - } catch (t) { - console.error(t) - } - } -} - -let Nu = 1; -const Du = {}; - -function zu(e, t, n) { - if ("number" == typeof e) { - const o = Du[e]; - if (o) return o.keepAlive || delete Du[e], o.callback(t, n) - } - return t -} - -const Hu = "success", qu = "fail", Vu = "complete"; - -function Wu(e, t = {}, {beforeAll: n, beforeSuccess: o} = {}) { - D(t) || (t = {}); - const {success: r, fail: i, complete: a} = function (e) { - const t = {}; - for (const n in e) { - const o = e[n]; - O(o) && (t[n] = Ru(o), delete e[n]) - } - return t - }(t), s = O(r), l = O(i), c = O(a), u = Nu++; - return function (e, t, n, o = !1) { - Du[e] = {name: t, keepAlive: o, callback: n} - }(u, e, (u => { - (u = u || {}).errMsg = function (e, t) { - return e && -1 !== e.indexOf(":fail") ? t + e.substring(e.indexOf(":fail")) : t + ":ok" - }(u.errMsg, e), O(n) && n(u), u.errMsg === e + ":ok" ? (O(o) && o(u, t), s && r(u)) : l && i(u), c && a(u) - })), u -} - -const $u = "success", Qu = "fail", Uu = "complete", Xu = {}, Yu = {}; - -function Ju(e, t) { - return function (n) { - return e(n, t) || n - } -} - -function Gu(e, t, n) { - let o = !1; - for (let r = 0; r < e.length; r++) { - const i = e[r]; - if (o) o = Promise.resolve(Ju(i, n)); else { - const e = i(t, n); - if (j(e) && (o = Promise.resolve(e)), !1 === e) return { - then() { - }, catch() { - } - } - } - } - return o || { - then: e => e(t), catch() { - } - } -} - -function Ku(e, t = {}) { - return [$u, Qu, Uu].forEach((n => { - const o = e[n]; - if (!C(o)) return; - const r = t[n]; - t[n] = function (e) { - Gu(o, e, t).then((e => O(r) && r(e) || e)) - } - })), t -} - -function Zu(e, t) { - const n = []; - C(Xu.returnValue) && n.push(...Xu.returnValue); - const o = Yu[e]; - return o && C(o.returnValue) && n.push(...o.returnValue), n.forEach((e => { - t = e(t) || t - })), t -} - -function ed(e) { - const t = Object.create(null); - Object.keys(Xu).forEach((e => { - "returnValue" !== e && (t[e] = Xu[e].slice()) - })); - const n = Yu[e]; - return n && Object.keys(n).forEach((e => { - "returnValue" !== e && (t[e] = (t[e] || []).concat(n[e])) - })), t -} - -function td(e, t, n, o) { - const r = ed(e); - if (r && Object.keys(r).length) { - if (C(r.invoke)) { - return Gu(r.invoke, n).then((n => t(Ku(ed(e), n), ...o))) - } - return t(Ku(r, n), ...o) - } - return t(n, ...o) -} - -function nd(e, t) { - return (n = {}, ...o) => function (e) { - return !(!D(e) || ![Hu, qu, Vu].find((t => O(e[t])))) - }(n) ? Zu(e, td(e, t, n, o)) : Zu(e, new Promise(((r, i) => { - td(e, t, S(n, {success: r, fail: i}), o) - }))) -} - -function od(e, t, n, o) { - return zu(e, S({errMsg: t + ":fail" + (n ? " " + n : "")}, o)) -} - -function rd(e, t, n, o) { - if (o && o.beforeInvoke) { - const e = o.beforeInvoke(t); - if (I(e)) return e - } - const r = function (e, t) { - const n = e[0]; - if (!t || !D(t.formatArgs) && D(n)) return; - const o = t.formatArgs, r = Object.keys(o); - for (let i = 0; i < r.length; i++) { - const t = r[i], a = o[t]; - if (O(a)) { - const o = a(e[0][t], n); - if (I(o)) return o - } else A(n, t) || (n[t] = a) - } - }(t, o); - if (r) return r -} - -function id(e, t, n, o) { - return n => { - const r = Wu(e, n, o), i = rd(0, [n], 0, o); - return i ? od(r, e, i) : t(n, { - resolve: t => function (e, t, n) { - return zu(e, S(n || {}, {errMsg: t + ":ok"})) - }(r, e, t), reject: (t, n) => od(r, e, function (e) { - return !e || I(e) ? e : e.stack ? (console.error(e.message + "\n" + e.stack), e.message) : e - }(t), n) - }) - } -} - -function ad(e, t, n, o) { - return nd(e, id(e, t, 0, o)) -} - -function sd(e, t, n, o) { - return function (e, t, n, o) { - return (...e) => { - const n = rd(0, e, 0, o); - if (n) throw new Error(n); - return t.apply(null, e) - } - }(0, t, 0, o) -} - -function ld(e, t, n, o) { - return nd(e, function (e, t, n, o) { - return id(e, t, 0, o) - }(e, t, 0, o)) -} - -let cd = !1, ud = 0, dd = 0, pd = 960, fd = 375, hd = 750; - -function md() { - const {platform: e, pixelRatio: t, windowWidth: n} = function () { - const e = Su(), t = Au(ku(e, Eu(e))); - return {platform: yu ? "ios" : "other", pixelRatio: window.devicePixelRatio, windowWidth: t} - }(); - ud = n, dd = t, cd = "ios" === e -} - -function gd(e, t) { - const n = Number(e); - return isNaN(n) ? t : n -} - -const vd = sd(0, ((e, t) => { - if (0 === ud && (md(), function () { - const e = __uniConfig.globalStyle || {}; - pd = gd(e.rpxCalcMaxDeviceWidth, 960), fd = gd(e.rpxCalcBaseDeviceWidth, 375), hd = gd(e.rpxCalcBaseDeviceWidth, 750) - }()), 0 === (e = Number(e))) return 0; - let n = t || ud; - n = e === hd || n <= pd ? n : fd; - let o = e / 750 * n; - return o < 0 && (o = -o), o = Math.floor(o + 1e-4), 0 === o && (o = 1 !== dd && cd ? .5 : 1), e < 0 ? -o : o -})); - -function bd(e, t) { - Object.keys(t).forEach((n => { - O(t[n]) && (e[n] = function (e, t) { - const n = t ? e ? e.concat(t) : C(t) ? t : [t] : e; - return n ? function (e) { - const t = []; - for (let n = 0; n < e.length; n++) -1 === t.indexOf(e[n]) && t.push(e[n]); - return t - }(n) : n - }(e[n], t[n])) - })) -} - -const yd = sd(0, ((e, t) => { - I(e) && D(t) ? bd(Yu[e] || (Yu[e] = {}), t) : D(e) && bd(Xu, e) -})), _d = new Pe, wd = sd(0, ((e, t) => (_d.on(e, t), () => _d.off(e, t)))), xd = sd(0, ((e, t) => { - e ? (C(e) || (e = [e]), e.forEach((e => _d.off(e, t)))) : _d.e = {} -})), Td = sd(0, ((e, ...t) => { - _d.emit(e, ...t) -})), Sd = [.5, .8, 1, 1.25, 1.5, 2]; - -class Ed { - constructor(e, t) { - this.id = e, this.pageId = t - } - - play() { - Cu(this.id, this.pageId, "play") - } - - pause() { - Cu(this.id, this.pageId, "pause") - } - - stop() { - Cu(this.id, this.pageId, "stop") - } - - seek(e) { - Cu(this.id, this.pageId, "seek", {position: e}) - } - - sendDanmu(e) { - Cu(this.id, this.pageId, "sendDanmu", e) - } - - playbackRate(e) { - ~Sd.indexOf(e) || (e = 1), Cu(this.id, this.pageId, "playbackRate", {rate: e}) - } - - requestFullScreen(e = {}) { - Cu(this.id, this.pageId, "requestFullScreen", e) - } - - exitFullScreen() { - Cu(this.id, this.pageId, "exitFullScreen") - } - - showStatusBar() { - Cu(this.id, this.pageId, "showStatusBar") - } - - hideStatusBar() { - Cu(this.id, this.pageId, "hideStatusBar") - } -} - -const kd = sd(0, ((e, t) => new Ed(e, gc(t || _c())))), Ad = (e, t, n, o) => { - !function (e, t, n, o, r) { - fv.invokeViewMethod("map." + e, {type: n, data: o}, t, r) - }(e, t, n, o, (e => { - o && ((e, t) => { - const n = t.errMsg || ""; - new RegExp("\\:\\s*fail").test(n) ? e.fail && e.fail(t) : e.success && e.success(t), e.complete && e.complete(t) - })(o, e) - })) -}; -const Cd = { - aliceblue: "#f0f8ff", - antiquewhite: "#faebd7", - aqua: "#00ffff", - aquamarine: "#7fffd4", - azure: "#f0ffff", - beige: "#f5f5dc", - bisque: "#ffe4c4", - black: "#000000", - blanchedalmond: "#ffebcd", - blue: "#0000ff", - blueviolet: "#8a2be2", - brown: "#a52a2a", - burlywood: "#deb887", - cadetblue: "#5f9ea0", - chartreuse: "#7fff00", - chocolate: "#d2691e", - coral: "#ff7f50", - cornflowerblue: "#6495ed", - cornsilk: "#fff8dc", - crimson: "#dc143c", - cyan: "#00ffff", - darkblue: "#00008b", - darkcyan: "#008b8b", - darkgoldenrod: "#b8860b", - darkgray: "#a9a9a9", - darkgrey: "#a9a9a9", - darkgreen: "#006400", - darkkhaki: "#bdb76b", - darkmagenta: "#8b008b", - darkolivegreen: "#556b2f", - darkorange: "#ff8c00", - darkorchid: "#9932cc", - darkred: "#8b0000", - darksalmon: "#e9967a", - darkseagreen: "#8fbc8f", - darkslateblue: "#483d8b", - darkslategray: "#2f4f4f", - darkslategrey: "#2f4f4f", - darkturquoise: "#00ced1", - darkviolet: "#9400d3", - deeppink: "#ff1493", - deepskyblue: "#00bfff", - dimgray: "#696969", - dimgrey: "#696969", - dodgerblue: "#1e90ff", - firebrick: "#b22222", - floralwhite: "#fffaf0", - forestgreen: "#228b22", - fuchsia: "#ff00ff", - gainsboro: "#dcdcdc", - ghostwhite: "#f8f8ff", - gold: "#ffd700", - goldenrod: "#daa520", - gray: "#808080", - grey: "#808080", - green: "#008000", - greenyellow: "#adff2f", - honeydew: "#f0fff0", - hotpink: "#ff69b4", - indianred: "#cd5c5c", - indigo: "#4b0082", - ivory: "#fffff0", - khaki: "#f0e68c", - lavender: "#e6e6fa", - lavenderblush: "#fff0f5", - lawngreen: "#7cfc00", - lemonchiffon: "#fffacd", - lightblue: "#add8e6", - lightcoral: "#f08080", - lightcyan: "#e0ffff", - lightgoldenrodyellow: "#fafad2", - lightgray: "#d3d3d3", - lightgrey: "#d3d3d3", - lightgreen: "#90ee90", - lightpink: "#ffb6c1", - lightsalmon: "#ffa07a", - lightseagreen: "#20b2aa", - lightskyblue: "#87cefa", - lightslategray: "#778899", - lightslategrey: "#778899", - lightsteelblue: "#b0c4de", - lightyellow: "#ffffe0", - lime: "#00ff00", - limegreen: "#32cd32", - linen: "#faf0e6", - magenta: "#ff00ff", - maroon: "#800000", - mediumaquamarine: "#66cdaa", - mediumblue: "#0000cd", - mediumorchid: "#ba55d3", - mediumpurple: "#9370db", - mediumseagreen: "#3cb371", - mediumslateblue: "#7b68ee", - mediumspringgreen: "#00fa9a", - mediumturquoise: "#48d1cc", - mediumvioletred: "#c71585", - midnightblue: "#191970", - mintcream: "#f5fffa", - mistyrose: "#ffe4e1", - moccasin: "#ffe4b5", - navajowhite: "#ffdead", - navy: "#000080", - oldlace: "#fdf5e6", - olive: "#808000", - olivedrab: "#6b8e23", - orange: "#ffa500", - orangered: "#ff4500", - orchid: "#da70d6", - palegoldenrod: "#eee8aa", - palegreen: "#98fb98", - paleturquoise: "#afeeee", - palevioletred: "#db7093", - papayawhip: "#ffefd5", - peachpuff: "#ffdab9", - peru: "#cd853f", - pink: "#ffc0cb", - plum: "#dda0dd", - powderblue: "#b0e0e6", - purple: "#800080", - rebeccapurple: "#663399", - red: "#ff0000", - rosybrown: "#bc8f8f", - royalblue: "#4169e1", - saddlebrown: "#8b4513", - salmon: "#fa8072", - sandybrown: "#f4a460", - seagreen: "#2e8b57", - seashell: "#fff5ee", - sienna: "#a0522d", - silver: "#c0c0c0", - skyblue: "#87ceeb", - slateblue: "#6a5acd", - slategray: "#708090", - slategrey: "#708090", - snow: "#fffafa", - springgreen: "#00ff7f", - steelblue: "#4682b4", - tan: "#d2b48c", - teal: "#008080", - thistle: "#d8bfd8", - tomato: "#ff6347", - turquoise: "#40e0d0", - violet: "#ee82ee", - wheat: "#f5deb3", - white: "#ffffff", - whitesmoke: "#f5f5f5", - yellow: "#ffff00", - yellowgreen: "#9acd32", - transparent: "#00000000" -}; - -function Bd(e) { - var t = null; - if (null != (t = /^#([0-9|A-F|a-f]{6})$/.exec(e = e || "#000000"))) { - return [parseInt(t[1].slice(0, 2), 16), parseInt(t[1].slice(2, 4), 16), parseInt(t[1].slice(4), 16), 255] - } - if (null != (t = /^#([0-9|A-F|a-f]{3})$/.exec(e))) { - let e = t[1].slice(0, 1), n = t[1].slice(1, 2), o = t[1].slice(2, 3); - return e = parseInt(e + e, 16), n = parseInt(n + n, 16), o = parseInt(o + o, 16), [e, n, o, 255] - } - if (null != (t = /^rgb\((.+)\)$/.exec(e))) return t[1].split(",").map((function (e) { - return Math.min(255, parseInt(e.trim())) - })).concat(255); - if (null != (t = /^rgba\((.+)\)$/.exec(e))) return t[1].split(",").map((function (e, t) { - return 3 === t ? Math.floor(255 * parseFloat(e.trim())) : Math.min(255, parseInt(e.trim())) - })); - var n = e.toLowerCase(); - if (A(Cd, n)) { - t = /^#([0-9|A-F|a-f]{6,8})$/.exec(Cd[n]); - const e = parseInt(t[1].slice(0, 2), 16), o = parseInt(t[1].slice(2, 4), 16), - r = parseInt(t[1].slice(4, 6), 16); - let i = parseInt(t[1].slice(6, 8), 16); - return i = i >= 0 ? i : 255, [e, o, r, i] - } - return console.error("unsupported color:" + e), [0, 0, 0, 255] -} - -class Pd { - constructor(e, t) { - this.type = e, this.data = t, this.colorStop = [] - } - - addColorStop(e, t) { - this.colorStop.push([e, Bd(t)]) - } -} - -class Ld { - constructor(e, t) { - this.type = "pattern", this.data = e, this.colorStop = t - } -} - -class Od { - constructor(e) { - this.width = e - } -} - -const Id = {thresholds: [0], initialRatio: 0, observeAll: !1}, Md = ["top", "right", "bottom", "left"]; -let Fd = 1; - -function jd(e = {}) { - return Md.map((t => `${Number(e[t]) || 0}px`)).join(" ") -} - -class Rd { - constructor(e, t) { - this._pageId = gc(e), this._component = e, this._options = S({}, Id, t) - } - - relativeTo(e, t) { - return this._options.relativeToSelector = e, this._options.rootMargin = jd(t), this - } - - relativeToViewport(e) { - return this._options.relativeToSelector = void 0, this._options.rootMargin = jd(e), this - } - - observe(e, t) { - O(t) && (this._options.selector = e, this._reqId = Fd++, function ({reqId: e, component: t, options: n, callback: o}, r) { - const i = hu(t); - (i.__io || (i.__io = {}))[e] = function (e, t, n) { - !function () { - if ("object" != typeof window) return; - if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) return void ("isIntersecting" in window.IntersectionObserverEntry.prototype || Object.defineProperty(window.IntersectionObserverEntry.prototype, "isIntersecting", { - get: function () { - return this.intersectionRatio > 0 - } - })); - - function e(e) { - try { - return e.defaultView && e.defaultView.frameElement || null - } catch (t) { - return null - } - } - - var t = function (t) { - for (var n = window.document, o = e(n); o;) o = e(n = o.ownerDocument); - return n - }(), n = [], o = null, r = null; - - function i(e) { - this.time = e.time, this.target = e.target, this.rootBounds = h(e.rootBounds), this.boundingClientRect = h(e.boundingClientRect), this.intersectionRect = h(e.intersectionRect || f()), this.isIntersecting = !!e.intersectionRect; - var t = this.boundingClientRect, n = t.width * t.height, o = this.intersectionRect, - r = o.width * o.height; - this.intersectionRatio = n ? Number((r / n).toFixed(4)) : this.isIntersecting ? 1 : 0 - } - - function a(e, t) { - var n = t || {}; - if ("function" != typeof e) throw new Error("callback must be a function"); - if (n.root && 1 != n.root.nodeType && 9 != n.root.nodeType) throw new Error("root must be a Document or Element"); - this._checkForIntersections = l(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT), this._callback = e, this._observationTargets = [], this._queuedEntries = [], this._rootMarginValues = this._parseRootMargin(n.rootMargin), this.thresholds = this._initThresholds(n.threshold), this.root = n.root || null, this.rootMargin = this._rootMarginValues.map((function (e) { - return e.value + e.unit - })).join(" "), this._monitoringDocuments = [], this._monitoringUnsubscribes = [] - } - - function s() { - return window.performance && performance.now && performance.now() - } - - function l(e, t) { - var n = null; - return function () { - n || (n = setTimeout((function () { - e(), n = null - }), t)) - } - } - - function c(e, t, n, o) { - "function" == typeof e.addEventListener ? e.addEventListener(t, n, o || !1) : "function" == typeof e.attachEvent && e.attachEvent("on" + t, n) - } - - function u(e, t, n, o) { - "function" == typeof e.removeEventListener ? e.removeEventListener(t, n, o || !1) : "function" == typeof e.detatchEvent && e.detatchEvent("on" + t, n) - } - - function d(e, t) { - var n = Math.max(e.top, t.top), o = Math.min(e.bottom, t.bottom), r = Math.max(e.left, t.left), - i = Math.min(e.right, t.right), a = i - r, s = o - n; - return a >= 0 && s >= 0 && {top: n, bottom: o, left: r, right: i, width: a, height: s} || null - } - - function p(e) { - var t; - try { - t = e.getBoundingClientRect() - } catch (n) { - } - return t ? (t.width && t.height || (t = { - top: t.top, - right: t.right, - bottom: t.bottom, - left: t.left, - width: t.right - t.left, - height: t.bottom - t.top - }), t) : f() - } - - function f() { - return {top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0} - } - - function h(e) { - return !e || "x" in e ? e : { - top: e.top, - y: e.top, - bottom: e.bottom, - left: e.left, - x: e.left, - right: e.right, - width: e.width, - height: e.height - } - } - - function m(e, t) { - var n = t.top - e.top, o = t.left - e.left; - return { - top: n, - left: o, - height: t.height, - width: t.width, - bottom: n + t.height, - right: o + t.width - } - } - - function g(e, t) { - for (var n = t; n;) { - if (n == e) return !0; - n = v(n) - } - return !1 - } - - function v(n) { - var o = n.parentNode; - return 9 == n.nodeType && n != t ? e(n) : (o && o.assignedSlot && (o = o.assignedSlot.parentNode), o && 11 == o.nodeType && o.host ? o.host : o) - } - - function b(e) { - return e && 9 === e.nodeType - } - - a.prototype.THROTTLE_TIMEOUT = 100, a.prototype.POLL_INTERVAL = null, a.prototype.USE_MUTATION_OBSERVER = !0, a._setupCrossOriginUpdater = function () { - return o || (o = function (e, t) { - r = e && t ? m(e, t) : f(), n.forEach((function (e) { - e._checkForIntersections() - })) - }), o - }, a._resetCrossOriginUpdater = function () { - o = null, r = null - }, a.prototype.observe = function (e) { - if (!this._observationTargets.some((function (t) { - return t.element == e - }))) { - if (!e || 1 != e.nodeType) throw new Error("target must be an Element"); - this._registerInstance(), this._observationTargets.push({ - element: e, - entry: null - }), this._monitorIntersections(e.ownerDocument), this._checkForIntersections() - } - }, a.prototype.unobserve = function (e) { - this._observationTargets = this._observationTargets.filter((function (t) { - return t.element != e - })), this._unmonitorIntersections(e.ownerDocument), 0 == this._observationTargets.length && this._unregisterInstance() - }, a.prototype.disconnect = function () { - this._observationTargets = [], this._unmonitorAllIntersections(), this._unregisterInstance() - }, a.prototype.takeRecords = function () { - var e = this._queuedEntries.slice(); - return this._queuedEntries = [], e - }, a.prototype._initThresholds = function (e) { - var t = e || [0]; - return Array.isArray(t) || (t = [t]), t.sort().filter((function (e, t, n) { - if ("number" != typeof e || isNaN(e) || e < 0 || e > 1) throw new Error("threshold must be a number between 0 and 1 inclusively"); - return e !== n[t - 1] - })) - }, a.prototype._parseRootMargin = function (e) { - var t = (e || "0px").split(/\s+/).map((function (e) { - var t = /^(-?\d*\.?\d+)(px|%)$/.exec(e); - if (!t) throw new Error("rootMargin must be specified in pixels or percent"); - return {value: parseFloat(t[1]), unit: t[2]} - })); - return t[1] = t[1] || t[0], t[2] = t[2] || t[0], t[3] = t[3] || t[1], t - }, a.prototype._monitorIntersections = function (n) { - var o = n.defaultView; - if (o && -1 == this._monitoringDocuments.indexOf(n)) { - var r = this._checkForIntersections, i = null, a = null; - this.POLL_INTERVAL ? i = o.setInterval(r, this.POLL_INTERVAL) : (c(o, "resize", r, !0), c(n, "scroll", r, !0), this.USE_MUTATION_OBSERVER && "MutationObserver" in o && (a = new o.MutationObserver(r)).observe(n, { - attributes: !0, - childList: !0, - characterData: !0, - subtree: !0 - })), this._monitoringDocuments.push(n), this._monitoringUnsubscribes.push((function () { - var e = n.defaultView; - e && (i && e.clearInterval(i), u(e, "resize", r, !0)), u(n, "scroll", r, !0), a && a.disconnect() - })); - var s = this.root && (this.root.ownerDocument || this.root) || t; - if (n != s) { - var l = e(n); - l && this._monitorIntersections(l.ownerDocument) - } - } - }, a.prototype._unmonitorIntersections = function (n) { - var o = this._monitoringDocuments.indexOf(n); - if (-1 != o) { - var r = this.root && (this.root.ownerDocument || this.root) || t; - if (!this._observationTargets.some((function (t) { - var o = t.element.ownerDocument; - if (o == n) return !0; - for (; o && o != r;) { - var i = e(o); - if ((o = i && i.ownerDocument) == n) return !0 - } - return !1 - }))) { - var i = this._monitoringUnsubscribes[o]; - if (this._monitoringDocuments.splice(o, 1), this._monitoringUnsubscribes.splice(o, 1), i(), n != r) { - var a = e(n); - a && this._unmonitorIntersections(a.ownerDocument) - } - } - } - }, a.prototype._unmonitorAllIntersections = function () { - var e = this._monitoringUnsubscribes.slice(0); - this._monitoringDocuments.length = 0, this._monitoringUnsubscribes.length = 0; - for (var t = 0; t < e.length; t++) e[t]() - }, a.prototype._checkForIntersections = function () { - if (this.root || !o || r) { - var e = this._rootIsInDom(), t = e ? this._getRootRect() : f(); - this._observationTargets.forEach((function (n) { - var r = n.element, a = p(r), l = this._rootContainsTarget(r), c = n.entry, - u = e && l && this._computeTargetAndRootIntersection(r, a, t), d = null; - this._rootContainsTarget(r) ? o && !this.root || (d = t) : d = f(); - var h = n.entry = new i({ - time: s(), - target: r, - boundingClientRect: a, - rootBounds: d, - intersectionRect: u - }); - c ? e && l ? this._hasCrossedThreshold(c, h) && this._queuedEntries.push(h) : c && c.isIntersecting && this._queuedEntries.push(h) : this._queuedEntries.push(h) - }), this), this._queuedEntries.length && this._callback(this.takeRecords(), this) - } - }, a.prototype._computeTargetAndRootIntersection = function (e, n, i) { - if ("none" != window.getComputedStyle(e).display) { - for (var a = n, s = v(e), l = !1; !l && s;) { - var c = null, u = 1 == s.nodeType ? window.getComputedStyle(s) : {}; - if ("none" == u.display) return null; - if (s == this.root || 9 == s.nodeType) if (l = !0, s == this.root || s == t) o && !this.root ? !r || 0 == r.width && 0 == r.height ? (s = null, c = null, a = null) : c = r : c = i; else { - var f = v(s), h = f && p(f), - g = f && this._computeTargetAndRootIntersection(f, h, i); - h && g ? (s = f, c = m(h, g)) : (s = null, a = null) - } else { - var b = s.ownerDocument; - s != b.body && s != b.documentElement && "visible" != u.overflow && (c = p(s)) - } - if (c && (a = d(c, a)), !a) break; - s = s && v(s) - } - return a - } - }, a.prototype._getRootRect = function () { - var e; - if (this.root && !b(this.root)) e = p(this.root); else { - var n = b(this.root) ? this.root : t, o = n.documentElement, r = n.body; - e = { - top: 0, - left: 0, - right: o.clientWidth || r.clientWidth, - width: o.clientWidth || r.clientWidth, - bottom: o.clientHeight || r.clientHeight, - height: o.clientHeight || r.clientHeight - } - } - return this._expandRectByRootMargin(e) - }, a.prototype._expandRectByRootMargin = function (e) { - var t = this._rootMarginValues.map((function (t, n) { - return "px" == t.unit ? t.value : t.value * (n % 2 ? e.width : e.height) / 100 - })), n = { - top: e.top - t[0], - right: e.right + t[1], - bottom: e.bottom + t[2], - left: e.left - t[3] - }; - return n.width = n.right - n.left, n.height = n.bottom - n.top, n - }, a.prototype._hasCrossedThreshold = function (e, t) { - var n = e && e.isIntersecting ? e.intersectionRatio || 0 : -1, - o = t.isIntersecting ? t.intersectionRatio || 0 : -1; - if (n !== o) for (var r = 0; r < this.thresholds.length; r++) { - var i = this.thresholds[r]; - if (i == n || i == o || i < n != i < o) return !0 - } - }, a.prototype._rootIsInDom = function () { - return !this.root || g(t, this.root) - }, a.prototype._rootContainsTarget = function (e) { - var n = this.root && (this.root.ownerDocument || this.root) || t; - return g(n, e) && (!this.root || n == e.ownerDocument) - }, a.prototype._registerInstance = function () { - n.indexOf(this) < 0 && n.push(this) - }, a.prototype._unregisterInstance = function () { - var e = n.indexOf(this); - -1 != e && n.splice(e, 1) - }, window.IntersectionObserver = a, window.IntersectionObserverEntry = i - }(); - const o = t.relativeToSelector ? e.querySelector(t.relativeToSelector) : null, - r = new IntersectionObserver((e => { - e.forEach((e => { - n({ - intersectionRatio: Tp(e), - intersectionRect: xp(e.intersectionRect), - boundingClientRect: xp(e.boundingClientRect), - relativeRect: xp(e.rootBounds), - time: Date.now(), - dataset: he(e.target), - id: e.target.id - }) - })) - }), {root: o, rootMargin: t.rootMargin, threshold: t.thresholds}); - if (t.observeAll) { - r.USE_MUTATION_OBSERVER = !0; - const n = e.querySelectorAll(t.selector); - for (let e = 0; e < n.length; e++) r.observe(n[e]) - } else { - r.USE_MUTATION_OBSERVER = !1; - const n = e.querySelector(t.selector); - n ? r.observe(n) : console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`) - } - return r - }(i, n, o) - }({reqId: this._reqId, component: this._component, options: this._options, callback: t}, this._pageId)) - } - - disconnect() { - this._reqId && function ({reqId: e, component: t}, n) { - const o = hu(t), r = o.__io && o.__io[e]; - r && (r.disconnect(), delete o.__io[e]) - }({reqId: this._reqId, component: this._component}, this._pageId) - } -} - -const Nd = sd(0, ((e, t) => ((e = re(e)) && !gc(e) && (t = e, e = null), new Rd(e || _c(), t)))); -let Dd = 0, zd = {}; - -function Hd(e, t, n, o) { - const r = {options: o}, i = o && ("success" in o || "fail" in o || "complete" in o); - if (i) { - const e = String(Dd++); - r.callbackId = e, zd[e] = o - } - fv.invokeViewMethod(`editor.${e}`, {type: n, data: r}, t, (({callbackId: e, data: t}) => { - i && (!function (e, t) { - e = e || {}, I(t) && (t = {errMsg: t}), /:ok$/.test(t.errMsg) ? O(e.success) && e.success(t) : O(e.fail) && e.fail(t), O(e.complete) && e.complete(t) - }(zd[e], t), delete zd[e]) - })) -} - -const qd = { - canvas: class { - constructor(e, t) { - this.id = e, this.pageId = t, this.actions = [], this.path = [], this.subpath = [], this.drawingState = [], this.state = { - lineDash: [0, 0], - shadowOffsetX: 0, - shadowOffsetY: 0, - shadowBlur: 0, - shadowColor: [0, 0, 0, 0], - font: "10px sans-serif", - fontSize: 10, - fontWeight: "normal", - fontStyle: "normal", - fontFamily: "sans-serif" - } - } - - draw(e = !1, t) { - var n = [...this.actions]; - this.actions = [], this.path = [], function (e, t, n, o, r) { - fv.invokeViewMethod(`canvas.${e}`, {type: n, data: o}, t, (e => { - r && r(e) - })) - }(this.id, this.pageId, "actionsChanged", {actions: n, reserve: e}, t) - } - - createLinearGradient(e, t, n, o) { - return new Pd("linear", [e, t, n, o]) - } - - createCircularGradient(e, t, n) { - return new Pd("radial", [e, t, n]) - } - - createPattern(e, t) { - if (void 0 === t) console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present."); else { - if (!(["repeat", "repeat-x", "repeat-y", "no-repeat"].indexOf(t) < 0)) return new Ld(e, t); - console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('" + t + "') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.") - } - } - - measureText(e) { - let t = 0; - return t = function (e, t) { - const n = document.createElement("canvas").getContext("2d"); - return n.font = t, n.measureText(e).width || 0 - }(e, this.state.font), new Od(t) - } - - save() { - this.actions.push({method: "save", data: []}), this.drawingState.push(this.state) - } - - restore() { - this.actions.push({method: "restore", data: []}), this.state = this.drawingState.pop() || { - lineDash: [0, 0], - shadowOffsetX: 0, - shadowOffsetY: 0, - shadowBlur: 0, - shadowColor: [0, 0, 0, 0], - font: "10px sans-serif", - fontSize: 10, - fontWeight: "normal", - fontStyle: "normal", - fontFamily: "sans-serif" - } - } - - beginPath() { - this.path = [], this.subpath = [], this.path.push({method: "beginPath", data: []}) - } - - moveTo(e, t) { - this.path.push({method: "moveTo", data: [e, t]}), this.subpath = [[e, t]] - } - - lineTo(e, t) { - 0 === this.path.length && 0 === this.subpath.length ? this.path.push({ - method: "moveTo", - data: [e, t] - }) : this.path.push({method: "lineTo", data: [e, t]}), this.subpath.push([e, t]) - } - - quadraticCurveTo(e, t, n, o) { - this.path.push({method: "quadraticCurveTo", data: [e, t, n, o]}), this.subpath.push([n, o]) - } - - bezierCurveTo(e, t, n, o, r, i) { - this.path.push({method: "bezierCurveTo", data: [e, t, n, o, r, i]}), this.subpath.push([r, i]) - } - - arc(e, t, n, o, r, i = !1) { - this.path.push({method: "arc", data: [e, t, n, o, r, i]}), this.subpath.push([e, t]) - } - - rect(e, t, n, o) { - this.path.push({method: "rect", data: [e, t, n, o]}), this.subpath = [[e, t]] - } - - arcTo(e, t, n, o, r) { - this.path.push({method: "arcTo", data: [e, t, n, o, r]}), this.subpath.push([n, o]) - } - - clip() { - this.actions.push({method: "clip", data: [...this.path]}) - } - - closePath() { - this.path.push({ - method: "closePath", - data: [] - }), this.subpath.length && (this.subpath = [this.subpath.shift()]) - } - - clearActions() { - this.actions = [], this.path = [], this.subpath = [] - } - - getActions() { - var e = [...this.actions]; - return this.clearActions(), e - } - - set lineDashOffset(e) { - this.actions.push({method: "setLineDashOffset", data: [e]}) - } - - set globalCompositeOperation(e) { - this.actions.push({method: "setGlobalCompositeOperation", data: [e]}) - } - - set shadowBlur(e) { - this.actions.push({method: "setShadowBlur", data: [e]}) - } - - set shadowColor(e) { - this.actions.push({method: "setShadowColor", data: [e]}) - } - - set shadowOffsetX(e) { - this.actions.push({method: "setShadowOffsetX", data: [e]}) - } - - set shadowOffsetY(e) { - this.actions.push({method: "setShadowOffsetY", data: [e]}) - } - - set font(e) { - var t = this; - this.state.font = e; - var n = e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/); - if (n) { - var o = n[1].trim().split(/\s/), r = parseFloat(n[3]), i = n[7], a = []; - o.forEach((function (e, n) { - ["italic", "oblique", "normal"].indexOf(e) > -1 ? (a.push({ - method: "setFontStyle", - data: [e] - }), t.state.fontStyle = e) : ["bold", "normal"].indexOf(e) > -1 ? (a.push({ - method: "setFontWeight", - data: [e] - }), t.state.fontWeight = e) : 0 === n ? (a.push({ - method: "setFontStyle", - data: ["normal"] - }), t.state.fontStyle = "normal") : 1 === n && s() - })), 1 === o.length && s(), o = a.map((function (e) { - return e.data[0] - })).join(" "), this.state.fontSize = r, this.state.fontFamily = i, this.actions.push({ - method: "setFont", - data: [`${o} ${r}px ${i}`] - }) - } else console.warn("Failed to set 'font' on 'CanvasContext': invalid format."); - - function s() { - a.push({method: "setFontWeight", data: ["normal"]}), t.state.fontWeight = "normal" - } - } - - get font() { - return this.state.font - } - - set fillStyle(e) { - this.setFillStyle(e) - } - - set strokeStyle(e) { - this.setStrokeStyle(e) - } - - set globalAlpha(e) { - e = Math.floor(255 * parseFloat(e)), this.actions.push({method: "setGlobalAlpha", data: [e]}) - } - - set textAlign(e) { - this.actions.push({method: "setTextAlign", data: [e]}) - } - - set lineCap(e) { - this.actions.push({method: "setLineCap", data: [e]}) - } - - set lineJoin(e) { - this.actions.push({method: "setLineJoin", data: [e]}) - } - - set lineWidth(e) { - this.actions.push({method: "setLineWidth", data: [e]}) - } - - set miterLimit(e) { - this.actions.push({method: "setMiterLimit", data: [e]}) - } - - set textBaseline(e) { - this.actions.push({method: "setTextBaseline", data: [e]}) - } - }, map: class { - constructor(e, t) { - this.id = e, this.pageId = t - } - - getCenterLocation(e) { - Ad(this.id, this.pageId, "getCenterLocation", e) - } - - moveToLocation(e) { - Ad(this.id, this.pageId, "moveToLocation", e) - } - - getScale(e) { - Ad(this.id, this.pageId, "getScale", e) - } - - getRegion(e) { - Ad(this.id, this.pageId, "getRegion", e) - } - - includePoints(e) { - Ad(this.id, this.pageId, "includePoints", e) - } - - translateMarker(e) { - Ad(this.id, this.pageId, "translateMarker", e) - } - - $getAppMap() { - } - - addCustomLayer(e) { - Ad(this.id, this.pageId, "addCustomLayer", e) - } - - removeCustomLayer(e) { - Ad(this.id, this.pageId, "removeCustomLayer", e) - } - - addGroundOverlay(e) { - Ad(this.id, this.pageId, "addGroundOverlay", e) - } - - removeGroundOverlay(e) { - Ad(this.id, this.pageId, "removeGroundOverlay", e) - } - - updateGroundOverlay(e) { - Ad(this.id, this.pageId, "updateGroundOverlay", e) - } - - initMarkerCluster(e) { - Ad(this.id, this.pageId, "initMarkerCluster", e) - } - - addMarkers(e) { - Ad(this.id, this.pageId, "addMarkers", e) - } - - removeMarkers(e) { - Ad(this.id, this.pageId, "removeMarkers", e) - } - - moveAlong(e) { - Ad(this.id, this.pageId, "moveAlong", e) - } - - setLocMarkerIcon(e) { - Ad(this.id, this.pageId, "setLocMarkerIcon", e) - } - - openMapApp(e) { - Ad(this.id, this.pageId, "openMapApp", e) - } - - on(e) { - Ad(this.id, this.pageId, "on", e) - } - }, video: Ed, editor: class { - constructor(e, t) { - this.id = e, this.pageId = t - } - - format(e, t) { - this._exec("format", {name: e, value: t}) - } - - insertDivider() { - this._exec("insertDivider") - } - - insertImage(e) { - this._exec("insertImage", e) - } - - insertText(e) { - this._exec("insertText", e) - } - - setContents(e) { - this._exec("setContents", e) - } - - getContents(e) { - this._exec("getContents", e) - } - - clear(e) { - this._exec("clear", e) - } - - removeFormat(e) { - this._exec("removeFormat", e) - } - - undo(e) { - this._exec("undo", e) - } - - redo(e) { - this._exec("redo", e) - } - - blur(e) { - this._exec("blur", e) - } - - getSelectionText(e) { - this._exec("getSelectionText", e) - } - - scrollIntoView(e) { - this._exec("scrollIntoView", e) - } - - _exec(e, t) { - Hd(this.id, this.pageId, e, t) - } - } -}; - -function Vd(e) { - if (e && e.contextInfo) { - const {id: t, type: n, page: o} = e.contextInfo, r = qd[n]; - e.context = new r(t, o), delete e.contextInfo - } -} - -class Wd { - constructor(e, t, n, o) { - this._selectorQuery = e, this._component = t, this._selector = n, this._single = o - } - - boundingClientRect(e) { - return this._selectorQuery._push(this._selector, this._component, this._single, { - id: !0, - dataset: !0, - rect: !0, - size: !0 - }, e), this._selectorQuery - } - - fields(e, t) { - return this._selectorQuery._push(this._selector, this._component, this._single, e, t), this._selectorQuery - } - - scrollOffset(e) { - return this._selectorQuery._push(this._selector, this._component, this._single, { - id: !0, - dataset: !0, - scrollOffset: !0 - }, e), this._selectorQuery - } - - context(e) { - return this._selectorQuery._push(this._selector, this._component, this._single, {context: !0}, e), this._selectorQuery - } - - node(e) { - return this._selectorQuery - } -} - -class $d { - constructor(e) { - this._component = void 0, this._page = e, this._queue = [], this._queueCb = [] - } - - exec(e) { - return Lu(this._page, this._queue, (t => { - const n = this._queueCb; - t.forEach(((e, t) => { - C(e) ? e.forEach(Vd) : Vd(e); - const o = n[t]; - O(o) && o.call(this, e) - })), O(e) && e.call(this, t) - })), this._nodesRef - } - - in(e) { - return this._component = re(e), this - } - - select(e) { - return this._nodesRef = new Wd(this, this._component, e, !0) - } - - selectAll(e) { - return this._nodesRef = new Wd(this, this._component, e, !1) - } - - selectViewport() { - return this._nodesRef = new Wd(this, null, "", !0) - } - - _push(e, t, n, o, r) { - this._queue.push({component: t, selector: e, single: n, fields: o}), this._queueCb.push(r) - } -} - -const Qd = sd(0, (e => ((e = re(e)) && !gc(e) && (e = null), new $d(e || _c())))), Ud = sd(0, (() => { - const e = dm(); - return e && e.$vm ? e.$vm.$locale : wl().getLocale() -})), Xd = sd(0, (e => { - const t = dm(); - if (!t) return !1; - return t.$vm.$locale !== e && (t.$vm.$locale = e, navigator.cookieEnabled && window.localStorage && (localStorage.UNI_LOCALE = e), fv.invokeOnCallback("onLocaleChange", {locale: e}), !0) -})), Yd = {onUnhandledRejection: [], onPageNotFound: [], onError: [], onShow: [], onHide: []}; -const Jd = sd(0, (() => S({}, Bp))), Gd = { - formatArgs: { - count(e, t) { - (!e || e <= 0) && (t.count = 9) - }, sizeType(e, t) { - t.sizeType = ju(e, Ou) - }, sourceType(e, t) { - t.sourceType = ju(e, Iu) - }, extension(e, t) { - if (e instanceof Array && 0 === e.length) return "param extension should not be empty."; - e || (t.extension = ["*"]) - } - } -}, Kd = { - formatArgs: { - sourceType(e, t) { - t.sourceType = ju(e, Iu) - }, compressed: !0, maxDuration: 60, camera: "back", extension(e, t) { - if (e instanceof Array && 0 === e.length) return "param extension should not be empty."; - e || (t.extension = ["*"]) - } - } -}, Zd = (Boolean, ["all", "image", "video"]), ep = { - formatArgs: { - count(e, t) { - (!e || e <= 0) && (t.count = 100) - }, sourceType(e, t) { - t.sourceType = ju(e, Iu) - }, type(e, t) { - t.type = Fu(e, Zd) - }, extension(e, t) { - if (e instanceof Array && 0 === e.length) return "param extension should not be empty."; - e || (t.extension = [""]) - } - } -}, tp = { - formatArgs: { - urls(e, t) { - t.urls = e.map((e => I(e) && e ? gu(e) : "")) - }, current(e, t) { - "number" == typeof e ? t.current = e > 0 && e < t.urls.length ? e : 0 : I(e) && e && (t.current = gu(e)) - } - } -}, np = "json", op = ["text", "arraybuffer"], rp = encodeURIComponent; -ArrayBuffer, Boolean; -const ip = { - formatArgs: { - method(e, t) { - t.method = Fu((e || "").toUpperCase(), Mu) - }, data(e, t) { - t.data = e || "" - }, url(e, t) { - t.method === Mu[0] && D(t.data) && Object.keys(t.data).length && (t.url = function (e, t) { - let n = e.split("#"); - const o = n[1] || ""; - n = n[0].split("?"); - let r = n[1] || ""; - e = n[0]; - const i = r.split("&").filter((e => e)), a = {}; - i.forEach((e => { - const t = e.split("="); - a[t[0]] = t[1] - })); - for (const s in t) if (A(t, s)) { - let e = t[s]; - null == e ? e = "" : D(e) && (e = JSON.stringify(e)), a[rp(s)] = rp(e) - } - return r = Object.keys(a).map((e => `${e}=${a[e]}`)).join("&"), e + (r ? "?" + r : "") + (o ? "#" + o : "") - }(e, t.data)) - }, header(e, t) { - const n = t.header = e || {}; - t.method !== Mu[0] && (Object.keys(n).find((e => "content-type" === e.toLowerCase())) || (n["Content-Type"] = "application/json")) - }, dataType(e, t) { - t.dataType = (e || np).toLowerCase() - }, responseType(e, t) { - t.responseType = (e || "").toLowerCase(), -1 === op.indexOf(t.responseType) && (t.responseType = "text") - } - } -}, ap = { - formatArgs: { - header(e, t) { - t.header = e || {} - } - } -}, sp = { - formatArgs: { - filePath(e, t) { - e && (t.filePath = gu(e)) - }, header(e, t) { - t.header = e || {} - }, formData(e, t) { - t.formData = e || {} - } - } -}; -const lp = {url: {type: String, required: !0}}, - cp = (hp(["slide-in-right", "slide-in-left", "slide-in-top", "slide-in-bottom", "fade-in", "zoom-out", "zoom-fade-out", "pop-in", "none"]), hp(["slide-out-right", "slide-out-left", "slide-out-top", "slide-out-bottom", "fade-out", "zoom-in", "zoom-fade-in", "pop-out", "none"]), vp("navigateTo")), - up = vp("redirectTo"), dp = vp("reLaunch"), pp = vp("switchTab"), fp = { - formatArgs: { - delta(e, t) { - e = parseInt(e + "") || 1, t.delta = Math.min(Hh().length - 1, e) - } - } - }; - -function hp(e) { - return { - animationType: { - type: String, validator(t) { - if (t && -1 === e.indexOf(t)) return "`" + t + "` is not supported for `animationType` (supported values are: `" + e.join("`|`") + "`)" - } - }, animationDuration: {type: Number} - } -} - -let mp; - -function gp() { - mp = "" -} - -function vp(e) { - return {formatArgs: {url: bp(e)}, beforeAll: gp} -} - -function bp(e) { - return function (t, n) { - if (!t) return 'Missing required args: "url"'; - const o = (t = function (e) { - if (0 === e.indexOf("/")) return e; - let t = ""; - const n = Hh(); - return n.length && (t = n[n.length - 1].$page.route), Cc(t, e) - }(t)).split("?")[0], r = Bc(o, !0); - if (!r) return "page `" + t + "` is not found"; - if ("navigateTo" === e || "redirectTo" === e) { - if (r.meta.isTabBar) return `can not ${e} a tabbar page` - } else if ("switchTab" === e && !r.meta.isTabBar) return "can not switch to no-tabBar page"; - if ("switchTab" !== e && "preloadPage" !== e || !r.meta.isTabBar || "appLaunch" === n.openType || (t = o), r.meta.isEntry && (t = t.replace(r.alias, "/")), n.url = function (e) { - if (!I(e)) return e; - const t = e.indexOf("?"); - if (-1 === t) return e; - const n = e.slice(t + 1).trim().replace(/^(\?|#|&)/, ""); - if (!n) return e; - e = e.slice(0, t); - const o = []; - return n.split("&").forEach((e => { - const t = e.replace(/\+/g, " ").split("="), n = t.shift(), r = t.length > 0 ? t.join("=") : ""; - o.push(n + "=" + encodeURIComponent(r)) - })), o.length ? e + "?" + o.join("&") : e - }(t), "unPreloadPage" !== e) if ("preloadPage" !== e) { - if (mp === t && "appLaunch" !== n.openType) return `${mp} locked`; - __uniConfig.ready && (mp = t) - } else if (r.meta.isTabBar) { - const e = Hh(), t = r.path.slice(1); - if (e.find((e => e.route === t))) return "tabBar page `" + t + "` already exists" - } - } -} - -const yp = {formatArgs: {duration: 300}}, _p = ["success", "loading", "none", "error"], wp = (Boolean, { - formatArgs: { - title: "", icon(e, t) { - t.icon = Fu(e, _p) - }, image(e, t) { - t.image = e ? gu(e) : "" - }, duration: 1500, mask: !1 - } -}); - -function xp(e) { - const {bottom: t, height: n, left: o, right: r, top: i, width: a} = e || {}; - return {bottom: t, height: n, left: o, right: r, top: i, width: a} -} - -function Tp(e) { - const {intersectionRatio: t, boundingClientRect: {height: n, width: o}, intersectionRect: {height: r, width: i}} = e; - return 0 !== t ? t : r === n ? i / o : r / n -} - -const Sp = {}; - -function Ep(e, t) { - const n = Sp[e]; - return n ? Promise.resolve(n) : /^data:[a-z-]+\/[a-z-]+;base64,/.test(e) ? Promise.resolve(function (e) { - const t = e.split(","), n = t[0].match(/:(.*?);/), o = n ? n[1] : "", r = atob(t[1]); - let i = r.length; - const a = new Uint8Array(i); - for (; i--;) a[i] = r.charCodeAt(i); - return kp(a, o) - }(e)) : t ? Promise.reject(new Error("not find")) : new Promise(((t, n) => { - const o = new XMLHttpRequest; - o.open("GET", e, !0), o.responseType = "blob", o.onload = function () { - t(this.response) - }, o.onerror = n, o.send() - })) -} - -function kp(e, t) { - let n; - if (e instanceof File) n = e; else { - t = t || e.type || ""; - const r = `${Date.now()}${function (e) { - const t = e.split("/")[1]; - return t ? `.${t}` : "" - }(t)}`; - try { - n = new File([e], r, {type: t}) - } catch (o) { - n = e = e instanceof Blob ? e : new Blob([e], {type: t}), n.name = n.name || r - } - } - return n -} - -function Ap(e) { - for (const n in Sp) if (A(Sp, n)) { - if (Sp[n] === e) return n - } - var t = (window.URL || window.webkitURL).createObjectURL(e); - return Sp[t] = e, t -} - -function Cp(e) { - (window.URL || window.webkitURL).revokeObjectURL(e), delete Sp[e] -} - -const Bp = Kc(), Pp = Kc(); -const Lp = nu({ - name: "ResizeSensor", - props: {initial: {type: Boolean, default: !1}}, - emits: ["resize"], - setup(e, {emit: t}) { - const n = nn(null), o = function (e) { - return () => { - const {firstElementChild: t, lastElementChild: n} = e.value; - t.scrollLeft = 1e5, t.scrollTop = 1e5, n.scrollLeft = 1e5, n.scrollTop = 1e5 - } - }(n), r = function (e, t, n) { - const o = qt({width: -1, height: -1}); - return Gn((() => S({}, o)), (e => t("resize", e))), () => { - const t = e.value; - o.width = t.offsetWidth, o.height = t.offsetHeight, n() - } - }(n, t, o); - return function (e, t, n, o) { - wo(o), Io((() => { - t.initial && kn(n); - const r = e.value; - r.offsetParent !== r.parentElement && (r.parentElement.style.position = "relative"), "AnimationEvent" in window || o() - })) - }(n, e, r, o), () => Kr("uni-resize-sensor", { - ref: n, - onAnimationstartOnce: r - }, [Kr("div", {onScroll: r}, [Kr("div", null, null)], 40, ["onScroll"]), Kr("div", {onScroll: r}, [Kr("div", null, null)], 40, ["onScroll"])], 40, ["onAnimationstartOnce"]) - } -}); - -function Op() { -} - -const Ip = { - cursorSpacing: {type: [Number, String], default: 0}, - showConfirmBar: {type: [Boolean, String], default: "auto"}, - adjustPosition: {type: [Boolean, String], default: !0}, - autoBlur: {type: [Boolean, String], default: !1} -}; - -function Mp(e, t, n) { - function o(e) { - const t = yi((() => 0 === String(navigator.vendor).indexOf("Apple"))); - e.addEventListener("focus", (() => { - clearTimeout(undefined), document.addEventListener("click", Op, !1) - })); - e.addEventListener("blur", (() => { - t.value && e.blur(), document.removeEventListener("click", Op, !1), t.value && document.documentElement.scrollTo(document.documentElement.scrollLeft, document.documentElement.scrollTop) - })) - } - - Gn((() => t.value), (e => e && o(e))) -} - -var Fp = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/, - jp = /^<\/([-A-Za-z0-9_]+)[^>]*>/, - Rp = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g, - Np = Wp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"), - Dp = Wp("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"), - zp = Wp("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"), - Hp = Wp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"), - qp = Wp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"), - Vp = Wp("script,style"); - -function Wp(e) { - for (var t = {}, n = e.split(","), o = 0; o < n.length; o++) t[n[o]] = !0; - return t -} - -const $p = { - src: {type: String, default: ""}, - mode: {type: String, default: "scaleToFill"}, - lazyLoad: {type: [Boolean, String], default: !1}, - draggable: {type: Boolean, default: !1} - }, Qp = {widthFix: ["offsetWidth", "height", (e, t) => e / t], heightFix: ["offsetHeight", "width", (e, t) => e * t]}, - Up = { - aspectFit: ["center center", "contain"], - aspectFill: ["center center", "cover"], - widthFix: [, "100% 100%"], - heightFix: [, "100% 100%"], - top: ["center top"], - bottom: ["center bottom"], - center: ["center center"], - left: ["left center"], - right: ["right center"], - "top left": ["left top"], - "top right": ["right top"], - "bottom left": ["left bottom"], - "bottom right": ["right bottom"] - }, Xp = nu({ - name: "Image", props: $p, setup(e, {emit: t}) { - const n = nn(null), o = function (e, t) { - const n = nn(""), o = yi((() => { - let e = "auto", o = ""; - const r = Up[t.mode]; - return r ? (r[0] && (o = r[0]), r[1] && (e = r[1])) : (o = "0% 0%", e = "100% 100%"), `background-image:${n.value ? 'url("' + n.value + '")' : "none"};background-position:${o};background-size:${e};` - })), r = qt({ - rootEl: e, - src: yi((() => t.src ? gu(t.src) : "")), - origWidth: 0, - origHeight: 0, - origStyle: {width: "", height: ""}, - modeStyle: o, - imgSrc: n - }); - return Io((() => { - const t = e.value.style; - r.origWidth = Number(t.width) || 0, r.origHeight = Number(t.height) || 0 - })), r - }(n, e), r = lu(n, t), {fixSize: i} = function (e, t, n) { - const o = () => { - const {mode: o} = t, r = Qp[o]; - if (!r) return; - const {origWidth: i, origHeight: a} = n, s = i && a ? i / a : 0; - if (!s) return; - const l = e.value, c = l[r[0]]; - c && (l.style[r[1]] = function (e) { - Yp && e > 10 && (e = 2 * Math.round(e / 2)); - return e - }(r[2](c, s)) + "px") - }, r = () => { - const {style: t} = e.value, {origStyle: {width: o, height: r}} = n; - t.width = o, t.height = r - }; - return Gn((() => t.mode), ((e, t) => { - Qp[t] && r(), Qp[e] && o() - })), {fixSize: o, resetSize: r} - }(n, e, o); - return function (e, t, n, o, r) { - let i, a; - const s = (t = 0, n = 0, o = "") => { - e.origWidth = t, e.origHeight = n, e.imgSrc = o - }, l = l => { - if (!l) return c(), void s(); - i = i || new Image, i.onload = e => { - const {width: u, height: d} = i; - s(u, d, l), o(), i.draggable = t.draggable, a && a.remove(), a = i, n.value.appendChild(i), c(), r("load", e, { - width: u, - height: d - }) - }, i.onerror = t => { - s(), c(), r("error", t, {errMsg: `GET ${e.src} 404 (Not Found)`}) - }, i.src = l - }, c = () => { - i && (i.onload = null, i.onerror = null, i = null) - }; - Gn((() => e.src), (e => l(e))), Gn((() => e.imgSrc), (e => { - !e && a && (a.remove(), a = null) - })), Io((() => l(e.src))), jo((() => c())) - }(o, e, n, i, r), () => Kr("uni-image", {ref: n}, [Kr("div", {style: o.modeStyle}, null, 4), Qp[e.mode] ? Kr(Lp, {onResize: i}, null, 8, ["onResize"]) : Kr("span", null, null)], 512) - } - }); -const Yp = "Google Inc." === navigator.vendor; -const Jp = ge(!0), Gp = []; -let Kp, Zp = 0; -const ef = e => Gp.forEach((t => t.userAction = e)); - -function tf(e = {userAction: !1}) { - if (!Kp) { - ["touchstart", "touchmove", "touchend", "mousedown", "mouseup"].forEach((e => { - document.addEventListener(e, (function () { - !Zp && ef(!0), Zp++, setTimeout((() => { - !--Zp && ef(!1) - }), 0) - }), Jp) - })), Kp = !0 - } - Gp.push(e) -} - -const nf = () => !!Zp; - -function of() { - const e = qt({userAction: !1}); - return Io((() => { - tf(e) - })), jo((() => { - !function (e) { - const t = Gp.indexOf(e); - t >= 0 && Gp.splice(t, 1) - }(e) - })), {state: e} -} - -function rf() { - const e = qt({attrs: {}}); - return Io((() => { - let t = ui(); - for (; t;) { - const n = t.type.__scopeId; - n && (e.attrs[n] = ""), t = t.proxy && "page" === t.proxy.$mpType ? null : t.parent - } - })), {state: e} -} - -function af(e, t) { - const n = document.activeElement; - if (!n) return t({}); - const o = {}; - ["input", "textarea"].includes(n.tagName.toLowerCase()) && (o.start = n.selectionStart, o.end = n.selectionEnd), t(o) -} - -function sf(e, t) { - return "number" === t && isNaN(Number(e)) && (e = ""), null === e ? "" : String(e) -} - -const lf = ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"], cf = S({}, { - name: {type: String, default: ""}, - modelValue: {type: [String, Number], default: ""}, - value: {type: [String, Number], default: ""}, - disabled: {type: [Boolean, String], default: !1}, - autoFocus: {type: [Boolean, String], default: !1}, - focus: {type: [Boolean, String], default: !1}, - cursor: {type: [Number, String], default: -1}, - selectionStart: {type: [Number, String], default: -1}, - selectionEnd: {type: [Number, String], default: -1}, - type: {type: String, default: "text"}, - password: {type: [Boolean, String], default: !1}, - placeholder: {type: String, default: ""}, - placeholderStyle: {type: String, default: ""}, - placeholderClass: {type: String, default: ""}, - maxlength: {type: [Number, String], default: 140}, - confirmType: {type: String, default: "done"}, - confirmHold: {type: Boolean, default: !1}, - ignoreCompositionEvent: {type: Boolean, default: !0}, - step: {type: String, default: "0.000000000000000001"}, - inputmode: {type: String, default: void 0, validator: e => !!~lf.indexOf(e)} - }, Ip), - uf = ["input", "focus", "blur", "update:value", "update:modelValue", "update:focus", "compositionstart", "compositionupdate", "compositionend", "keyboardheightchange"]; - -function df(e, t, n, o) { - const r = xe((n => { - t.value = sf(n, e.type) - }), 100, {setTimeout: setTimeout, clearTimeout: clearTimeout}); - Gn((() => e.modelValue), r), Gn((() => e.value), r); - const i = function (e, t) { - let n, o, r = 0; - const i = function (...i) { - const a = Date.now(); - clearTimeout(n), o = () => { - o = null, r = a, e.apply(this, i) - }, a - r < t ? n = setTimeout(o, t - (a - r)) : o() - }; - return i.cancel = function () { - clearTimeout(n), o = null - }, i.flush = function () { - clearTimeout(n), o && o() - }, i - }(((e, t) => { - r.cancel(), n("update:modelValue", t.value), n("update:value", t.value), o("input", e, t) - }), 100); - return Oo((() => { - r.cancel(), i.cancel() - })), { - trigger: o, triggerInput: (e, t, n) => { - r.cancel(), i(e, t), n && i.flush() - } - } -} - -function pf(e, t) { - of(); - const n = yi((() => e.autoFocus || e.focus)); - - function o() { - if (!n.value) return; - const e = t.value; - e ? e.focus() : setTimeout(o, 100) - } - - Gn((() => e.focus), (e => { - e ? o() : function () { - const e = t.value; - e && e.blur() - }() - })), Io((() => { - n.value && kn(o) - })) -} - -function ff(e, t, n, o) { - Il(yc(), "getSelectedTextRange", af); - const {fieldRef: r, state: i, trigger: a} = function (e, t, n) { - const o = nn(null), r = lu(t, n), i = yi((() => { - const t = Number(e.selectionStart); - return isNaN(t) ? -1 : t - })), a = yi((() => { - const t = Number(e.selectionEnd); - return isNaN(t) ? -1 : t - })), s = yi((() => { - const t = Number(e.cursor); - return isNaN(t) ? -1 : t - })), l = yi((() => { - var t = Number(e.maxlength); - return isNaN(t) ? 140 : t - })), c = sf(e.modelValue, e.type) || sf(e.value, e.type), u = qt({ - value: c, - valueOrigin: c, - maxlength: l, - focus: e.focus, - composing: !1, - selectionStart: i, - selectionEnd: a, - cursor: s - }); - return Gn((() => u.focus), (e => n("update:focus", e))), Gn((() => u.maxlength), (e => u.value = u.value.slice(0, e))), { - fieldRef: o, - state: u, - trigger: r - } - }(e, t, n), {triggerInput: s} = df(e, i, n, a); - pf(e, r), Mp(0, r); - const {state: l} = rf(); - !function (e, t) { - const n = Xn(cu, !1); - if (!n) return; - const o = ui(), r = { - submit() { - const n = o.proxy; - return [n[e], I(t) ? n[t] : t.value] - }, reset() { - I(t) ? o.proxy[t] = "" : t.value = "" - } - }; - n.addField(r), jo((() => { - n.removeField(r) - })) - }("name", i), function (e, t, n, o, r, i) { - function a() { - const n = e.value; - n && t.focus && t.selectionStart > -1 && t.selectionEnd > -1 && "number" !== n.type && (n.selectionStart = t.selectionStart, n.selectionEnd = t.selectionEnd) - } - - function s() { - const n = e.value; - n && t.focus && t.selectionStart < 0 && t.selectionEnd < 0 && t.cursor > -1 && "number" !== n.type && (n.selectionEnd = n.selectionStart = t.cursor) - } - - function l(e) { - return "number" === e.type ? null : e.selectionEnd - } - - Gn([() => t.selectionStart, () => t.selectionEnd], a), Gn((() => t.cursor), s), Gn((() => e.value), (function () { - const c = e.value; - if (!c) return; - const u = function (e, o) { - e.stopPropagation(), O(i) && !1 === i(e, t) || (t.value = c.value, t.composing && n.ignoreCompositionEvent || r(e, { - value: c.value, - cursor: l(c) - }, o)) - }; - - function d(e) { - n.ignoreCompositionEvent || o(e.type, e, {value: e.data}) - } - - c.addEventListener("change", (e => e.stopPropagation())), c.addEventListener("focus", (function (e) { - t.focus = !0, o("focus", e, {value: t.value}), a(), s() - })), c.addEventListener("blur", (function (e) { - t.composing && (t.composing = !1, u(e, !0)), t.focus = !1, o("blur", e, { - value: t.value, - cursor: l(e.target) - }) - })), c.addEventListener("input", u), c.addEventListener("compositionstart", (e => { - e.stopPropagation(), t.composing = !0, d(e) - })), c.addEventListener("compositionend", (e => { - e.stopPropagation(), t.composing && (t.composing = !1, u(e)), d(e) - })), c.addEventListener("compositionupdate", d) - })) - }(r, i, e, a, s, o); - return { - fieldRef: r, - state: i, - scopedAttrsState: l, - fixDisabledColor: 0 === String(navigator.vendor).indexOf("Apple") && CSS.supports("image-orientation:from-image"), - trigger: a - } -} - -const hf = nu({ - name: "Input", - props: S({}, cf, { - placeholderClass: {type: String, default: "input-placeholder"}, - textContentType: {type: String, default: ""} - }), - emits: ["confirm", ...uf], - setup(e, {emit: t}) { - const n = ["text", "number", "idcard", "digit", "password", "tel"], o = ["off", "one-time-code"], - r = yi((() => { - let t = ""; - switch (e.type) { - case"text": - "search" === e.confirmType && (t = "search"); - break; - case"idcard": - t = "text"; - break; - case"digit": - t = "number"; - break; - default: - t = ~n.includes(e.type) ? e.type : "text" - } - return e.password ? "password" : t - })), i = yi((() => { - const t = o.indexOf(e.textContentType), n = o.indexOf(Q(e.textContentType)); - return o[-1 !== t ? t : -1 !== n ? n : 0] - })); - let a, s = nn(""); - const l = nn(null), {fieldRef: c, state: u, scopedAttrsState: d, fixDisabledColor: p, trigger: f} = ff(e, l, t, ((e, t) => { - const n = e.target; - if ("number" === r.value) { - if (a && (n.removeEventListener("blur", a), a = null), n.validity && !n.validity.valid) { - if ((!s.value || !n.value) && "-" === e.data || "-" === s.value[0] && "deleteContentBackward" === e.inputType) return s.value = "-", t.value = "", a = () => { - s.value = n.value = "" - }, n.addEventListener("blur", a), !1; - if (s.value) if (-1 !== s.value.indexOf(".")) { - if ("." !== e.data && "deleteContentBackward" === e.inputType) { - const e = s.value.indexOf("."); - return s.value = n.value = t.value = s.value.slice(0, e), !0 - } - } else if ("." === e.data) return s.value += ".", a = () => { - s.value = n.value = s.value.slice(0, -1) - }, n.addEventListener("blur", a), !1; - return s.value = t.value = n.value = "-" === s.value ? "" : s.value, !1 - } - s.value = n.value; - const o = t.maxlength; - if (o > 0 && n.value.length > o) return n.value = n.value.slice(0, o), t.value = n.value, !1 - } - })); - Gn((() => u.value), (t => { - "number" !== e.type || "-" === s.value && "" === t || (s.value = t) - })); - const h = ["number", "digit"], m = yi((() => h.includes(e.type) ? e.step : "")); - - function g(t) { - if ("Enter" !== t.key) return; - const n = t.target; - t.stopPropagation(), f("confirm", t, {value: n.value}), !e.confirmHold && n.blur() - } - - return () => { - let t = e.disabled && p ? Kr("input", { - key: "disabled-input", - ref: c, - value: u.value, - tabindex: "-1", - readonly: !!e.disabled, - type: r.value, - maxlength: u.maxlength, - step: m.value, - class: "uni-input-input", - onFocus: e => e.target.blur() - }, null, 40, ["value", "readonly", "type", "maxlength", "step", "onFocus"]) : qo(Kr("input", { - key: "input", - ref: c, - "onUpdate:modelValue": e => u.value = e, - disabled: !!e.disabled, - type: r.value, - maxlength: u.maxlength, - step: m.value, - enterkeyhint: e.confirmType, - pattern: "number" === e.type ? "[0-9]*" : void 0, - class: "uni-input-input", - autocomplete: i.value, - onKeyup: g, - inputmode: e.inputmode - }, null, 40, ["onUpdate:modelValue", "disabled", "type", "maxlength", "step", "enterkeyhint", "pattern", "autocomplete", "onKeyup", "inputmode"]), [[va, u.value]]); - return Kr("uni-input", {ref: l}, [Kr("div", {class: "uni-input-wrapper"}, [qo(Kr("div", ii(d.attrs, { - style: e.placeholderStyle, - class: ["uni-input-placeholder", e.placeholderClass] - }), [e.placeholder], 16), [[xa, !(u.value.length || "-" === s.value)]]), "search" === e.confirmType ? Kr("form", { - action: "", - onSubmit: e => e.preventDefault(), - class: "uni-input-form" - }, [t], 40, ["onSubmit"]) : t])], 512) - } - } -}); -const mf = ["class", "style"], gf = /^on[A-Z]+/, vf = (e = {}) => { - const {excludeListeners: t = !1, excludeKeys: n = []} = e, o = ui(), r = on({}), i = on({}), a = on({}), - s = n.concat(mf); - return o.attrs = qt(o.attrs), Yn((() => { - const e = (n = o.attrs, Object.keys(n).map((e => [e, n[e]]))).reduce(((e, [n, o]) => (s.includes(n) ? e.exclude[n] = o : gf.test(n) ? (t || (e.attrs[n] = o), e.listeners[n] = o) : e.attrs[n] = o, e)), { - exclude: {}, - attrs: {}, - listeners: {} - }); - var n; - r.value = e.attrs, i.value = e.listeners, a.value = e.exclude - })), {$attrs: r, $listeners: i, $excludeAttrs: a} -}; - -function bf(e) { - const t = []; - return C(e) && e.forEach((e => { - Qr(e) ? e.type === Mr ? t.push(...bf(e.children)) : t.push(e) : C(e) && t.push(...bf(e)) - })), t -} - -const yf = nu({ - inheritAttrs: !1, name: "MovableArea", props: {scaleArea: {type: Boolean, default: !1}}, setup(e, {slots: t}) { - const n = nn(null), o = nn(!1); - let {setContexts: r, events: i} = function (e, t) { - const n = nn(0), o = nn(0), r = qt({x: null, y: null}), i = nn(null); - let a = null, s = []; - - function l(t) { - t && 1 !== t && (e.scaleArea ? s.forEach((function (e) { - e._setScale(t) - })) : a && a._setScale(t)) - } - - function c(e, n = s) { - let o = t.value; - - function r(e) { - for (let t = 0; t < n.length; t++) { - const o = n[t]; - if (e === o.rootRef.value) return o - } - return e === o || e === document.body || e === document ? null : r(e.parentNode) - } - - return r(e) - } - - const u = su((t => { - let n = t.touches; - if (n && n.length > 1) { - let t = {x: n[1].pageX - n[0].pageX, y: n[1].pageY - n[0].pageY}; - if (i.value = _f(t), r.x = t.x, r.y = t.y, !e.scaleArea) { - let e = c(n[0].target), t = c(n[1].target); - a = e && e === t ? e : null - } - } - })), d = su((e => { - let t = e.touches; - if (t && t.length > 1) { - e.preventDefault(); - let n = {x: t[1].pageX - t[0].pageX, y: t[1].pageY - t[0].pageY}; - if (null !== r.x && i.value && i.value > 0) { - l(_f(n) / i.value) - } - r.x = n.x, r.y = n.y - } - })), p = su((t => { - let n = t.touches; - n && n.length || t.changedTouches && (r.x = 0, r.y = 0, i.value = null, e.scaleArea ? s.forEach((function (e) { - e._endScale() - })) : a && a._endScale()) - })); - - function f() { - h(), s.forEach((function (e, t) { - e.setParent() - })) - } - - function h() { - let e = window.getComputedStyle(t.value), r = t.value.getBoundingClientRect(); - n.value = r.width - ["Left", "Right"].reduce((function (t, n) { - const o = "padding" + n; - return t + parseFloat(e["border" + n + "Width"]) + parseFloat(e[o]) - }), 0), o.value = r.height - ["Top", "Bottom"].reduce((function (t, n) { - const o = "padding" + n; - return t + parseFloat(e["border" + n + "Width"]) + parseFloat(e[o]) - }), 0) - } - - return Un("movableAreaWidth", n), Un("movableAreaHeight", o), { - setContexts(e) { - s = e - }, events: {_onTouchstart: u, _onTouchmove: d, _onTouchend: p, _resize: f} - } - }(e, n); - const {$listeners: a, $attrs: s, $excludeAttrs: l} = vf(), c = a.value; - ["onTouchstart", "onTouchmove", "onTouchend"].forEach((e => { - let t = c[e], n = i[`_${e}`]; - c[e] = t ? [].concat(t, n) : n - })), Io((() => { - i._resize(), o.value = !0 - })); - let u = []; - const d = []; - - function p() { - const e = []; - for (let t = 0; t < u.length; t++) { - let n = u[t]; - n = n.el; - const o = d.find((e => n === e.rootRef.value)); - o && e.push(Jt(o)) - } - r(e) - } - - return Un("_isMounted", o), Un("movableAreaRootRef", n), Un("addMovableViewContext", (e => { - d.push(e), p() - })), Un("removeMovableViewContext", (e => { - const t = d.indexOf(e); - t >= 0 && (d.splice(t, 1), p()) - })), () => { - const e = t.default && t.default(); - return u = bf(e), Kr("uni-movable-area", ii({ref: n}, s.value, l.value, c), [Kr(Lp, {onResize: i._resize}, null, 8, ["onResize"]), u], 16) - } - } -}); - -function _f(e) { - return Math.sqrt(e.x * e.x + e.y * e.y) -} - -const wf = function (e, t, n, o) { - e.addEventListener(t, (e => { - O(n) && !1 === n(e) && ((void 0 === e.cancelable || e.cancelable) && e.preventDefault(), e.stopPropagation()) - }), {passive: !1}) -}; -let xf, Tf; - -function Sf(e, t, n) { - jo((() => { - document.removeEventListener("mousemove", xf), document.removeEventListener("mouseup", Tf) - })); - let o = 0, r = 0, i = 0, a = 0; - const s = function (e, n, s, l) { - if (!1 === t({ - cancelable: e.cancelable, - target: e.target, - currentTarget: e.currentTarget, - preventDefault: e.preventDefault.bind(e), - stopPropagation: e.stopPropagation.bind(e), - touches: e.touches, - changedTouches: e.changedTouches, - detail: {state: n, x: s, y: l, dx: s - o, dy: l - r, ddx: s - i, ddy: l - a, timeStamp: e.timeStamp} - })) return !1 - }; - let l, c, u = null; - wf(e, "touchstart", (function (e) { - if (l = !0, 1 === e.touches.length && !u) return u = e, o = i = e.touches[0].pageX, r = a = e.touches[0].pageY, s(e, "start", o, r) - })), wf(e, "mousedown", (function (e) { - if (c = !0, !l && !u) return u = e, o = i = e.pageX, r = a = e.pageY, s(e, "start", o, r) - })), wf(e, "touchmove", (function (e) { - if (1 === e.touches.length && u) { - const t = s(e, "move", e.touches[0].pageX, e.touches[0].pageY); - return i = e.touches[0].pageX, a = e.touches[0].pageY, t - } - })); - const d = xf = function (e) { - if (!l && c && u) { - const t = s(e, "move", e.pageX, e.pageY); - return i = e.pageX, a = e.pageY, t - } - }; - document.addEventListener("mousemove", d), wf(e, "touchend", (function (e) { - if (0 === e.touches.length && u) return l = !1, u = null, s(e, "end", e.changedTouches[0].pageX, e.changedTouches[0].pageY) - })); - const p = Tf = function (e) { - if (c = !1, !l && u) return u = null, s(e, "end", e.pageX, e.pageY) - }; - document.addEventListener("mouseup", p), wf(e, "touchcancel", (function (e) { - if (u) { - l = !1; - const t = u; - return u = null, s(e, n ? "cancel" : "end", t.touches[0].pageX, t.touches[0].pageY) - } - })) -} - -function Ef(e, t, n) { - return e > t - n && e < t + n -} - -function kf(e, t) { - return Ef(e, 0, t) -} - -function Af() { -} - -function Cf(e, t) { - this._m = e, this._f = 1e3 * t, this._startTime = 0, this._v = 0 -} - -function Bf(e, t, n) { - this._m = e, this._k = t, this._c = n, this._solution = null, this._endPosition = 0, this._startTime = 0 -} - -function Pf(e, t, n) { - this._springX = new Bf(e, t, n), this._springY = new Bf(e, t, n), this._springScale = new Bf(e, t, n), this._startTime = 0 -} - -Af.prototype.x = function (e) { - return Math.sqrt(e) -}, Cf.prototype.setV = function (e, t) { - const n = Math.pow(Math.pow(e, 2) + Math.pow(t, 2), .5); - this._x_v = e, this._y_v = t, this._x_a = -this._f * this._x_v / n, this._y_a = -this._f * this._y_v / n, this._t = Math.abs(e / this._x_a) || Math.abs(t / this._y_a), this._lastDt = null, this._startTime = (new Date).getTime() -}, Cf.prototype.setS = function (e, t) { - this._x_s = e, this._y_s = t -}, Cf.prototype.s = function (e) { - void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), e > this._t && (e = this._t, this._lastDt = e); - let t = this._x_v * e + .5 * this._x_a * Math.pow(e, 2) + this._x_s, - n = this._y_v * e + .5 * this._y_a * Math.pow(e, 2) + this._y_s; - return (this._x_a > 0 && t < this._endPositionX || this._x_a < 0 && t > this._endPositionX) && (t = this._endPositionX), (this._y_a > 0 && n < this._endPositionY || this._y_a < 0 && n > this._endPositionY) && (n = this._endPositionY), { - x: t, - y: n - } -}, Cf.prototype.ds = function (e) { - return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), e > this._t && (e = this._t), { - dx: this._x_v + this._x_a * e, - dy: this._y_v + this._y_a * e - } -}, Cf.prototype.delta = function () { - return {x: -1.5 * Math.pow(this._x_v, 2) / this._x_a || 0, y: -1.5 * Math.pow(this._y_v, 2) / this._y_a || 0} -}, Cf.prototype.dt = function () { - return -this._x_v / this._x_a -}, Cf.prototype.done = function () { - const e = Ef(this.s().x, this._endPositionX) || Ef(this.s().y, this._endPositionY) || this._lastDt === this._t; - return this._lastDt = null, e -}, Cf.prototype.setEnd = function (e, t) { - this._endPositionX = e, this._endPositionY = t -}, Cf.prototype.reconfigure = function (e, t) { - this._m = e, this._f = 1e3 * t -}, Bf.prototype._solve = function (e, t) { - const n = this._c, o = this._m, r = this._k, i = n * n - 4 * o * r; - if (0 === i) { - const r = -n / (2 * o), i = e, a = t / (r * e); - return { - x: function (e) { - return (i + a * e) * Math.pow(Math.E, r * e) - }, dx: function (e) { - const t = Math.pow(Math.E, r * e); - return r * (i + a * e) * t + a * t - } - } - } - if (i > 0) { - const r = (-n - Math.sqrt(i)) / (2 * o), a = (-n + Math.sqrt(i)) / (2 * o), s = (t - r * e) / (a - r), - l = e - s; - return { - x: function (e) { - let t, n; - return e === this._t && (t = this._powER1T, n = this._powER2T), this._t = e, t || (t = this._powER1T = Math.pow(Math.E, r * e)), n || (n = this._powER2T = Math.pow(Math.E, a * e)), l * t + s * n - }, dx: function (e) { - let t, n; - return e === this._t && (t = this._powER1T, n = this._powER2T), this._t = e, t || (t = this._powER1T = Math.pow(Math.E, r * e)), n || (n = this._powER2T = Math.pow(Math.E, a * e)), l * r * t + s * a * n - } - } - } - const a = Math.sqrt(4 * o * r - n * n) / (2 * o), s = -n / 2 * o, l = e, c = (t - s * e) / a; - return { - x: function (e) { - return Math.pow(Math.E, s * e) * (l * Math.cos(a * e) + c * Math.sin(a * e)) - }, dx: function (e) { - const t = Math.pow(Math.E, s * e), n = Math.cos(a * e), o = Math.sin(a * e); - return t * (c * a * n - l * a * o) + s * t * (c * o + l * n) - } - } -}, Bf.prototype.x = function (e) { - return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._endPosition + this._solution.x(e) : 0 -}, Bf.prototype.dx = function (e) { - return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._solution.dx(e) : 0 -}, Bf.prototype.setEnd = function (e, t, n) { - if (n || (n = (new Date).getTime()), e !== this._endPosition || !kf(t, .1)) { - t = t || 0; - let o = this._endPosition; - this._solution && (kf(t, .1) && (t = this._solution.dx((n - this._startTime) / 1e3)), o = this._solution.x((n - this._startTime) / 1e3), kf(t, .1) && (t = 0), kf(o, .1) && (o = 0), o += this._endPosition), this._solution && kf(o - e, .1) && kf(t, .1) || (this._endPosition = e, this._solution = this._solve(o - this._endPosition, t), this._startTime = n) - } -}, Bf.prototype.snap = function (e) { - this._startTime = (new Date).getTime(), this._endPosition = e, this._solution = { - x: function () { - return 0 - }, dx: function () { - return 0 - } - } -}, Bf.prototype.done = function (e) { - return e || (e = (new Date).getTime()), Ef(this.x(), this._endPosition, .1) && kf(this.dx(), .1) -}, Bf.prototype.reconfigure = function (e, t, n) { - this._m = e, this._k = t, this._c = n, this.done() || (this._solution = this._solve(this.x() - this._endPosition, this.dx()), this._startTime = (new Date).getTime()) -}, Bf.prototype.springConstant = function () { - return this._k -}, Bf.prototype.damping = function () { - return this._c -}, Bf.prototype.configuration = function () { - return [{ - label: "Spring Constant", read: this.springConstant.bind(this), write: function (e, t) { - e.reconfigure(1, t, e.damping()) - }.bind(this, this), min: 100, max: 1e3 - }, { - label: "Damping", read: this.damping.bind(this), write: function (e, t) { - e.reconfigure(1, e.springConstant(), t) - }.bind(this, this), min: 1, max: 500 - }] -}, Pf.prototype.setEnd = function (e, t, n, o) { - const r = (new Date).getTime(); - this._springX.setEnd(e, o, r), this._springY.setEnd(t, o, r), this._springScale.setEnd(n, o, r), this._startTime = r -}, Pf.prototype.x = function () { - const e = ((new Date).getTime() - this._startTime) / 1e3; - return {x: this._springX.x(e), y: this._springY.x(e), scale: this._springScale.x(e)} -}, Pf.prototype.done = function () { - const e = (new Date).getTime(); - return this._springX.done(e) && this._springY.done(e) && this._springScale.done(e) -}, Pf.prototype.reconfigure = function (e, t, n) { - this._springX.reconfigure(e, t, n), this._springY.reconfigure(e, t, n), this._springScale.reconfigure(e, t, n) -}; - -function Lf(e, t) { - return +((1e3 * e - 1e3 * t) / 1e3).toFixed(1) -} - -const Of = nu({ - name: "MovableView", - props: { - direction: {type: String, default: "none"}, - inertia: {type: [Boolean, String], default: !1}, - outOfBounds: {type: [Boolean, String], default: !1}, - x: {type: [Number, String], default: 0}, - y: {type: [Number, String], default: 0}, - damping: {type: [Number, String], default: 20}, - friction: {type: [Number, String], default: 2}, - disabled: {type: [Boolean, String], default: !1}, - scale: {type: [Boolean, String], default: !1}, - scaleMin: {type: [Number, String], default: .5}, - scaleMax: {type: [Number, String], default: 10}, - scaleValue: {type: [Number, String], default: 1}, - animation: {type: [Boolean, String], default: !0} - }, - emits: ["change", "scale"], - setup(e, {slots: t, emit: n}) { - const o = nn(null), r = lu(o, n), {setParent: i} = function (e, t, n) { - const o = Xn("_isMounted", nn(!1)), r = Xn("addMovableViewContext", (() => { - })), i = Xn("removeMovableViewContext", (() => { - })); - let a, s, l = nn(1), c = nn(1), u = nn(!1), d = nn(0), p = nn(0), f = null, h = null, m = !1, g = null, - v = null; - const b = new Af, y = new Af, _ = {historyX: [0, 0], historyY: [0, 0], historyT: [0, 0]}, w = yi((() => { - let t = Number(e.friction); - return isNaN(t) || t <= 0 ? 2 : t - })), x = new Cf(1, w.value); - Gn((() => e.disabled), (() => { - $() - })); - const {_updateOldScale: T, _endScale: S, _setScale: E, scaleValueSync: k, _updateBoundary: A, _updateOffset: C, _updateWH: B, _scaleOffset: P, minX: L, minY: O, maxX: I, maxY: M, FAandSFACancel: F, _getLimitXY: j, _setTransform: R, _revise: N, dampingNumber: D, xMove: z, yMove: H, xSync: q, ySync: V, _STD: W} = function (e, t, n, o, r, i, a, s, l, c) { - const u = yi((() => { - let t = Number(e.scaleMin); - return isNaN(t) ? .5 : t - })), d = yi((() => { - let t = Number(e.scaleMax); - return isNaN(t) ? 10 : t - })), p = nn(Number(e.scaleValue) || 1); - Gn(p, (e => { - R(e) - })), Gn(u, (() => { - j() - })), Gn(d, (() => { - j() - })), Gn((() => e.scaleValue), (e => { - p.value = Number(e) || 0 - })); - const {_updateBoundary: f, _updateOffset: h, _updateWH: m, _scaleOffset: g, minX: v, minY: b, maxX: y, maxY: _} = function (e, t, n) { - const o = Xn("movableAreaWidth", nn(0)), r = Xn("movableAreaHeight", nn(0)), - i = Xn("movableAreaRootRef"), a = {x: 0, y: 0}, s = {x: 0, y: 0}, l = nn(0), c = nn(0), - u = nn(0), d = nn(0), p = nn(0), f = nn(0); - - function h() { - let e = 0 - a.x + s.x, t = o.value - l.value - a.x - s.x; - u.value = Math.min(e, t), p.value = Math.max(e, t); - let n = 0 - a.y + s.y, i = r.value - c.value - a.y - s.y; - d.value = Math.min(n, i), f.value = Math.max(n, i) - } - - function m() { - a.x = Ff(e.value, i.value), a.y = jf(e.value, i.value) - } - - function g(o) { - o = o || t.value, o = n(o); - let r = e.value.getBoundingClientRect(); - c.value = r.height / t.value, l.value = r.width / t.value; - let i = c.value * o, a = l.value * o; - s.x = (a - l.value) / 2, s.y = (i - c.value) / 2 - } - - return { - _updateBoundary: h, - _updateOffset: m, - _updateWH: g, - _scaleOffset: s, - minX: u, - minY: d, - maxX: p, - maxY: f - } - }(t, o, F), {FAandSFACancel: w, _getLimitXY: x, _animationTo: T, _setTransform: S, _revise: E, dampingNumber: k, xMove: A, yMove: C, xSync: B, ySync: P, _STD: L} = function (e, t, n, o, r, i, a, s, l, c, u, d, p, f) { - const h = yi((() => { - let e = Number(t.damping); - return isNaN(e) ? 20 : e - })), m = yi((() => "all" === t.direction || "horizontal" === t.direction)), - g = yi((() => "all" === t.direction || "vertical" === t.direction)), v = nn(Nf(t.x)), - b = nn(Nf(t.y)); - Gn((() => t.x), (e => { - v.value = Nf(e) - })), Gn((() => t.y), (e => { - b.value = Nf(e) - })), Gn(v, (e => { - E(e) - })), Gn(b, (e => { - k(e) - })); - const y = new Pf(1, 9 * Math.pow(h.value, 2) / 40, h.value); - - function _(e, t) { - let n = !1; - return e > r.value ? (e = r.value, n = !0) : e < a.value && (e = a.value, n = !0), t > i.value ? (t = i.value, n = !0) : t < s.value && (t = s.value, n = !0), { - x: e, - y: t, - outOfBounds: n - } - } - - function w() { - d && d.cancel(), u && u.cancel() - } - - function x(e, n, r, i, a, s) { - w(), m.value || (e = l.value), g.value || (n = c.value), t.scale || (r = o.value); - let d = _(e, n); - e = d.x, n = d.y, t.animation ? (y._springX._solution = null, y._springY._solution = null, y._springScale._solution = null, y._springX._endPosition = l.value, y._springY._endPosition = c.value, y._springScale._endPosition = o.value, y.setEnd(e, n, r, 1), u = Rf(y, (function () { - let e = y.x(); - T(e.x, e.y, e.scale, i, a, s) - }), (function () { - u.cancel() - }))) : T(e, n, r, i, a, s) - } - - function T(r, i, a, s = "", u, d) { - null !== r && "NaN" !== r.toString() && "number" == typeof r || (r = l.value || 0), null !== i && "NaN" !== i.toString() && "number" == typeof i || (i = c.value || 0), r = Number(r.toFixed(1)), i = Number(i.toFixed(1)), a = Number(a.toFixed(1)), l.value === r && c.value === i || u || f("change", {}, { - x: Lf(r, n.x), - y: Lf(i, n.y), - source: s - }), t.scale || (a = o.value), a = +(a = p(a)).toFixed(3), d && a !== o.value && f("scale", {}, { - x: r, - y: i, - scale: a - }); - let h = "translateX(" + r + "px) translateY(" + i + "px) translateZ(0px) scale(" + a + ")"; - e.value && (e.value.style.transform = h, e.value.style.webkitTransform = h, l.value = r, c.value = i, o.value = a) - } - - function S(e) { - let t = _(l.value, c.value), n = t.x, r = t.y, i = t.outOfBounds; - return i && x(n, r, o.value, e), i - } - - function E(e) { - if (m.value) { - if (e + n.x === l.value) return l; - u && u.cancel(), x(e + n.x, b.value + n.y, o.value) - } - return e - } - - function k(e) { - if (g.value) { - if (e + n.y === c.value) return c; - u && u.cancel(), x(v.value + n.x, e + n.y, o.value) - } - return e - } - - return { - FAandSFACancel: w, - _getLimitXY: _, - _animationTo: x, - _setTransform: T, - _revise: S, - dampingNumber: h, - xMove: m, - yMove: g, - xSync: v, - ySync: b, - _STD: y - } - }(t, e, g, o, y, _, v, b, a, s, l, c, F, n); - - function O(t, n) { - if (e.scale) { - t = F(t), m(t), f(); - const e = x(a.value, s.value), o = e.x, r = e.y; - n ? T(o, r, t, "", !0, !0) : Mf((function () { - S(o, r, t, "", !0, !0) - })) - } - } - - function I() { - i.value = !0 - } - - function M(e) { - r.value = e - } - - function F(e) { - return e = Math.max(.5, u.value, e), e = Math.min(10, d.value, e) - } - - function j() { - if (!e.scale) return !1; - O(o.value, !0), M(o.value) - } - - function R(t) { - return !!e.scale && (O(t = F(t), !0), M(t), t) - } - - function N() { - i.value = !1, M(o.value) - } - - function D(e) { - e && (e = r.value * e, I(), O(e)) - } - - return { - _updateOldScale: M, - _endScale: N, - _setScale: D, - scaleValueSync: p, - _updateBoundary: f, - _updateOffset: h, - _updateWH: m, - _scaleOffset: g, - minX: v, - minY: b, - maxX: y, - maxY: _, - FAandSFACancel: w, - _getLimitXY: x, - _animationTo: T, - _setTransform: S, - _revise: E, - dampingNumber: k, - xMove: A, - yMove: C, - xSync: B, - ySync: P, - _STD: L - } - }(e, n, t, l, c, u, d, p, f, h); - - function $() { - u.value || e.disabled || (F(), _.historyX = [0, 0], _.historyY = [0, 0], _.historyT = [0, 0], z.value && (a = d.value), H.value && (s = p.value), n.value.style.willChange = "transform", g = null, v = null, m = !0) - } - - function Q(t) { - if (!u.value && !e.disabled && m) { - let n = d.value, o = p.value; - if (null === v && (v = Math.abs(t.detail.dx / t.detail.dy) > 1 ? "htouchmove" : "vtouchmove"), z.value && (n = t.detail.dx + a, _.historyX.shift(), _.historyX.push(n), H.value || null !== g || (g = Math.abs(t.detail.dx / t.detail.dy) < 1)), H.value && (o = t.detail.dy + s, _.historyY.shift(), _.historyY.push(o), z.value || null !== g || (g = Math.abs(t.detail.dy / t.detail.dx) < 1)), _.historyT.shift(), _.historyT.push(t.detail.timeStamp), !g) { - t.preventDefault(); - let r = "touch"; - n < L.value ? e.outOfBounds ? (r = "touch-out-of-bounds", n = L.value - b.x(L.value - n)) : n = L.value : n > I.value && (e.outOfBounds ? (r = "touch-out-of-bounds", n = I.value + b.x(n - I.value)) : n = I.value), o < O.value ? e.outOfBounds ? (r = "touch-out-of-bounds", o = O.value - y.x(O.value - o)) : o = O.value : o > M.value && (e.outOfBounds ? (r = "touch-out-of-bounds", o = M.value + y.x(o - M.value)) : o = M.value), Mf((function () { - R(n, o, l.value, r) - })) - } - } - } - - function U() { - if (!u.value && !e.disabled && m && (n.value.style.willChange = "auto", m = !1, !g && !N("out-of-bounds") && e.inertia)) { - const e = 1e3 * (_.historyX[1] - _.historyX[0]) / (_.historyT[1] - _.historyT[0]), - t = 1e3 * (_.historyY[1] - _.historyY[0]) / (_.historyT[1] - _.historyT[0]), n = d.value, - o = p.value; - x.setV(e, t), x.setS(n, o); - const r = x.delta().x, i = x.delta().y; - let a = r + n, s = i + o; - a < L.value ? (a = L.value, s = o + (L.value - n) * i / r) : a > I.value && (a = I.value, s = o + (I.value - n) * i / r), s < O.value ? (s = O.value, a = n + (O.value - o) * r / i) : s > M.value && (s = M.value, a = n + (M.value - o) * r / i), x.setEnd(a, s), h = Rf(x, (function () { - let e = x.s(), t = e.x, n = e.y; - R(t, n, l.value, "friction") - }), (function () { - h.cancel() - })) - } - e.outOfBounds || e.inertia || F() - } - - function X() { - if (!o.value) return; - F(); - let t = e.scale ? k.value : 1; - C(), B(t), A(); - let n = j(q.value + P.x, V.value + P.y), r = n.x, i = n.y; - R(r, i, t, "", !0), T(t) - } - - return Io((() => { - Sf(n.value, (e => { - switch (e.detail.state) { - case"start": - $(); - break; - case"move": - Q(e); - break; - case"end": - U() - } - })), X(), x.reconfigure(1, w.value), W.reconfigure(1, 9 * Math.pow(D.value, 2) / 40, D.value), n.value.style.transformOrigin = "center"; - const e = {rootRef: n, setParent: X, _endScale: S, _setScale: E}; - r(e), Ro((() => { - i(e) - })) - })), Ro((() => { - F() - })), {setParent: X} - }(e, r, o); - return () => Kr("uni-movable-view", {ref: o}, [Kr(Lp, {onResize: i}, null, 8, ["onResize"]), t.default && t.default()], 512) - } -}); -let If = !1; - -function Mf(e) { - If || (If = !0, requestAnimationFrame((function () { - e(), If = !1 - }))) -} - -function Ff(e, t) { - if (e === t) return 0; - let n = e.offsetLeft; - return e.offsetParent ? n += Ff(e.offsetParent, t) : 0 -} - -function jf(e, t) { - if (e === t) return 0; - let n = e.offsetTop; - return e.offsetParent ? n += jf(e.offsetParent, t) : 0 -} - -function Rf(e, t, n) { - let o = {id: 0, cancelled: !1}; - return function e(t, n, o, r) { - if (!t || !t.cancelled) { - o(n); - let i = n.done(); - i || t.cancelled || (t.id = requestAnimationFrame(e.bind(null, t, n, o, r))), i && r && r(n) - } - }(o, e, t, n), { - cancel: function (e) { - e && e.id && cancelAnimationFrame(e.id), e && (e.cancelled = !0) - }.bind(null, o), model: e - } -} - -function Nf(e) { - return /\d+[ur]px$/i.test(e) ? vd(parseFloat(e)) : Number(e) || 0 -} - -const Df = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"], - zf = ["slide-in-right", "slide-in-left", "slide-in-top", "slide-in-bottom", "fade-in", "zoom-out", "zoom-fade-out", "pop-in", "none"], - Hf = ["slide-out-right", "slide-out-left", "slide-out-top", "slide-out-bottom", "fade-out", "zoom-in", "zoom-fade-in", "pop-out", "none"], - qf = { - hoverClass: {type: String, default: "navigator-hover"}, - url: {type: String, default: ""}, - openType: {type: String, default: "navigate", validator: e => Boolean(~Df.indexOf(e))}, - delta: {type: Number, default: 1}, - hoverStartTime: {type: [Number, String], default: 50}, - hoverStayTime: {type: [Number, String], default: 600}, - exists: {type: String, default: ""}, - hoverStopPropagation: {type: Boolean, default: !1}, - animationType: {type: String, default: "", validator: e => !e || zf.concat(Hf).includes(e)}, - animationDuration: {type: [String, Number], default: 300} - }; -S({}, qf, {renderLink: {type: Boolean, default: !0}}); -const Vf = nu({ - name: "PickerView", props: { - value: { - type: Array, default: () => [], validator: function (e) { - return C(e) && e.filter((e => "number" == typeof e)).length === e.length - } - }, - indicatorStyle: {type: String, default: ""}, - indicatorClass: {type: String, default: ""}, - maskStyle: {type: String, default: ""}, - maskClass: {type: String, default: ""} - }, emits: ["change", "pickstart", "pickend", "update:value"], setup(e, {slots: t, emit: n}) { - const o = nn(null), r = nn(null), i = lu(o, n), a = function (e) { - const t = qt([...e.value]), n = qt({value: t, height: 34}); - return Gn((() => e.value), ((e, t) => { - n.value.length = e.length, e.forEach(((e, t) => { - e !== n.value[t] && n.value.splice(t, 1, e) - })) - })), n - }(e), s = nn(null); - Io((() => { - const e = s.value; - e && (a.height = e.$el.offsetHeight) - })); - let l = nn([]), c = nn([]); - - function u(e) { - let t = c.value; - t = t.filter((e => e.type !== jr)); - let n = t.indexOf(e); - return -1 !== n ? n : l.value.indexOf(e) - } - - return Un("getPickerViewColumn", (function (e) { - return yi({ - get() { - const t = u(e.vnode); - return a.value[t] || 0 - }, set(t) { - const o = u(e.vnode); - if (o < 0) return; - if (a.value[o] !== t) { - a.value[o] = t; - const e = a.value.map((e => e)); - n("update:value", e), i("change", {}, {value: e}) - } - } - }) - })), Un("pickerViewProps", e), Un("pickerViewState", a), () => { - const e = t.default && t.default(); - { - const t = bf(e); - l.value = t, kn((() => { - c.value = t - })) - } - return Kr("uni-picker-view", {ref: o}, [Kr(Lp, { - ref: s, - onResize: ({height: e}) => a.height = e - }, null, 8, ["onResize"]), Kr("div", {ref: r, class: "uni-picker-view-wrapper"}, [e], 512)], 512) - } - } -}); - -class Wf { - constructor(e) { - this._drag = e, this._dragLog = Math.log(e), this._x = 0, this._v = 0, this._startTime = 0 - } - - set(e, t) { - this._x = e, this._v = t, this._startTime = (new Date).getTime() - } - - setVelocityByEnd(e) { - this._v = (e - this._x) * this._dragLog / (Math.pow(this._drag, 100) - 1) - } - - x(e) { - void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3); - const t = e === this._dt && this._powDragDt ? this._powDragDt : this._powDragDt = Math.pow(this._drag, e); - return this._dt = e, this._x + this._v * t / this._dragLog - this._v / this._dragLog - } - - dx(e) { - void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3); - const t = e === this._dt && this._powDragDt ? this._powDragDt : this._powDragDt = Math.pow(this._drag, e); - return this._dt = e, this._v * t - } - - done() { - return Math.abs(this.dx()) < 3 - } - - reconfigure(e) { - const t = this.x(), n = this.dx(); - this._drag = e, this._dragLog = Math.log(e), this.set(t, n) - } - - configuration() { - const e = this; - return [{ - label: "Friction", read: function () { - return e._drag - }, write: function (t) { - e.reconfigure(t) - }, min: .001, max: .1, step: .001 - }] - } -} - -function $f(e, t, n) { - return e > t - n && e < t + n -} - -function Qf(e, t) { - return $f(e, 0, t) -} - -class Uf { - constructor(e, t, n) { - this._m = e, this._k = t, this._c = n, this._solution = null, this._endPosition = 0, this._startTime = 0 - } - - _solve(e, t) { - const n = this._c, o = this._m, r = this._k, i = n * n - 4 * o * r; - if (0 === i) { - const r = -n / (2 * o), i = e, a = t / (r * e); - return { - x: function (e) { - return (i + a * e) * Math.pow(Math.E, r * e) - }, dx: function (e) { - const t = Math.pow(Math.E, r * e); - return r * (i + a * e) * t + a * t - } - } - } - if (i > 0) { - const r = (-n - Math.sqrt(i)) / (2 * o), a = (-n + Math.sqrt(i)) / (2 * o), s = (t - r * e) / (a - r), - l = e - s; - return { - x: function (e) { - let t, n; - return e === this._t && (t = this._powER1T, n = this._powER2T), this._t = e, t || (t = this._powER1T = Math.pow(Math.E, r * e)), n || (n = this._powER2T = Math.pow(Math.E, a * e)), l * t + s * n - }, dx: function (e) { - let t, n; - return e === this._t && (t = this._powER1T, n = this._powER2T), this._t = e, t || (t = this._powER1T = Math.pow(Math.E, r * e)), n || (n = this._powER2T = Math.pow(Math.E, a * e)), l * r * t + s * a * n - } - } - } - const a = Math.sqrt(4 * o * r - n * n) / (2 * o), s = -n / 2 * o, l = e, c = (t - s * e) / a; - return { - x: function (e) { - return Math.pow(Math.E, s * e) * (l * Math.cos(a * e) + c * Math.sin(a * e)) - }, dx: function (e) { - const t = Math.pow(Math.E, s * e), n = Math.cos(a * e), o = Math.sin(a * e); - return t * (c * a * n - l * a * o) + s * t * (c * o + l * n) - } - } - } - - x(e) { - return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._endPosition + this._solution.x(e) : 0 - } - - dx(e) { - return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._solution.dx(e) : 0 - } - - setEnd(e, t, n) { - if (n || (n = (new Date).getTime()), e !== this._endPosition || !Qf(t, .4)) { - t = t || 0; - let o = this._endPosition; - this._solution && (Qf(t, .4) && (t = this._solution.dx((n - this._startTime) / 1e3)), o = this._solution.x((n - this._startTime) / 1e3), Qf(t, .4) && (t = 0), Qf(o, .4) && (o = 0), o += this._endPosition), this._solution && Qf(o - e, .4) && Qf(t, .4) || (this._endPosition = e, this._solution = this._solve(o - this._endPosition, t), this._startTime = n) - } - } - - snap(e) { - this._startTime = (new Date).getTime(), this._endPosition = e, this._solution = { - x: function () { - return 0 - }, dx: function () { - return 0 - } - } - } - - done(e) { - return e || (e = (new Date).getTime()), $f(this.x(), this._endPosition, .4) && Qf(this.dx(), .4) - } - - reconfigure(e, t, n) { - this._m = e, this._k = t, this._c = n, this.done() || (this._solution = this._solve(this.x() - this._endPosition, this.dx()), this._startTime = (new Date).getTime()) - } - - springConstant() { - return this._k - } - - damping() { - return this._c - } - - configuration() { - return [{ - label: "Spring Constant", read: this.springConstant.bind(this), write: function (e, t) { - e.reconfigure(1, t, e.damping()) - }.bind(this, this), min: 100, max: 1e3 - }, { - label: "Damping", read: this.damping.bind(this), write: function (e, t) { - e.reconfigure(1, e.springConstant(), t) - }.bind(this, this), min: 1, max: 500 - }] - } -} - -class Xf { - constructor(e, t, n) { - this._extent = e, this._friction = t || new Wf(.01), this._spring = n || new Uf(1, 90, 20), this._startTime = 0, this._springing = !1, this._springOffset = 0 - } - - snap(e, t) { - this._springOffset = 0, this._springing = !0, this._spring.snap(e), this._spring.setEnd(t) - } - - set(e, t) { - this._friction.set(e, t), e > 0 && t >= 0 ? (this._springOffset = 0, this._springing = !0, this._spring.snap(e), this._spring.setEnd(0)) : e < -this._extent && t <= 0 ? (this._springOffset = 0, this._springing = !0, this._spring.snap(e), this._spring.setEnd(-this._extent)) : this._springing = !1, this._startTime = (new Date).getTime() - } - - x(e) { - if (!this._startTime) return 0; - if (e || (e = ((new Date).getTime() - this._startTime) / 1e3), this._springing) return this._spring.x() + this._springOffset; - let t = this._friction.x(e), n = this.dx(e); - return (t > 0 && n >= 0 || t < -this._extent && n <= 0) && (this._springing = !0, this._spring.setEnd(0, n), t < -this._extent ? this._springOffset = -this._extent : this._springOffset = 0, t = this._spring.x() + this._springOffset), t - } - - dx(e) { - let t; - return t = this._lastTime === e ? this._lastDx : this._springing ? this._spring.dx(e) : this._friction.dx(e), this._lastTime = e, this._lastDx = t, t - } - - done() { - return this._springing ? this._spring.done() : this._friction.done() - } - - setVelocityByEnd(e) { - this._friction.setVelocityByEnd(e) - } - - configuration() { - const e = this._friction.configuration(); - return e.push.apply(e, this._spring.configuration()), e - } -} - -class Yf { - constructor(e, t) { - t = t || {}, this._element = e, this._options = t, this._enableSnap = t.enableSnap || !1, this._itemSize = t.itemSize || 0, this._enableX = t.enableX || !1, this._enableY = t.enableY || !1, this._shouldDispatchScrollEvent = !!t.onScroll, this._enableX ? (this._extent = (t.scrollWidth || this._element.offsetWidth) - this._element.parentElement.offsetWidth, this._scrollWidth = t.scrollWidth) : (this._extent = (t.scrollHeight || this._element.offsetHeight) - this._element.parentElement.offsetHeight, this._scrollHeight = t.scrollHeight), this._position = 0, this._scroll = new Xf(this._extent, t.friction, t.spring), this._onTransitionEnd = this.onTransitionEnd.bind(this), this.updatePosition() - } - - onTouchStart() { - this._startPosition = this._position, this._lastChangePos = this._startPosition, this._startPosition > 0 ? this._startPosition /= .5 : this._startPosition < -this._extent && (this._startPosition = (this._startPosition + this._extent) / .5 - this._extent), this._animation && (this._animation.cancel(), this._scrolling = !1), this.updatePosition() - } - - onTouchMove(e, t) { - let n = this._startPosition; - this._enableX ? n += e : this._enableY && (n += t), n > 0 ? n *= .5 : n < -this._extent && (n = .5 * (n + this._extent) - this._extent), this._position = n, this.updatePosition(), this.dispatchScroll() - } - - onTouchEnd(e, t, n) { - if (this._enableSnap && this._position > -this._extent && this._position < 0) { - if (this._enableY && (Math.abs(t) < this._itemSize && Math.abs(n.y) < 300 || Math.abs(n.y) < 150)) return void this.snap(); - if (this._enableX && (Math.abs(e) < this._itemSize && Math.abs(n.x) < 300 || Math.abs(n.x) < 150)) return void this.snap() - } - let o; - if (this._enableX ? this._scroll.set(this._position, n.x) : this._enableY && this._scroll.set(this._position, n.y), this._enableSnap) { - const e = this._scroll._friction.x(100), t = e % this._itemSize; - o = Math.abs(t) > this._itemSize / 2 ? e - (this._itemSize - Math.abs(t)) : e - t, o <= 0 && o >= -this._extent && this._scroll.setVelocityByEnd(o) - } - this._lastTime = Date.now(), this._lastDelay = 0, this._scrolling = !0, this._lastChangePos = this._position, this._lastIdx = Math.floor(Math.abs(this._position / this._itemSize)), this._animation = function (e, t, n) { - const o = {id: 0, cancelled: !1}; - return function e(t, n, o, r) { - if (!t || !t.cancelled) { - o(n); - const i = n.done(); - i || t.cancelled || (t.id = requestAnimationFrame(e.bind(null, t, n, o, r))), i && r && r(n) - } - }(o, e, t, n), { - cancel: function (e) { - e && e.id && cancelAnimationFrame(e.id), e && (e.cancelled = !0) - }.bind(null, o), model: e - } - }(this._scroll, (() => { - const e = Date.now(), t = (e - this._scroll._startTime) / 1e3, n = this._scroll.x(t); - this._position = n, this.updatePosition(); - const o = this._scroll.dx(t); - this._shouldDispatchScrollEvent && e - this._lastTime > this._lastDelay && (this.dispatchScroll(), this._lastDelay = Math.abs(2e3 / o), this._lastTime = e) - }), (() => { - this._enableSnap && (o <= 0 && o >= -this._extent && (this._position = o, this.updatePosition()), O(this._options.onSnap) && this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize))), this._shouldDispatchScrollEvent && this.dispatchScroll(), this._scrolling = !1 - })) - } - - onTransitionEnd() { - this._element.style.webkitTransition = "", this._element.style.transition = "", this._element.removeEventListener("transitionend", this._onTransitionEnd), this._snapping && (this._snapping = !1), this.dispatchScroll() - } - - snap() { - const e = this._itemSize, t = this._position % e, - n = Math.abs(t) > this._itemSize / 2 ? this._position - (e - Math.abs(t)) : this._position - t; - this._position !== n && (this._snapping = !0, this.scrollTo(-n), O(this._options.onSnap) && this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize))) - } - - scrollTo(e, t) { - this._animation && (this._animation.cancel(), this._scrolling = !1), "number" == typeof e && (this._position = -e), this._position < -this._extent ? this._position = -this._extent : this._position > 0 && (this._position = 0); - const n = "transform " + (t || .2) + "s ease-out"; - this._element.style.webkitTransition = "-webkit-" + n, this._element.style.transition = n, this.updatePosition(), this._element.addEventListener("transitionend", this._onTransitionEnd) - } - - dispatchScroll() { - if (O(this._options.onScroll) && Math.round(Number(this._lastPos)) !== Math.round(this._position)) { - this._lastPos = this._position; - const e = { - target: { - scrollLeft: this._enableX ? -this._position : 0, - scrollTop: this._enableY ? -this._position : 0, - scrollHeight: this._scrollHeight || this._element.offsetHeight, - scrollWidth: this._scrollWidth || this._element.offsetWidth, - offsetHeight: this._element.parentElement.offsetHeight, - offsetWidth: this._element.parentElement.offsetWidth - } - }; - this._options.onScroll(e) - } - } - - update(e, t, n) { - let o = 0; - const r = this._position; - this._enableX ? (o = this._element.childNodes.length ? (t || this._element.offsetWidth) - this._element.parentElement.offsetWidth : 0, this._scrollWidth = t) : (o = this._element.childNodes.length ? (t || this._element.offsetHeight) - this._element.parentElement.offsetHeight : 0, this._scrollHeight = t), "number" == typeof e && (this._position = -e), this._position < -o ? this._position = -o : this._position > 0 && (this._position = 0), this._itemSize = n || this._itemSize, this.updatePosition(), r !== this._position && (this.dispatchScroll(), O(this._options.onSnap) && this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize))), this._extent = o, this._scroll._extent = o - } - - updatePosition() { - let e = ""; - this._enableX ? e = "translateX(" + this._position + "px) translateZ(0)" : this._enableY && (e = "translateY(" + this._position + "px) translateZ(0)"), this._element.style.webkitTransform = e, this._element.style.transform = e - } - - isScrolling() { - return this._scrolling || this._snapping - } -} - -let Jf = 0; -const Gf = nu({ - name: "PickerViewColumn", setup(e, {slots: t, emit: n}) { - const o = nn(null), r = nn(null), i = Xn("getPickerViewColumn"), a = ui(), s = i ? i(a) : nn(0), - l = Xn("pickerViewProps"), c = Xn("pickerViewState"), u = nn(34), d = nn(null); - Io((() => { - const e = d.value; - u.value = e.$el.offsetHeight - })); - const p = yi((() => (c.height - u.value) / 2)), {state: f} = rf(), h = function (e) { - const t = "uni-picker-view-content-" + Jf++; - return Gn((() => e.value), (function () { - const n = document.createElement("style"); - n.innerText = `.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`, document.head.appendChild(n) - })), t - }(u); - let m; - const g = qt({current: s.value, length: 0}); - let v; - - function b() { - m && !v && (v = !0, kn((() => { - v = !1; - let e = Math.min(g.current, g.length - 1); - e = Math.max(e, 0), m.update(e * u.value, void 0, u.value) - }))) - } - - Gn((() => s.value), (e => { - e !== g.current && (g.current = e, b()) - })), Gn((() => g.current), (e => s.value = e)), Gn([() => u.value, () => g.length, () => c.height], b); - let y = 0; - - function _(e) { - const t = y + e.deltaY; - if (Math.abs(t) > 10) { - y = 0; - let e = Math.min(g.current + (t < 0 ? -1 : 1), g.length - 1); - g.current = e = Math.max(e, 0), m.scrollTo(e * u.value) - } else y = t; - e.preventDefault() - } - - function w({clientY: e}) { - const t = o.value; - if (!m.isScrolling()) { - const n = e - t.getBoundingClientRect().top - c.height / 2, o = u.value / 2; - if (!(Math.abs(n) <= o)) { - const e = Math.ceil((Math.abs(n) - o) / u.value), t = n < 0 ? -e : e; - let r = Math.min(g.current + t, g.length - 1); - g.current = r = Math.max(r, 0), m.scrollTo(r * u.value) - } - } - } - - const x = () => { - const e = o.value, - t = r.value, {scroller: n, handleTouchStart: i, handleTouchMove: a, handleTouchEnd: s} = function (e, t) { - const n = {trackingID: -1, maxDy: 0, maxDx: 0}, o = new Yf(e, t); - - function r(e) { - const t = e, o = e; - return "move" === t.detail.state || "end" === t.detail.state ? { - x: t.detail.dx, - y: t.detail.dy - } : {x: o.screenX - n.x, y: o.screenY - n.y} - } - - return { - scroller: o, handleTouchStart: function (e) { - const t = e, r = e; - "start" === t.detail.state ? (n.trackingID = "touch", n.x = t.detail.x, n.y = t.detail.y) : (n.trackingID = "mouse", n.x = r.screenX, n.y = r.screenY), n.maxDx = 0, n.maxDy = 0, n.historyX = [0], n.historyY = [0], n.historyTime = [t.detail.timeStamp || r.timeStamp], n.listener = o, o.onTouchStart && o.onTouchStart(), ("boolean" != typeof e.cancelable || e.cancelable) && e.preventDefault() - }, handleTouchMove: function (e) { - const t = e, o = e; - if (-1 !== n.trackingID) { - ("boolean" != typeof e.cancelable || e.cancelable) && e.preventDefault(); - const i = r(e); - if (i) { - for (n.maxDy = Math.max(n.maxDy, Math.abs(i.y)), n.maxDx = Math.max(n.maxDx, Math.abs(i.x)), n.historyX.push(i.x), n.historyY.push(i.y), n.historyTime.push(t.detail.timeStamp || o.timeStamp); n.historyTime.length > 10;) n.historyTime.shift(), n.historyX.shift(), n.historyY.shift(); - n.listener && n.listener.onTouchMove && n.listener.onTouchMove(i.x, i.y) - } - } - }, handleTouchEnd: function (e) { - if (-1 !== n.trackingID) { - e.preventDefault(); - const t = r(e); - if (t) { - const e = n.listener; - n.trackingID = -1, n.listener = null; - const o = {x: 0, y: 0}; - if (n.historyTime.length > 2) for (let t = n.historyTime.length - 1, r = n.historyTime[t], i = n.historyX[t], a = n.historyY[t]; t > 0;) { - t--; - const e = r - n.historyTime[t]; - if (e > 30 && e < 50) { - o.x = (i - n.historyX[t]) / (e / 1e3), o.y = (a - n.historyY[t]) / (e / 1e3); - break - } - } - n.historyTime = [], n.historyX = [], n.historyY = [], e && e.onTouchEnd && e.onTouchEnd(t.x, t.y, o) - } - } - } - } - }(t, { - enableY: !0, - enableX: !1, - enableSnap: !0, - itemSize: u.value, - friction: new Wf(1e-4), - spring: new Uf(2, 90, 20), - onSnap: e => { - isNaN(e) || e === g.current || (g.current = e) - } - }); - m = n, Sf(e, (e => { - switch (e.detail.state) { - case"start": - i(e); - break; - case"move": - a(e), e.stopPropagation(); - break; - case"end": - case"cancel": - s(e) - } - }), !0), function (e) { - let t = 0, n = 0; - e.addEventListener("touchstart", (e => { - const o = e.changedTouches[0]; - t = o.clientX, n = o.clientY - })), e.addEventListener("touchend", (e => { - const o = e.changedTouches[0]; - if (Math.abs(o.clientX - t) < 20 && Math.abs(o.clientY - n) < 20) { - const t = {bubbles: !0, cancelable: !0, target: e.target, currentTarget: e.currentTarget}, - n = new CustomEvent("click", t); - ["screenX", "screenY", "clientX", "clientY", "pageX", "pageY"].forEach((e => { - n[e] = o[e] - })), e.target.dispatchEvent(n) - } - })) - }(e), b() - }; - return Io(x), () => { - const e = t.default && t.default(); - g.length = bf(e).length; - const n = `${p.value}px 0`; - return Kr("uni-picker-view-column", {ref: o}, [Kr("div", { - onWheel: _, - onClick: w, - class: "uni-picker-view-group" - }, [Kr("div", ii(f.attrs, { - class: ["uni-picker-view-mask", l.maskClass], - style: `background-size: 100% ${p.value}px;${l.maskStyle}` - }), null, 16), Kr("div", ii(f.attrs, { - class: ["uni-picker-view-indicator", l.indicatorClass], - style: l.indicatorStyle - }), [Kr(Lp, { - ref: d, - onResize: ({height: e}) => u.value = e - }, null, 8, ["onResize"])], 16), Kr("div", { - ref: r, - class: ["uni-picker-view-content", h], - style: {padding: n} - }, [e], 6)], 40, ["onWheel", "onClick"])], 512) - } - } -}), Kf = { - a: "", - abbr: "", - address: "", - article: "", - aside: "", - b: "", - bdi: "", - bdo: ["dir"], - big: "", - blockquote: "", - br: "", - caption: "", - center: "", - cite: "", - code: "", - col: ["span", "width"], - colgroup: ["span", "width"], - dd: "", - del: "", - div: "", - dl: "", - dt: "", - em: "", - fieldset: "", - font: "", - footer: "", - h1: "", - h2: "", - h3: "", - h4: "", - h5: "", - h6: "", - header: "", - hr: "", - i: "", - img: ["alt", "src", "height", "width"], - ins: "", - label: "", - legend: "", - li: "", - mark: "", - nav: "", - ol: ["start", "type"], - p: "", - pre: "", - q: "", - rt: "", - ruby: "", - s: "", - section: "", - small: "", - span: "", - strong: "", - sub: "", - sup: "", - table: ["width"], - tbody: "", - td: ["colspan", "height", "rowspan", "width"], - tfoot: "", - th: ["colspan", "height", "rowspan", "width"], - thead: "", - tr: ["colspan", "height", "rowspan", "width"], - tt: "", - u: "", - ul: "" -}, Zf = { - amp: "&", - gt: ">", - lt: "<", - nbsp: " ", - quot: '"', - apos: "'", - ldquo: "“", - rdquo: "”", - yen: "¥", - radic: "√", - lceil: "⌈", - rceil: "⌉", - lfloor: "⌊", - rfloor: "⌋", - hellip: "…" -}; -const eh = (e, t, n) => !n || C(n) && !n.length ? [] : n.map((n => { - if (D(n)) { - if (!A(n, "type") || "node" === n.type) { - let o = {[e]: ""}; - const r = n.name.toLowerCase(); - if (!A(Kf, r)) return; - return function (e, t) { - if (D(t)) for (const n in t) if (A(t, n)) { - const o = t[n]; - "img" === e && "src" === n && (t[n] = gu(o)) - } - }(r, n.attrs), o = S(o, function (e, t) { - if (["a", "img"].includes(e.name) && t) return { - onClick: n => { - t(n, {node: e}), n.stopPropagation(), n.preventDefault(), n.returnValue = !1 - } - } - }(n, t), n.attrs), _i(n.name, o, eh(e, t, n.children)) - } - return "text" === n.type && I(n.text) && "" !== n.text ? ei((n.text || "").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi, (function (e, t) { - return A(Zf, t) && Zf[t] ? Zf[t] : /^#[0-9]{1,4}$/.test(t) ? String.fromCharCode(t.slice(1)) : /^#x[0-9a-f]{1,4}$/i.test(t) ? String.fromCharCode(0 + t.slice(1)) : e - }))) : void 0 - } -})); - -function th(e) { - e = function (e) { - return e.replace(/<\?xml.*\?>\n/, "").replace(/\n/, "").replace(/\n/, "") - }(e); - const t = [], n = {node: "root", children: []}; - return function (e, t) { - var n, o, r, i = [], a = e; - for (i.last = function () { - return this[this.length - 1] - }; e;) { - if (o = !0, i.last() && Vp[i.last()]) e = e.replace(new RegExp("([\\s\\S]*?)]*>"), (function (e, n) { - return n = n.replace(/|/g, "$1$2"), t.chars && t.chars(n), "" - })), c("", i.last()); else if (0 == e.indexOf("\x3c!--") ? (n = e.indexOf("--\x3e")) >= 0 && (t.comment && t.comment(e.substring(4, n)), e = e.substring(n + 3), o = !1) : 0 == e.indexOf("= 0 && i[o] != n; o--) ; else var o = 0; - if (o >= 0) { - for (var r = i.length - 1; r >= o; r--) t.end && t.end(i[r]); - i.length = o - } - } - - c() - }(e, { - start: function (e, o, r) { - const i = {name: e}; - if (0 !== o.length && (i.attrs = function (e) { - return e.reduce((function (e, t) { - let n = t.value; - const o = t.name; - return n.match(/ /) && -1 === ["style", "src"].indexOf(o) && (n = n.split(" ")), e[o] ? Array.isArray(e[o]) ? e[o].push(n) : e[o] = [e[o], n] : e[o] = n, e - }), {}) - }(o)), r) { - const e = t[0] || n; - e.children || (e.children = []), e.children.push(i) - } else t.unshift(i) - }, end: function (e) { - const o = t.shift(); - if (o.name !== e && console.error("invalid state: mismatch end tag"), 0 === t.length) n.children.push(o); else { - const e = t[0]; - e.children || (e.children = []), e.children.push(o) - } - }, chars: function (e) { - const o = {type: "text", text: e}; - if (0 === t.length) n.children.push(o); else { - const e = t[0]; - e.children || (e.children = []), e.children.push(o) - } - }, comment: function (e) { - const n = {node: "comment", text: e}, o = t[0]; - o.children || (o.children = []), o.children.push(n) - } - }), n.children -} - -const nh = nu({ - name: "RichText", - compatConfig: {MODE: 3}, - props: { - nodes: { - type: [Array, String], default: function () { - return [] - } - } - }, - emits: ["click", "touchstart", "touchmove", "touchcancel", "touchend", "longpress", "itemclick"], - setup(e, {emit: t}) { - const n = ui(), o = n && n.vnode.scopeId || "", r = nn(null), i = nn([]), a = lu(r, t); - - function s(e, t = {}) { - a("itemclick", e, t) - } - - return Gn((() => e.nodes), (function () { - let t = e.nodes; - I(t) && (t = th(e.nodes)), i.value = eh(o, s, t) - }), {immediate: !0}), () => _i("uni-rich-text", {ref: r}, _i("div", {}, i.value)) - } -}), oh = ge(!0), rh = nu({ - name: "ScrollView", - compatConfig: {MODE: 3}, - props: { - scrollX: {type: [Boolean, String], default: !1}, - scrollY: {type: [Boolean, String], default: !1}, - upperThreshold: {type: [Number, String], default: 50}, - lowerThreshold: {type: [Number, String], default: 50}, - scrollTop: {type: [Number, String], default: 0}, - scrollLeft: {type: [Number, String], default: 0}, - scrollIntoView: {type: String, default: ""}, - scrollWithAnimation: {type: [Boolean, String], default: !1}, - enableBackToTop: {type: [Boolean, String], default: !1}, - refresherEnabled: {type: [Boolean, String], default: !1}, - refresherThreshold: {type: Number, default: 45}, - refresherDefaultStyle: {type: String, default: "back"}, - refresherBackground: {type: String, default: "#fff"}, - refresherTriggered: {type: [Boolean, String], default: !1} - }, - emits: ["scroll", "scrolltoupper", "scrolltolower", "refresherrefresh", "refresherrestore", "refresherpulling", "refresherabort", "update:refresherTriggered"], - setup(e, {emit: t, slots: n}) { - const o = nn(null), r = nn(null), i = nn(null), a = nn(null), s = nn(null), - l = lu(o, t), {state: c, scrollTopNumber: u, scrollLeftNumber: d} = function (e) { - const t = yi((() => Number(e.scrollTop) || 0)), n = yi((() => Number(e.scrollLeft) || 0)); - return { - state: qt({ - lastScrollTop: t.value, - lastScrollLeft: n.value, - lastScrollToUpperTime: 0, - lastScrollToLowerTime: 0, - refresherHeight: 0, - refreshRotate: 0, - refreshState: "" - }), scrollTopNumber: t, scrollLeftNumber: n - } - }(e); - !function (e, t, n, o, r, i, a, s, l) { - let c = !1, u = 0, d = !1, p = () => { - }; - const f = yi((() => { - let t = Number(e.upperThreshold); - return isNaN(t) ? 50 : t - })), h = yi((() => { - let t = Number(e.lowerThreshold); - return isNaN(t) ? 50 : t - })); - - function m(e, t) { - const n = a.value; - let o = 0, r = ""; - if (e < 0 ? e = 0 : "x" === t && e > n.scrollWidth - n.offsetWidth ? e = n.scrollWidth - n.offsetWidth : "y" === t && e > n.scrollHeight - n.offsetHeight && (e = n.scrollHeight - n.offsetHeight), "x" === t ? o = n.scrollLeft - e : "y" === t && (o = n.scrollTop - e), 0 === o) return; - let i = s.value; - i.style.transition = "transform .3s ease-out", i.style.webkitTransition = "-webkit-transform .3s ease-out", "x" === t ? r = "translateX(" + o + "px) translateZ(0)" : "y" === t && (r = "translateY(" + o + "px) translateZ(0)"), i.removeEventListener("transitionend", p), i.removeEventListener("webkitTransitionEnd", p), p = () => _(e, t), i.addEventListener("transitionend", p), i.addEventListener("webkitTransitionEnd", p), "x" === t ? n.style.overflowX = "hidden" : "y" === t && (n.style.overflowY = "hidden"), i.style.transform = r, i.style.webkitTransform = r - } - - function g(n) { - const o = n.target; - r("scroll", n, { - scrollLeft: o.scrollLeft, - scrollTop: o.scrollTop, - scrollHeight: o.scrollHeight, - scrollWidth: o.scrollWidth, - deltaX: t.lastScrollLeft - o.scrollLeft, - deltaY: t.lastScrollTop - o.scrollTop - }), e.scrollY && (o.scrollTop <= f.value && t.lastScrollTop - o.scrollTop > 0 && n.timeStamp - t.lastScrollToUpperTime > 200 && (r("scrolltoupper", n, {direction: "top"}), t.lastScrollToUpperTime = n.timeStamp), o.scrollTop + o.offsetHeight + h.value >= o.scrollHeight && t.lastScrollTop - o.scrollTop < 0 && n.timeStamp - t.lastScrollToLowerTime > 200 && (r("scrolltolower", n, {direction: "bottom"}), t.lastScrollToLowerTime = n.timeStamp)), e.scrollX && (o.scrollLeft <= f.value && t.lastScrollLeft - o.scrollLeft > 0 && n.timeStamp - t.lastScrollToUpperTime > 200 && (r("scrolltoupper", n, {direction: "left"}), t.lastScrollToUpperTime = n.timeStamp), o.scrollLeft + o.offsetWidth + h.value >= o.scrollWidth && t.lastScrollLeft - o.scrollLeft < 0 && n.timeStamp - t.lastScrollToLowerTime > 200 && (r("scrolltolower", n, {direction: "right"}), t.lastScrollToLowerTime = n.timeStamp)), t.lastScrollTop = o.scrollTop, t.lastScrollLeft = o.scrollLeft - } - - function v(t) { - e.scrollY && (e.scrollWithAnimation ? m(t, "y") : a.value.scrollTop = t) - } - - function b(t) { - e.scrollX && (e.scrollWithAnimation ? m(t, "x") : a.value.scrollLeft = t) - } - - function y(t) { - if (t) { - if (!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t)) return void console.error(`id error: scroll-into-view=${t}`); - let n = i.value.querySelector("#" + t); - if (n) { - let t = a.value.getBoundingClientRect(), o = n.getBoundingClientRect(); - if (e.scrollX) { - let n = o.left - t.left, r = a.value.scrollLeft + n; - e.scrollWithAnimation ? m(r, "x") : a.value.scrollLeft = r - } - if (e.scrollY) { - let n = o.top - t.top, r = a.value.scrollTop + n; - e.scrollWithAnimation ? m(r, "y") : a.value.scrollTop = r - } - } - } - } - - function _(t, n) { - s.value.style.transition = "", s.value.style.webkitTransition = "", s.value.style.transform = "", s.value.style.webkitTransform = ""; - let o = a.value; - "x" === n ? (o.style.overflowX = e.scrollX ? "auto" : "hidden", o.scrollLeft = t) : "y" === n && (o.style.overflowY = e.scrollY ? "auto" : "hidden", o.scrollTop = t), s.value.removeEventListener("transitionend", p), s.value.removeEventListener("webkitTransitionEnd", p) - } - - function w(n) { - if (e.refresherEnabled) { - switch (n) { - case"refreshing": - t.refresherHeight = e.refresherThreshold, c || (c = !0, r("refresherrefresh", {}, {}), l("update:refresherTriggered", !0)); - break; - case"restore": - case"refresherabort": - c = !1, t.refresherHeight = u = 0, "restore" === n && (d = !1, r("refresherrestore", {}, {})), "refresherabort" === n && d && (d = !1, r("refresherabort", {}, {})) - } - t.refreshState = n - } - } - - Io((() => { - kn((() => { - v(n.value), b(o.value) - })), y(e.scrollIntoView); - let i = function (e) { - e.preventDefault(), e.stopPropagation(), g(e) - }, s = {x: 0, y: 0}, l = null, p = function (n) { - if (null === s) return; - let o = n.touches[0].pageX, i = n.touches[0].pageY, p = a.value; - if (Math.abs(o - s.x) > Math.abs(i - s.y)) if (e.scrollX) { - if (0 === p.scrollLeft && o > s.x) return void (l = !1); - if (p.scrollWidth === p.offsetWidth + p.scrollLeft && o < s.x) return void (l = !1); - l = !0 - } else l = !1; else if (e.scrollY) if (0 === p.scrollTop && i > s.y) l = !1, e.refresherEnabled && !1 !== n.cancelable && n.preventDefault(); else { - if (p.scrollHeight === p.offsetHeight + p.scrollTop && i < s.y) return void (l = !1); - l = !0 - } else l = !1; - if (l && n.stopPropagation(), 0 === p.scrollTop && 1 === n.touches.length && w("pulling"), e.refresherEnabled && "pulling" === t.refreshState) { - const o = i - s.y; - 0 === u && (u = i), c ? (t.refresherHeight = o + e.refresherThreshold, d = !1) : (t.refresherHeight = i - u, t.refresherHeight > 0 && (d = !0, r("refresherpulling", n, {deltaY: o}))); - const a = t.refresherHeight / e.refresherThreshold; - t.refreshRotate = 360 * (a > 1 ? 1 : a) - } - }, f = function (e) { - 1 === e.touches.length && (s = {x: e.touches[0].pageX, y: e.touches[0].pageY}) - }, h = function (n) { - s = null, t.refresherHeight >= e.refresherThreshold ? w("refreshing") : w("refresherabort") - }; - a.value.addEventListener("touchstart", f, oh), a.value.addEventListener("touchmove", p, ge(!1)), a.value.addEventListener("scroll", i, ge(!1)), a.value.addEventListener("touchend", h, oh), jo((() => { - a.value.removeEventListener("touchstart", f), a.value.removeEventListener("touchmove", p), a.value.removeEventListener("scroll", i), a.value.removeEventListener("touchend", h) - })) - })), wo((() => { - e.scrollY && (a.value.scrollTop = t.lastScrollTop), e.scrollX && (a.value.scrollLeft = t.lastScrollLeft) - })), Gn(n, (e => { - v(e) - })), Gn(o, (e => { - b(e) - })), Gn((() => e.scrollIntoView), (e => { - y(e) - })), Gn((() => e.refresherTriggered), (e => { - !0 === e ? w("refreshing") : !1 === e && w("restore") - })) - }(e, c, u, d, l, o, r, a, t); - const p = yi((() => { - let t = ""; - return e.scrollX ? t += "overflow-x:auto;" : t += "overflow-x:hidden;", e.scrollY ? t += "overflow-y:auto;" : t += "overflow-y:hidden;", t - })); - return () => { - const {refresherEnabled: t, refresherBackground: l, refresherDefaultStyle: u} = e, {refresherHeight: d, refreshState: f, refreshRotate: h} = c; - return Kr("uni-scroll-view", {ref: o}, [Kr("div", {ref: i, class: "uni-scroll-view"}, [Kr("div", { - ref: r, - style: p.value, - class: "uni-scroll-view" - }, [Kr("div", {ref: a, class: "uni-scroll-view-content"}, [t ? Kr("div", { - ref: s, - style: {backgroundColor: l, height: d + "px"}, - class: "uni-scroll-view-refresher" - }, ["none" !== u ? Kr("div", {class: "uni-scroll-view-refresh"}, [Kr("div", {class: "uni-scroll-view-refresh-inner"}, ["pulling" == f ? Kr("svg", { - key: "refresh__icon", - style: {transform: "rotate(" + h + "deg)"}, - fill: "#2BD009", - class: "uni-scroll-view-refresh__icon", - width: "24", - height: "24", - viewBox: "0 0 24 24" - }, [Kr("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null), Kr("path", { - d: "M0 0h24v24H0z", - fill: "none" - }, null)], 4) : null, "refreshing" == f ? Kr("svg", { - key: "refresh__spinner", - class: "uni-scroll-view-refresh__spinner", - width: "24", - height: "24", - viewBox: "25 25 50 50" - }, [Kr("circle", { - cx: "50", - cy: "50", - r: "20", - fill: "none", - style: "color: #2bd009", - "stroke-width": "3" - }, null)]) : null])]) : null, "none" == u ? n.refresher && n.refresher() : null], 4) : null, n.default && n.default()], 512)], 4)], 512)], 512) - } - } -}); - -function ih(e, t, n, o, r, i) { - function a() { - c && (clearTimeout(c), c = null) - } - - let s, l, c = null, u = !0, d = 0, p = 1, f = null, h = !1, m = 0, g = ""; - const v = yi((() => n.value.length > t.displayMultipleItems)), b = yi((() => e.circular && v.value)); - - function y(r) { - Math.floor(2 * d) === Math.floor(2 * r) && Math.ceil(2 * d) === Math.ceil(2 * r) || b.value && function (o) { - if (!u) for (let r = n.value, i = r.length, a = o + t.displayMultipleItems, s = 0; s < i; s++) { - const t = r[s], n = Math.floor(o / i) * i + s, l = n + i, c = n - i, - u = Math.max(o - (n + 1), n - a, 0), d = Math.max(o - (l + 1), l - a, 0), - p = Math.max(o - (c + 1), c - a, 0), f = Math.min(u, d, p), h = [n, l, c][[u, d, p].indexOf(f)]; - t.updatePosition(h, e.vertical) - } - }(r); - const a = "translate(" + (e.vertical ? "0" : 100 * -r * p + "%") + ", " + (e.vertical ? 100 * -r * p + "%" : "0") + ") translateZ(0)", - l = o.value; - if (l && (l.style.webkitTransform = a, l.style.transform = a), d = r, !s) { - if (r % 1 == 0) return; - s = r - } - r -= Math.floor(s); - const c = n.value; - r <= -(c.length - 1) ? r += c.length : r >= c.length && (r -= c.length), r = s % 1 > .5 || s < 0 ? r - 1 : r, i("transition", {}, { - dx: e.vertical ? 0 : r * l.offsetWidth, - dy: e.vertical ? r * l.offsetHeight : 0 - }) - } - - function _(e) { - const o = n.value.length; - if (!o) return -1; - const r = (Math.round(e) % o + o) % o; - if (b.value) { - if (o <= t.displayMultipleItems) return 0 - } else if (r > o - t.displayMultipleItems) return o - t.displayMultipleItems; - return r - } - - function w() { - f = null - } - - function x() { - if (!f) return void (h = !1); - const e = f, o = e.toPos, r = e.acc, a = e.endTime, c = e.source, u = a - Date.now(); - if (u <= 0) { - y(o), f = null, h = !1, s = null; - const e = n.value[t.current]; - if (e) { - const n = e.getItemId(); - i("animationfinish", {}, {current: t.current, currentItemId: n, source: c}) - } - return - } - y(o + r * u * u / 2), l = requestAnimationFrame(x) - } - - function T(e, o, r) { - w(); - const i = t.duration, a = n.value.length; - let s = d; - if (b.value) if (r < 0) { - for (; s < e;) s += a; - for (; s - a > e;) s -= a - } else if (r > 0) { - for (; s > e;) s -= a; - for (; s + a < e;) s += a; - s + a - e < e - s && (s += a) - } else { - for (; s + a < e;) s += a; - for (; s - a > e;) s -= a; - s + a - e < e - s && (s += a) - } else "click" === o && (e = e + t.displayMultipleItems - 1 < a ? e : 0); - f = { - toPos: e, - acc: 2 * (s - e) / (i * i), - endTime: Date.now() + i, - source: o - }, h || (h = !0, l = requestAnimationFrame(x)) - } - - function S() { - a(); - const e = n.value, o = function () { - c = null, g = "autoplay", b.value ? t.current = _(t.current + 1) : t.current = t.current + t.displayMultipleItems < e.length ? t.current + 1 : 0, T(t.current, "autoplay", b.value ? 1 : 0), c = setTimeout(o, t.interval) - }; - u || e.length <= t.displayMultipleItems || (c = setTimeout(o, t.interval)) - } - - function E(e) { - e ? S() : a() - } - - return Gn([() => e.current, () => e.currentItemId, () => [...n.value]], (() => { - let o = -1; - if (e.currentItemId) for (let t = 0, r = n.value; t < r.length; t++) { - if (r[t].getItemId() === e.currentItemId) { - o = t; - break - } - } - o < 0 && (o = Math.round(e.current) || 0), o = o < 0 ? 0 : o, t.current !== o && (g = "", t.current = o) - })), Gn([() => e.vertical, () => b.value, () => t.displayMultipleItems, () => [...n.value]], (function () { - a(), f && (y(f.toPos), f = null); - const r = n.value; - for (let t = 0; t < r.length; t++) r[t].updatePosition(t, e.vertical); - p = 1; - const i = o.value; - if (1 === t.displayMultipleItems && r.length) { - const e = r[0].getBoundingClientRect(), t = i.getBoundingClientRect(); - p = e.width / t.width, p > 0 && p < 1 || (p = 1) - } - const s = d; - d = -2; - const l = t.current; - l >= 0 ? (u = !1, t.userTracking ? (y(s + l - m), m = l) : (y(l), e.autoplay && S())) : (u = !0, y(-t.displayMultipleItems - 1)) - })), Gn((() => t.interval), (() => { - c && (a(), S()) - })), Gn((() => t.current), ((e, o) => { - !function (e, o) { - const r = g; - g = ""; - const a = n.value; - if (!r) { - const t = a.length; - T(e, "", b.value && o + (t - e) % t > t / 2 ? 1 : 0) - } - const s = a[e]; - if (s) { - const e = t.currentItemId = s.getItemId(); - i("change", {}, {current: t.current, currentItemId: e, source: r}) - } - }(e, o), r("update:current", e) - })), Gn((() => t.currentItemId), (e => { - r("update:currentItemId", e) - })), Gn((() => e.autoplay && !t.userTracking), E), E(e.autoplay && !t.userTracking), Io((() => { - let r = !1, i = 0, s = 0; - - function l(e) { - t.userTracking = !1; - const n = i / Math.abs(i); - let o = 0; - !e && Math.abs(i) > .2 && (o = .5 * n); - const r = _(d + o); - e ? y(m) : (g = "touch", t.current = r, T(r, "touch", 0 !== o ? o : 0 === r && b.value && d >= 1 ? 1 : 0)) - } - - Sf(o.value, (c => { - if (!e.disableTouch && !u) { - if ("start" === c.detail.state) return t.userTracking = !0, r = !1, a(), m = d, i = 0, s = Date.now(), void w(); - if ("end" === c.detail.state) return l(!1); - if ("cancel" === c.detail.state) return l(!0); - if (t.userTracking) { - if (!r) { - r = !0; - const n = Math.abs(c.detail.dx), o = Math.abs(c.detail.dy); - if ((n >= o && e.vertical || n <= o && !e.vertical) && (t.userTracking = !1), !t.userTracking) return void (e.autoplay && S()) - } - return function (r) { - const a = s; - s = Date.now(); - const l = n.value.length - t.displayMultipleItems; - - function c(e) { - return .5 - .25 / (e + .5) - } - - function u(e, t) { - let n = m + e; - i = .6 * i + .4 * t, b.value || (n < 0 || n > l) && (n < 0 ? n = -c(-n) : n > l && (n = l + c(n - l)), i = 0), y(n) - } - - const d = s - a || 1, p = o.value; - e.vertical ? u(-r.dy / p.offsetHeight, -r.ddy / d) : u(-r.dx / p.offsetWidth, -r.ddx / d) - }(c.detail), !1 - } - } - })) - })), Ro((() => { - a(), cancelAnimationFrame(l) - })), { - onSwiperDotClick: function (e) { - T(t.current = e, g = "click", b.value ? 1 : 0) - }, circularEnabled: b, swiperEnabled: v - } -} - -const ah = nu({ - name: "Swiper", - props: { - indicatorDots: {type: [Boolean, String], default: !1}, - vertical: {type: [Boolean, String], default: !1}, - autoplay: {type: [Boolean, String], default: !1}, - circular: {type: [Boolean, String], default: !1}, - interval: {type: [Number, String], default: 5e3}, - duration: {type: [Number, String], default: 500}, - current: {type: [Number, String], default: 0}, - indicatorColor: {type: String, default: ""}, - indicatorActiveColor: {type: String, default: ""}, - previousMargin: {type: String, default: ""}, - nextMargin: {type: String, default: ""}, - currentItemId: {type: String, default: ""}, - skipHiddenItemLayout: {type: [Boolean, String], default: !1}, - displayMultipleItems: {type: [Number, String], default: 1}, - disableTouch: {type: [Boolean, String], default: !1}, - navigation: {type: [Boolean, String], default: !1}, - navigationColor: {type: String, default: "#fff"}, - navigationActiveColor: {type: String, default: "rgba(53, 53, 53, 0.6)"} - }, - emits: ["change", "transition", "animationfinish", "update:current", "update:currentItemId"], - setup(e, {slots: t, emit: n}) { - const o = nn(null), r = lu(o, n), i = nn(null), a = nn(null), s = function (e) { - return qt({ - interval: yi((() => { - const t = Number(e.interval); - return isNaN(t) ? 5e3 : t - })), duration: yi((() => { - const t = Number(e.duration); - return isNaN(t) ? 500 : t - })), displayMultipleItems: yi((() => { - const t = Math.round(e.displayMultipleItems); - return isNaN(t) ? 1 : t - })), current: Math.round(e.current) || 0, currentItemId: e.currentItemId, userTracking: !1 - }) - }(e), l = yi((() => { - let t = {}; - return (e.nextMargin || e.previousMargin) && (t = e.vertical ? { - left: 0, - right: 0, - top: uc(e.previousMargin, !0), - bottom: uc(e.nextMargin, !0) - } : {top: 0, bottom: 0, left: uc(e.previousMargin, !0), right: uc(e.nextMargin, !0)}), t - })), c = yi((() => { - const t = Math.abs(100 / s.displayMultipleItems) + "%"; - return {width: e.vertical ? "100%" : t, height: e.vertical ? t : "100%"} - })); - let u = []; - const d = [], p = nn([]); - - function f() { - const e = []; - for (let t = 0; t < u.length; t++) { - let n = u[t]; - n instanceof Element || (n = n.el); - const o = d.find((e => n === e.rootRef.value)); - o && e.push(Jt(o)) - } - p.value = e - } - - Un("addSwiperContext", (function (e) { - d.push(e), f() - })); - Un("removeSwiperContext", (function (e) { - const t = d.indexOf(e); - t >= 0 && (d.splice(t, 1), f()) - })); - const {onSwiperDotClick: h, circularEnabled: m, swiperEnabled: g} = ih(e, s, p, a, n, r); - let v = () => null; - return v = sh(o, e, s, h, p, m, g), () => { - const n = t.default && t.default(); - return u = bf(n), Kr("uni-swiper", {ref: o}, [Kr("div", { - ref: i, - class: "uni-swiper-wrapper" - }, [Kr("div", {class: "uni-swiper-slides", style: l.value}, [Kr("div", { - ref: a, - class: "uni-swiper-slide-frame", - style: c.value - }, [n], 4)], 4), e.indicatorDots && Kr("div", {class: ["uni-swiper-dots", e.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"]}, [p.value.map(((t, n, o) => Kr("div", { - onClick: () => h(n), - class: { - "uni-swiper-dot": !0, - "uni-swiper-dot-active": n < s.current + s.displayMultipleItems && n >= s.current || n < s.current + s.displayMultipleItems - o.length - }, - style: {background: n === s.current ? e.indicatorActiveColor : e.indicatorColor} - }, null, 14, ["onClick"])))], 2), v()], 512)], 512) - } - } -}), sh = (e, t, n, o, r, i, a) => { - let s = !1, l = !1, c = !1, u = nn(!1); - - function d(e, n) { - const o = e.currentTarget; - o && (o.style.backgroundColor = "over" === n ? t.navigationActiveColor : "") - } - - Yn((() => { - s = "auto" === t.navigation, u.value = !0 !== t.navigation || s, b() - })), Yn((() => { - const e = r.value.length, t = !i.value; - l = 0 === n.current && t, c = n.current === e - 1 && t || t && n.current + n.displayMultipleItems >= e, a.value || (l = !0, c = !0, s && (u.value = !0)) - })); - const p = {onMouseover: e => d(e, "over"), onMouseout: e => d(e, "out")}; - - function f(e, t, a) { - if (e.stopPropagation(), a) return; - const s = r.value.length; - let l = n.current; - switch (t) { - case"prev": - l--, l < 0 && i.value && (l = s - 1); - break; - case"next": - l++, l >= s && i.value && (l = 0) - } - o(l) - } - - const h = () => hc(fc, t.navigationColor, 26); - let m; - const g = n => { - clearTimeout(m); - const {clientX: o, clientY: r} = n, {left: i, right: a, top: s, bottom: l, width: c, height: d} = e.value.getBoundingClientRect(); - let p = !1; - if (p = t.vertical ? !(r - s < d / 3 || l - r < d / 3) : !(o - i < c / 3 || a - o < c / 3), p) return m = setTimeout((() => { - u.value = p - }), 300); - u.value = p - }, v = () => { - u.value = !0 - }; - - function b() { - e.value && (e.value.removeEventListener("mousemove", g), e.value.removeEventListener("mouseleave", v), s && (e.value.addEventListener("mousemove", g), e.value.addEventListener("mouseleave", v))) - } - - return Io(b), function () { - const e = {"uni-swiper-navigation-hide": u.value, "uni-swiper-navigation-vertical": t.vertical}; - return t.navigation ? Kr(Mr, null, [Kr("div", ii({ - class: ["uni-swiper-navigation uni-swiper-navigation-prev", S({"uni-swiper-navigation-disabled": l}, e)], - onClick: e => f(e, "prev", l) - }, p), [h()], 16, ["onClick"]), Kr("div", ii({ - class: ["uni-swiper-navigation uni-swiper-navigation-next", S({"uni-swiper-navigation-disabled": c}, e)], - onClick: e => f(e, "next", c) - }, p), [h()], 16, ["onClick"])]) : null - } -}, lh = nu({ - name: "SwiperItem", props: {itemId: {type: String, default: ""}}, setup(e, {slots: t}) { - const n = nn(null), o = { - rootRef: n, - getItemId: () => e.itemId, - getBoundingClientRect: () => n.value.getBoundingClientRect(), - updatePosition(e, t) { - const o = t ? "0" : 100 * e + "%", r = t ? 100 * e + "%" : "0", i = n.value, - a = `translate(${o},${r}) translateZ(0)`; - i && (i.style.webkitTransform = a, i.style.transform = a) - } - }; - return Io((() => { - const e = Xn("addSwiperContext"); - e && e(o) - })), Ro((() => { - const e = Xn("removeSwiperContext"); - e && e(o) - })), () => Kr("uni-swiper-item", { - ref: n, - style: {position: "absolute", width: "100%", height: "100%"} - }, [t.default && t.default()], 512) - } -}), ch = {ensp: " ", emsp: " ", nbsp: " "}; - -function uh(e, t) { - return e.replace(/\\n/g, "\n").split("\n").map((e => function (e, {space: t, decode: n}) { - if (!e) return e; - t && ch[t] && (e = e.replace(/ /g, ch[t])); - if (!n) return e; - return e.replace(/ /g, ch.nbsp).replace(/ /g, ch.ensp).replace(/ /g, ch.emsp).replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&").replace(/"/g, '"').replace(/'/g, "'") - }(e, t))) -} - -const dh = nu({ - name: "Text", - props: { - selectable: {type: [Boolean, String], default: !1}, - space: {type: String, default: ""}, - decode: {type: [Boolean, String], default: !1} - }, - setup: (e, {slots: t}) => () => { - const n = []; - return t.default && t.default().forEach((t => { - if (8 & t.shapeFlag && t.type !== jr) { - const o = uh(t.children, {space: e.space, decode: e.decode}), r = o.length - 1; - o.forEach(((e, t) => { - (0 !== t || e) && n.push(ei(e)), t !== r && n.push(Kr("br")) - })) - } else n.push(t) - })), Kr("uni-text", {selectable: !!e.selectable || null}, [Kr("span", null, n)], 8, ["selectable"]) - } -}), ph = nu({ - name: "View", props: S({}, ru), setup(e, {slots: t}) { - const {hovering: n, binding: o} = iu(e); - return () => { - const r = e.hoverClass; - return r && "none" !== r ? Kr("uni-view", ii({class: n.value ? r : ""}, o), [t.default && t.default()], 16) : Kr("uni-view", null, [t.default && t.default()]) - } - } -}); - -function fh(e, t) { - if (t || (t = e.id), t) return e.$options.name.toLowerCase() + "." + t -} - -function hh(e, t, n) { - e && Il(n || yc(), e, (({type: e, data: n}, o) => { - t(e, n, o) - })) -} - -function mh(e, t) { - e && function (e, t) { - t = Ol(e, t), delete Ll[t] - }(t || yc(), e) -} - -function gh(e, t, n, o) { - const r = ui().proxy; - Io((() => { - hh(t || fh(r), e, o), !n && t || Gn((() => r.id), ((t, n) => { - hh(fh(r, t), e, o), mh(n && fh(r, n)) - })) - })), jo((() => { - mh(t || fh(r), o) - })) -} - -let vh = 0; - -function bh(e, t, n, o) { - O(t) && Po(e, t.bind(n), o) -} - -function yh(e, t, n) { - var o; - const r = e.mpType || n.$mpType; - if (r && "component" !== r && (Object.keys(e).forEach((o => { - if (function (e, t, n = !0) { - return !(n && !O(t)) && (ke.indexOf(e) > -1 || 0 === e.indexOf("on")) - }(o, e[o], !1)) { - const r = e[o]; - C(r) ? r.forEach((e => bh(o, e, n, t))) : bh(o, r, n, t) - } - })), "page" === r)) { - t.__isVisible = !0; - try { - Tc(n, "onLoad", t.attrs.__pageQuery), delete t.attrs.__pageQuery, "preloadPage" !== (null == (o = n.$page) ? void 0 : o.openType) && Tc(n, "onShow") - } catch (i) { - console.error(i.message + "\n" + i.stack) - } - } -} - -function _h(e, t, n) { - yh(e, t, n) -} - -function wh(e, t, n) { - return e[t] = n -} - -function xh(e) { - return function (t, n, o) { - if (!n) throw t; - const r = e._instance; - if (!r || !r.proxy) throw t; - Tc(r.proxy, "onError", t) - } -} - -function Th(e, t) { - return e ? [...new Set([].concat(e, t))] : t -} - -function Sh(e) { - const t = e._context.config; - var n; - t.errorHandler = Ce(e, xh), n = t.optionMergeStrategies, ke.forEach((e => { - n[e] = Th - })); - const o = t.globalProperties; - o.$set = wh, o.$applyOptions = _h, function (e) { - Ae.forEach((t => t(e))) - }(e) -} - -const Eh = lc("upm"); - -function kh() { - return Xn(Eh) -} - -function Ah(e) { - const t = function (e) { - return qt(function (e) { - { - const {enablePullDownRefresh: t, navigationBar: n} = e; - if (t) { - const t = function (e) { - return e.offset && (e.offset = uc(e.offset)), e.height && (e.height = uc(e.height)), e.range && (e.range = uc(e.range)), e - }(S({ - support: !0, - color: "#2BD009", - style: "circle", - height: 70, - range: 150, - offset: 0 - }, e.pullToRefresh)), {type: o, style: r} = n; - "custom" !== r && "transparent" !== o && (t.offset += 44 + tc.top), e.pullToRefresh = t - } - } - { - const {navigationBar: t} = e, {titleSize: n, titleColor: o, backgroundColor: r} = t; - t.titleText = t.titleText || "", t.type = t.type || "default", t.titleSize = n || "16px", t.titleColor = o || "#000000", t.backgroundColor = r || "#F8F8F8", Cl(t) - } - if (history.state) { - const t = history.state.__type__; - "redirectTo" !== t && "reLaunch" !== t || 0 !== Hh().length || (e.isEntry = !0, e.isQuit = !0) - } - return e - }(JSON.parse(JSON.stringify(xc(ml().meta, e))))) - }(e); - return Un(Eh, t), t -} - -function Ch() { - return ml() -} - -function Bh() { - return history.state && history.state.__id__ || 1 -} - -let Ph; - -function Lh() { - var e; - return Ph || (Ph = __uniConfig.tabBar && qt((e = __uniConfig.tabBar, gl() && e.list && e.list.forEach((e => { - _l(e, ["text"]) - })), e))), Ph -} - -const Oh = window.CSS && window.CSS.supports; - -function Ih(e) { - return Oh && (Oh(e) || Oh.apply(window.CSS, e.split(":"))) -} - -const Mh = Ih("top:env(a)"), Fh = Ih("top:constant(a)"), jh = Ih("backdrop-filter:blur(10px)"), - Rh = (() => Mh ? "env" : Fh ? "constant" : "")(); - -function Nh(e) { - return Rh ? `calc(${e}px + ${Rh}(safe-area-inset-bottom))` : `${e}px` -} - -const Dh = new Map; - -function zh() { - return Dh -} - -function Hh() { - const e = [], t = Dh.values(); - for (const n of t) n.$.__isTabBar ? n.$.__isActive && e.push(n) : e.push(n); - return e -} - -function qh(e, t = !0) { - const n = Dh.get(e); - n.$.__isUnload = !0, Tc(n, "onUnload"), Dh.delete(e), t && function (e) { - const t = Uh.get(e); - t && (Uh.delete(e), Xh.pruneCacheEntry(t)) - }(e) -} - -let Vh = Bh(); - -function Wh(e) { - const t = kh(); - let n = e.fullPath; - return e.meta.isEntry && -1 === n.indexOf(e.meta.route) && (n = "/" + e.meta.route + n.replace("/", "")), function (e, t, n, o, r, i) { - const {id: a, route: s} = o, l = Oe(o.navigationBar, __uniConfig.themeConfig, i).titleColor; - return { - id: a, - path: le(s), - route: s, - fullPath: t, - options: n, - meta: o, - openType: e, - eventChannel: r, - statusBarStyle: "#ffffff" === l ? "light" : "dark" - } - }("navigateTo", n, {}, t) -} - -function $h(e) { - const t = Wh(e.$route); - !function (e, t) { - e.route = t.route, e.$vm = e, e.$page = t, e.$mpType = "page", t.meta.isTabBar && (e.$.__isTabBar = !0, e.$.__isActive = !0) - }(e, t), Dh.set(Qh(t.path, t.id), e) -} - -function Qh(e, t) { - return e + "$$" + t -} - -const Uh = new Map, Xh = { - get: e => Uh.get(e), set(e, t) { - !function (e) { - const t = parseInt(e.split("$$")[1]); - if (!t) return; - Xh.forEach(((e, n) => { - const o = parseInt(n.split("$$")[1]); - if (o && o > t) { - if (function (e) { - return "tabBar" === e.props.type - }(e)) return; - Xh.delete(n), Xh.pruneCacheEntry(e), kn((() => { - Dh.forEach(((e, t) => { - e.$.isUnmounted && Dh.delete(t) - })) - })) - } - })) - }(e), Uh.set(e, t) - }, delete(e) { - Uh.get(e) && Uh.delete(e) - }, forEach(e) { - Uh.forEach(e) - } -}; - -function Yh(e, t) { - !function (e) { - const t = Gh(e), {body: n} = document; - Kh && n.removeAttribute(Kh), t && n.setAttribute(t, ""), Kh = t - }(e), function (e) { - let t = 0, n = 0; - if ("custom" !== e.navigationBar.style && ["default", "float"].indexOf(e.navigationBar.type) > -1 && (t = 44), e.isTabBar) { - const e = Lh(); - e.shown && (n = parseInt(e.height)) - } - var o; - sc({ - "--window-top": (o = t, Rh ? `calc(${o}px + ${Rh}(safe-area-inset-top))` : `${o}px`), - "--window-bottom": Nh(n) - }) - }(t), function (e) { - const t = "nvue-dir-" + __uniConfig.nvue["flex-direction"]; - e.isNVue ? (document.body.setAttribute("nvue", ""), document.body.setAttribute(t, "")) : (document.body.removeAttribute("nvue"), document.body.removeAttribute(t)) - }(t), function (e, t) { - document.removeEventListener("touchmove", Sc), Zh && document.removeEventListener("scroll", Zh); - if (t.disableScroll) return document.addEventListener("touchmove", Sc); - const {onPageScroll: n, onReachBottom: o} = e, r = "transparent" === t.navigationBar.type; - if (!n && !o && !r) return; - const i = {}, a = e.proxy.$page.id; - (n || r) && (i.onPageScroll = function (e, t, n) { - return o => { - t && pv.publishHandler("onPageScroll", {scrollTop: o}, e), n && pv.emit(e + ".onPageScroll", {scrollTop: o}) - } - }(a, n, r)); - o && (i.onReachBottomDistance = t.onReachBottomDistance || 50, i.onReachBottom = () => pv.publishHandler("onReachBottom", {}, a)); - Zh = Ac(i), requestAnimationFrame((() => document.addEventListener("scroll", Zh))) - }(e, t) -} - -function Jh(e) { - const t = Gh(e); - t && function (e) { - const t = document.querySelector("uni-page-body"); - t && t.setAttribute(e, "") - }(t) -} - -function Gh(e) { - return e.type.__scopeId -} - -let Kh, Zh; - -function em(e) { - const t = fl({history: nm(), strict: !!__uniConfig.router.strict, routes: __uniRoutes, scrollBehavior: tm}); - e.router = t, e.use(t) -} - -const tm = (e, t, n) => { - if (n) return n -}; - -function nm() { - let {routerBase: e} = __uniConfig.router; - "/" === e && (e = ""); - const t = cs(e); - return t.listen(((e, t, n) => { - "back" === n.direction && function (e = 1) { - const t = Hh(), n = t.length - 1, o = n - e; - for (let r = n; r > o; r--) { - const e = t[r].$page; - qh(Qh(e.path, e.id), !1) - } - }(Math.abs(n.delta)) - })), t -} - -const om = { - install(e) { - Sh(e), zc(e), Gc(e), e.config.warnHandler || (e.config.warnHandler = rm), em(e) - } -}; - -function rm(e, t, n) { - if (t) { - if ("PageMetaHead" === t.$.type.name) return; - const e = t.$.parent; - if (e && "PageMeta" === e.type.name) return - } - const o = [`[Vue warn]: ${e}`]; - n.length && o.push("\n", n), console.warn(...o) -} - -const im = {class: "uni-async-loading"}, am = Kr("i", {class: "uni-loading"}, null, -1), - sm = ou({name: "AsyncLoading", render: () => (zr(), $r("div", im, [am]))}); - -function lm() { - window.location.reload() -} - -const cm = ou({ - name: "AsyncError", setup() { - Tl(); - const {t: e} = wl(); - return () => Kr("div", {class: "uni-async-error", onClick: lm}, [e("uni.async.error")], 8, ["onClick"]) - } -}); -let um; - -function dm() { - return um -} - -function pm(e) { - um = e, Object.defineProperty(um.$.ctx, "$children", {get: () => Hh().map((e => e.$vm))}); - const t = um.$.appContext.app; - t.component(sm.name) || t.component(sm.name, sm), t.component(cm.name) || t.component(cm.name, cm), function (e) { - e.$vm = e, e.$mpType = "app"; - const t = nn(wl().getLocale()); - Object.defineProperty(e, "$locale", { - get: () => t.value, set(e) { - t.value = e - } - }) - }(um), function (e, t) { - const n = e.$options || {}; - n.globalData = S(n.globalData || {}, t), Object.defineProperty(e, "globalData", { - get: () => n.globalData, - set(e) { - n.globalData = e - } - }) - }(um), Yc(), $l() -} - -function fm(e, {clone: t, init: n, setup: o, before: r}) { - t && (e = S({}, e)), r && r(e); - const i = e.setup; - return e.setup = (e, t) => { - const r = ui(); - n(r.proxy); - const a = o(r); - if (i) return i(a || e, t) - }, e -} - -function hm(e, t) { - return e && (e.__esModule || "Module" === e[Symbol.toStringTag]) ? fm(e.default, t) : fm(e, t) -} - -function mm(e) { - return hm(e, { - clone: !0, init: $h, setup(e) { - e.$pageInstance = e; - const t = Ch(), n = ye(t.query); - e.attrs.__pageQuery = n, e.proxy.$page.options = n; - const o = kh(); - var r, i, a; - return Oo((() => { - Yh(e, o) - })), Io((() => { - Jh(e); - const {onReady: n} = e; - n && J(n), ym(t) - })), To((() => { - if (!e.__isVisible) { - Yh(e, o), e.__isVisible = !0; - const {onShow: n} = e; - n && J(n), kn((() => { - ym(t) - })) - } - }), "ba", r), function (e, t) { - To(e, "bda", t) - }((() => { - if (e.__isVisible && !e.__isUnload) { - e.__isVisible = !1; - const {onHide: t} = e; - t && J(t) - } - })), i = o.id, pv.subscribe(Ol(i, "invokeViewApi"), a ? a(Ml) : Ml), jo((() => { - !function (e) { - pv.unsubscribe(Ol(e, "invokeViewApi")), Object.keys(Ll).forEach((t => { - 0 === t.indexOf(e + ".") && delete Ll[t] - })) - }(o.id) - })), n - } - }) -} - -function gm() { - const {windowWidth: e, windowHeight: t, screenWidth: n, screenHeight: o} = Dm(), - r = 90 === Math.abs(Number(window.orientation)) ? "landscape" : "portrait"; - fv.emit("onResize", { - deviceOrientation: r, - size: {windowWidth: e, windowHeight: t, screenWidth: n, screenHeight: o} - }) -} - -function vm(e) { - D(e.data) && "WEB_INVOKE_APPSERVICE" === e.data.type && fv.emit("onWebInvokeAppService", e.data.data, e.data.pageId) -} - -function bm() { - const {emit: e} = fv; - "visible" === document.visibilityState ? e("onAppEnterForeground", S({}, Pp)) : e("onAppEnterBackground") -} - -function ym(e) { - const {tabBarText: t, tabBarIndex: n, route: o} = e.meta; - t && Tc("onTabItemTap", {index: n, text: t, pagePath: o}) -} - -function _m(e) { - e = e > 0 && e < 1 / 0 ? e : 0; - const t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60), o = Math.floor(e % 3600 % 60), - r = (t < 10 ? "0" : "") + t; - let i = (n < 10 ? "0" : "") + n + ":" + ((o < 10 ? "0" : "") + o); - return "00" !== r && (i = r + ":" + i), i -} - -function wm(e, t, n) { - const o = qt({gestureType: "none", volumeOld: 0, volumeNew: 0, currentTimeOld: 0, currentTimeNew: 0}), - r = {x: 0, y: 0}; - return { - state: o, onTouchstart: function (e) { - const t = e.targetTouches[0]; - r.x = t.pageX, r.y = t.pageY, o.gestureType = "none", o.volumeOld = 0, o.currentTimeOld = o.currentTimeNew = 0 - }, onTouchmove: function (i) { - function a() { - i.stopPropagation(), i.preventDefault() - } - - n.fullscreen && a(); - const s = o.gestureType; - if ("stop" === s) return; - const l = i.targetTouches[0], c = l.pageX, u = l.pageY, d = r, p = t.value; - if ("progress" === s ? function (e) { - const n = t.value.duration; - let r = e / 600 * n + o.currentTimeOld; - r < 0 ? r = 0 : r > n && (r = n); - o.currentTimeNew = r - }(c - d.x) : "volume" === s && function (e) { - const n = t.value, r = o.volumeOld; - let i; - "number" == typeof r && (i = r - e / 200, i < 0 ? i = 0 : i > 1 && (i = 1), n.volume = i, o.volumeNew = i) - }(u - d.y), "none" === s) if (Math.abs(c - d.x) > Math.abs(u - d.y)) { - if (!e.enableProgressGesture) return void (o.gestureType = "stop"); - o.gestureType = "progress", o.currentTimeOld = o.currentTimeNew = p.currentTime, n.fullscreen || a() - } else { - if (!e.pageGesture) return void (o.gestureType = "stop"); - o.gestureType = "volume", o.volumeOld = p.volume, n.fullscreen || a() - } - }, onTouchend: function (e) { - const n = t.value; - "none" !== o.gestureType && "stop" !== o.gestureType && (e.stopPropagation(), e.preventDefault()), "progress" === o.gestureType && o.currentTimeOld !== o.currentTimeNew && (n.currentTime = o.currentTimeNew), o.gestureType = "none" - } - } -} - -function xm(e, t, n, o, r, i, a) { - const s = {play: e, pause: t, seek: n, sendDanmu: o, playbackRate: r, requestFullScreen: i, exitFullScreen: a}; - gh(((e, t) => { - let n; - switch (e) { - case"seek": - n = t.position; - break; - case"sendDanmu": - n = t; - break; - case"playbackRate": - n = t.rate - } - e in s && s[e](n) - }), function (e) { - const t = mc(), n = ui().proxy, o = n.$options.name.toLowerCase(), r = e || n.id || "context" + vh++; - return Io((() => { - n.$el.__uniContextInfo = {id: r, type: o, page: t} - })), `${o}.${r}` - }(), !0) -} - -const Tm = nu({ - name: "Video", - props: { - id: {type: String, default: ""}, - src: {type: String, default: ""}, - duration: {type: [Number, String], default: ""}, - controls: {type: [Boolean, String], default: !0}, - danmuList: {type: Array, default: () => []}, - danmuBtn: {type: [Boolean, String], default: !1}, - enableDanmu: {type: [Boolean, String], default: !1}, - autoplay: {type: [Boolean, String], default: !1}, - loop: {type: [Boolean, String], default: !1}, - muted: {type: [Boolean, String], default: !1}, - objectFit: {type: String, default: "contain"}, - poster: {type: String, default: ""}, - direction: {type: [String, Number], default: ""}, - showProgress: {type: Boolean, default: !0}, - initialTime: {type: [String, Number], default: 0}, - showFullscreenBtn: {type: [Boolean, String], default: !0}, - pageGesture: {type: [Boolean, String], default: !1}, - enableProgressGesture: {type: [Boolean, String], default: !0}, - showPlayBtn: {type: [Boolean, String], default: !0}, - showCenterPlayBtn: {type: [Boolean, String], default: !0} - }, - emits: ["fullscreenchange", "progress", "loadedmetadata", "waiting", "error", "play", "pause", "ended", "timeupdate"], - setup(e, {emit: t, attrs: n, slots: o}) { - const r = nn(null), i = nn(null), - a = lu(r, t), {state: s} = of(), {$attrs: l} = vf({excludeListeners: !0}), {t: c} = wl(); - Al(); - const {videoRef: u, state: d, play: p, pause: f, seek: h, playbackRate: m, toggle: g, onDurationChange: v, onLoadedMetadata: b, onProgress: y, onWaiting: _, onVideoError: w, onPlay: x, onPause: T, onEnded: S, onTimeUpdate: E} = function (e, t, n) { - const o = nn(null), r = yi((() => gu(e.src))), - i = qt({start: !1, src: r, playing: !1, currentTime: 0, duration: 0, progress: 0, buffered: 0}); - - function a(e) { - const t = e.target, n = t.buffered; - n.length && (i.buffered = n.end(n.length - 1) / t.duration * 100) - } - - return Gn((() => r.value), (() => { - i.playing = !1, i.currentTime = 0 - })), Gn((() => i.buffered), (e => { - n("progress", {}, {buffered: e}) - })), { - videoRef: o, state: i, play: function () { - const e = o.value; - i.start = !0, e.play() - }, pause: function () { - o.value.pause() - }, seek: function (e) { - const t = o.value; - "number" != typeof (e = Number(e)) || isNaN(e) || (t.currentTime = e) - }, playbackRate: function (e) { - o.value.playbackRate = e - }, toggle: function () { - const e = o.value; - i.playing ? e.pause() : e.play() - }, onDurationChange: function ({target: e}) { - i.duration = e.duration - }, onLoadedMetadata: function (t) { - const o = Number(e.initialTime) || 0, r = t.target; - o > 0 && (r.currentTime = o), n("loadedmetadata", t, { - width: r.videoWidth, - height: r.videoHeight, - duration: r.duration - }), a(t) - }, onProgress: a, onWaiting: function (e) { - n("waiting", e, {}) - }, onVideoError: function (e) { - i.playing = !1, n("error", e, {}) - }, onPlay: function (e) { - i.start = !0, i.playing = !0, n("play", e, {}) - }, onPause: function (e) { - i.playing = !1, n("pause", e, {}) - }, onEnded: function (e) { - i.playing = !1, n("ended", e, {}) - }, onTimeUpdate: function (e) { - const t = e.target, o = i.currentTime = t.currentTime; - n("timeupdate", e, {currentTime: o, duration: t.duration}) - } - } - }(e, 0, a), {state: k, danmuRef: A, updateDanmu: B, toggleDanmu: P, sendDanmu: L} = function (e, t) { - const n = nn(null), o = qt({enable: Boolean(e.enableDanmu)}); - let r = {time: 0, index: -1}; - const i = C(e.danmuList) ? JSON.parse(JSON.stringify(e.danmuList)) : []; - - function a(e) { - const t = document.createElement("p"); - t.className = "uni-video-danmu-item", t.innerText = e.text; - let o = `bottom: ${100 * Math.random()}%;color: ${e.color};`; - t.setAttribute("style", o), n.value.appendChild(t), setTimeout((function () { - o += "left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);", t.setAttribute("style", o), setTimeout((function () { - t.remove() - }), 4e3) - }), 17) - } - - return i.sort((function (e, t) { - return (e.time || 0) - (t.time || 0) - })), { - state: o, danmuRef: n, updateDanmu: function (e) { - const n = e.target.currentTime, s = r, l = {time: n, index: s.index}; - if (n > s.time) for (let r = s.index + 1; r < i.length; r++) { - const e = i[r]; - if (!(n >= (e.time || 0))) break; - l.index = r, t.playing && o.enable && a(e) - } else if (n < s.time) for (let t = s.index - 1; t > -1 && n <= (i[t].time || 0); t--) l.index = t - 1; - r = l - }, toggleDanmu: function () { - o.enable = !o.enable - }, sendDanmu: function (e) { - i.splice(r.index + 1, 0, {text: String(e.text), color: e.color, time: t.currentTime || 0}) - } - } - }(e, d), {state: O, onFullscreenChange: I, emitFullscreenChange: M, toggleFullscreen: F, requestFullScreen: j, exitFullScreen: R} = function (e, t, n, o, r) { - const i = qt({fullscreen: !1}), a = /^Apple/.test(navigator.vendor); - - function s(t) { - i.fullscreen = t, e("fullscreenchange", {}, {fullScreen: t, direction: "vertical"}) - } - - function l(e) { - const i = r.value, l = t.value, c = n.value; - let u; - e ? !document.fullscreenEnabled && !document.webkitFullscreenEnabled || a && !o.userAction ? c.webkitEnterFullScreen ? c.webkitEnterFullScreen() : (u = !0, l.remove(), l.classList.add("uni-video-type-fullscreen"), document.body.appendChild(l)) : l[document.fullscreenEnabled ? "requestFullscreen" : "webkitRequestFullscreen"]() : document.fullscreenEnabled || document.webkitFullscreenEnabled ? document.fullscreenElement ? document.exitFullscreen() : document.webkitFullscreenElement && document.webkitExitFullscreen() : c.webkitExitFullScreen ? c.webkitExitFullScreen() : (u = !0, l.remove(), l.classList.remove("uni-video-type-fullscreen"), i.appendChild(l)), u && s(e) - } - - function c() { - l(!1) - } - - return jo(c), { - state: i, onFullscreenChange: function (e, t) { - t && document.fullscreenEnabled || s(!(!document.fullscreenElement && !document.webkitFullscreenElement)) - }, emitFullscreenChange: s, toggleFullscreen: l, requestFullScreen: function () { - l(!0) - }, exitFullScreen: c - } - }(a, i, u, s, r), {state: N, onTouchstart: D, onTouchend: z, onTouchmove: H} = wm(e, u, O), {state: q, progressRef: V, ballRef: W, clickProgress: $, toggleControls: Q} = function (e, t, n) { - const o = nn(null), r = nn(null), i = yi((() => e.showCenterPlayBtn && !t.start)), a = nn(!0), - s = yi((() => !i.value && e.controls && a.value)), - l = qt({touching: !1, controlsTouching: !1, centerPlayBtnShow: i, controlsShow: s, controlsVisible: a}); - let c; - - function u() { - c = setTimeout((() => { - l.controlsVisible = !1 - }), 3e3) - } - - function d() { - c && (clearTimeout(c), c = null) - } - - return jo((() => { - c && clearTimeout(c) - })), Gn((() => l.controlsShow && t.playing && !l.controlsTouching), (e => { - e ? u() : d() - })), Gn([() => t.currentTime, () => { - e.duration - }], (function () { - l.touching || (t.progress = t.currentTime / t.duration * 100) - })), Io((() => { - const e = ge(!1); - let i, a, s, c = !0; - const u = r.value; - - function d(e) { - const n = e.targetTouches[0], r = n.pageX, l = n.pageY; - if (c && Math.abs(r - i) < Math.abs(l - a)) return void p(e); - c = !1; - const u = o.value.offsetWidth; - let d = s + (r - i) / u * 100; - d < 0 ? d = 0 : d > 100 && (d = 100), t.progress = d, e.preventDefault(), e.stopPropagation() - } - - function p(o) { - l.controlsTouching = !1, l.touching && (u.removeEventListener("touchmove", d, e), c || (o.preventDefault(), o.stopPropagation(), n(t.duration * t.progress / 100)), l.touching = !1) - } - - u.addEventListener("touchstart", (n => { - l.controlsTouching = !0; - const o = n.targetTouches[0]; - i = o.pageX, a = o.pageY, s = t.progress, c = !0, l.touching = !0, u.addEventListener("touchmove", d, e) - })), u.addEventListener("touchend", p), u.addEventListener("touchcancel", p) - })), { - state: l, progressRef: o, ballRef: r, clickProgress: function (e) { - const r = o.value; - let i = e.target, a = e.offsetX; - for (; i && i !== r;) a += i.offsetLeft, i = i.parentNode; - const s = r.offsetWidth; - let l = 0; - a >= 0 && a <= s && (l = a / s, n(t.duration * l)) - }, toggleControls: function () { - l.controlsVisible = !l.controlsVisible - }, autoHideStart: u, autoHideEnd: d - } - }(e, d, h); - return xm(p, f, h, L, m, j, R), () => Kr("uni-video", {ref: r, id: e.id}, [Kr("div", { - ref: i, - class: "uni-video-container", - onTouchstart: D, - onTouchend: z, - onTouchmove: H, - onFullscreenchange: wa(I, ["stop"]), - onWebkitfullscreenchange: wa((e => I(e, !0)), ["stop"]) - }, [Kr("video", ii({ - ref: u, - style: {"object-fit": e.objectFit}, - muted: !!e.muted, - loop: !!e.loop, - src: d.src, - poster: e.poster, - autoplay: !!e.autoplay - }, l.value, { - class: "uni-video-video", - "webkit-playsinline": !0, - playsinline: !0, - onClick: Q, - onDurationchange: v, - onLoadedmetadata: b, - onProgress: y, - onWaiting: _, - onError: w, - onPlay: x, - onPause: T, - onEnded: S, - onTimeupdate: e => { - E(e), B(e) - }, - onWebkitbeginfullscreen: () => M(!0), - onX5videoenterfullscreen: () => M(!0), - onWebkitendfullscreen: () => M(!1), - onX5videoexitfullscreen: () => M(!1) - }), null, 16, ["muted", "loop", "src", "poster", "autoplay", "webkit-playsinline", "playsinline", "onClick", "onDurationchange", "onLoadedmetadata", "onProgress", "onWaiting", "onError", "onPlay", "onPause", "onEnded", "onTimeupdate", "onWebkitbeginfullscreen", "onX5videoenterfullscreen", "onWebkitendfullscreen", "onX5videoexitfullscreen"]), qo(Kr("div", { - class: "uni-video-bar uni-video-bar-full", - onClick: wa((() => { - }), ["stop"]) - }, [Kr("div", {class: "uni-video-controls"}, [qo(Kr("div", { - class: { - "uni-video-control-button": !0, - "uni-video-control-button-play": !d.playing, - "uni-video-control-button-pause": d.playing - }, onClick: wa(g, ["stop"]) - }, null, 10, ["onClick"]), [[xa, e.showPlayBtn]]), qo(Kr("div", {class: "uni-video-current-time"}, [_m(d.currentTime)], 512), [[xa, e.showProgress]]), qo(Kr("div", { - ref: V, - class: "uni-video-progress-container", - onClick: wa($, ["stop"]) - }, [Kr("div", {class: "uni-video-progress"}, [Kr("div", { - style: {width: d.buffered + "%"}, - class: "uni-video-progress-buffered" - }, null, 4), Kr("div", { - ref: W, - style: {left: d.progress + "%"}, - class: "uni-video-ball" - }, [Kr("div", {class: "uni-video-inner"}, null)], 4)])], 8, ["onClick"]), [[xa, e.showProgress]]), qo(Kr("div", {class: "uni-video-duration"}, [_m(Number(e.duration) || d.duration)], 512), [[xa, e.showProgress]])]), qo(Kr("div", { - class: { - "uni-video-danmu-button": !0, - "uni-video-danmu-button-active": k.enable - }, onClick: wa(P, ["stop"]) - }, [c("uni.video.danmu")], 10, ["onClick"]), [[xa, e.danmuBtn]]), qo(Kr("div", { - class: { - "uni-video-fullscreen": !0, - "uni-video-type-fullscreen": O.fullscreen - }, onClick: wa((() => F(!O.fullscreen)), ["stop"]) - }, null, 10, ["onClick"]), [[xa, e.showFullscreenBtn]])], 8, ["onClick"]), [[xa, q.controlsShow]]), qo(Kr("div", { - ref: A, - style: "z-index: 0;", - class: "uni-video-danmu" - }, null, 512), [[xa, d.start && k.enable]]), q.centerPlayBtnShow && Kr("div", { - class: "uni-video-cover", - onClick: wa((() => { - }), ["stop"]) - }, [Kr("div", { - class: "uni-video-cover-play-button", - onClick: wa(p, ["stop"]) - }, null, 8, ["onClick"]), Kr("p", {class: "uni-video-cover-duration"}, [_m(Number(e.duration) || d.duration)])], 8, ["onClick"]), Kr("div", { - class: { - "uni-video-toast": !0, - "uni-video-toast-volume": "volume" === N.gestureType - } - }, [Kr("div", {class: "uni-video-toast-title"}, [c("uni.video.volume")]), Kr("svg", { - class: "uni-video-toast-icon", - width: "200px", - height: "200px", - viewBox: "0 0 1024 1024", - version: "1.1", - xmlns: "http://www.w3.org/2000/svg" - }, [Kr("path", {d: "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"}, null)]), Kr("div", {class: "uni-video-toast-value"}, [Kr("div", { - style: {width: 100 * N.volumeNew + "%"}, - class: "uni-video-toast-value-content" - }, [Kr("div", {class: "uni-video-toast-volume-grids"}, [Yo(10, (() => Kr("div", {class: "uni-video-toast-volume-grids-item"}, null)))])], 4)])], 2), Kr("div", { - class: { - "uni-video-toast": !0, - "uni-video-toast-progress": "progress" === N.gestureType - } - }, [Kr("div", {class: "uni-video-toast-title"}, [_m(N.currentTimeNew), " / ", _m(d.duration)])], 2), Kr("div", {class: "uni-video-slots"}, [o.default && o.default()])], 40, ["onTouchstart", "onTouchend", "onTouchmove", "onFullscreenchange", "onWebkitfullscreenchange"])], 8, ["id"]) - } -}), Sm = ({name: e, arg: t}) => { - "postMessage" === e || uni[e](t) -}, Em = de((() => fv.on("onWebInvokeAppService", Sm))), km = nu({ - inheritAttrs: !1, - name: "WebView", - props: {src: {type: String, default: ""}, fullscreen: {type: Boolean, default: !0}}, - setup(e) { - Em(); - const t = nn(null), n = nn(null), {$attrs: o, $excludeAttrs: r, $listeners: i} = vf({excludeListeners: !0}); - let a; - return (() => { - const r = document.createElement("iframe"); - Yn((() => { - for (const e in o.value) if (A(o.value, e)) { - const t = o.value[e]; - r[e] = t - } - })), Yn((() => { - r.src = gu(e.src) - })), n.value = r, a = function (e, t, n) { - return () => { - var o, r; - if (n) { - const {top: n, left: o, width: r, height: i} = e.value.getBoundingClientRect(); - ue(t.value, { - position: "absolute", - display: "block", - border: "0", - top: n + "px", - left: o + "px", - width: r + "px", - height: i + "px" - }) - } else ue(t.value, { - width: (null == (o = e.value) ? void 0 : o.style.width) || "300px", - height: (null == (r = e.value) ? void 0 : r.style.height) || "150px" - }) - } - }(t, n, e.fullscreen), e.fullscreen && document.body.appendChild(r) - })(), Io((() => { - var o; - a(), !e.fullscreen && (null == (o = t.value) || o.appendChild(n.value)) - })), wo((() => { - e.fullscreen && (n.value.style.display = "block") - })), xo((() => { - e.fullscreen && (n.value.style.display = "none") - })), jo((() => { - e.fullscreen && document.body.removeChild(n.value) - })), () => Kr(Mr, null, [Kr("uni-web-view", ii({class: e.fullscreen ? "uni-webview--fullscreen" : ""}, i.value, r.value, {ref: t}), [Kr(Lp, {onResize: a}, null, 8, ["onResize"])], 16)]) - } -}); -const Am = ld("makePhoneCall", (({phoneNumber: e}, {resolve: t}) => (window.location.href = `tel:${e}`, t()))), - Cm = navigator.cookieEnabled && (window.localStorage || window.sessionStorage) || {}; -let Bm; - -function Pm() { - if (Bm = Bm || Cm.__DC_STAT_UUID, !Bm) { - Bm = Date.now() + "" + Math.floor(1e7 * Math.random()); - try { - Cm.__DC_STAT_UUID = Bm - } catch (e) { - } - } - return Bm -} - -function Lm() { - if (!0 !== __uniConfig.darkmode) return I(__uniConfig.darkmode) ? __uniConfig.darkmode : "light"; - try { - return window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark" - } catch (e) { - return "light" - } -} - -function Om() { - let e, t = "0", n = "", o = "phone"; - const r = navigator.language; - if (yu) { - e = "iOS"; - const o = vu.match(/OS\s([\w_]+)\slike/); - o && (t = o[1].replace(/_/g, ".")); - const r = vu.match(/\(([a-zA-Z]+);/); - r && (n = r[1]) - } else if (bu) { - e = "Android"; - const o = vu.match(/Android[\s/]([\w\.]+)[;\s]/); - o && (t = o[1]); - const r = vu.match(/\((.+?)\)/), i = r ? r[1].split(";") : vu.split(" "), - a = [/\bAndroid\b/i, /\bLinux\b/i, /\bU\b/i, /^\s?[a-z][a-z]$/i, /^\s?[a-z][a-z]-[a-z][a-z]$/i, /\bwv\b/i, /\/[\d\.,]+$/, /^\s?[\d\.,]+$/, /\bBrowser\b/i, /\bMobile\b/i]; - for (let e = 0; e < i.length; e++) { - const t = i[e]; - if (t.indexOf("Build") > 0) { - n = t.split("Build")[0].trim(); - break - } - let o; - for (let e = 0; e < a.length; e++) if (a[e].test(t)) { - o = !0; - break - } - if (!o) { - n = t.trim(); - break - } - } - } else if (Tu) n = "iPad", e = "iOS", o = "pad", t = O(window.BigInt) ? "14.0" : "13.0"; else if (_u || wu || xu) { - n = "PC", e = "PC", o = "pc", t = "0"; - let r = vu.match(/\((.+?)\)/)[1]; - if (_u) { - switch (e = "Windows", _u[1]) { - case"5.1": - t = "XP"; - break; - case"6.0": - t = "Vista"; - break; - case"6.1": - t = "7"; - break; - case"6.2": - t = "8"; - break; - case"6.3": - t = "8.1"; - break; - case"10.0": - t = "10" - } - const n = r && r.match(/[Win|WOW]([\d]+)/); - n && (t += ` x${n[1]}`) - } else if (wu) { - e = "macOS"; - const n = r && r.match(/Mac OS X (.+)/) || ""; - t && (t = n[1].replace(/_/g, "."), -1 !== t.indexOf(";") && (t = t.split(";")[0])) - } else if (xu) { - e = "Linux"; - const n = r && r.match(/Linux (.*)/) || ""; - n && (t = n[1], -1 !== t.indexOf(";") && (t = t.split(";")[0])) - } - } else e = "Other", t = "0", o = "unknown"; - const i = `${e} ${t}`, a = e.toLocaleLowerCase(); - let s = "", l = String(function () { - const e = navigator.userAgent, t = e.indexOf("compatible") > -1 && e.indexOf("MSIE") > -1, - n = e.indexOf("Edge") > -1 && !t, o = e.indexOf("Trident") > -1 && e.indexOf("rv:11.0") > -1; - if (t) { - new RegExp("MSIE (\\d+\\.\\d+);").test(e); - const t = parseFloat(RegExp.$1); - return t > 6 ? t : 6 - } - return n ? -1 : o ? 11 : -1 - }()); - if ("-1" !== l) s = "IE"; else { - const e = ["Version", "Firefox", "Chrome", "Edge{0,1}"], t = ["Safari", "Firefox", "Chrome", "Edge"]; - for (let n = 0; n < e.length; n++) { - const o = e[n], r = new RegExp(`(${o})/(\\S*)\\b`); - r.test(vu) && (s = t[n], l = vu.match(r)[2]) - } - } - let c = "portrait"; - const u = void 0 === window.screen.orientation ? window.orientation : window.screen.orientation.angle; - return c = 90 === Math.abs(u) ? "landscape" : "portrait", { - deviceBrand: void 0, - brand: void 0, - deviceModel: n, - deviceOrientation: c, - model: n, - system: i, - platform: a, - browserName: s.toLocaleLowerCase(), - browserVersion: l, - language: r, - deviceType: o, - ua: vu, - osname: e, - osversion: t, - theme: Lm() - } -} - -const Im = sd(0, (() => { - const e = window.devicePixelRatio, t = Su(), n = Eu(t), o = ku(t, n), r = function (e, t) { - return e ? Math[t ? "min" : "max"](screen.height, screen.width) : screen.height - }(t, n), i = Au(o); - let a = window.innerHeight; - const s = tc.top, l = { - left: tc.left, - right: i - tc.right, - top: tc.top, - bottom: a - tc.bottom, - width: i - tc.left - tc.right, - height: a - tc.top - tc.bottom - }, {top: c, bottom: u} = ic(); - return a -= c, a -= u, { - windowTop: c, - windowBottom: u, - windowWidth: i, - windowHeight: a, - pixelRatio: e, - screenWidth: o, - screenHeight: r, - statusBarHeight: s, - safeArea: l, - safeAreaInsets: {top: tc.top, right: tc.right, bottom: tc.bottom, left: tc.left}, - screenTop: r - a - } -})); -let Mm, Fm = !0; - -function jm() { - Fm && (Mm = Om()) -} - -const Rm = sd(0, (() => { - jm(); - const {deviceBrand: e, deviceModel: t, brand: n, model: o, platform: r, system: i, deviceOrientation: a, deviceType: s} = Mm; - return { - brand: n, - deviceBrand: e, - deviceModel: t, - devicePixelRatio: window.devicePixelRatio, - deviceId: Pm(), - deviceOrientation: a, - deviceType: s, - model: o, - platform: r, - system: i - } -})), Nm = sd(0, (() => { - jm(); - const {theme: e, language: t, browserName: n, browserVersion: o} = Mm; - return { - appId: __uniConfig.appId, - appName: __uniConfig.appName, - appVersion: __uniConfig.appVersion, - appVersionCode: __uniConfig.appVersionCode, - appLanguage: Ud ? Ud() : t, - enableDebug: !1, - hostSDKVersion: void 0, - hostPackageName: void 0, - hostFontSizeSetting: void 0, - hostName: n, - hostVersion: o, - hostTheme: e, - hostLanguage: t, - language: t, - SDKVersion: "", - theme: e, - version: "" - } -})), Dm = sd(0, (() => { - Fm = !0, jm(), Fm = !1; - const e = Im(), t = Rm(), n = Nm(); - Fm = !0; - const {ua: o, browserName: r, browserVersion: i, osname: a, osversion: s} = Mm, l = S(e, t, n, { - ua: o, - browserName: r, - browserVersion: i, - uniPlatform: "web", - uniCompileVersion: __uniConfig.compilerVersion, - uniRuntimeVersion: __uniConfig.compilerVersion, - fontSizeSetting: void 0, - osName: a.toLocaleLowerCase(), - osVersion: s, - osLanguage: void 0, - osTheme: void 0 - }); - return delete l.screenTop, delete l.enableDebug, __uniConfig.darkmode || delete l.theme, function (e) { - let t = {}; - return D(e) && Object.keys(e).sort().forEach((n => { - const o = n; - t[o] = e[o] - })), Object.keys(t) ? t : e - }(l) -})), zm = ld("getSystemInfo", ((e, {resolve: t}) => t(Dm()))); -const Hm = sd(0, ((e, t) => { - const n = typeof t, o = "string" === n ? t : JSON.stringify({type: n, data: t}); - localStorage.setItem(e, o) -})), qm = ld("setStorage", (({key: e, data: t}, {resolve: n, reject: o}) => { - try { - Hm(e, t), n() - } catch (r) { - o(r.message) - } -})); - -function Vm(e) { - const t = localStorage && localStorage.getItem(e); - if (!I(t)) throw new Error("data not found"); - let n = t; - try { - const e = function (e) { - const t = ["object", "string", "number", "boolean", "undefined"]; - try { - const n = I(e) ? JSON.parse(e) : e, o = n.type; - if (t.indexOf(o) >= 0) { - const e = Object.keys(n); - if (2 === e.length && "data" in n) { - if (typeof n.data === o) return n.data; - if ("object" === o && /^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data)) return new Date(n.data) - } else if (1 === e.length) return "" - } - } catch (n) { - } - }(JSON.parse(t)); - void 0 !== e && (n = e) - } catch (o) { - } - return n -} - -const Wm = sd(0, (e => { - try { - return Vm(e) - } catch (t) { - return "" - } -})), $m = ld("getStorage", (({key: e}, {resolve: t, reject: n}) => { - try { - t({data: Vm(e)}) - } catch (o) { - n(o.message) - } -})), Qm = sd(0, (e => { - localStorage && localStorage.removeItem(e) -})), Um = ld("removeStorage", (({key: e}, {resolve: t}) => { - Qm(e), t() -})), Xm = ld("hideKeyboard", ((e, {resolve: t, reject: n}) => { - const o = document.activeElement; - !o || "TEXTAREA" !== o.tagName && "INPUT" !== o.tagName || (o.blur(), t()) -})), Ym = { - image: { - jpg: "jpeg", - jpe: "jpeg", - pbm: "x-portable-bitmap", - pgm: "x-portable-graymap", - pnm: "x-portable-anymap", - ppm: "x-portable-pixmap", - psd: "vnd.adobe.photoshop", - pic: "x-pict", - rgb: "x-rgb", - svg: "svg+xml", - svgz: "svg+xml", - tif: "tiff", - xif: "vnd.xiff", - wbmp: "vnd.wap.wbmp", - wdp: "vnd.ms-photo", - xbm: "x-xbitmap", - ico: "x-icon" - }, - video: { - "3g2": "3gpp2", - "3gp": "3gpp", - avi: "x-msvideo", - f4v: "x-f4v", - flv: "x-flv", - jpgm: "jpm", - jpgv: "jpeg", - m1v: "mpeg", - m2v: "mpeg", - mpe: "mpeg", - mpg: "mpeg", - mpg4: "mpeg", - m4v: "x-m4v", - mkv: "x-matroska", - mov: "quicktime", - qt: "quicktime", - movie: "x-sgi-movie", - mp4v: "mp4", - ogv: "ogg", - smv: "x-smv", - wm: "x-ms-wm", - wmv: "x-ms-wmv", - wmx: "x-ms-wmx", - wvx: "x-ms-wvx" - } -}; - -function Jm({count: e, sourceType: t, type: n, extension: o}) { - const r = document.createElement("input"); - return r.type = "file", ue(r, { - position: "absolute", - visibility: "hidden", - zIndex: "-999", - width: "0", - height: "0", - top: "0", - left: "0" - }), r.accept = o.map((e => { - if ("all" !== n) { - const t = e.replace(".", ""); - return `${n}/${Ym[n][t] || t}` - } - return function () { - const e = window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i); - return !(!e || "micromessenger" !== e[0]) - }() ? "." : 0 === e.indexOf(".") ? e : `.${e}` - })).join(","), e && e > 1 && (r.multiple = !0), "all" !== n && t instanceof Array && 1 === t.length && "camera" === t[0] && r.setAttribute("capture", "camera"), r -} - -tf(); -let Gm = null; -const Km = ld("chooseFile", (({count: e, sourceType: t, type: n, extension: o}, {resolve: r, reject: i}) => { - kl(); - const {t: a} = wl(); - Gm && (document.body.removeChild(Gm), Gm = null), Gm = Jm({ - count: e, - sourceType: t, - type: n, - extension: o - }), document.body.appendChild(Gm), Gm.addEventListener("change", (function (t) { - const n = t.target, o = []; - if (n && n.files) { - const t = n.files.length; - for (let r = 0; r < t; r++) { - const t = n.files[r]; - let i; - Object.defineProperty(t, "path", {get: () => (i = i || Ap(t), i)}), r < e && o.push(t) - } - } - r({ - get tempFilePaths() { - return o.map((({path: e}) => e)) - }, tempFiles: o - }) - })), Gm.click(), nf() || console.warn(a("uni.chooseFile.notUserActivation")) -}), 0, ep); -let Zm = null; -const eg = ld("chooseImage", (({count: e, sourceType: t, extension: n}, {resolve: o, reject: r}) => { - kl(); - const {t: i} = wl(); - Zm && (document.body.removeChild(Zm), Zm = null), Zm = Jm({ - count: e, - sourceType: t, - extension: n, - type: "image" - }), document.body.appendChild(Zm), Zm.addEventListener("change", (function (t) { - const n = t.target, r = []; - if (n && n.files) { - const t = n.files.length; - for (let o = 0; o < t; o++) { - const t = n.files[o]; - let i; - Object.defineProperty(t, "path", {get: () => (i = i || Ap(t), i)}), o < e && r.push(t) - } - } - o({ - get tempFilePaths() { - return r.map((({path: e}) => e)) - }, tempFiles: r - }) - })), Zm.click(), nf() || console.warn(i("uni.chooseFile.notUserActivation")) -}), 0, Gd), tg = {esc: ["Esc", "Escape"], enter: ["Enter"]}, ng = Object.keys(tg); - -function og(e, t, n) { - return t.onClose = (...e) => (t.visible = !1, n.apply(null, e)), ka(po({setup: () => () => (zr(), $r(e, t, null, 16))})) -} - -function rg(e) { - let t = document.getElementById(e); - return t || (t = document.createElement("div"), t.id = e, document.body.append(t)), t -} - -function ig(e, {onEsc: t, onEnter: n}) { - const o = nn(e.visible), {key: r, disable: i} = function () { - const e = nn(""), t = nn(!1), n = n => { - if (t.value) return; - const o = ng.find((e => -1 !== tg[e].indexOf(n.key))); - o && (e.value = o), kn((() => e.value = "")) - }; - return Io((() => { - document.addEventListener("keyup", n) - })), jo((() => { - document.removeEventListener("keyup", n) - })), {key: e, disable: t} - }(); - return Gn((() => e.visible), (e => o.value = e)), Gn((() => o.value), (e => i.value = !e)), Yn((() => { - const {value: e} = r; - "esc" === e ? t && t() : "enter" === e && n && n() - })), o -} - -let ag = 0, sg = ""; - -function lg(e) { - let t = ag; - ag += e ? 1 : -1, ag = Math.max(0, ag), ag > 0 ? 0 === t && (sg = document.body.style.overflow, document.body.style.overflow = "hidden") : (document.body.style.overflow = sg, sg = "") -} - -const cg = ou({ - name: "ImageView", props: {src: {type: String, default: ""}}, setup(e) { - const t = qt({direction: "none"}); - let n = 1, o = 0, r = 0, i = 0, a = 0; - - function s({detail: e}) { - n = e.scale - } - - function l(e) { - const t = e.target.getBoundingClientRect(); - o = t.width, r = t.height - } - - function c(e) { - const t = e.target.getBoundingClientRect(); - i = t.width, a = t.height, d(e) - } - - function u(e) { - const s = n * o > i, l = n * r > a; - t.direction = s && l ? "all" : s ? "horizontal" : l ? "vertical" : "none", d(e) - } - - function d(e) { - "all" !== t.direction && "horizontal" !== t.direction || e.stopPropagation() - } - - return () => { - const n = {position: "absolute", left: "0", top: "0", width: "100%", height: "100%"}; - return Kr(yf, { - style: n, - onTouchstart: su(c), - onTouchmove: su(d), - onTouchend: su(u) - }, { - default: () => [Kr(Of, { - style: n, - direction: t.direction, - inertia: !0, - scale: !0, - "scale-min": "1", - "scale-max": "4", - onScale: s - }, { - default: () => [Kr("img", { - src: e.src, - style: { - position: "absolute", - left: "50%", - top: "50%", - transform: "translate(-50%, -50%)", - maxHeight: "100%", - maxWidth: "100%" - }, - onLoad: l - }, null, 40, ["src", "onLoad"])] - }, 8, ["style", "direction", "inertia", "scale", "onScale"])] - }, 8, ["style", "onTouchstart", "onTouchmove", "onTouchend"]) - } - } -}); - -function ug(e) { - let t = "number" == typeof e.current ? e.current : e.urls.indexOf(e.current); - return t = t < 0 ? 0 : t, t -} - -const dg = ou({ - name: "ImagePreview", - props: {urls: {type: Array, default: () => []}, current: {type: [Number, String], default: 0}}, - emits: ["close"], - setup(e, {emit: t}) { - Io((() => lg(!0))), Ro((() => lg(!1))); - const n = nn(null), o = nn(ug(e)); - let r; - - function i() { - r || kn((() => { - t("close") - })) - } - - function a(e) { - o.value = e.detail.current - } - - Gn((() => e.current), (() => o.value = ug(e))), Io((() => { - const e = n.value; - let t = 0, o = 0; - e.addEventListener("mousedown", (e => { - r = !1, t = e.clientX, o = e.clientY - })), e.addEventListener("mouseup", (e => { - (Math.abs(e.clientX - t) > 20 || Math.abs(e.clientY - o) > 20) && (r = !0) - })) - })); - const s = { - position: "absolute", - "box-sizing": "border-box", - top: "0", - right: "0", - width: "60px", - height: "44px", - padding: "6px", - "line-height": "32px", - "font-size": "26px", - color: "white", - "text-align": "center", - cursor: "pointer" - }; - return () => { - let t; - return Kr("div", { - ref: n, - style: { - display: "block", - position: "fixed", - left: "0", - top: "0", - width: "100%", - height: "100%", - zIndex: 999, - background: "rgba(0,0,0,0.8)" - }, - onClick: i - }, [Kr(ah, { - navigation: "auto", - current: o.value, - onChange: a, - "indicator-dots": !1, - autoplay: !1, - style: {position: "absolute", left: "0", top: "0", width: "100%", height: "100%"} - }, (r = t = e.urls.map((e => Kr(lh, null, {default: () => [Kr(cg, {src: e}, null, 8, ["src"])]}))), "function" == typeof r || "[object Object]" === Object.prototype.toString.call(r) && !Qr(r) ? t : { - default: () => [t], - _: 1 - }), 8, ["current", "onChange"]), Kr("div", {style: s}, [hc("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z", "#ffffff", 26)], 4)], 8, ["onClick"]); - var r - } - } -}); -let pg, fg = null; -const hg = () => { - fg = null, kn((() => { - null == pg || pg.unmount(), pg = null - })) -}, mg = ld("previewImage", ((e, {resolve: t}) => { - fg ? S(fg, e) : (fg = qt(e), kn((() => { - pg = og(dg, fg, hg), pg.mount(rg("u-a-p")) - }))), t() -}), 0, tp); -let gg = null; -const vg = ld("chooseVideo", (({sourceType: e, extension: t}, {resolve: n, reject: o}) => { - kl(); - const {t: r} = wl(); - gg && (document.body.removeChild(gg), gg = null), gg = Jm({ - sourceType: e, - extension: t, - type: "video" - }), document.body.appendChild(gg), gg.addEventListener("change", (function (e) { - const t = e.target.files[0]; - let o = ""; - const r = {tempFilePath: o, tempFile: t, size: t.size, duration: 0, width: 0, height: 0, name: t.name}; - Object.defineProperty(r, "tempFilePath", { - get() { - return o = o || Ap(this.tempFile), o - } - }); - const i = document.createElement("video"); - if (void 0 !== i.onloadedmetadata) { - const e = Ap(t); - i.onloadedmetadata = function () { - Cp(e), n(S(r, {duration: i.duration || 0, width: i.videoWidth || 0, height: i.videoHeight || 0})) - }, setTimeout((() => { - i.onloadedmetadata = null, Cp(e), n(r) - }), 300), i.src = e - } else n(r) - })), gg.click(), nf() || console.warn(r("uni.chooseFile.notUserActivation")) - }), 0, Kd), - bg = ad("request", (({url: e, data: t, header: n, method: o, dataType: r, responseType: i, withCredentials: a, timeout: s = __uniConfig.networkTimeout.request}, {resolve: l, reject: c}) => { - let u = null; - const d = function (e) { - const t = Object.keys(e).find((e => "content-type" === e.toLowerCase())); - if (!t) return; - const n = e[t]; - if (0 === n.indexOf("application/json")) return "json"; - if (0 === n.indexOf("application/x-www-form-urlencoded")) return "urlencoded"; - return "string" - }(n); - if ("GET" !== o) if (I(t) || t instanceof ArrayBuffer) u = t; else if ("json" === d) try { - u = JSON.stringify(t) - } catch (m) { - u = t.toString() - } else if ("urlencoded" === d) { - const e = []; - for (const n in t) A(t, n) && e.push(encodeURIComponent(n) + "=" + encodeURIComponent(t[n])); - u = e.join("&") - } else u = t.toString(); - const p = new XMLHttpRequest, f = new yg(p); - p.open(o, e); - for (const g in n) A(n, g) && p.setRequestHeader(g, n[g]); - const h = setTimeout((function () { - p.onload = p.onabort = p.onerror = null, f.abort(), c("timeout") - }), s); - return p.responseType = i, p.onload = function () { - clearTimeout(h); - const e = p.status; - let t = "text" === i ? p.responseText : p.response; - if ("text" === i && "json" === r) try { - t = JSON.parse(t) - } catch (m) { - } - l({data: t, statusCode: e, header: _g(p.getAllResponseHeaders()), cookies: []}) - }, p.onabort = function () { - clearTimeout(h), c("abort") - }, p.onerror = function () { - clearTimeout(h), c() - }, p.withCredentials = a, p.send(u), f - }), 0, ip); - -class yg { - constructor(e) { - this._xhr = e - } - - abort() { - this._xhr && (this._xhr.abort(), delete this._xhr) - } - - onHeadersReceived(e) { - throw new Error("Method not implemented.") - } - - offHeadersReceived(e) { - throw new Error("Method not implemented.") - } -} - -function _g(e) { - const t = {}; - return e.split("\n").forEach((e => { - const n = e.match(/(\S+\s*):\s*(.*)/); - n && 3 === n.length && (t[n[1]] = n[2]) - })), t -} - -class wg { - constructor(e) { - this._callbacks = [], this._xhr = e - } - - onProgressUpdate(e) { - O(e) && this._callbacks.push(e) - } - - offProgressUpdate(e) { - const t = this._callbacks.indexOf(e); - t >= 0 && this._callbacks.splice(t, 1) - } - - abort() { - this._xhr && (this._xhr.abort(), delete this._xhr) - } - - onHeadersReceived(e) { - throw new Error("Method not implemented.") - } - - offHeadersReceived(e) { - throw new Error("Method not implemented.") - } -} - -const xg = ad("downloadFile", (({url: e, header: t, timeout: n = __uniConfig.networkTimeout.downloadFile}, {resolve: o, reject: r}) => { - var i, a = new XMLHttpRequest, s = new wg(a); - return a.open("GET", e, !0), Object.keys(t).forEach((e => { - a.setRequestHeader(e, t[e]) - })), a.responseType = "blob", a.onload = function () { - clearTimeout(i); - const t = a.status, n = this.response; - let r; - const s = a.getResponseHeader("content-disposition"); - if (s) { - const e = s.match(/filename="?(\S+)"?\b/); - e && (r = e[1]) - } - n.name = r || function (e) { - const t = (e = e.split("#")[0].split("?")[0]).split("/"); - return t[t.length - 1] - }(e), o({statusCode: t, tempFilePath: Ap(n)}) - }, a.onabort = function () { - clearTimeout(i), r("abort") - }, a.onerror = function () { - clearTimeout(i), r() - }, a.onprogress = function (e) { - s._callbacks.forEach((t => { - var n = e.loaded, o = e.total; - t({progress: Math.round(n / o * 100), totalBytesWritten: n, totalBytesExpectedToWrite: o}) - })) - }, a.send(), i = setTimeout((function () { - a.onprogress = a.onload = a.onabort = a.onerror = null, s.abort(), r("timeout") - }), n), s -}), 0, ap); - -class Tg { - constructor(e) { - this._callbacks = [], this._xhr = e - } - - onProgressUpdate(e) { - O(e) && this._callbacks.push(e) - } - - offProgressUpdate(e) { - const t = this._callbacks.indexOf(e); - t >= 0 && this._callbacks.splice(t, 1) - } - - abort() { - this._isAbort = !0, this._xhr && (this._xhr.abort(), delete this._xhr) - } - - onHeadersReceived(e) { - throw new Error("Method not implemented.") - } - - offHeadersReceived(e) { - throw new Error("Method not implemented.") - } -} - -const Sg = ad("uploadFile", (({url: e, file: t, filePath: n, name: o, files: r, header: i, formData: a, timeout: s = __uniConfig.networkTimeout.uploadFile}, {resolve: l, reject: c}) => { - var u = new Tg; - return C(r) && r.length || (r = [{ - name: o, - file: t, - uri: n - }]), Promise.all(r.map((({file: e, uri: t}) => e instanceof Blob ? Promise.resolve(kp(e)) : Ep(t)))).then((function (t) { - var n, o = new XMLHttpRequest, d = new FormData; - Object.keys(a).forEach((e => { - d.append(e, a[e]) - })), Object.values(r).forEach((({name: e}, n) => { - const o = t[n]; - d.append(e || "file", o, o.name || `file-${Date.now()}`) - })), o.open("POST", e), Object.keys(i).forEach((e => { - o.setRequestHeader(e, i[e]) - })), o.upload.onprogress = function (e) { - u._callbacks.forEach((t => { - var n = e.loaded, o = e.total; - t({progress: Math.round(n / o * 100), totalBytesSent: n, totalBytesExpectedToSend: o}) - })) - }, o.onerror = function () { - clearTimeout(n), c() - }, o.onabort = function () { - clearTimeout(n), c("abort") - }, o.onload = function () { - clearTimeout(n); - const e = o.status; - l({statusCode: e, data: o.responseText || o.response}) - }, u._isAbort ? c("abort") : (n = setTimeout((function () { - o.upload.onprogress = o.onload = o.onabort = o.onerror = null, u.abort(), c("timeout") - }), s), o.send(d), u._xhr = o) - })).catch((() => { - setTimeout((() => { - c("file error") - }), 0) - })), u -}), 0, sp), Eg = ld("navigateBack", ((e, {resolve: t, reject: n}) => { - let o = !0; - return !0 === Tc("onBackPress", {from: e.from || "navigateBack"}) && (o = !1), o ? (dm().$router.go(-e.delta), t()) : n("onBackPress") -}), 0, fp); - -function kg({type: e, url: t, tabBarText: n, events: o}, r) { - const i = dm().$router, {path: a, query: s} = function (e) { - const [t, n] = e.split("?", 2); - return {path: t, query: we(n || "")} - }(t); - return new Promise(((t, l) => { - const c = function (e, t) { - return {__id__: t || ++Vh, __type__: e} - }(e, r); - i["navigateTo" === e ? "push" : "replace"]({path: a, query: s, state: c, force: !0}).then((r => { - if (gs(r)) return l(r.message); - if ("switchTab" === e && (i.currentRoute.value.meta.tabBarText = n), "navigateTo" === e) { - const e = i.currentRoute.value.meta; - return e.eventChannel ? o && (Object.keys(o).forEach((t => { - e.eventChannel._addListener(t, "on", o[t]) - })), e.eventChannel._clearCache()) : e.eventChannel = new Te(c.__id__, o), t({eventChannel: e.eventChannel}) - } - return t() - })) - })) -} - -const Ag = ld("navigateTo", (({url: e, events: t}, {resolve: n, reject: o}) => kg({ - type: "navigateTo", - url: e, - events: t -}).then(n).catch(o)), 0, cp); -const Cg = ld("redirectTo", (({url: e}, {resolve: t, reject: n}) => (function () { - const e = vc(); - if (!e) return; - const t = e.$page; - qh(Qh(t.path, t.id)) -}(), kg({type: "redirectTo", url: e}).then(t).catch(n))), 0, up); -const Bg = ld("reLaunch", (({url: e}, {resolve: t, reject: n}) => (function () { - const e = zh().keys(); - for (const t of e) qh(t) -}(), kg({type: "reLaunch", url: e}).then(t).catch(n))), 0, dp); - -function Pg(e, t) { - return e === t.fullPath || "/" === e && t.meta.isEntry -} - -const Lg = ld("switchTab", (({url: e, tabBarText: t}, {resolve: n, reject: o}) => (function () { - const e = _c(); - if (!e) return; - const t = zh(), n = t.keys(); - for (const o of n) { - const e = t.get(o); - e.$.__isTabBar ? e.$.__isActive = !1 : qh(o) - } - e.$.__isTabBar && (e.$.__isVisible = !1, Tc(e, "onHide")) -}(), kg({type: "switchTab", url: e, tabBarText: t}, function (e) { - const t = zh().values(); - for (const n of t) { - const t = n.$page; - if (Pg(e, t)) return n.$.__isActive = !0, t.id - } -}(e)).then(n).catch(o))), 0, pp); - -function Og(e) { - __uniConfig.darkmode && fv.on("onThemeChange", e) -} - -function Ig(e) { - let t = {}; - return __uniConfig.darkmode && (t = Oe(e, __uniConfig.themeConfig, Lm())), __uniConfig.darkmode ? t : e -} - -const Mg = { - title: {type: String, default: ""}, - icon: {default: "success", validator: e => -1 !== _p.indexOf(e)}, - image: {type: String, default: ""}, - duration: {type: Number, default: 1500}, - mask: {type: Boolean, default: !1}, - visible: {type: Boolean} -}, Fg = {light: "#fff", dark: "rgba(255,255,255,0.9)"}, jg = e => Fg[e], Rg = po({ - name: "Toast", props: Mg, setup(e) { - Sl(), El(); - const {Icon: t} = function (e) { - const t = nn(jg(Lm())), n = ({theme: e}) => t.value = jg(e); - Yn((() => { - var t; - e.visible ? Og(n) : (t = n, fv.off("onThemeChange", t)) - })); - return { - Icon: yi((() => { - switch (e.icon) { - case"success": - return Kr(hc(dc, t.value, 38), {class: "uni-toast__icon"}); - case"error": - return Kr(hc(pc, t.value, 38), {class: "uni-toast__icon"}); - case"loading": - return Kr("i", {class: ["uni-toast__icon", "uni-loading"]}, null, 2); - default: - return null - } - })) - } - }(e), n = ig(e, {}); - return () => { - const {mask: o, duration: r, title: i, image: a} = e; - return Kr(Xi, {name: "uni-fade"}, { - default: () => [qo(Kr("uni-toast", {"data-duration": r}, [o ? Kr("div", { - class: "uni-mask", - style: "background: transparent;", - onTouchmove: nc - }, null, 40, ["onTouchmove"]) : "", a || t.value ? Kr("div", {class: "uni-toast"}, [a ? Kr("img", { - src: a, - class: "uni-toast__icon" - }, null, 10, ["src"]) : t.value, Kr("p", {class: "uni-toast__content"}, [i])]) : Kr("div", {class: "uni-sample-toast"}, [Kr("p", {class: "uni-simple-toast__text"}, [i])])], 8, ["data-duration"]), [[xa, n.value]])] - }) - } - } -}); -let Ng, Dg, zg = ""; -const Hg = Fe(); - -function qg(e) { - Ng ? S(Ng, e) : (Ng = qt(S(e, {visible: !1})), kn((() => { - Hg.run((() => { - Gn([() => Ng.visible, () => Ng.duration], (([e, t]) => { - if (e) { - if (Dg && clearTimeout(Dg), "onShowLoading" === zg) return; - Dg = setTimeout((() => { - Wg("onHideToast") - }), t) - } else Dg && clearTimeout(Dg) - })) - })), fv.on("onHidePopup", (() => Wg("onHidePopup"))), og(Rg, Ng, (() => { - })).mount(rg("u-a-t")) - }))), setTimeout((() => { - Ng.visible = !0 - }), 10) -} - -const Vg = ld("showToast", ((e, {resolve: t, reject: n}) => { - qg(e), zg = "onShowToast", t() -}), 0, wp); - -function Wg(e) { - const {t: t} = wl(); - if (!zg) return; - let n = ""; - if ("onHideToast" === e && "onShowToast" !== zg ? n = t("uni.showToast.unpaired") : "onHideLoading" === e && "onShowLoading" !== zg && (n = t("uni.showLoading.unpaired")), n) return console.warn(n); - zg = "", setTimeout((() => { - Ng.visible = !1 - }), 10) -} - -const $g = ld("loadFontFace", (({family: e, source: t, desc: n}, {resolve: o, reject: r}) => { - (function (e, t, n) { - const o = document.fonts; - if (o) { - const r = new FontFace(e, t, n); - return r.load().then((() => { - o.add && o.add(r) - })) - } - return new Promise((o => { - const r = document.createElement("style"), i = []; - if (n) { - const {style: e, weight: t, stretch: o, unicodeRange: r, variant: a, featureSettings: s} = n; - e && i.push(`font-style:${e}`), t && i.push(`font-weight:${t}`), o && i.push(`font-stretch:${o}`), r && i.push(`unicode-range:${r}`), a && i.push(`font-variant:${a}`), s && i.push(`font-feature-settings:${s}`) - } - r.innerText = `@font-face{font-family:"${e}";src:${t};${i.join(";")}}`, document.head.appendChild(r), o() - })) - })(e, t, n).then((() => { - o() - })).catch((e => { - r(`loadFontFace:fail ${e}`) - })) -})); - -function Qg(e) { - function t() { - var t; - t = e.navigationBar.titleText, document.title = t, fv.emit("onNavigationBarChange", {titleText: t}) - } - - Yn(t), wo(t) -} - -const Ug = ld("setNavigationBarTitle", ((e, {resolve: t, reject: n}) => { - !function (e, t, n, o, r) { - if (!e) return r("page not found"); - const {navigationBar: i} = e; - switch (t) { - case"setNavigationBarColor": - const {frontColor: e, backgroundColor: t, animation: o} = n, {duration: r, timingFunc: a} = o; - e && (i.titleColor = "#000000" === e ? "#000000" : "#ffffff"), t && (i.backgroundColor = t), i.duration = r + "ms", i.timingFunc = a; - break; - case"showNavigationBarLoading": - i.loading = !0; - break; - case"hideNavigationBarLoading": - i.loading = !1; - break; - case"setNavigationBarTitle": - const {title: s} = n; - i.titleText = s - } - o() - }(bc(), "setNavigationBarTitle", e, t, n) - })), Xg = ld("pageScrollTo", (({scrollTop: e, selector: t, duration: n}, {resolve: o}) => { - !function (e, t, n) { - if (I(e)) { - const t = document.querySelector(e); - if (t) { - const {height: o, top: r} = t.getBoundingClientRect(); - e = r + window.pageYOffset, n && (e -= o) - } - } - e < 0 && (e = 0); - const o = document.documentElement, {clientHeight: r, scrollHeight: i} = o; - if (e = Math.min(e, i - r), 0 === t) return void (o.scrollTop = document.body.scrollTop = e); - if (window.scrollY === e) return; - const a = t => { - if (t <= 0) return void window.scrollTo(0, e); - const n = e - window.scrollY; - requestAnimationFrame((function () { - window.scrollTo(0, window.scrollY + n / t * 10), a(t - 10) - })) - }; - a(t) - }(t || e || 0, n, !0), o() - }), 0, yp), Yg = ld("startPullDownRefresh", ((e, {resolve: t}) => { - fv.invokeViewMethod("startPullDownRefresh", {}, yc()), t() - })), Jg = ld("stopPullDownRefresh", ((e, {resolve: t}) => { - fv.invokeViewMethod("stopPullDownRefresh", {}, yc()), t() - })), Gg = ["text", "iconPath", "iconfont", "selectedIconPath", "visible"], - Kg = ["color", "selectedColor", "backgroundColor", "borderStyle", "midButton"], Zg = ["badge", "redDot"]; - -function ev(e, t, n) { - t.forEach((function (t) { - A(n, t) && (e[t] = n[t]) - })) -} - -function tv(e, t, n) { - const o = Lh(); - switch (e) { - case"showTabBar": - o.shown = !0; - break; - case"hideTabBar": - o.shown = !1; - break; - case"setTabBarItem": - const {index: e} = t, n = o.list[e], r = n.pagePath; - ev(n, Gg, t); - const {pagePath: i} = t; - if (i) { - const t = le(i); - t !== r && function (e, t, n) { - const o = Bc(le(t)); - if (o) { - const {meta: e} = o; - delete e.tabBarIndex, e.isQuit = e.isTabBar = !1 - } - const r = Bc(le(n)); - if (r) { - const {meta: t} = r; - t.tabBarIndex = e, t.isQuit = t.isTabBar = !0; - const o = __uniConfig.tabBar; - o && o.list && o.list[e] && (o.list[e].pagePath = ce(n)) - } - }(e, r, t) - } - break; - case"setTabBarStyle": - ev(o, Kg, t); - break; - case"showTabBarRedDot": - ev(o.list[t.index], Zg, {badge: "", redDot: !0}); - break; - case"setTabBarBadge": - ev(o.list[t.index], Zg, {badge: t.text, redDot: !0}); - break; - case"hideTabBarRedDot": - case"removeTabBarBadge": - ev(o.list[t.index], Zg, {badge: "", redDot: !1}) - } - n() -} - -const nv = ld("hideTabBar", ((e, {resolve: t}) => { - tv("hideTabBar", e || {}, t) -})), ov = ou({ - name: "TabBar", setup() { - const e = nn([]), t = Lh(), n = qt(Ig(t)); - !function (e, t) { - function n() { - let n = []; - n = e.list.filter((e => !1 !== e.visible)), t.value = n - } - - nn(S({type: "midButton"}, e.midButton)), Yn(n) - }(n, e), function (e) { - Gn((() => e.shown), (t => { - sc({"--window-bottom": Nh(t ? parseInt(e.height) : 0)}) - })) - }(n); - const o = function (e, t, n) { - return Yn((() => { - const o = e.meta; - if (o.isTabBar) { - const e = o.route, r = n.value.findIndex((t => t.pagePath === e)); - t.selectedIndex = r - } - })), (t, n) => () => { - const {pagePath: o, text: r} = t; - let i = le(o); - i === __uniRoutes[0].alias && (i = "/"), e.path !== i ? Lg({ - from: "tabBar", - url: i, - tabBarText: r - }) : Tc("onTabItemTap", {index: n, text: r, pagePath: o}) - } - }(ml(), n, e), {style: r, borderStyle: i, placeholderStyle: a} = function (e) { - const t = yi((() => { - let t = e.backgroundColor; - const n = e.blurEffect; - return t || jh && n && "none" !== n && (t = rv[n]), { - backgroundColor: t || "#f7f7fa", - backdropFilter: "none" !== n ? "blur(10px)" : n - } - })), n = yi((() => { - const {borderStyle: t} = e; - return {backgroundColor: iv[t] || t} - })), o = yi((() => ({height: e.height}))); - return {style: t, borderStyle: n, placeholderStyle: o} - }(n); - return Og((() => { - const e = Ig(t); - n.backgroundColor = e.backgroundColor, n.borderStyle = e.borderStyle, n.color = e.color, n.selectedColor = e.selectedColor, n.blurEffect = e.blurEffect, e.list && e.list.length && e.list.forEach(((e, t) => { - n.list[t].iconPath = e.iconPath, n.list[t].selectedIconPath = e.selectedIconPath - })) - })), Io((() => { - n.iconfontSrc && $g({family: "UniTabbarIconFont", source: `url("${n.iconfontSrc}")`}) - })), () => { - const t = function (e, t, n) { - const {selectedIndex: o, selectedColor: r, color: i} = e; - return n.value.map(((n, a) => { - const s = o === a; - return function (e, t, n, o, r, i, a, s) { - return Kr("div", { - key: a, - class: "uni-tabbar__item", - onClick: s(r, a) - }, [av(e, t || "", n, o, r, i)], 8, ["onClick"]) - }(s ? r : i, s && n.selectedIconPath || n.iconPath || "", n.iconfont ? s && n.iconfont.selectedText || n.iconfont.text : void 0, n.iconfont ? s && n.iconfont.selectedColor || n.iconfont.color : void 0, n, e, a, t) - })) - }(n, o, e); - return Kr("uni-tabbar", {class: "uni-tabbar-" + n.position}, [Kr("div", { - class: "uni-tabbar", - style: r.value - }, [Kr("div", { - class: "uni-tabbar-border", - style: i.value - }, null, 4), t], 4), Kr("div", {class: "uni-placeholder", style: a.value}, null, 4)], 2) - } - } -}); -const rv = {dark: "rgb(0, 0, 0, 0.8)", light: "rgb(250, 250, 250, 0.8)", extralight: "rgb(250, 250, 250, 0.8)"}, - iv = {white: "rgba(255, 255, 255, 0.33)", black: "rgba(0, 0, 0, 0.33)"}; - -function av(e, t, n, o, r, i) { - const {height: a} = i; - return Kr("div", { - class: "uni-tabbar__bd", - style: {height: a} - }, [n ? lv(n, o || "rgb(0, 0, 0, 0.8)", r, i) : t && sv(t, r, i), r.text && cv(e, r, i), r.redDot && uv(r.badge)], 4) -} - -function sv(e, t, n) { - const {type: o, text: r} = t, {iconWidth: i} = n; - return Kr("div", { - class: "uni-tabbar__icon" + (r ? " uni-tabbar__icon__diff" : ""), - style: {width: i, height: i} - }, ["midButton" !== o && Kr("img", {src: gu(e)}, null, 8, ["src"])], 6) -} - -function lv(e, t, n, o) { - var r; - const {type: i, text: a} = n, {iconWidth: s} = o, l = "uni-tabbar__icon" + (a ? " uni-tabbar__icon__diff" : ""), - c = {width: s, height: s}, u = {fontSize: (null == (r = n.iconfont) ? void 0 : r.fontSize) || s, color: t}; - return Kr("div", {class: l, style: c}, ["midButton" !== i && Kr("div", { - class: "uni-tabbar__iconfont", - style: u - }, [e], 4)], 6) -} - -function cv(e, t, n) { - const {iconPath: o, text: r} = t, {fontSize: i, spacing: a} = n; - return Kr("div", { - class: "uni-tabbar__label", - style: {color: e, fontSize: i, lineHeight: o ? "normal" : 1.8, marginTop: o ? a : "inherit"} - }, [r], 4) -} - -function uv(e) { - return Kr("div", {class: "uni-tabbar__reddot" + (e ? " uni-tabbar__badge" : "")}, [e], 2) -} - -const dv = ou({ - name: "Layout", setup(e, {emit: t}) { - const n = nn(null); - ac({ - "--status-bar-height": "0px", - "--top-window-height": "0px", - "--window-left": "0px", - "--window-right": "0px", - "--window-margin": "0px", - "--tab-bar-height": "0px" - }); - const o = function () { - const e = ml(); - return { - routeKey: yi((() => Qh("/" + e.meta.route, Bh()))), - isTabBar: yi((() => e.meta.isTabBar)), - routeCache: Xh - } - }(), {layoutState: r, windowState: i} = function () { - Ch(); - { - const e = qt({marginWidth: 0, leftWindowWidth: 0, rightWindowWidth: 0}); - return Gn((() => e.marginWidth), (e => ac({"--window-margin": e + "px"}))), Gn((() => e.leftWindowWidth + e.marginWidth), (e => { - ac({"--window-left": e + "px"}) - })), Gn((() => e.rightWindowWidth + e.marginWidth), (e => { - ac({"--window-right": e + "px"}) - })), {layoutState: e, windowState: yi((() => ({})))} - } - }(); - !function (e, t) { - const n = Ch(); - - function o() { - const o = document.body.clientWidth, r = Hh(); - let i = {}; - if (r.length > 0) { - i = r[r.length - 1].$page.meta - } else { - const e = Bc(n.path, !0); - e && (i = e.meta) - } - const a = parseInt(String((A(i, "maxWidth") ? i.maxWidth : __uniConfig.globalStyle.maxWidth) || Number.MAX_SAFE_INTEGER)); - let s = !1; - s = o > a, s && a ? (e.marginWidth = (o - a) / 2, kn((() => { - const e = t.value; - e && e.setAttribute("style", "max-width:" + a + "px;margin:0 auto;") - }))) : (e.marginWidth = 0, kn((() => { - const e = t.value; - e && e.removeAttribute("style") - }))) - } - - Gn([() => n.path], o), Io((() => { - o(), window.addEventListener("resize", o) - })) - }(r, n); - const a = function (e) { - const t = Ch(), n = Lh(), o = yi((() => t.meta.isTabBar && n.shown)); - return ac({"--tab-bar-height": n.height}), o - }(), s = function (e) { - const t = nn(!1); - return yi((() => ({"uni-app--showtabbar": e && e.value, "uni-app--maxwidth": t.value}))) - }(a); - return () => { - const e = function (e, t, n, o, r, i) { - return function ({routeKey: e, isTabBar: t, routeCache: n}) { - return Kr(pl, null, { - default: Hn((({Component: o}) => [(zr(), $r(yo, { - matchBy: "key", - cache: n - }, [(zr(), $r(Qo(o), {type: t.value ? "tabBar" : "", key: e.value}))], 1032, ["cache"]))])), - _: 1 - }) - }(e) - }(o), t = function (e) { - return qo(Kr(ov, null, null, 512), [[xa, e.value]]) - }(a); - return Kr("uni-app", {ref: n, class: s.value}, [e, t], 2) - } - } -}); -const pv = S(Fl, { - publishHandler(e, t, n) { - fv.subscribeHandler(e, t, n) - } -}), fv = S(Vc, { - publishHandler(e, t, n) { - pv.subscribeHandler(e, t, n) - } -}), hv = ou({ - name: "PageHead", setup() { - const e = nn(null), t = kh(), n = qt(Ig(t.navigationBar)), {clazz: o, style: r} = function (e) { - const t = yi((() => { - const {type: t, titlePenetrate: n, shadowColorType: o} = e, r = { - "uni-page-head": !0, - "uni-page-head-transparent": "transparent" === t, - "uni-page-head-titlePenetrate": "YES" === n, - "uni-page-head-shadow": !!o - }; - return o && (r[`uni-page-head-shadow-${o}`] = !0), r - })), n = yi((() => ({ - backgroundColor: e.backgroundColor, - color: e.titleColor, - transitionDuration: e.duration, - transitionTimingFunction: e.timingFunc - }))); - return {clazz: t, style: n} - }(n); - return Og((() => { - const e = Ig(t.navigationBar); - n.backgroundColor = e.backgroundColor, n.titleColor = e.titleColor - })), () => { - const i = function (e, t) { - if (!t) return Kr("div", { - class: "uni-page-head-btn", - onClick: gv - }, [hc(fc, "transparent" === e.type ? "#fff" : e.titleColor, 27)], 8, ["onClick"]) - }(n, t.isQuit), a = n.type || "default", s = "transparent" !== a && "float" !== a && Kr("div", { - class: { - "uni-placeholder": !0, - "uni-placeholder-titlePenetrate": n.titlePenetrate - } - }, null, 2); - return Kr("uni-page-head", {"uni-page-head-type": a}, [Kr("div", { - ref: e, - class: o.value, - style: r.value - }, [Kr("div", {class: "uni-page-head-hd"}, [i]), mv(n), Kr("div", {class: "uni-page-head-ft"}, [])], 6), s], 8, ["uni-page-head-type"]) - } - } -}); - -function mv(e, t) { - return function ({type: e, loading: t, titleSize: n, titleText: o, titleImage: r}) { - return Kr("div", {class: "uni-page-head-bd"}, [Kr("div", { - style: { - fontSize: n, - opacity: "transparent" === e ? 0 : 1 - }, class: "uni-page-head__title" - }, [t ? Kr("i", {class: "uni-loading"}, null) : r ? Kr("img", { - src: r, - class: "uni-page-head__title_image" - }, null, 8, ["src"]) : o], 4)]) - }(e) -} - -function gv() { - 1 === Hh().length ? Bg({url: "/"}) : Eg({ - from: "backbutton", success() { - } - }) -} - -const vv = { - name: "PageRefresh", setup() { - const {pullToRefresh: e} = kh(); - return {offset: e.offset, color: e.color} - } - }, bv = (e, t) => { - const n = e.__vccOpts || e; - for (const [o, r]of t) n[o] = r; - return n - }, yv = {class: "uni-page-refresh-inner"}, _v = ["fill"], - wv = [Gr("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1), Gr("path", { - d: "M0 0h24v24H0z", - fill: "none" - }, null, -1)], xv = {class: "uni-page-refresh__spinner", width: "24", height: "24", viewBox: "25 25 50 50"}, - Tv = ["stroke"]; -const Sv = bv(vv, [["render", function (e, t, n, o, r, a) { - return zr(), Wr("uni-page-refresh", null, [Gr("div", { - style: i({"margin-top": o.offset + "px"}), - class: "uni-page-refresh" - }, [Gr("div", yv, [(zr(), Wr("svg", { - fill: o.color, - class: "uni-page-refresh__icon", - width: "24", - height: "24", - viewBox: "0 0 24 24" - }, wv, 8, _v)), (zr(), Wr("svg", xv, [Gr("circle", { - stroke: o.color, - class: "uni-page-refresh__path", - cx: "50", - cy: "50", - r: "20", - fill: "none", - "stroke-width": "4", - "stroke-miterlimit": "10" - }, null, 8, Tv)]))])], 4)]) -}]]); - -function Ev(e, t, n) { - const o = Array.prototype.slice.call(e.changedTouches).filter((e => e.identifier === t))[0]; - return !!o && (e.deltaY = o.pageY - n, !0) -} - -const kv = "aborting", Av = "refreshing", Cv = "restoring"; - -function Bv(e) { - const {id: t, pullToRefresh: n} = kh(), {range: o, height: r} = n; - let i, a, s, l, c, u, d, p; - gh((() => { - p || (p = Av, g(), setTimeout((() => { - w() - }), 50)) - }), "startPullDownRefresh", !1, t), gh((() => { - p === Av && (v(), p = Cv, g(), function (e) { - if (!a) return; - s.transition = "-webkit-transform 0.3s", s.transform += " scale(0.01)"; - const t = function () { - n && clearTimeout(n), a.removeEventListener("webkitTransitionEnd", t), s.transition = "", s.transform = "translate3d(-50%, 0, 0)", e() - }; - a.addEventListener("webkitTransitionEnd", t); - const n = setTimeout(t, 350) - }((() => { - v(), p = f = h = null - }))) - }), "stopPullDownRefresh", !1, t), Io((() => { - i = e.value.$el, a = i.querySelector(".uni-page-refresh"), s = a.style, l = a.querySelector(".uni-page-refresh-inner").style - })); - let f = null, h = null; - - function m(e) { - p && i && i.classList[e]("uni-page-refresh--" + p) - } - - function g() { - m("add") - } - - function v() { - m("remove") - } - - const b = su((e => { - const t = e.changedTouches[0]; - c = t.identifier, u = t.pageY, d = !([kv, Av, Cv].indexOf(p) >= 0) - })), y = su((e => { - if (!d) return; - if (!Ev(e, c, u)) return; - let {deltaY: t} = e; - if (0 !== (document.documentElement.scrollTop || document.body.scrollTop)) return void (c = null); - if (t < 0 && !p) return; - e.preventDefault(), null === f && (h = t, p = "pulling", g()), t -= h, t < 0 && (t = 0), f = t; - (t >= o && "reached" !== p || t < o && "pulling" !== p) && (v(), p = "reached" === p ? "pulling" : "reached", g()), function (e) { - if (!a) return; - let t = e / o; - t > 1 ? t = 1 : t *= t * t; - const n = Math.round(e / (o / r)) || 0; - l.transform = "rotate(" + 360 * t + "deg)", s.clip = "rect(" + (45 - n) + "px,45px,45px,-5px)", s.transform = "translate3d(-50%, " + n + "px, 0)" - }(t) - })), _ = su((e => { - Ev(e, c, u) && null !== p && ("pulling" === p ? (v(), p = kv, g(), function (e) { - if (!a) return; - if (s.transform) { - s.transition = "-webkit-transform 0.3s", s.transform = "translate3d(-50%, 0, 0)"; - const t = function () { - n && clearTimeout(n), a.removeEventListener("webkitTransitionEnd", t), s.transition = "", e() - }; - a.addEventListener("webkitTransitionEnd", t); - const n = setTimeout(t, 350) - } else e() - }((() => { - v(), p = f = h = null - }))) : "reached" === p && (v(), p = Av, g(), w())) - })); - - function w() { - a && (s.transition = "-webkit-transform 0.2s", s.transform = "translate3d(-50%, " + r + "px, 0)", Tc(t, "onPullDownRefresh")) - } - - return {onTouchstartPassive: b, onTouchmove: y, onTouchend: _, onTouchcancel: _} -} - -const Pv = ou({ - name: "PageBody", setup(e, t) { - const n = kh(), o = nn(null), r = n.enablePullDownRefresh ? Bv(o) : null; - return () => { - const e = function (e, t) { - if (!t.enablePullDownRefresh) return null; - return Kr(Sv, {ref: e}, null, 512) - }(o, n); - return Kr(Mr, null, [e, Kr("uni-page-wrapper", r, [Kr("uni-page-body", null, [Jo(t.slots, "default")])], 16)]) - } - } -}); -const Lv = ou({ - name: "Page", setup(e, t) { - const n = Ah(Bh()), o = n.navigationBar; - return Qg(n), () => Kr("uni-page", {"data-page": n.route}, "custom" !== o.style ? [Kr(hv), Ov(t)] : [Ov(t)]) - } -}); - -function Ov(e) { - return zr(), $r(Pv, {key: 0}, {default: Hn((() => [Jo(e.slots, "page")])), _: 3}) -} - -const Iv = {loading: "AsyncLoading", error: "AsyncError", delay: 200, timeout: 6e4, suspensible: !0}; -window.uni = {}, window.wx = {}, window.rpx2px = vd; -const Mv = Object.assign({"./locale/en.json": n, "./locale/zh-Hans.json": o}), Fv = Object.assign; -const match = location.href.match(/\/wap\/(\d*)\//); -window.__uniConfig = Fv({ - globalStyle: { - backgroundColor: "#F8F8F8", - backgroundColorTop: "#F8F8F8", - backgroundColorBottom: "#F8F8F8", - navigationBar: {backgroundColor: "#ffffff", titleText: "", type: "default", titleColor: "#000000"}, - isNVue: !1 - }, - tabBar: { - position: "bottom", - color: "#999", - selectedColor: "#007aff", - borderStyle: "black", - blurEffect: "none", - fontSize: "10px", - iconWidth: "24px", - spacing: "3px", - height: "50px", - list: [{pagePath: "pages/index/index"}, {pagePath: "pages/article/list"}, {pagePath: "pages/member/index"}], - selectedIndex: 0, - shown: !0 - }, - uniIdRouter: {}, - easycom: { - custom: { - "^u-(.*)": "uview-plus/components/u-$1/u-$1.vue", - "diy-(.*)": "@/components/diy/$1/index.vue", - "fixed-(.*)": "@/components/fixed/$1/index.vue" - } - }, - compilerVersion: "3.8.7" -}, { - appId: "__UNI__ED923AB", - appName: "", - appVersion: "1.0.0", - appVersionCode: "100", - async: Iv, - debug: !1, - networkTimeout: {request: 6e4, connectSocket: 6e4, uploadFile: 6e4, downloadFile: 6e4}, - sdkConfigs: {}, - qqMapKey: void 0, - googleMapKey: void 0, - aMapKey: void 0, - aMapSecurityJsCode: void 0, - aMapServiceHost: void 0, - nvue: {"flex-direction": "column"}, - locale: "", - fallbackLocale: "zh-Hans", - locales: Object.keys(Mv).reduce(((e, t) => { - const n = t.replace(/\.\/locale\/(uni-app.)?(.*).json/, "$2"); - return Fv(e[n] || (e[n] = {}), Mv[t].default), e - }), {}), - router: {mode: "history", base: match ? `/wap/${match[1]}/` : '/wap/', assets: "assets", routerBase: match ? `/wap/${match[1]}/` : '/wap/'}, - darkmode: !1, - themeConfig: {} -}), window.__uniLayout = window.__uniLayout || {}; -const jv = {delay: Iv.delay, timeout: Iv.timeout, suspensible: Iv.suspensible}; -Iv.loading && (jv.loadingComponent = { - name: "SystemAsyncLoading", - render: () => Kr(Wo(Iv.loading)) -}), Iv.error && (jv.errorComponent = {name: "SystemAsyncError", render: () => Kr(Wo(Iv.error))}); -const Rv = () => t((() => import("./pages-index-index.9dccf8c4.js")), ["assets/pages-index-index.9dccf8c4.js", "assets/u-loading-page.925a187b.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-loading-page-2116306f.css", "assets/index.1798b78b.js", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/tabbar.e67e4875.js", "assets/u-image.b892f6c4.js", "assets/u-image-f70fd559.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/tabbar-eb61cd51.css", "assets/article.0307362e.js", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-avatar.ddef1faa.js", "assets/u-avatar-0d8f8309.css", "assets/index-5beda9ca.css", "assets/useShare.3d08f2fc.js", "assets/wechat.56b0d350.js", "assets/index-8e8df8ed.css"]).then((e => mm(e.default || e))), - Nv = ho(Fv({loader: Rv}, jv)), - Dv = () => t((() => import("./pages-article-list.8dce3d3e.js")), ["assets/pages-article-list.8dce3d3e.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/tabbar.e67e4875.js", "assets/u-image.b892f6c4.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-image-f70fd559.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/tabbar-eb61cd51.css", "assets/article.0307362e.js", "assets/useMescroll.fbb7af33.js", "assets/useMescroll-f0734f93.css", "assets/mescroll-empty.22c37416.js", "assets/mescroll-empty-40916e41.css", "assets/useShare.3d08f2fc.js", "assets/wechat.56b0d350.js", "assets/list-c9622c2a.css"]).then((e => mm(e.default || e))), - zv = ho(Fv({loader: Dv}, jv)), - Hv = () => t((() => import("./pages-auth-agreement.016f9147.js")), ["assets/pages-auth-agreement.016f9147.js", "assets/u-parse.403d1985.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-parse-9cce559f.css"]).then((e => mm(e.default || e))), - qv = ho(Fv({loader: Hv}, jv)), - Vv = () => t((() => import("./pages-auth-bind.c0b8d2eb.js")), ["assets/pages-auth-bind.c0b8d2eb.js", "assets/u-input.4212a359.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-input-2dabccde.css", "assets/u-form.84a1fd52.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-form-c93addfb.css", "assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js", "assets/u-modal.755a4b61.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-modal-b7ee2981.css", "assets/sms-code-9b208b13.css", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-button.5c85e6cc.js", "assets/u-button-4e9253f5.css", "assets/bind-12c3cc42.css"]).then((e => mm(e.default || e))), - Wv = ho(Fv({loader: Vv}, jv)), - $v = () => t((() => import("./pages-auth-login.bfe761f1.js")), ["assets/pages-auth-login.bfe761f1.js", "assets/u-input.4212a359.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-input-2dabccde.css", "assets/u-form.84a1fd52.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-form-c93addfb.css", "assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js", "assets/u-modal.755a4b61.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-modal-b7ee2981.css", "assets/sms-code-9b208b13.css", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-button.5c85e6cc.js", "assets/u-button-4e9253f5.css"]).then((e => mm(e.default || e))), - Qv = ho(Fv({loader: $v}, jv)), - Uv = () => t((() => import("./pages-auth-register.525a8a97.js")), ["assets/pages-auth-register.525a8a97.js", "assets/u-input.4212a359.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-input-2dabccde.css", "assets/u-form.84a1fd52.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-form-c93addfb.css", "assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js", "assets/u-modal.755a4b61.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-modal-b7ee2981.css", "assets/sms-code-9b208b13.css", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-button.5c85e6cc.js", "assets/u-button-4e9253f5.css"]).then((e => mm(e.default || e))), - Xv = ho(Fv({loader: Uv}, jv)), - Yv = () => t((() => import("./pages-auth-resetpwd.2e039795.js")), ["assets/pages-auth-resetpwd.2e039795.js", "assets/u-input.4212a359.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-input-2dabccde.css", "assets/u-form.84a1fd52.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-form-c93addfb.css", "assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js", "assets/u-modal.755a4b61.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-modal-b7ee2981.css", "assets/sms-code-9b208b13.css", "assets/u-button.5c85e6cc.js", "assets/u-button-4e9253f5.css"]).then((e => mm(e.default || e))), - Jv = ho(Fv({loader: Yv}, jv)), - Gv = () => t((() => import("./pages-index-diy.0d2bc949.js")), ["assets/pages-index-diy.0d2bc949.js", "assets/u-loading-page.925a187b.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-loading-page-2116306f.css", "assets/index.1798b78b.js", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/tabbar.e67e4875.js", "assets/u-image.b892f6c4.js", "assets/u-image-f70fd559.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/tabbar-eb61cd51.css", "assets/article.0307362e.js", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-avatar.ddef1faa.js", "assets/u-avatar-0d8f8309.css", "assets/index-5beda9ca.css", "assets/useShare.3d08f2fc.js", "assets/wechat.56b0d350.js", "assets/diy-9a1c7fc3.css"]).then((e => mm(e.default || e))), - Kv = ho(Fv({loader: Gv}, jv)), - Zv = () => t((() => import("./pages-index-close.88941b42.js")), ["assets/pages-index-close.88941b42.js", "assets/u-empty.317e751c.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-empty-5067ac67.css"]).then((e => mm(e.default || e))), - eb = ho(Fv({loader: Zv}, jv)), - tb = () => t((() => import("./pages-index-nosite.d52e22d1.js")), ["assets/pages-index-nosite.d52e22d1.js", "assets/u-empty.317e751c.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-empty-5067ac67.css"]).then((e => mm(e.default || e))), - nb = ho(Fv({loader: tb}, jv)), - ob = () => t((() => import("./pages-article-detail.27a94da1.js")), ["assets/pages-article-detail.27a94da1.js", "assets/u-parse.403d1985.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-parse-9cce559f.css", "assets/u-loading-page.925a187b.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-loading-page-2116306f.css", "assets/article.0307362e.js", "assets/useShare.3d08f2fc.js", "assets/wechat.56b0d350.js"]).then((e => mm(e.default || e))), - rb = ho(Fv({loader: ob}, jv)), - ib = () => t((() => import("./pages-member-apply_cash_out.f6ab459d.js")), ["assets/pages-member-apply_cash_out.f6ab459d.js", "assets/u-button.5c85e6cc.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/u-button-4e9253f5.css", "assets/u-loading-page.925a187b.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-loading-page-2116306f.css"]).then((e => mm(e.default || e))), - ab = ho(Fv({loader: ib}, jv)), - sb = () => t((() => import("./pages-member-commission.2562b979.js")), ["assets/pages-member-commission.2562b979.js", "assets/u-button.5c85e6cc.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/u-button-4e9253f5.css", "assets/commission-df4369d0.css"]).then((e => mm(e.default || e))), - lb = ho(Fv({loader: sb}, jv)), - cb = () => t((() => import("./pages-member-balance.c8e952bc.js")), ["assets/pages-member-balance.c8e952bc.js", "assets/u-loading-page.925a187b.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-loading-page-2116306f.css", "assets/u-button.5c85e6cc.js", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/u-button-4e9253f5.css", "assets/u-input.4212a359.js", "assets/u-input-2dabccde.css", "assets/u-popup.8a491625.js", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-image.b892f6c4.js", "assets/u-image-f70fd559.css", "assets/pay.422381f0.js", "assets/wechat.56b0d350.js", "assets/balance-d8f1465a.css"]).then((e => mm(e.default || e))), - ub = ho(Fv({loader: cb}, jv)), - db = () => t((() => import("./pages-member-recharge_record.e42b3b23.js")), ["assets/pages-member-recharge_record.e42b3b23.js", "assets/useMescroll.fbb7af33.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/useMescroll-f0734f93.css", "assets/mescroll-empty.22c37416.js", "assets/mescroll-empty-40916e41.css", "assets/recharge_record-b6711670.css"]).then((e => mm(e.default || e))), - pb = ho(Fv({loader: db}, jv)), - fb = () => t((() => import("./pages-member-recharge_record_detail.b2e7f0df.js")), ["assets/pages-member-recharge_record_detail.b2e7f0df.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/recharge_record_detail-56202dd4.css"]).then((e => mm(e.default || e))), - hb = ho(Fv({loader: fb}, jv)), - mb = () => t((() => import("./pages-member-detailed_account.dfe0ec43.js")), ["assets/pages-member-detailed_account.dfe0ec43.js", "assets/useMescroll.fbb7af33.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/useMescroll-f0734f93.css", "assets/mescroll-empty.22c37416.js", "assets/mescroll-empty-40916e41.css", "assets/detailed_account-3b9b6750.css"]).then((e => mm(e.default || e))), - gb = ho(Fv({loader: mb}, jv)), - vb = () => t((() => import("./pages-member-cash_out.57f0f96a.js")), ["assets/pages-member-cash_out.57f0f96a.js", "assets/useMescroll.fbb7af33.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/useMescroll-f0734f93.css", "assets/mescroll-empty.22c37416.js", "assets/mescroll-empty-40916e41.css", "assets/cash_out-25dffb81.css"]).then((e => mm(e.default || e))), - bb = ho(Fv({loader: vb}, jv)), - yb = () => t((() => import("./pages-member-cash_out_detail.ccd37d79.js")), ["assets/pages-member-cash_out_detail.ccd37d79.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/cash_out_detail-a5b1b8f4.css"]).then((e => mm(e.default || e))), - _b = ho(Fv({loader: yb}, jv)), - wb = () => t((() => import("./pages-member-index.dbd4736b.js")), ["assets/pages-member-index.dbd4736b.js", "assets/u-loading-page.925a187b.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-loading-page-2116306f.css", "assets/index.1798b78b.js", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/tabbar.e67e4875.js", "assets/u-image.b892f6c4.js", "assets/u-image-f70fd559.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/tabbar-eb61cd51.css", "assets/article.0307362e.js", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-avatar.ddef1faa.js", "assets/u-avatar-0d8f8309.css", "assets/index-5beda9ca.css", "assets/index-da921c04.css"]).then((e => mm(e.default || e))), - xb = ho(Fv({loader: wb}, jv)), - Tb = () => t((() => import("./pages-member-personal.66c2c720.js")), ["assets/pages-member-personal.66c2c720.js", "assets/u-avatar.ddef1faa.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-avatar-0d8f8309.css", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-action-sheet.1e4dbfee.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-action-sheet-e3392aa2.css", "assets/u-button.5c85e6cc.js", "assets/u-button-4e9253f5.css", "assets/app-link.vue_vue_type_script_setup_true_lang.18597de0.js", "assets/u-modal.755a4b61.js", "assets/u-modal-b7ee2981.css", "assets/personal-7d5bc078.css"]).then((e => mm(e.default || e))), - Sb = ho(Fv({loader: Tb}, jv)), - Eb = () => t((() => import("./pages-member-point.ff5872df.js")), ["assets/pages-member-point.ff5872df.js", "assets/useMescroll.fbb7af33.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/useMescroll-f0734f93.css", "assets/mescroll-empty.22c37416.js", "assets/mescroll-empty-40916e41.css"]).then((e => mm(e.default || e))), - kb = ho(Fv({loader: Eb}, jv)), - Ab = () => t((() => import("./pages-member-account.1645a99d.js")), ["assets/pages-member-account.1645a99d.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/useMescroll.fbb7af33.js", "assets/useMescroll-f0734f93.css"]).then((e => mm(e.default || e))), - Cb = ho(Fv({loader: Ab}, jv)), - Bb = () => t((() => import("./pages-member-account_edit.142797b5.js")), ["assets/pages-member-account_edit.142797b5.js", "assets/u-input.4212a359.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-input-2dabccde.css", "assets/u-form.84a1fd52.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-form-c93addfb.css", "assets/u-button.5c85e6cc.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-button-4e9253f5.css", "assets/u-modal.755a4b61.js", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-modal-b7ee2981.css"]).then((e => mm(e.default || e))), - Pb = ho(Fv({loader: Bb}, jv)), - Lb = () => t((() => import("./pages-pay-browser.3e8e32cc.js")), []).then((e => mm(e.default || e))), - Ob = ho(Fv({loader: Lb}, jv)), - Ib = () => t((() => import("./pages-pay-result.8b15506e.js")), ["assets/pages-pay-result.8b15506e.js", "assets/u-button.5c85e6cc.js", "assets/u-loading-icon.ea8c9ece.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-icon.f5369555.js", "assets/u-icon-3406a03e.css", "assets/u-button-4e9253f5.css", "assets/u-modal.755a4b61.js", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-modal-b7ee2981.css", "assets/pay.422381f0.js"]).then((e => mm(e.default || e))), - Mb = ho(Fv({loader: Ib}, jv)), - Fb = () => t((() => import("./pages-setting-index.dc2bbfce.js")), ["assets/pages-setting-index.dc2bbfce.js", "assets/u-action-sheet.1e4dbfee.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-line.bb8d1497.js", "assets/u-line-90cc8525.css", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-popup.8a491625.js", "assets/u-transition.a952a64b.js", "assets/u-transition-607b6047.css", "assets/u-safe-bottom.593b5cec.js", "assets/u-safe-bottom-fd70ea8a.css", "assets/u-popup-b896d01d.css", "assets/u-action-sheet-e3392aa2.css", "assets/index-91a59a4a.css"]).then((e => mm(e.default || e))), - jb = ho(Fv({loader: Fb}, jv)), - Rb = () => t((() => import("./pages-webview-index.458b13bb.js")), ["assets/pages-webview-index.458b13bb.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/index-9ae05732.css"]).then((e => mm(e.default || e))), - Nb = ho(Fv({loader: Rb}, jv)), - Db = () => t((() => import("./pages-index-develop.31f84e01.js")), ["assets/pages-index-develop.31f84e01.js", "assets/u-input.4212a359.js", "assets/u-icon.f5369555.js", "assets/_plugin-vue_export-helper.1b428a4d.js", "assets/u-icon-3406a03e.css", "assets/u-input-2dabccde.css", "assets/u-button.5c85e6cc.js", "assets/u-loading-icon.ea8c9ece.js", "assets/u-loading-icon-4a706ea2.css", "assets/u-button-4e9253f5.css"]).then((e => mm(e.default || e))), - zb = ho(Fv({loader: Db}, jv)); - -function Hb(e, t) { - return zr(), $r(Lv, null, {page: Hn((() => [Kr(e, Fv({}, t, {ref: "page"}), null, 512)])), _: 1}) -} - -function qb(e, t) { - return I(e) ? t : e -} - -window.__uniRoutes = [{ - path: "/", - alias: "/pages/index/index", - component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Nv, t) - } - }, - loader: Rv, - meta: { - isQuit: !0, - isEntry: !0, - isTabBar: !0, - tabBarIndex: 0, - enablePullDownRefresh: !0, - navigationBar: {titleText: "%pages.index.index%", type: "default"}, - isNVue: !1 - } -}, { - path: "/pages/article/list", - component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(zv, t) - } - }, - loader: Dv, - meta: { - isQuit: !0, - isTabBar: !0, - tabBarIndex: 1, - navigationBar: {titleText: "%pages.article.list%", type: "default"}, - isNVue: !1 - } -}, { - path: "/pages/auth/agreement", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(qv, t) - } - }, loader: Hv, meta: {navigationBar: {titleText: "%pages.auth.agreement%", type: "default"}, isNVue: !1} -}, { - path: "/pages/auth/bind", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Wv, t) - } - }, loader: Vv, meta: {navigationBar: {titleText: "%pages.auth.bind%", type: "default"}, isNVue: !1} -}, { - path: "/pages/auth/login", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Qv, t) - } - }, loader: $v, meta: {navigationBar: {titleText: "%pages.auth.login%", type: "default"}, isNVue: !1} -}, { - path: "/pages/auth/register", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Xv, t) - } - }, loader: Uv, meta: {navigationBar: {titleText: "%pages.auth.register%", type: "default"}, isNVue: !1} -}, { - path: "/pages/auth/resetpwd", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Jv, t) - } - }, loader: Yv, meta: {navigationBar: {titleText: "%pages.auth.resetpwd%", type: "default"}, isNVue: !1} -}, { - path: "/pages/index/diy", - component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Kv, t) - } - }, - loader: Gv, - meta: {enablePullDownRefresh: !0, navigationBar: {titleText: "%pages.index.diy%", type: "default"}, isNVue: !1} -}, { - path: "/pages/index/close", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(eb, t) - } - }, loader: Zv, meta: {navigationBar: {titleText: "%pages.index.close%", type: "default"}, isNVue: !1} -}, { - path: "/pages/index/nosite", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(nb, t) - } - }, loader: tb, meta: {navigationBar: {titleText: "%pages.index.nosite%", type: "default"}, isNVue: !1} -}, { - path: "/pages/article/detail", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(rb, t) - } - }, loader: ob, meta: {navigationBar: {titleText: "%pages.article.detail%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/apply_cash_out", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(ab, t) - } - }, loader: ib, meta: {navigationBar: {titleText: "%pages.member.apply_cash_out%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/commission", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(lb, t) - } - }, loader: sb, meta: {navigationBar: {titleText: "%pages.member.commission%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/balance", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(ub, t) - } - }, loader: cb, meta: {navigationBar: {titleText: "%pages.member.balance%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/recharge_record", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(pb, t) - } - }, loader: db, meta: {navigationBar: {titleText: "%pages.member.recharge_record%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/recharge_record_detail", - component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(hb, t) - } - }, - loader: fb, - meta: {navigationBar: {titleText: "%pages.member.recharge_record_detail%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/detailed_account", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(gb, t) - } - }, loader: mb, meta: {navigationBar: {titleText: "%pages.member.detailed_account%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/cash_out", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(bb, t) - } - }, loader: vb, meta: {navigationBar: {titleText: "%pages.member.cash_out%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/cash_out_detail", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(_b, t) - } - }, loader: yb, meta: {navigationBar: {titleText: "%pages.member.cash_out_detail%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/index", - component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(xb, t) - } - }, - loader: wb, - meta: { - isQuit: !0, - isTabBar: !0, - tabBarIndex: 2, - enablePullDownRefresh: !0, - navigationBar: {titleText: "%pages.member.index%", type: "default"}, - isNVue: !1 - } -}, { - path: "/pages/member/personal", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Sb, t) - } - }, loader: Tb, meta: {navigationBar: {titleText: "%pages.member.personal%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/point", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(kb, t) - } - }, loader: Eb, meta: {navigationBar: {titleText: "%pages.member.point%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/account", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Cb, t) - } - }, loader: Ab, meta: {navigationBar: {titleText: "%pages.member.account%", type: "default"}, isNVue: !1} -}, { - path: "/pages/member/account_edit", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Pb, t) - } - }, loader: Bb, meta: {navigationBar: {titleText: "%pages.member.account_edit%", type: "default"}, isNVue: !1} -}, { - path: "/pages/pay/browser", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Ob, t) - } - }, loader: Lb, meta: {navigationBar: {titleText: "%pages.pay.browser%", type: "default"}, isNVue: !1} -}, { - path: "/pages/pay/result", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Mb, t) - } - }, loader: Ib, meta: {navigationBar: {titleText: "%pages.pay.result%", type: "default"}, isNVue: !1} -}, { - path: "/pages/setting/index", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(jb, t) - } - }, loader: Fb, meta: {navigationBar: {titleText: "%pages.setting.index%", type: "default"}, isNVue: !1} -}, { - path: "/pages/webview/index", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(Nb, t) - } - }, loader: Rb, meta: {navigationBar: {titleText: "%pages.webview.index%", type: "default"}, isNVue: !1} -}, { - path: "/pages/index/develop", component: { - setup() { - const e = dm(), t = e && e.$route && e.$route.query || {}; - return () => Hb(zb, t) - } - }, loader: Db, meta: {navigationBar: {titleText: "%pages.index.develop%", type: "default"}, isNVue: !1} -}].map((e => (e.meta.route = (e.alias || e.path).slice(1), e))); -const Vb = e => (t, n = ui()) => { - !hi && Po(e, t, n) - }, Wb = Vb("onShow"), $b = Vb("onHide"), Qb = Vb("onLaunch"), Ub = Vb("onLoad"), Xb = Vb("onPageScroll"), - Yb = Vb("onReachBottom"), Jb = Vb("onPullDownRefresh"), Gb = Vb("onShareTimeline"), Kb = Vb("onShareAppMessage"), - Zb = { - name: "", - appid: "__UNI__ED923AB", - description: "", - versionName: "1.0.0", - versionCode: "100", - transformPx: !1, - "app-plus": { - usingComponents: !0, - nvueStyleCompiler: "uni-app", - compilerVersion: 3, - splashscreen: {alwaysShowBeforeRender: !0, waiting: !0, autoclose: !0, delay: 0}, - modules: {}, - distribute: { - android: { - permissions: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] - }, ios: {}, sdkConfigs: {} - } - }, - quickapp: {}, - "mp-weixin": {appid: "wx59e6ba6050bbe7bc", setting: {urlCheck: !1}, usingComponents: !0}, - "mp-alipay": {usingComponents: !0}, - "mp-baidu": {usingComponents: !0}, - "mp-toutiao": {usingComponents: !0}, - uniStatistics: {enable: !1}, - vueVersion: "3", - h5: {router: {mode: "history", base: "/wap/"}}, - fallbackLocale: "zh-Hans" - }, ey = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag, ty = e => ey ? Symbol(e) : e, - ny = e => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), - oy = e => "number" == typeof e && isFinite(e), ry = e => "[object RegExp]" === vy(e), - iy = e => by(e) && 0 === Object.keys(e).length; - -function ay(e, t) { - "undefined" != typeof console && (console.warn("[intlify] " + e), t && console.warn(t.stack)) -} - -const sy = Object.assign; - -function ly(e) { - return e.replace(//g, ">").replace(/"/g, """).replace(/'/g, "'") -} - -const cy = Object.prototype.hasOwnProperty; - -function uy(e, t) { - return cy.call(e, t) -} - -const dy = Array.isArray, py = e => "function" == typeof e, fy = e => "string" == typeof e, - hy = e => "boolean" == typeof e, my = e => null !== e && "object" == typeof e, gy = Object.prototype.toString, - vy = e => gy.call(e), by = e => "[object Object]" === vy(e), yy = Object.prototype.hasOwnProperty; - -function _y(e, t) { - return yy.call(e, t) -} - -const wy = e => null !== e && "object" == typeof e, xy = []; -xy[0] = {w: [0], i: [3, 0], "[": [4], o: [7]}, xy[1] = {w: [1], ".": [2], "[": [4], o: [7]}, xy[2] = { - w: [2], - i: [3, 0], - 0: [3, 0] -}, xy[3] = {i: [3, 0], 0: [3, 0], w: [1, 1], ".": [2, 1], "[": [4, 1], o: [7, 1]}, xy[4] = { - "'": [5, 0], - '"': [6, 0], - "[": [4, 2], - "]": [1, 3], - o: 8, - l: [4, 0] -}, xy[5] = {"'": [4, 0], o: 8, l: [5, 0]}, xy[6] = {'"': [4, 0], o: 8, l: [6, 0]}; -const Ty = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/; - -function Sy(e) { - if (null == e) return "o"; - switch (e.charCodeAt(0)) { - case 91: - case 93: - case 46: - case 34: - case 39: - return e; - case 95: - case 36: - case 45: - return "i"; - case 9: - case 10: - case 13: - case 160: - case 65279: - case 8232: - case 8233: - return "w" - } - return "i" -} - -function Ey(e) { - const t = e.trim(); - return ("0" !== e.charAt(0) || !isNaN(parseInt(e))) && (n = t, Ty.test(n) ? function (e) { - const t = e.charCodeAt(0); - return t !== e.charCodeAt(e.length - 1) || 34 !== t && 39 !== t ? e : e.slice(1, -1) - }(t) : "*" + t); - var n -} - -const ky = new Map; - -function Ay(e, t) { - if (!wy(e)) return null; - let n = ky.get(t); - if (n || (n = function (e) { - const t = []; - let n, o, r, i, a, s, l, c = -1, u = 0, d = 0; - const p = []; - - function f() { - const t = e[c + 1]; - if (5 === u && "'" === t || 6 === u && '"' === t) return c++, r = "\\" + t, p[0](), !0 - } - - for (p[0] = () => { - void 0 === o ? o = r : o += r - }, p[1] = () => { - void 0 !== o && (t.push(o), o = void 0) - }, p[2] = () => { - p[0](), d++ - }, p[3] = () => { - if (d > 0) d--, u = 4, p[0](); else { - if (d = 0, void 0 === o) return !1; - if (o = Ey(o), !1 === o) return !1; - p[1]() - } - }; null !== u;) if (c++, n = e[c], "\\" !== n || !f()) { - if (i = Sy(n), l = xy[u], a = l[i] || l.l || 8, 8 === a) return; - if (u = a[0], void 0 !== a[1] && (s = p[a[1]], s && (r = n, !1 === s()))) return; - if (7 === u) return t - } - }(t), n && ky.set(t, n)), !n) return null; - const o = n.length; - let r = e, i = 0; - for (; i < o;) { - const e = r[n[i]]; - if (void 0 === e) return null; - r = e, i++ - } - return r -} - -function Cy(e) { - if (!wy(e)) return e; - for (const t in e) if (_y(e, t)) if (t.includes(".")) { - const n = t.split("."), o = n.length - 1; - let r = e; - for (let e = 0; e < o; e++) n[e] in r || (r[n[e]] = {}), r = r[n[e]]; - r[n[o]] = e[t], delete e[t], wy(r[n[o]]) && Cy(r[n[o]]) - } else wy(e[t]) && Cy(e[t]); - return e -} - -/*! - * @intlify/runtime v9.1.9 - * (c) 2021 kazuya kawaguchi - * Released under the MIT License. - */ -const By = e => e, Py = e => "", Ly = e => 0 === e.length ? "" : e.join(""), - Oy = e => null == e ? "" : dy(e) || by(e) && e.toString === gy ? JSON.stringify(e, null, 2) : String(e); - -function Iy(e, t) { - return e = Math.abs(e), 2 === t ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0 -} - -function My(e = {}) { - const t = e.locale, n = function (e) { - const t = oy(e.pluralIndex) ? e.pluralIndex : -1; - return e.named && (oy(e.named.count) || oy(e.named.n)) ? oy(e.named.count) ? e.named.count : oy(e.named.n) ? e.named.n : t : t - }(e), o = my(e.pluralRules) && fy(t) && py(e.pluralRules[t]) ? e.pluralRules[t] : Iy, - r = my(e.pluralRules) && fy(t) && py(e.pluralRules[t]) ? Iy : void 0, i = e.list || [], a = e.named || {}; - oy(e.pluralIndex) && function (e, t) { - t.count || (t.count = e), t.n || (t.n = e) - }(n, a); - - function s(t) { - const n = py(e.messages) ? e.messages(t) : !!my(e.messages) && e.messages[t]; - return n || (e.parent ? e.parent.message(t) : Py) - } - - const l = by(e.processor) && py(e.processor.normalize) ? e.processor.normalize : Ly, - c = by(e.processor) && py(e.processor.interpolate) ? e.processor.interpolate : Oy, u = { - list: e => i[e], - named: e => a[e], - plural: e => e[o(n, e.length, r)], - linked: (t, n) => { - const o = s(t)(u); - return fy(n) ? (r = n, e.modifiers ? e.modifiers[r] : By)(o) : o; - var r - }, - message: s, - type: by(e.processor) && fy(e.processor.type) ? e.processor.type : "text", - interpolate: c, - normalize: l - }; - return u -} - -/*! - * @intlify/message-compiler v9.1.9 - * (c) 2021 kazuya kawaguchi - * Released under the MIT License. - */ -function Fy(e, t, n = {}) { - const {domain: o, messages: r, args: i} = n, a = new SyntaxError(String(e)); - return a.code = e, t && (a.location = t), a.domain = o, a -} - -function jy(e) { - throw e -} - -function Ry(e, t, n) { - const o = {start: e, end: t}; - return null != n && (o.source = n), o -} - -const Ny = String.fromCharCode(8232), Dy = String.fromCharCode(8233); - -function zy(e) { - const t = e; - let n = 0, o = 1, r = 1, i = 0; - const a = e => "\r" === t[e] && "\n" === t[e + 1], s = e => t[e] === Dy, l = e => t[e] === Ny, - c = e => a(e) || (e => "\n" === t[e])(e) || s(e) || l(e), u = e => a(e) || s(e) || l(e) ? "\n" : t[e]; - - function d() { - return i = 0, c(n) && (o++, r = 0), a(n) && n++, n++, r++, t[n] - } - - return { - index: () => n, - line: () => o, - column: () => r, - peekOffset: () => i, - charAt: u, - currentChar: () => u(n), - currentPeek: () => u(n + i), - next: d, - peek: function () { - return a(n + i) && i++, i++, t[n + i] - }, - reset: function () { - n = 0, o = 1, r = 1, i = 0 - }, - resetPeek: function (e = 0) { - i = e - }, - skipToPeek: function () { - const e = n + i; - for (; e !== n;) d(); - i = 0 - } - } -} - -const Hy = void 0; - -function qy(e, t = {}) { - const n = !1 !== t.location, o = zy(e), r = () => o.index(), i = () => { - return e = o.line(), t = o.column(), n = o.index(), {line: e, column: t, offset: n}; - var e, t, n - }, a = i(), s = r(), l = { - currentType: 14, - offset: s, - startLoc: a, - endLoc: a, - lastType: 14, - lastOffset: s, - lastStartLoc: a, - lastEndLoc: a, - braceNest: 0, - inLinked: !1, - text: "" - }, c = () => l, {onError: u} = t; - - function d(e, t, n, ...o) { - const r = c(); - if (t.column += n, t.offset += n, u) { - const n = Fy(e, Ry(r.startLoc, t), {domain: "tokenizer", args: o}); - u(n) - } - } - - function p(e, t, o) { - e.endLoc = i(), e.currentType = t; - const r = {type: t}; - return n && (r.loc = Ry(e.startLoc, e.endLoc)), null != o && (r.value = o), r - } - - const f = e => p(e, 14); - - function h(e, t) { - return e.currentChar() === t ? (e.next(), t) : (d(0, i(), 0, t), "") - } - - function m(e) { - let t = ""; - for (; " " === e.currentPeek() || "\n" === e.currentPeek();) t += e.currentPeek(), e.peek(); - return t - } - - function g(e) { - const t = m(e); - return e.skipToPeek(), t - } - - function v(e) { - if (e === Hy) return !1; - const t = e.charCodeAt(0); - return t >= 97 && t <= 122 || t >= 65 && t <= 90 || 95 === t - } - - function b(e, t) { - const {currentType: n} = t; - if (2 !== n) return !1; - m(e); - const o = function (e) { - if (e === Hy) return !1; - const t = e.charCodeAt(0); - return t >= 48 && t <= 57 - }("-" === e.currentPeek() ? e.peek() : e.currentPeek()); - return e.resetPeek(), o - } - - function y(e) { - m(e); - const t = "|" === e.currentPeek(); - return e.resetPeek(), t - } - - function _(e, t = !0) { - const n = (t = !1, o = "", r = !1) => { - const i = e.currentPeek(); - return "{" === i ? "%" !== o && t : "@" !== i && i ? "%" === i ? (e.peek(), n(t, "%", !0)) : "|" === i ? !("%" !== o && !r) || !(" " === o || "\n" === o) : " " === i ? (e.peek(), n(!0, " ", r)) : "\n" !== i || (e.peek(), n(!0, "\n", r)) : "%" === o || t - }, o = n(); - return t && e.resetPeek(), o - } - - function w(e, t) { - const n = e.currentChar(); - return n === Hy ? Hy : t(n) ? (e.next(), n) : null - } - - function x(e) { - return w(e, (e => { - const t = e.charCodeAt(0); - return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t >= 48 && t <= 57 || 95 === t || 36 === t - })) - } - - function T(e) { - return w(e, (e => { - const t = e.charCodeAt(0); - return t >= 48 && t <= 57 - })) - } - - function S(e) { - return w(e, (e => { - const t = e.charCodeAt(0); - return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102 - })) - } - - function E(e) { - let t = "", n = ""; - for (; t = T(e);) n += t; - return n - } - - function k(e) { - const t = e.currentChar(); - switch (t) { - case"\\": - case"'": - return e.next(), `\\${t}`; - case"u": - return A(e, t, 4); - case"U": - return A(e, t, 6); - default: - return d(3, i(), 0, t), "" - } - } - - function A(e, t, n) { - h(e, t); - let o = ""; - for (let r = 0; r < n; r++) { - const n = S(e); - if (!n) { - d(4, i(), 0, `\\${t}${o}${e.currentChar()}`); - break - } - o += n - } - return `\\${t}${o}` - } - - function C(e) { - g(e); - const t = h(e, "|"); - return g(e), t - } - - function B(e, t) { - let n = null; - switch (e.currentChar()) { - case"{": - return t.braceNest >= 1 && d(8, i(), 0), e.next(), n = p(t, 2, "{"), g(e), t.braceNest++, n; - case"}": - return t.braceNest > 0 && 2 === t.currentType && d(7, i(), 0), e.next(), n = p(t, 3, "}"), t.braceNest--, t.braceNest > 0 && g(e), t.inLinked && 0 === t.braceNest && (t.inLinked = !1), n; - case"@": - return t.braceNest > 0 && d(6, i(), 0), n = P(e, t) || f(t), t.braceNest = 0, n; - default: - let o = !0, r = !0, a = !0; - if (y(e)) return t.braceNest > 0 && d(6, i(), 0), n = p(t, 1, C(e)), t.braceNest = 0, t.inLinked = !1, n; - if (t.braceNest > 0 && (5 === t.currentType || 6 === t.currentType || 7 === t.currentType)) return d(6, i(), 0), t.braceNest = 0, L(e, t); - if (o = function (e, t) { - const {currentType: n} = t; - if (2 !== n) return !1; - m(e); - const o = v(e.currentPeek()); - return e.resetPeek(), o - }(e, t)) return n = p(t, 5, function (e) { - g(e); - let t = "", n = ""; - for (; t = x(e);) n += t; - return e.currentChar() === Hy && d(6, i(), 0), n - }(e)), g(e), n; - if (r = b(e, t)) return n = p(t, 6, function (e) { - g(e); - let t = ""; - return "-" === e.currentChar() ? (e.next(), t += `-${E(e)}`) : t += E(e), e.currentChar() === Hy && d(6, i(), 0), t - }(e)), g(e), n; - if (a = function (e, t) { - const {currentType: n} = t; - if (2 !== n) return !1; - m(e); - const o = "'" === e.currentPeek(); - return e.resetPeek(), o - }(e, t)) return n = p(t, 7, function (e) { - g(e), h(e, "'"); - let t = "", n = ""; - const o = e => "'" !== e && "\n" !== e; - for (; t = w(e, o);) n += "\\" === t ? k(e) : t; - const r = e.currentChar(); - return "\n" === r || r === Hy ? (d(2, i(), 0), "\n" === r && (e.next(), h(e, "'")), n) : (h(e, "'"), n) - }(e)), g(e), n; - if (!o && !r && !a) return n = p(t, 13, function (e) { - g(e); - let t = "", n = ""; - const o = e => "{" !== e && "}" !== e && " " !== e && "\n" !== e; - for (; t = w(e, o);) n += t; - return n - }(e)), d(1, i(), 0, n.value), g(e), n - } - return n - } - - function P(e, t) { - const {currentType: n} = t; - let o = null; - const r = e.currentChar(); - switch (8 !== n && 9 !== n && 12 !== n && 10 !== n || "\n" !== r && " " !== r || d(9, i(), 0), r) { - case"@": - return e.next(), o = p(t, 8, "@"), t.inLinked = !0, o; - case".": - return g(e), e.next(), p(t, 9, "."); - case":": - return g(e), e.next(), p(t, 10, ":"); - default: - return y(e) ? (o = p(t, 1, C(e)), t.braceNest = 0, t.inLinked = !1, o) : function (e, t) { - const {currentType: n} = t; - if (8 !== n) return !1; - m(e); - const o = "." === e.currentPeek(); - return e.resetPeek(), o - }(e, t) || function (e, t) { - const {currentType: n} = t; - if (8 !== n && 12 !== n) return !1; - m(e); - const o = ":" === e.currentPeek(); - return e.resetPeek(), o - }(e, t) ? (g(e), P(e, t)) : function (e, t) { - const {currentType: n} = t; - if (9 !== n) return !1; - m(e); - const o = v(e.currentPeek()); - return e.resetPeek(), o - }(e, t) ? (g(e), p(t, 12, function (e) { - let t = "", n = ""; - for (; t = x(e);) n += t; - return n - }(e))) : function (e, t) { - const {currentType: n} = t; - if (10 !== n) return !1; - const o = () => { - const t = e.currentPeek(); - return "{" === t ? v(e.peek()) : !("@" === t || "%" === t || "|" === t || ":" === t || "." === t || " " === t || !t) && ("\n" === t ? (e.peek(), o()) : v(t)) - }, r = o(); - return e.resetPeek(), r - }(e, t) ? (g(e), "{" === r ? B(e, t) || o : p(t, 11, function (e) { - const t = (n = !1, o) => { - const r = e.currentChar(); - return "{" !== r && "%" !== r && "@" !== r && "|" !== r && r ? " " === r ? o : "\n" === r ? (o += r, e.next(), t(n, o)) : (o += r, e.next(), t(!0, o)) : o - }; - return t(!1, "") - }(e))) : (8 === n && d(9, i(), 0), t.braceNest = 0, t.inLinked = !1, L(e, t)) - } - } - - function L(e, t) { - let n = {type: 14}; - if (t.braceNest > 0) return B(e, t) || f(t); - if (t.inLinked) return P(e, t) || f(t); - const o = e.currentChar(); - switch (o) { - case"{": - return B(e, t) || f(t); - case"}": - return d(5, i(), 0), e.next(), p(t, 3, "}"); - case"@": - return P(e, t) || f(t); - default: - if (y(e)) return n = p(t, 1, C(e)), t.braceNest = 0, t.inLinked = !1, n; - if (_(e)) return p(t, 0, function (e) { - let t = ""; - for (; ;) { - const n = e.currentChar(); - if ("{" === n || "}" === n || "@" === n || "|" === n || !n) break; - if ("%" === n) { - if (!_(e)) break; - t += n, e.next() - } else if (" " === n || "\n" === n) if (_(e)) t += n, e.next(); else { - if (y(e)) break; - t += n, e.next() - } else t += n, e.next() - } - return t - }(e)); - if ("%" === o) return e.next(), p(t, 4, "%") - } - return n - } - - return { - nextToken: function () { - const {currentType: e, offset: t, startLoc: n, endLoc: a} = l; - return l.lastType = e, l.lastOffset = t, l.lastStartLoc = n, l.lastEndLoc = a, l.offset = r(), l.startLoc = i(), o.currentChar() === Hy ? p(l, 14) : L(o, l) - }, currentOffset: r, currentPosition: i, context: c - } -} - -const Vy = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g; - -function Wy(e, t, n) { - switch (e) { - case"\\\\": - return "\\"; - case"\\'": - return "'"; - default: { - const e = parseInt(t || n, 16); - return e <= 55295 || e >= 57344 ? String.fromCodePoint(e) : "�" - } - } -} - -function $y(e = {}) { - const t = !1 !== e.location, {onError: n} = e; - - function o(e, t, o, r, ...i) { - const a = e.currentPosition(); - if (a.offset += r, a.column += r, n) { - const e = Fy(t, Ry(o, a), {domain: "parser", args: i}); - n(e) - } - } - - function r(e, n, o) { - const r = {type: e, start: n, end: n}; - return t && (r.loc = {start: o, end: o}), r - } - - function i(e, n, o, r) { - e.end = n, r && (e.type = r), t && e.loc && (e.loc.end = o) - } - - function a(e, t) { - const n = e.context(), o = r(3, n.offset, n.startLoc); - return o.value = t, i(o, e.currentOffset(), e.currentPosition()), o - } - - function s(e, t) { - const n = e.context(), {lastOffset: o, lastStartLoc: a} = n, s = r(5, o, a); - return s.index = parseInt(t, 10), e.nextToken(), i(s, e.currentOffset(), e.currentPosition()), s - } - - function l(e, t) { - const n = e.context(), {lastOffset: o, lastStartLoc: a} = n, s = r(4, o, a); - return s.key = t, e.nextToken(), i(s, e.currentOffset(), e.currentPosition()), s - } - - function c(e, t) { - const n = e.context(), {lastOffset: o, lastStartLoc: a} = n, s = r(9, o, a); - return s.value = t.replace(Vy, Wy), e.nextToken(), i(s, e.currentOffset(), e.currentPosition()), s - } - - function u(e) { - const t = e.context(), n = r(6, t.offset, t.startLoc); - let a = e.nextToken(); - if (9 === a.type) { - const t = function (e) { - const t = e.nextToken(), n = e.context(), {lastOffset: a, lastStartLoc: s} = n, l = r(8, a, s); - return 12 !== t.type ? (o(e, 11, n.lastStartLoc, 0), l.value = "", i(l, a, s), { - nextConsumeToken: t, - node: l - }) : (null == t.value && o(e, 13, n.lastStartLoc, 0, Qy(t)), l.value = t.value || "", i(l, e.currentOffset(), e.currentPosition()), {node: l}) - }(e); - n.modifier = t.node, a = t.nextConsumeToken || e.nextToken() - } - switch (10 !== a.type && o(e, 13, t.lastStartLoc, 0, Qy(a)), a = e.nextToken(), 2 === a.type && (a = e.nextToken()), a.type) { - case 11: - null == a.value && o(e, 13, t.lastStartLoc, 0, Qy(a)), n.key = function (e, t) { - const n = e.context(), o = r(7, n.offset, n.startLoc); - return o.value = t, i(o, e.currentOffset(), e.currentPosition()), o - }(e, a.value || ""); - break; - case 5: - null == a.value && o(e, 13, t.lastStartLoc, 0, Qy(a)), n.key = l(e, a.value || ""); - break; - case 6: - null == a.value && o(e, 13, t.lastStartLoc, 0, Qy(a)), n.key = s(e, a.value || ""); - break; - case 7: - null == a.value && o(e, 13, t.lastStartLoc, 0, Qy(a)), n.key = c(e, a.value || ""); - break; - default: - o(e, 12, t.lastStartLoc, 0); - const u = e.context(), d = r(7, u.offset, u.startLoc); - return d.value = "", i(d, u.offset, u.startLoc), n.key = d, i(n, u.offset, u.startLoc), { - nextConsumeToken: a, - node: n - } - } - return i(n, e.currentOffset(), e.currentPosition()), {node: n} - } - - function d(e) { - const t = e.context(), - n = r(2, 1 === t.currentType ? e.currentOffset() : t.offset, 1 === t.currentType ? t.endLoc : t.startLoc); - n.items = []; - let d = null; - do { - const r = d || e.nextToken(); - switch (d = null, r.type) { - case 0: - null == r.value && o(e, 13, t.lastStartLoc, 0, Qy(r)), n.items.push(a(e, r.value || "")); - break; - case 6: - null == r.value && o(e, 13, t.lastStartLoc, 0, Qy(r)), n.items.push(s(e, r.value || "")); - break; - case 5: - null == r.value && o(e, 13, t.lastStartLoc, 0, Qy(r)), n.items.push(l(e, r.value || "")); - break; - case 7: - null == r.value && o(e, 13, t.lastStartLoc, 0, Qy(r)), n.items.push(c(e, r.value || "")); - break; - case 8: - const i = u(e); - n.items.push(i.node), d = i.nextConsumeToken || null - } - } while (14 !== t.currentType && 1 !== t.currentType); - return i(n, 1 === t.currentType ? t.lastOffset : e.currentOffset(), 1 === t.currentType ? t.lastEndLoc : e.currentPosition()), n - } - - function p(e) { - const t = e.context(), {offset: n, startLoc: a} = t, s = d(e); - return 14 === t.currentType ? s : function (e, t, n, a) { - const s = e.context(); - let l = 0 === a.items.length; - const c = r(1, t, n); - c.cases = [], c.cases.push(a); - do { - const t = d(e); - l || (l = 0 === t.items.length), c.cases.push(t) - } while (14 !== s.currentType); - return l && o(e, 10, n, 0), i(c, e.currentOffset(), e.currentPosition()), c - }(e, n, a, s) - } - - return { - parse: function (n) { - const a = qy(n, sy({}, e)), s = a.context(), l = r(0, s.offset, s.startLoc); - return t && l.loc && (l.loc.source = n), l.body = p(a), 14 !== s.currentType && o(a, 13, s.lastStartLoc, 0, n[s.offset] || ""), i(l, a.currentOffset(), a.currentPosition()), l - } - } -} - -function Qy(e) { - if (14 === e.type) return "EOF"; - const t = (e.value || "").replace(/\r?\n/gu, "\\n"); - return t.length > 10 ? t.slice(0, 9) + "…" : t -} - -function Uy(e, t) { - for (let n = 0; n < e.length; n++) Xy(e[n], t) -} - -function Xy(e, t) { - switch (e.type) { - case 1: - Uy(e.cases, t), t.helper("plural"); - break; - case 2: - Uy(e.items, t); - break; - case 6: - Xy(e.key, t), t.helper("linked"); - break; - case 5: - t.helper("interpolate"), t.helper("list"); - break; - case 4: - t.helper("interpolate"), t.helper("named") - } -} - -function Yy(e, t = {}) { - const n = function (e, t = {}) { - const n = {ast: e, helpers: new Set}; - return {context: () => n, helper: e => (n.helpers.add(e), e)} - }(e); - n.helper("normalize"), e.body && Xy(e.body, n); - const o = n.context(); - e.helpers = Array.from(o.helpers) -} - -function Jy(e, t) { - const {helper: n} = e; - switch (t.type) { - case 0: - !function (e, t) { - t.body ? Jy(e, t.body) : e.push("null") - }(e, t); - break; - case 1: - !function (e, t) { - const {helper: n, needIndent: o} = e; - if (t.cases.length > 1) { - e.push(`${n("plural")}([`), e.indent(o()); - const r = t.cases.length; - for (let n = 0; n < r && (Jy(e, t.cases[n]), n !== r - 1); n++) e.push(", "); - e.deindent(o()), e.push("])") - } - }(e, t); - break; - case 2: - !function (e, t) { - const {helper: n, needIndent: o} = e; - e.push(`${n("normalize")}([`), e.indent(o()); - const r = t.items.length; - for (let i = 0; i < r && (Jy(e, t.items[i]), i !== r - 1); i++) e.push(", "); - e.deindent(o()), e.push("])") - }(e, t); - break; - case 6: - !function (e, t) { - const {helper: n} = e; - e.push(`${n("linked")}(`), Jy(e, t.key), t.modifier && (e.push(", "), Jy(e, t.modifier)), e.push(")") - }(e, t); - break; - case 8: - case 7: - case 9: - case 3: - e.push(JSON.stringify(t.value), t); - break; - case 5: - e.push(`${n("interpolate")}(${n("list")}(${t.index}))`, t); - break; - case 4: - e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`, t) - } -} - -function Gy(e, t = {}) { - const n = sy({}, t), o = $y(n).parse(e); - return Yy(o, n), ((e, t = {}) => { - const n = fy(t.mode) ? t.mode : "normal", o = fy(t.filename) ? t.filename : "message.intl", r = !!t.sourceMap, - i = null != t.breakLineCode ? t.breakLineCode : "arrow" === n ? ";" : "\n", - a = t.needIndent ? t.needIndent : "arrow" !== n, s = e.helpers || [], l = function (e, t) { - const {sourceMap: n, filename: o, breakLineCode: r, needIndent: i} = t, a = { - source: e.loc.source, - filename: o, - code: "", - column: 1, - line: 1, - offset: 0, - map: void 0, - breakLineCode: r, - needIndent: i, - indentLevel: 0 - }; - - function s(e, t) { - a.code += e - } - - function l(e, t = !0) { - const n = t ? r : ""; - s(i ? n + " ".repeat(e) : n) - } - - return { - context: () => a, push: s, indent: function (e = !0) { - const t = ++a.indentLevel; - e && l(t) - }, deindent: function (e = !0) { - const t = --a.indentLevel; - e && l(t) - }, newline: function () { - l(a.indentLevel) - }, helper: e => `_${e}`, needIndent: () => a.needIndent - } - }(e, {mode: n, filename: o, sourceMap: r, breakLineCode: i, needIndent: a}); - l.push("normal" === n ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(a), s.length > 0 && (l.push(`const { ${s.map((e => `${e}: _${e}`)).join(", ")} } = ctx`), l.newline()), l.push("return "), Jy(l, e), l.deindent(a), l.push("}"); - const {code: c, map: u} = l.context(); - return {ast: e, code: c, map: u ? u.toJSON() : void 0} - })(o, n) -} - -/*! - * @intlify/core-base v9.1.9 - * (c) 2021 kazuya kawaguchi - * Released under the MIT License. - */ -let Ky; -let Zy = 0; - -function e_(e = {}) { - const t = fy(e.version) ? e.version : "9.1.9", n = fy(e.locale) ? e.locale : "en-US", - o = dy(e.fallbackLocale) || by(e.fallbackLocale) || fy(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : n, - r = by(e.messages) ? e.messages : {[n]: {}}, i = by(e.datetimeFormats) ? e.datetimeFormats : {[n]: {}}, - a = by(e.numberFormats) ? e.numberFormats : {[n]: {}}, s = sy({}, e.modifiers || {}, { - upper: e => fy(e) ? e.toUpperCase() : e, - lower: e => fy(e) ? e.toLowerCase() : e, - capitalize: e => fy(e) ? `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}` : e - }), l = e.pluralRules || {}, c = py(e.missing) ? e.missing : null, - u = !hy(e.missingWarn) && !ry(e.missingWarn) || e.missingWarn, - d = !hy(e.fallbackWarn) && !ry(e.fallbackWarn) || e.fallbackWarn, p = !!e.fallbackFormat, f = !!e.unresolving, - h = py(e.postTranslation) ? e.postTranslation : null, m = by(e.processor) ? e.processor : null, - g = !hy(e.warnHtmlMessage) || e.warnHtmlMessage, v = !!e.escapeParameter, - b = py(e.messageCompiler) ? e.messageCompiler : Ky, y = py(e.onWarn) ? e.onWarn : ay, _ = e, - w = my(_.__datetimeFormatters) ? _.__datetimeFormatters : new Map, - x = my(_.__numberFormatters) ? _.__numberFormatters : new Map, T = my(_.__meta) ? _.__meta : {}; - Zy++; - return { - version: t, - cid: Zy, - locale: n, - fallbackLocale: o, - messages: r, - datetimeFormats: i, - numberFormats: a, - modifiers: s, - pluralRules: l, - missing: c, - missingWarn: u, - fallbackWarn: d, - fallbackFormat: p, - unresolving: f, - postTranslation: h, - processor: m, - warnHtmlMessage: g, - escapeParameter: v, - messageCompiler: b, - onWarn: y, - __datetimeFormatters: w, - __numberFormatters: x, - __meta: T - } -} - -function t_(e, t, n, o, r) { - const {missing: i, onWarn: a} = e; - if (null !== i) { - const o = i(e, n, t, r); - return fy(o) ? o : t - } - return t -} - -function n_(e, t, n) { - const o = e; - o.__localeChainCache || (o.__localeChainCache = new Map); - let r = o.__localeChainCache.get(n); - if (!r) { - r = []; - let e = [n]; - for (; dy(e);) e = o_(r, e, t); - const i = dy(t) ? t : by(t) ? t.default ? t.default : null : t; - e = fy(i) ? [i] : i, dy(e) && o_(r, e, !1), o.__localeChainCache.set(n, r) - } - return r -} - -function o_(e, t, n) { - let o = !0; - for (let r = 0; r < t.length && hy(o); r++) { - const i = t[r]; - fy(i) && (o = r_(e, t[r], n)) - } - return o -} - -function r_(e, t, n) { - let o; - const r = t.split("-"); - do { - o = i_(e, r.join("-"), n), r.splice(-1, 1) - } while (r.length && !0 === o); - return o -} - -function i_(e, t, n) { - let o = !1; - if (!e.includes(t) && (o = !0, t)) { - o = "!" !== t[t.length - 1]; - const r = t.replace(/!/g, ""); - e.push(r), (dy(n) || by(n)) && n[r] && (o = n[r]) - } - return o -} - -function a_(e, t, n) { - e.__localeChainCache = new Map, n_(e, n, t) -} - -const s_ = e => e; -let l_ = Object.create(null); - -function c_(e) { - return Fy(e, null, void 0) -} - -const u_ = () => "", d_ = e => py(e); - -function p_(e, ...t) { - const {fallbackFormat: n, postTranslation: o, unresolving: r, fallbackLocale: i, messages: a} = e, [s, l] = h_(...t), - c = (hy(l.missingWarn) ? l.missingWarn : e.missingWarn, hy(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, hy(l.escapeParameter) ? l.escapeParameter : e.escapeParameter), - u = !!l.resolvedMessage, d = fy(l.default) || hy(l.default) ? hy(l.default) ? s : l.default : n ? s : "", - p = n || "" !== d, f = fy(l.locale) ? l.locale : e.locale; - c && function (e) { - dy(e.list) ? e.list = e.list.map((e => fy(e) ? ly(e) : e)) : my(e.named) && Object.keys(e.named).forEach((t => { - fy(e.named[t]) && (e.named[t] = ly(e.named[t])) - })) - }(l); - let [h, m, g] = u ? [s, f, a[f] || {}] : function (e, t, n, o, r, i) { - const {messages: a, onWarn: s} = e, l = n_(e, o, n); - let c, u = {}, d = null; - const p = "translate"; - for (let f = 0; f < l.length && (c = l[f], u = a[c] || {}, null === (d = Ay(u, t)) && (d = u[t]), !fy(d) && !py(d)); f++) { - const n = t_(e, t, c, 0, p); - n !== t && (d = n) - } - return [d, c, u] - }(e, s, f, i), v = s; - if (u || fy(h) || d_(h) || p && (h = d, v = h), !(u || (fy(h) || d_(h)) && fy(m))) return r ? -1 : s; - let b = !1; - const y = d_(h) ? h : f_(e, s, m, h, v, (() => { - b = !0 - })); - if (b) return h; - const _ = function (e, t, n, o) { - const {modifiers: r, pluralRules: i} = e, a = o => { - const r = Ay(n, o); - if (fy(r)) { - let n = !1; - const i = f_(e, o, t, r, o, (() => { - n = !0 - })); - return n ? u_ : i - } - return d_(r) ? r : u_ - }, s = {locale: t, modifiers: r, pluralRules: i, messages: a}; - e.processor && (s.processor = e.processor); - o.list && (s.list = o.list); - o.named && (s.named = o.named); - oy(o.plural) && (s.pluralIndex = o.plural); - return s - }(e, m, g, l), w = function (e, t, n) { - return t(n) - }(0, y, My(_)); - return o ? o(w) : w -} - -function f_(e, t, n, o, r, i) { - const {messageCompiler: a, warnHtmlMessage: s} = e; - if (d_(o)) { - const e = o; - return e.locale = e.locale || n, e.key = e.key || t, e - } - const l = a(o, function (e, t, n, o, r, i) { - return { - warnHtmlMessage: r, onError: e => { - throw i && i(e), e - }, onCacheKey: e => ((e, t, n) => ny({l: e, k: t, s: n}))(t, n, e) - } - }(0, n, r, 0, s, i)); - return l.locale = n, l.key = t, l.source = o, l -} - -function h_(...e) { - const [t, n, o] = e, r = {}; - if (!fy(t) && !oy(t) && !d_(t)) throw c_(14); - const i = oy(t) ? String(t) : (d_(t), t); - return oy(n) ? r.plural = n : fy(n) ? r.default = n : by(n) && !iy(n) ? r.named = n : dy(n) && (r.list = n), oy(o) ? r.plural = o : fy(o) ? r.default = o : by(o) && sy(r, o), [i, r] -} - -function m_(e, ...t) { - const {datetimeFormats: n, unresolving: o, fallbackLocale: r, onWarn: i} = e, {__datetimeFormatters: a} = e, [s, l, c, u] = g_(...t); - hy(c.missingWarn) ? c.missingWarn : e.missingWarn; - hy(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn; - const d = !!c.part, p = fy(c.locale) ? c.locale : e.locale, f = n_(e, r, p); - if (!fy(s) || "" === s) return new Intl.DateTimeFormat(p).format(l); - let h, m = {}, g = null; - for (let y = 0; y < f.length && (h = f[y], m = n[h] || {}, g = m[s], !by(g)); y++) t_(e, s, h, 0, "datetime format"); - if (!by(g) || !fy(h)) return o ? -1 : s; - let v = `${h}__${s}`; - iy(u) || (v = `${v}__${JSON.stringify(u)}`); - let b = a.get(v); - return b || (b = new Intl.DateTimeFormat(h, sy({}, g, u)), a.set(v, b)), d ? b.formatToParts(l) : b.format(l) -} - -function g_(...e) { - const [t, n, o, r] = e; - let i, a = {}, s = {}; - if (fy(t)) { - if (!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t)) throw c_(16); - i = new Date(t); - try { - i.toISOString() - } catch (l) { - throw c_(16) - } - } else if ("[object Date]" === vy(t)) { - if (isNaN(t.getTime())) throw c_(15); - i = t - } else { - if (!oy(t)) throw c_(14); - i = t - } - return fy(n) ? a.key = n : by(n) && (a = n), fy(o) ? a.locale = o : by(o) && (s = o), by(r) && (s = r), [a.key || "", i, a, s] -} - -function v_(e, t, n) { - const o = e; - for (const r in n) { - const e = `${t}__${r}`; - o.__datetimeFormatters.has(e) && o.__datetimeFormatters.delete(e) - } -} - -function b_(e, ...t) { - const {numberFormats: n, unresolving: o, fallbackLocale: r, onWarn: i} = e, {__numberFormatters: a} = e, [s, l, c, u] = y_(...t); - hy(c.missingWarn) ? c.missingWarn : e.missingWarn; - hy(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn; - const d = !!c.part, p = fy(c.locale) ? c.locale : e.locale, f = n_(e, r, p); - if (!fy(s) || "" === s) return new Intl.NumberFormat(p).format(l); - let h, m = {}, g = null; - for (let y = 0; y < f.length && (h = f[y], m = n[h] || {}, g = m[s], !by(g)); y++) t_(e, s, h, 0, "number format"); - if (!by(g) || !fy(h)) return o ? -1 : s; - let v = `${h}__${s}`; - iy(u) || (v = `${v}__${JSON.stringify(u)}`); - let b = a.get(v); - return b || (b = new Intl.NumberFormat(h, sy({}, g, u)), a.set(v, b)), d ? b.formatToParts(l) : b.format(l) -} - -function y_(...e) { - const [t, n, o, r] = e; - let i = {}, a = {}; - if (!oy(t)) throw c_(14); - const s = t; - return fy(n) ? i.key = n : by(n) && (i = n), fy(o) ? i.locale = o : by(o) && (a = o), by(r) && (a = r), [i.key || "", s, i, a] -} - -function __(e, t, n) { - const o = e; - for (const r in n) { - const e = `${t}__${r}`; - o.__numberFormatters.has(e) && o.__numberFormatters.delete(e) - } -} - -/*! - * vue-i18n v9.1.9 - * (c) 2021 kazuya kawaguchi - * Released under the MIT License. - */ -function w_(e, ...t) { - return Fy(e, null, void 0) -} - -const x_ = ty("__transrateVNode"), T_ = ty("__datetimeParts"), S_ = ty("__numberParts"); -ty("__enableEmitter"), ty("__disableEmitter"); -const E_ = ty("__setPluralRules"); -ty("__intlifyMeta"); -const k_ = ty("__injectWithOption"); -let A_ = 0; - -function C_(e) { - return (t, n, o, r) => e(n, o, ui() || void 0, r) -} - -function B_(e, t) { - const {messages: n, __i18n: o} = t, r = by(n) ? n : dy(o) ? {} : {[e]: {}}; - if (dy(o) && o.forEach((({locale: e, resource: t}) => { - e ? (r[e] = r[e] || {}, L_(t, r[e])) : L_(t, r) - })), t.flatJson) for (const i in r) uy(r, i) && Cy(r[i]); - return r -} - -const P_ = e => !my(e) || dy(e); - -function L_(e, t) { - if (P_(e) || P_(t)) throw w_(20); - for (const n in e) uy(e, n) && (P_(e[n]) || P_(t[n]) ? t[n] = e[n] : L_(e[n], t[n])) -} - -function O_(e = {}) { - const {__root: t} = e, n = void 0 === t; - let o = !hy(e.inheritLocale) || e.inheritLocale; - const r = nn(t && o ? t.locale.value : fy(e.locale) ? e.locale : "en-US"), - i = nn(t && o ? t.fallbackLocale.value : fy(e.fallbackLocale) || dy(e.fallbackLocale) || by(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : r.value), - a = nn(B_(r.value, e)), s = nn(by(e.datetimeFormats) ? e.datetimeFormats : {[r.value]: {}}), - l = nn(by(e.numberFormats) ? e.numberFormats : {[r.value]: {}}); - let c = t ? t.missingWarn : !hy(e.missingWarn) && !ry(e.missingWarn) || e.missingWarn, - u = t ? t.fallbackWarn : !hy(e.fallbackWarn) && !ry(e.fallbackWarn) || e.fallbackWarn, - d = t ? t.fallbackRoot : !hy(e.fallbackRoot) || e.fallbackRoot, p = !!e.fallbackFormat, - f = py(e.missing) ? e.missing : null, h = py(e.missing) ? C_(e.missing) : null, - m = py(e.postTranslation) ? e.postTranslation : null, g = !hy(e.warnHtmlMessage) || e.warnHtmlMessage, - v = !!e.escapeParameter; - const b = t ? t.modifiers : by(e.modifiers) ? e.modifiers : {}; - let y, _ = e.pluralRules || t && t.pluralRules; - y = e_({ - version: "9.1.9", - locale: r.value, - fallbackLocale: i.value, - messages: a.value, - datetimeFormats: s.value, - numberFormats: l.value, - modifiers: b, - pluralRules: _, - missing: null === h ? void 0 : h, - missingWarn: c, - fallbackWarn: u, - fallbackFormat: p, - unresolving: !0, - postTranslation: null === m ? void 0 : m, - warnHtmlMessage: g, - escapeParameter: v, - __datetimeFormatters: by(y) ? y.__datetimeFormatters : void 0, - __numberFormatters: by(y) ? y.__numberFormatters : void 0, - __v_emitter: by(y) ? y.__v_emitter : void 0, - __meta: {framework: "vue"} - }), a_(y, r.value, i.value); - const w = yi({ - get: () => r.value, set: e => { - r.value = e, y.locale = r.value - } - }), x = yi({ - get: () => i.value, set: e => { - i.value = e, y.fallbackLocale = i.value, a_(y, r.value, e) - } - }), T = yi((() => a.value)), S = yi((() => s.value)), E = yi((() => l.value)); - - function k(e, n, o, c, u, p) { - let f; - if (r.value, i.value, a.value, s.value, l.value, f = e(y), oy(f) && -1 === f) { - const [e, o] = n(); - return t && d ? c(t) : u(e) - } - if (p(f)) return f; - throw w_(14) - } - - function A(...e) { - return k((t => p_(t, ...e)), (() => h_(...e)), 0, (t => t.t(...e)), (e => e), (e => fy(e))) - } - - const C = { - normalize: function (e) { - return e.map((e => fy(e) ? Kr(Fr, null, e, 0) : e)) - }, interpolate: e => e, type: "vnode" - }; - - function B(e) { - return a.value[e] || {} - } - - A_++, t && (Gn(t.locale, (e => { - o && (r.value = e, y.locale = e, a_(y, r.value, i.value)) - })), Gn(t.fallbackLocale, (e => { - o && (i.value = e, y.fallbackLocale = e, a_(y, r.value, i.value)) - }))); - return { - id: A_, locale: w, fallbackLocale: x, get inheritLocale() { - return o - }, set inheritLocale(e) { - o = e, e && t && (r.value = t.locale.value, i.value = t.fallbackLocale.value, a_(y, r.value, i.value)) - }, get availableLocales() { - return Object.keys(a.value).sort() - }, messages: T, datetimeFormats: S, numberFormats: E, get modifiers() { - return b - }, get pluralRules() { - return _ || {} - }, get isGlobal() { - return n - }, get missingWarn() { - return c - }, set missingWarn(e) { - c = e, y.missingWarn = c - }, get fallbackWarn() { - return u - }, set fallbackWarn(e) { - u = e, y.fallbackWarn = u - }, get fallbackRoot() { - return d - }, set fallbackRoot(e) { - d = e - }, get fallbackFormat() { - return p - }, set fallbackFormat(e) { - p = e, y.fallbackFormat = p - }, get warnHtmlMessage() { - return g - }, set warnHtmlMessage(e) { - g = e, y.warnHtmlMessage = e - }, get escapeParameter() { - return v - }, set escapeParameter(e) { - v = e, y.escapeParameter = e - }, t: A, rt: function (...e) { - const [t, n, o] = e; - if (o && !my(o)) throw w_(15); - return A(t, n, sy({resolvedMessage: !0}, o || {})) - }, d: function (...e) { - return k((t => m_(t, ...e)), (() => g_(...e)), 0, (t => t.d(...e)), (() => ""), (e => fy(e))) - }, n: function (...e) { - return k((t => b_(t, ...e)), (() => y_(...e)), 0, (t => t.n(...e)), (() => ""), (e => fy(e))) - }, te: function (e, t) { - return null !== Ay(B(fy(t) ? t : r.value), e) - }, tm: function (e) { - const n = function (e) { - let t = null; - const n = n_(y, i.value, r.value); - for (let o = 0; o < n.length; o++) { - const r = Ay(a.value[n[o]] || {}, e); - if (null != r) { - t = r; - break - } - } - return t - }(e); - return null != n ? n : t && t.tm(e) || {} - }, getLocaleMessage: B, setLocaleMessage: function (e, t) { - a.value[e] = t, y.messages = a.value - }, mergeLocaleMessage: function (e, t) { - a.value[e] = a.value[e] || {}, L_(t, a.value[e]), y.messages = a.value - }, getDateTimeFormat: function (e) { - return s.value[e] || {} - }, setDateTimeFormat: function (e, t) { - s.value[e] = t, y.datetimeFormats = s.value, v_(y, e, t) - }, mergeDateTimeFormat: function (e, t) { - s.value[e] = sy(s.value[e] || {}, t), y.datetimeFormats = s.value, v_(y, e, t) - }, getNumberFormat: function (e) { - return l.value[e] || {} - }, setNumberFormat: function (e, t) { - l.value[e] = t, y.numberFormats = l.value, __(y, e, t) - }, mergeNumberFormat: function (e, t) { - l.value[e] = sy(l.value[e] || {}, t), y.numberFormats = l.value, __(y, e, t) - }, getPostTranslationHandler: function () { - return py(m) ? m : null - }, setPostTranslationHandler: function (e) { - m = e, y.postTranslation = e - }, getMissingHandler: function () { - return f - }, setMissingHandler: function (e) { - null !== e && (h = C_(e)), f = e, y.missing = h - }, [x_]: function (...e) { - return k((t => { - let n; - const o = t; - try { - o.processor = C, n = p_(o, ...e) - } finally { - o.processor = null - } - return n - }), (() => h_(...e)), 0, (t => t[x_](...e)), (e => [Kr(Fr, null, e, 0)]), (e => dy(e))) - }, [S_]: function (...e) { - return k((t => b_(t, ...e)), (() => y_(...e)), 0, (t => t[S_](...e)), (() => []), (e => fy(e) || dy(e))) - }, [T_]: function (...e) { - return k((t => m_(t, ...e)), (() => g_(...e)), 0, (t => t[T_](...e)), (() => []), (e => fy(e) || dy(e))) - }, [E_]: function (e) { - _ = e, y.pluralRules = _ - }, [k_]: e.__injectWithOption - } -} - -function I_(e = {}) { - const t = O_(function (e) { - const t = fy(e.locale) ? e.locale : "en-US", - n = fy(e.fallbackLocale) || dy(e.fallbackLocale) || by(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : t, - o = py(e.missing) ? e.missing : void 0, - r = !hy(e.silentTranslationWarn) && !ry(e.silentTranslationWarn) || !e.silentTranslationWarn, - i = !hy(e.silentFallbackWarn) && !ry(e.silentFallbackWarn) || !e.silentFallbackWarn, - a = !hy(e.fallbackRoot) || e.fallbackRoot, s = !!e.formatFallbackMessages, - l = by(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, - u = py(e.postTranslation) ? e.postTranslation : void 0, - d = !fy(e.warnHtmlInMessage) || "off" !== e.warnHtmlInMessage, p = !!e.escapeParameterHtml, - f = !hy(e.sync) || e.sync; - let h = e.messages; - if (by(e.sharedMessages)) { - const t = e.sharedMessages; - h = Object.keys(t).reduce(((e, n) => { - const o = e[n] || (e[n] = {}); - return sy(o, t[n]), e - }), h || {}) - } - const {__i18n: m, __root: g, __injectWithOption: v} = e, b = e.datetimeFormats, y = e.numberFormats; - return { - locale: t, - fallbackLocale: n, - messages: h, - flatJson: e.flatJson, - datetimeFormats: b, - numberFormats: y, - missing: o, - missingWarn: r, - fallbackWarn: i, - fallbackRoot: a, - fallbackFormat: s, - modifiers: l, - pluralRules: c, - postTranslation: u, - warnHtmlMessage: d, - escapeParameter: p, - inheritLocale: f, - __i18n: m, - __root: g, - __injectWithOption: v - } - }(e)), n = { - id: t.id, - get locale() { - return t.locale.value - }, - set locale(e) { - t.locale.value = e - }, - get fallbackLocale() { - return t.fallbackLocale.value - }, - set fallbackLocale(e) { - t.fallbackLocale.value = e - }, - get messages() { - return t.messages.value - }, - get datetimeFormats() { - return t.datetimeFormats.value - }, - get numberFormats() { - return t.numberFormats.value - }, - get availableLocales() { - return t.availableLocales - }, - get formatter() { - return {interpolate: () => []} - }, - set formatter(e) { - }, - get missing() { - return t.getMissingHandler() - }, - set missing(e) { - t.setMissingHandler(e) - }, - get silentTranslationWarn() { - return hy(t.missingWarn) ? !t.missingWarn : t.missingWarn - }, - set silentTranslationWarn(e) { - t.missingWarn = hy(e) ? !e : e - }, - get silentFallbackWarn() { - return hy(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn - }, - set silentFallbackWarn(e) { - t.fallbackWarn = hy(e) ? !e : e - }, - get modifiers() { - return t.modifiers - }, - get formatFallbackMessages() { - return t.fallbackFormat - }, - set formatFallbackMessages(e) { - t.fallbackFormat = e - }, - get postTranslation() { - return t.getPostTranslationHandler() - }, - set postTranslation(e) { - t.setPostTranslationHandler(e) - }, - get sync() { - return t.inheritLocale - }, - set sync(e) { - t.inheritLocale = e - }, - get warnHtmlInMessage() { - return t.warnHtmlMessage ? "warn" : "off" - }, - set warnHtmlInMessage(e) { - t.warnHtmlMessage = "off" !== e - }, - get escapeParameterHtml() { - return t.escapeParameter - }, - set escapeParameterHtml(e) { - t.escapeParameter = e - }, - get preserveDirectiveContent() { - return !0 - }, - set preserveDirectiveContent(e) { - }, - get pluralizationRules() { - return t.pluralRules || {} - }, - __composer: t, - t(...e) { - const [n, o, r] = e, i = {}; - let a = null, s = null; - if (!fy(n)) throw w_(15); - const l = n; - return fy(o) ? i.locale = o : dy(o) ? a = o : by(o) && (s = o), dy(r) ? a = r : by(r) && (s = r), t.t(l, a || s || {}, i) - }, - rt: (...e) => t.rt(...e), - tc(...e) { - const [n, o, r] = e, i = {plural: 1}; - let a = null, s = null; - if (!fy(n)) throw w_(15); - const l = n; - return fy(o) ? i.locale = o : oy(o) ? i.plural = o : dy(o) ? a = o : by(o) && (s = o), fy(r) ? i.locale = r : dy(r) ? a = r : by(r) && (s = r), t.t(l, a || s || {}, i) - }, - te: (e, n) => t.te(e, n), - tm: e => t.tm(e), - getLocaleMessage: e => t.getLocaleMessage(e), - setLocaleMessage(e, n) { - t.setLocaleMessage(e, n) - }, - mergeLocaleMessage(e, n) { - t.mergeLocaleMessage(e, n) - }, - d: (...e) => t.d(...e), - getDateTimeFormat: e => t.getDateTimeFormat(e), - setDateTimeFormat(e, n) { - t.setDateTimeFormat(e, n) - }, - mergeDateTimeFormat(e, n) { - t.mergeDateTimeFormat(e, n) - }, - n: (...e) => t.n(...e), - getNumberFormat: e => t.getNumberFormat(e), - setNumberFormat(e, n) { - t.setNumberFormat(e, n) - }, - mergeNumberFormat(e, n) { - t.mergeNumberFormat(e, n) - }, - getChoiceIndex: (e, t) => -1, - __onComponentInstanceCreated(t) { - const {componentInstanceCreatedListener: o} = e; - o && o(t, n) - } - }; - return n -} - -const M_ = { - tag: {type: [String, Object]}, - locale: {type: String}, - scope: {type: String, validator: e => "parent" === e || "global" === e, default: "parent"}, - i18n: {type: Object} -}, F_ = { - name: "i18n-t", - props: sy({ - keypath: {type: String, required: !0}, - plural: {type: [Number, String], validator: e => oy(e) || !isNaN(e)} - }, M_), - setup(e, t) { - const {slots: n, attrs: o} = t, r = e.i18n || V_({useScope: e.scope, __useComponent: !0}), - i = Object.keys(n).filter((e => "_" !== e)); - return () => { - const n = {}; - e.locale && (n.locale = e.locale), void 0 !== e.plural && (n.plural = fy(e.plural) ? +e.plural : e.plural); - const a = function ({slots: e}, t) { - return 1 === t.length && "default" === t[0] ? e.default ? e.default() : [] : t.reduce(((t, n) => { - const o = e[n]; - return o && (t[n] = o()), t - }), {}) - }(t, i), s = r[x_](e.keypath, a, n), l = sy({}, o); - return fy(e.tag) || my(e.tag) ? _i(e.tag, l, s) : _i(Mr, l, s) - } - } -}; - -function j_(e, t, n, o) { - const {slots: r, attrs: i} = t; - return () => { - const t = {part: !0}; - let a = {}; - e.locale && (t.locale = e.locale), fy(e.format) ? t.key = e.format : my(e.format) && (fy(e.format.key) && (t.key = e.format.key), a = Object.keys(e.format).reduce(((t, o) => n.includes(o) ? sy({}, t, {[o]: e.format[o]}) : t), {})); - const s = o(e.value, t, a); - let l = [t.key]; - dy(s) ? l = s.map(((e, t) => { - const n = r[e.type]; - return n ? n({[e.type]: e.value, index: t, parts: s}) : [e.value] - })) : fy(s) && (l = [s]); - const c = sy({}, i); - return fy(e.tag) || my(e.tag) ? _i(e.tag, c, l) : _i(Mr, c, l) - } -} - -const R_ = ["localeMatcher", "style", "unit", "unitDisplay", "currency", "currencyDisplay", "useGrouping", "numberingSystem", "minimumIntegerDigits", "minimumFractionDigits", "maximumFractionDigits", "minimumSignificantDigits", "maximumSignificantDigits", "notation", "formatMatcher"], - N_ = { - name: "i18n-n", - props: sy({value: {type: Number, required: !0}, format: {type: [String, Object]}}, M_), - setup(e, t) { - const n = e.i18n || V_({useScope: "parent", __useComponent: !0}); - return j_(e, t, R_, ((...e) => n[S_](...e))) - } - }, - D_ = ["dateStyle", "timeStyle", "fractionalSecondDigits", "calendar", "dayPeriod", "numberingSystem", "localeMatcher", "timeZone", "hour12", "hourCycle", "formatMatcher", "weekday", "era", "year", "month", "day", "hour", "minute", "second", "timeZoneName"], - z_ = { - name: "i18n-d", - props: sy({value: {type: [Number, Date], required: !0}, format: {type: [String, Object]}}, M_), - setup(e, t) { - const n = e.i18n || V_({useScope: "parent", __useComponent: !0}); - return j_(e, t, D_, ((...e) => n[T_](...e))) - } - }; - -function H_(e) { - const t = (t, {instance: n, value: o, modifiers: r}) => { - if (!n || !n.$) throw w_(22); - const i = function (e, t) { - const n = e; - if ("composition" === e.mode) return n.__getInstance(t) || e.global; - { - const o = n.__getInstance(t); - return null != o ? o.__composer : e.global.__composer - } - }(e, n.$), a = function (e) { - if (fy(e)) return {path: e}; - if (by(e)) { - if (!("path" in e)) throw w_(19); - return e - } - throw w_(20) - }(o); - t.textContent = i.t(...function (e) { - const {path: t, locale: n, args: o, choice: r, plural: i} = e, a = {}, s = o || {}; - fy(n) && (a.locale = n); - oy(r) && (a.plural = r); - oy(i) && (a.plural = i); - return [t, s, a] - }(a)) - }; - return {beforeMount: t, beforeUpdate: t} -} - -function q_(e, t) { - e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[E_](t.pluralizationRules || e.pluralizationRules); - const n = B_(e.locale, {messages: t.messages, __i18n: t.__i18n}); - return Object.keys(n).forEach((t => e.mergeLocaleMessage(t, n[t]))), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((n => e.mergeDateTimeFormat(n, t.datetimeFormats[n]))), t.numberFormats && Object.keys(t.numberFormats).forEach((n => e.mergeNumberFormat(n, t.numberFormats[n]))), e -} - -function V_(e = {}) { - const t = ui(); - if (null == t) throw w_(16); - if (!t.appContext.app.__VUE_I18N_SYMBOL__) throw w_(17); - const n = Xn(t.appContext.app.__VUE_I18N_SYMBOL__); - if (!n) throw w_(22); - const o = "composition" === n.mode ? n.global : n.global.__composer, - r = iy(e) ? "__i18n" in t.type ? "local" : "global" : e.useScope ? e.useScope : "local"; - if ("global" === r) { - let n = my(e.messages) ? e.messages : {}; - "__i18nGlobal" in t.type && (n = B_(o.locale.value, {messages: n, __i18n: t.type.__i18nGlobal})); - const r = Object.keys(n); - if (r.length && r.forEach((e => { - o.mergeLocaleMessage(e, n[e]) - })), my(e.datetimeFormats)) { - const t = Object.keys(e.datetimeFormats); - t.length && t.forEach((t => { - o.mergeDateTimeFormat(t, e.datetimeFormats[t]) - })) - } - if (my(e.numberFormats)) { - const t = Object.keys(e.numberFormats); - t.length && t.forEach((t => { - o.mergeNumberFormat(t, e.numberFormats[t]) - })) - } - return o - } - if ("parent" === r) { - let r = function (e, t, n = !1) { - let o = null; - const r = t.root; - let i = t.parent; - for (; null != i;) { - const t = e; - if ("composition" === e.mode) o = t.__getInstance(i); else { - const e = t.__getInstance(i); - null != e && (o = e.__composer), n && o && !o[k_] && (o = null) - } - if (null != o) break; - if (r === i) break; - i = i.parent - } - return o - }(n, t, e.__useComponent); - return null == r && (r = o), r - } - if ("legacy" === n.mode) throw w_(18); - const i = n; - let a = i.__getInstance(t); - if (null == a) { - const n = t.type, r = sy({}, e); - n.__i18n && (r.__i18n = n.__i18n), o && (r.__root = o), a = O_(r), function (e, t, n) { - Io((() => { - }), t), Ro((() => { - e.__deleteInstance(t) - }), t) - }(i, t), i.__setInstance(t, a) - } - return a -} - -const W_ = ["locale", "fallbackLocale", "availableLocales"], $_ = ["t", "rt", "d", "n", "tm"]; -Ky = function (e, t = {}) { - { - const n = (t.onCacheKey || s_)(e), o = l_[n]; - if (o) return o; - let r = !1; - const i = t.onError || jy; - t.onError = e => { - r = !0, i(e) - }; - const {code: a} = Gy(e, t), s = new Function(`return ${a}`)(); - return r ? s : l_[n] = s - } -}; -const Q_ = { - orderInfo: "订单信息", - confirmPay: "确认支付", - payTitle: "确认付款", - notHavePayType: "没有可用的支付方式", - notObtainedInfo: "未获取到支付信息", - paymentDocuments: "该支付单据", - paySuccess: "支付成功", - payFail: "支付失败", - completePay: "已完成支付", - incompletePay: "未完成支付", - getting: "获取支付结果中" -}, U_ = { - requestFail: "请求失败", - notInDomainList: "不在request 合法域名列表中", - currency: "¥", - getSmsCode: "获取验证码", - smsCodeChangeText: "秒后重新获取", - captchaTitle: "请完成验证", - confirm: "确认", - cancel: "取消", - save: "保存", - delete: "删除", - captchaPlaceholder: "请输入验证码", - mobilePlaceholder: "请输入手机号码", - mobileError: "请输入正确的手机号", - codePlaceholder: "请输入手机验证码", - memberCenter: "个人中心", - userAgreement: "用户协议", - privacyAgreement: "隐私协议", - nickname: "昵称", - nicknamePlaceholder: "请输入昵称", - headimg: "头像", - headimgPlaceholder: "请设置头像", - getAvatarNickname: "获取您的昵称头像", - getAvatarNicknameTips: "获取用户头像、昵称完善个人资料,主要用于向用户提供具有辨识度的用户中心界面", - point: "积分", - balance: "余额", - login: "登录", - register: "注册", - complete: "完成", - close: "关闭", - pay: Q_, - myBalance: "我的余额", - myPoint: "我的积分", - customerService: "联系客服", - siteClose: "站点已关闭", - noSite: "站点不存在" -}, X_ = Object.freeze(Object.defineProperty({ - __proto__: null, - balance: "余额", - cancel: "取消", - captchaPlaceholder: "请输入验证码", - captchaTitle: "请完成验证", - close: "关闭", - codePlaceholder: "请输入手机验证码", - complete: "完成", - confirm: "确认", - currency: "¥", - customerService: "联系客服", - default: U_, - getAvatarNickname: "获取您的昵称头像", - getAvatarNicknameTips: "获取用户头像、昵称完善个人资料,主要用于向用户提供具有辨识度的用户中心界面", - getSmsCode: "获取验证码", - headimg: "头像", - headimgPlaceholder: "请设置头像", - login: "登录", - memberCenter: "个人中心", - mobileError: "请输入正确的手机号", - mobilePlaceholder: "请输入手机号码", - myBalance: "我的余额", - myPoint: "我的积分", - nickname: "昵称", - nicknamePlaceholder: "请输入昵称", - noSite: "站点不存在", - notInDomainList: "不在request 合法域名列表中", - pay: Q_, - point: "积分", - privacyAgreement: "隐私协议", - register: "注册", - requestFail: "请求失败", - save: "保存", - siteClose: "站点已关闭", - smsCodeChangeText: "秒后重新获取", - userAgreement: "用户协议" -}, Symbol.toStringTag, {value: "Module"})), Y_ = {index: "Index"}, J_ = Object.freeze(Object.defineProperty({ - __proto__: null, - default: Y_, - index: "Index" -}, Symbol.toStringTag, {value: "Module"})); -let G_ = function (e = {}) { - const t = !hy(e.legacy) || e.legacy, n = !!e.globalInjection, o = new Map, r = t ? I_(e) : O_(e), i = ty(""), a = { - get mode() { - return t ? "legacy" : "composition" - }, async install(e, ...o) { - e.__VUE_I18N_SYMBOL__ = i, e.provide(e.__VUE_I18N_SYMBOL__, a), !t && n && function (e, t) { - const n = Object.create(null); - W_.forEach((e => { - const o = Object.getOwnPropertyDescriptor(t, e); - if (!o) throw w_(22); - const r = tn(o.value) ? { - get: () => o.value.value, set(e) { - o.value.value = e - } - } : {get: () => o.get && o.get()}; - Object.defineProperty(n, e, r) - })), e.config.globalProperties.$i18n = n, $_.forEach((n => { - const o = Object.getOwnPropertyDescriptor(t, n); - if (!o || !o.value) throw w_(22); - Object.defineProperty(e.config.globalProperties, `$${n}`, o) - })) - }(e, a.global), function (e, t, ...n) { - const o = by(n[0]) ? n[0] : {}, r = !!o.useI18nComponentName; - (!hy(o.globalInstall) || o.globalInstall) && (e.component(r ? "i18n" : F_.name, F_), e.component(N_.name, N_), e.component(z_.name, z_)), e.directive("t", H_(t)) - }(e, a, ...o), t && e.mixin(function (e, t, n) { - return { - beforeCreate() { - const o = ui(); - if (!o) throw w_(22); - const r = this.$options; - if (r.i18n) { - const n = r.i18n; - r.__i18n && (n.__i18n = r.__i18n), n.__root = t, this === this.$root ? this.$i18n = q_(e, n) : (n.__injectWithOption = !0, this.$i18n = I_(n)) - } else r.__i18n ? this === this.$root ? this.$i18n = q_(e, r) : this.$i18n = I_({ - __i18n: r.__i18n, - __injectWithOption: !0, - __root: t - }) : this.$i18n = e; - e.__onComponentInstanceCreated(this.$i18n), n.__setInstance(o, this.$i18n), this.$t = (...e) => this.$i18n.t(...e), this.$rt = (...e) => this.$i18n.rt(...e), this.$tc = (...e) => this.$i18n.tc(...e), this.$te = (e, t) => this.$i18n.te(e, t), this.$d = (...e) => this.$i18n.d(...e), this.$n = (...e) => this.$i18n.n(...e), this.$tm = e => this.$i18n.tm(e) - }, mounted() { - }, beforeUnmount() { - const e = ui(); - if (!e) throw w_(22); - delete this.$t, delete this.$rt, delete this.$tc, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, n.__deleteInstance(e), delete this.$i18n - } - } - }(r, r.__composer, a)) - }, get global() { - return r - }, __instances: o, __getInstance: e => o.get(e) || null, __setInstance(e, t) { - o.set(e, t) - }, __deleteInstance(e) { - o.delete(e) - } - }; - return a -}({locale: Ud(), globalInjection: !0, messages: {"zh-Hans": U_, en: Y_}}); -const K_ = new class { - constructor(e) { - this.loadLocale = [], this.i18n = e - } - - setI18nLanguage(e, t) { - this.i18n.mode, this.i18n.global.locale = e, Xd(e) - } - - async loadLocaleMessages(e, n) { - try { - const o = "/" == e ? "pages.index.index" : e.replace("/", "").replaceAll("/", "."); - if (this.loadLocale.includes(`${n}/${o}`)) return this.setI18nLanguage(n, o), kn(); - this.loadLocale.push(`${n}/${o}`); - const r = await ((e, t) => { - const n = e[t]; - return n ? "function" == typeof n ? n() : Promise.resolve(n) : new Promise(((e, n) => { - ("function" == typeof queueMicrotask ? queueMicrotask : setTimeout)(n.bind(null, new Error("Unknown variable dynamic import: " + t))) - })) - })(Object.assign({ - "./en/common.json": () => t((() => Promise.resolve().then((() => J_))), void 0), - "./en/pages.setting.index.json": () => t((() => import("./locale-en-pages.setting.index.b1f97200.js")), []), - "./zh-Hans/common.json": () => t((() => Promise.resolve().then((() => X_))), void 0), - "./zh-Hans/pages.article.detail.json": () => t((() => import("./locale-zh-Hans-pages.article.detail.0050a1c5.js")), []), - "./zh-Hans/pages.article.list.json": () => t((() => import("./locale-zh-Hans-pages.article.list.5ad66381.js")), []), - "./zh-Hans/pages.auth.bind.json": () => t((() => import("./locale-zh-Hans-pages.auth.bind.52381448.js")), []), - "./zh-Hans/pages.auth.login.json": () => t((() => import("./locale-zh-Hans-pages.auth.login.fece8bf2.js")), []), - "./zh-Hans/pages.auth.register.json": () => t((() => import("./locale-zh-Hans-pages.auth.register.08253b92.js")), []), - "./zh-Hans/pages.auth.resetpwd.json": () => t((() => import("./locale-zh-Hans-pages.auth.resetpwd.50c84166.js")), []), - "./zh-Hans/pages.index.develop.json": () => t((() => import("./locale-zh-Hans-pages.index.develop.e1f957b5.js")), []), - "./zh-Hans/pages.member.account.json": () => t((() => import("./locale-zh-Hans-pages.member.account.92769559.js")), []), - "./zh-Hans/pages.member.account_edit.json": () => t((() => import("./locale-zh-Hans-pages.member.account_edit.aa4db7d8.js")), []), - "./zh-Hans/pages.member.apply_cash_out.json": () => t((() => import("./locale-zh-Hans-pages.member.apply_cash_out.39ef1862.js")), []), - "./zh-Hans/pages.member.balance.json": () => t((() => import("./locale-zh-Hans-pages.member.balance.83d25bfd.js")), []), - "./zh-Hans/pages.member.cash_out.json": () => t((() => import("./locale-zh-Hans-pages.member.cash_out.ef838d77.js")), []), - "./zh-Hans/pages.member.cash_out_detail.json": () => t((() => import("./locale-zh-Hans-pages.member.cash_out_detail.41b725ee.js")), []), - "./zh-Hans/pages.member.commission.json": () => t((() => import("./locale-zh-Hans-pages.member.commission.f9e3b120.js")), []), - "./zh-Hans/pages.member.detailed_account.json": () => t((() => import("./locale-zh-Hans-pages.member.detailed_account.f295af98.js")), []), - "./zh-Hans/pages.member.personal.json": () => t((() => import("./locale-zh-Hans-pages.member.personal.2e77eb9b.js")), []), - "./zh-Hans/pages.member.recharge_record.json": () => t((() => import("./locale-zh-Hans-pages.member.recharge_record.18b1a5e3.js")), []), - "./zh-Hans/pages.member.recharge_record_detail.json": () => t((() => import("./locale-zh-Hans-pages.member.recharge_record_detail.2677f474.js")), []), - "./zh-Hans/pages.member.withdrawal_detail.json": () => t((() => import("./locale-zh-Hans-pages.member.withdrawal_detail.9c1200d4.js")), []), - "./zh-Hans/pages.setting.index.json": () => t((() => import("./locale-zh-Hans-pages.setting.index.bb67e7cc.js")), []) - }), `./${n}/${o}.json`); - return this.i18n.global.mergeLocaleMessage(n, r.default), this.setI18nLanguage(n, e), kn() - } catch (o) { - return this.setI18nLanguage(n, e), kn() - } - } -}(G_), Z_ = e => G_.global.t(e), ew = { - install(e) { - e.use(G_) - } -}, tw = { - pages: [{ - path: "pages/index/index", - style: {navigationBarTitleText: "%pages.index.index%", enablePullDownRefresh: !0} - }, { - path: "pages/article/list", - style: {navigationBarTitleText: "%pages.article.list%"} - }, { - path: "pages/auth/agreement", - style: {navigationBarTitleText: "%pages.auth.agreement%"} - }, {path: "pages/auth/bind", style: {navigationBarTitleText: "%pages.auth.bind%"}}, { - path: "pages/auth/login", - style: {navigationBarTitleText: "%pages.auth.login%"} - }, { - path: "pages/auth/register", - style: {navigationBarTitleText: "%pages.auth.register%"} - }, { - path: "pages/auth/resetpwd", - style: {navigationBarTitleText: "%pages.auth.resetpwd%"} - }, { - path: "pages/index/diy", - style: {navigationBarTitleText: "%pages.index.diy%", enablePullDownRefresh: !0} - }, {path: "pages/index/close", style: {navigationBarTitleText: "%pages.index.close%"}}, { - path: "pages/index/nosite", - style: {navigationBarTitleText: "%pages.index.nosite%"} - }, { - path: "pages/article/detail", - style: {navigationBarTitleText: "%pages.article.detail%"} - }, { - path: "pages/member/apply_cash_out", - style: {navigationBarTitleText: "%pages.member.apply_cash_out%"}, - needLogin: !0 - }, { - path: "pages/member/commission", - style: {navigationBarTitleText: "%pages.member.commission%"}, - needLogin: !0 - }, { - path: "pages/member/balance", - style: {navigationBarTitleText: "%pages.member.balance%"}, - needLogin: !0 - }, { - path: "pages/member/recharge_record", - style: {navigationBarTitleText: "%pages.member.recharge_record%"}, - needLogin: !0 - }, { - path: "pages/member/recharge_record_detail", - style: {navigationBarTitleText: "%pages.member.recharge_record_detail%"}, - needLogin: !0 - }, { - path: "pages/member/detailed_account", - style: {navigationBarTitleText: "%pages.member.detailed_account%"} - }, { - path: "pages/member/cash_out", - style: {navigationBarTitleText: "%pages.member.cash_out%"} - }, { - path: "pages/member/cash_out_detail", - style: {navigationBarTitleText: "%pages.member.cash_out_detail%"} - }, { - path: "pages/member/index", - style: {navigationBarTitleText: "%pages.member.index%", enablePullDownRefresh: !0} - }, { - path: "pages/member/personal", - style: {navigationBarTitleText: "%pages.member.personal%"}, - needLogin: !0 - }, { - path: "pages/member/point", - style: {navigationBarTitleText: "%pages.member.point%"}, - needLogin: !0 - }, { - path: "pages/member/account", - style: {navigationBarTitleText: "%pages.member.account%"}, - needLogin: !0 - }, { - path: "pages/member/account_edit", - style: {navigationBarTitleText: "%pages.member.account_edit%"}, - needLogin: !0 - }, {path: "pages/pay/browser", style: {navigationBarTitleText: "%pages.pay.browser%"}}, { - path: "pages/pay/result", - style: {navigationBarTitleText: "%pages.pay.result%"} - }, { - path: "pages/setting/index", - style: {navigationBarTitleText: "%pages.setting.index%"}, - needLogin: !0 - }, { - path: "pages/webview/index", - style: {navigationBarTitleText: "%pages.webview.index%"} - }, {path: "pages/index/develop", style: {navigationBarTitleText: "%pages.index.develop%"}}], - globalStyle: { - navigationBarTextStyle: "black", - navigationBarTitleText: "", - navigationBarBackgroundColor: "#ffffff", - backgroundColor: "#F8F8F8", - backgroundColorTop: "#F8F8F8", - backgroundColorBottom: "#F8F8F8" - }, - tabBar: {list: [{pagePath: "pages/index/index"}, {pagePath: "pages/article/list"}, {pagePath: "pages/member/index"}]}, - uniIdRouter: {}, - easycom: { - custom: { - "^u-(.*)": "uview-plus/components/u-$1/u-$1.vue", - "diy-(.*)": "@/components/diy/$1/index.vue", - "fixed-(.*)": "@/components/fixed/$1/index.vue" - } - } -}; - -function nw() { - return "/" + tw.pages[0].path -} - -/*! - * pinia v2.0.33 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */ -let ow; -const rw = e => ow = e, iw = Symbol(); - -function aw(e) { - return e && "object" == typeof e && "[object Object]" === Object.prototype.toString.call(e) && "function" != typeof e.toJSON -} - -var sw, lw; -(lw = sw || (sw = {})).direct = "direct", lw.patchObject = "patch object", lw.patchFunction = "patch function"; -const cw = "undefined" != typeof window; - -function uw() { - const e = Fe(!0), t = e.run((() => nn({}))); - let n = [], o = []; - const r = Jt({ - install(e) { - rw(r), r._a = e, e.provide(iw, r), e.config.globalProperties.$pinia = r, o.forEach((e => n.push(e))), o = [] - }, use(e) { - return this._a ? n.push(e) : o.push(e), this - }, _p: n, _a: null, _e: e, _s: new Map, state: t - }); - return r -} - -const dw = () => { -}; - -function pw(e, t, n, o = dw) { - e.push(t); - const r = () => { - const n = e.indexOf(t); - n > -1 && (e.splice(n, 1), o()) - }; - var i; - return !n && je() && (i = r, Ie && Ie.cleanups.push(i)), r -} - -function fw(e, ...t) { - e.slice().forEach((e => { - e(...t) - })) -} - -function hw(e, t) { - e instanceof Map && t instanceof Map && t.forEach(((t, n) => e.set(n, t))), e instanceof Set && t instanceof Set && t.forEach(e.add, e); - for (const n in t) { - if (!t.hasOwnProperty(n)) continue; - const o = t[n], r = e[n]; - aw(r) && aw(o) && e.hasOwnProperty(n) && !tn(o) && !$t(o) ? e[n] = hw(r, o) : e[n] = o - } - return e -} - -const mw = Symbol(); -const {assign: gw} = Object; - -function vw(e, t, n, o) { - const {state: r, actions: i, getters: a} = t, s = n.state.value[e]; - let l; - return l = bw(e, (function () { - s || (n.state.value[e] = r ? r() : {}); - const t = function (e) { - const t = C(e) ? new Array(e.length) : {}; - for (const n in e) t[n] = dn(e, n); - return t - }(n.state.value[e]); - return gw(t, i, Object.keys(a || {}).reduce(((t, o) => (t[o] = Jt(yi((() => { - rw(n); - const t = n._s.get(e); - return a[o].call(t, t) - }))), t)), {})) - }), t, n, o, !0), l -} - -function bw(e, t, n = {}, o, r, i) { - let a; - const s = gw({actions: {}}, n), l = {deep: !0}; - let c, u, d, p = Jt([]), f = Jt([]); - const h = o.state.value[e]; - let m; - - function g(t) { - let n; - c = u = !1, "function" == typeof t ? (t(o.state.value[e]), n = { - type: sw.patchFunction, - storeId: e, - events: d - }) : (hw(o.state.value[e], t), n = {type: sw.patchObject, payload: t, storeId: e, events: d}); - const r = m = Symbol(); - kn().then((() => { - m === r && (c = !0) - })), u = !0, fw(p, n, o.state.value[e]) - } - - i || h || (o.state.value[e] = {}), nn({}); - const v = i ? function () { - const {state: e} = n, t = e ? e() : {}; - this.$patch((e => { - gw(e, t) - })) - } : dw; - - function b(t, n) { - return function () { - rw(o); - const r = Array.from(arguments), i = [], a = []; - - function s(e) { - i.push(e) - } - - function l(e) { - a.push(e) - } - - let c; - fw(f, {args: r, name: t, store: y, after: s, onError: l}); - try { - c = n.apply(this && this.$id === e ? this : y, r) - } catch (u) { - throw fw(a, u), u - } - return c instanceof Promise ? c.then((e => (fw(i, e), e))).catch((e => (fw(a, e), Promise.reject(e)))) : (fw(i, c), c) - } - } - - const y = qt({ - _p: o, $id: e, $onAction: pw.bind(null, f), $patch: g, $reset: v, $subscribe(t, n = {}) { - const r = pw(p, t, n.detached, (() => i())), i = a.run((() => Gn((() => o.state.value[e]), (o => { - ("sync" === n.flush ? u : c) && t({storeId: e, type: sw.direct, events: d}, o) - }), gw({}, l, n)))); - return r - }, $dispose: function () { - a.stop(), p = [], f = [], o._s.delete(e) - } - }); - o._s.set(e, y); - const _ = o._e.run((() => (a = Fe(), a.run((() => t()))))); - for (const T in _) { - const t = _[T]; - if (tn(t) && (!tn(x = t) || !x.effect) || $t(t)) i || (!h || aw(w = t) && w.hasOwnProperty(mw) || (tn(t) ? t.value = h[T] : hw(t, h[T])), o.state.value[e][T] = t); else if ("function" == typeof t) { - const e = b(T, t); - _[T] = e, s.actions[T] = t - } - } - var w, x; - return gw(y, _), gw(Yt(y), _), Object.defineProperty(y, "$state", { - get: () => o.state.value[e], set: e => { - g((t => { - gw(t, e) - })) - } - }), o._p.forEach((e => { - gw(y, a.run((() => e({store: y, app: o._a, pinia: o, options: s})))) - })), h && i && n.hydrate && n.hydrate(y.$state, h), c = !0, u = !0, y -} - -function yw(e, t, n) { - let o, r; - const i = "function" == typeof t; - - function a(e, n) { - const a = ui(); - (e = e || a && Xn(iw, null)) && rw(e), (e = ow)._s.has(o) || (i ? bw(o, t, r, e) : vw(o, r, e)); - return e._s.get(o) - } - - return "string" == typeof e ? (o = e, r = i ? n : t) : (r = e, o = e.id), a.$id = o, a -} - -let _w = "Store"; - -function ww(e, t) { - return Array.isArray(t) ? t.reduce(((t, n) => (t[n] = function () { - return e(this.$pinia)[n] - }, t)), {}) : Object.keys(t).reduce(((n, o) => (n[o] = function () { - const n = e(this.$pinia), r = t[o]; - return "function" == typeof r ? r.call(this, n) : n[r] - }, n)), {}) -} - -const xw = ww; -const Tw = Object.freeze(Object.defineProperty({ - __proto__: null, get MutationType() { - return sw - }, PiniaVuePlugin: function (e) { - e.mixin({ - beforeCreate() { - const e = this.$options; - if (e.pinia) { - const t = e.pinia; - if (!this._provided) { - const e = {}; - Object.defineProperty(this, "_provided", {get: () => e, set: t => Object.assign(e, t)}) - } - this._provided[iw] = t, this.$pinia || (this.$pinia = t), t._a = this, cw && rw(t) - } else !this.$pinia && e.parent && e.parent.$pinia && (this.$pinia = e.parent.$pinia) - }, destroyed() { - delete this._pStores - } - }) - }, acceptHMRUpdate: function (e, t) { - return () => { - } - }, createPinia: uw, defineStore: yw, getActivePinia: () => ui() && Xn(iw) || ow, mapActions: function (e, t) { - return Array.isArray(t) ? t.reduce(((t, n) => (t[n] = function (...t) { - return e(this.$pinia)[n](...t) - }, t)), {}) : Object.keys(t).reduce(((n, o) => (n[o] = function (...n) { - return e(this.$pinia)[t[o]](...n) - }, n)), {}) - }, mapGetters: xw, mapState: ww, mapStores: function (...e) { - return e.reduce(((e, t) => (e[t.$id + _w] = function () { - return t(this.$pinia) - }, e)), {}) - }, mapWritableState: function (e, t) { - return Array.isArray(t) ? t.reduce(((t, n) => (t[n] = { - get() { - return e(this.$pinia)[n] - }, set(t) { - return e(this.$pinia)[n] = t - } - }, t)), {}) : Object.keys(t).reduce(((n, o) => (n[o] = { - get() { - return e(this.$pinia)[t[o]] - }, set(n) { - return e(this.$pinia)[t[o]] = n - } - }, n)), {}) - }, setActivePinia: rw, setMapStoreSuffix: function (e) { - _w = e - }, skipHydrate: function (e) { - return Object.defineProperty(e, mw, {}) - }, storeToRefs: function (e) { - { - e = Yt(e); - const t = {}; - for (const n in e) { - const o = e[n]; - (tn(o) || $t(o)) && (t[n] = dn(e, n)) - } - return t - } - } -}, Symbol.toStringTag, {value: "Module"})), Sw = yw("diy", { - state: () => ({ - mode: "", - pageMode: "diy", - currentIndex: -99, - global: {title: "", pageBgColor: "", bottomTabBarSwitch: !0, bgUrl: ""}, - value: [] - }), getters: {}, actions: { - init() { - var e = JSON.stringify({type: "init", load: !0}); - window.parent.postMessage(e, "*"), window.addEventListener("message", (e => { - try { - let t = JSON.parse(e.data); - this.currentIndex = t.currentIndex, this.pageMode = t.pageMode, t.global && (this.global = t.global), t.value && (this.value = t.value), this.value && this.value.forEach(((e, t) => { - e.pageStyle = "", e.pageBgColor && (e.pageStyle += "background-color:" + e.pageBgColor + ";"), e.margin && (e.pageStyle += "padding-top:" + 2 * e.margin.top + "rpx;", e.pageStyle += "padding-bottom:" + 2 * e.margin.bottom + "rpx;", e.pageStyle += "padding-right:" + 2 * e.margin.both + "rpx;", e.pageStyle += "padding-left:" + 2 * e.margin.both + "rpx;") - })) - } catch (t) { - console.log("uniapp接受数据错误", t) - } - }), !1) - }, postMessage(e, t) { - if (this.currentIndex = e, t) var n = JSON.stringify({ - type: "data", - index: this.currentIndex, - global: Yt(this.global), - value: Yt(this.value), - component: Yt(t) - }); - window.parent.postMessage(n, "*") - }, changeCurrentIndex(e, t = null) { - if ("" != this.mode && this.currentIndex != e) { - this.currentIndex = e; - var n = JSON.stringify({type: "change", index: e, component: Yt(t)}); - window.parent.postMessage(n, "*") - } - } - } -}); -const Ew = new class { - constructor() { - this.config = { - url: "", - header: {} - }, this.baseUrl = `${location.origin}/api/`, "/" != this.baseUrl.substr(-1) && (this.baseUrl += "/"); - try { - this.config.header["site-id"] = dx(""), this.config.header.channel = lx() - } catch (e) { - } - } - - requestInterceptors() { - try { - ox() && (this.config.header.token = ox()), this.config.header.channel = lx(), this.config.header["site-id"] = dx("") - } catch (e) { - } - } - - get(e, t = {}, n = {}) { - return Object.assign(this.config, n), this.request("GET", e, t) - } - - post(e, t = {}, n = {}) { - return Object.assign(this.config, n), this.request("POST", e, t) - } - - put(e, t = {}, n = {}) { - return Object.assign(this.config, n), this.request("PUT", e, t) - } - - delete(e, t = {}) { - return Object.assign(this.config, t), this.request("DELETE", e) - } - - upload(e, t = {}, n = {}) { - this.requestInterceptors(); - const o = Object.assign(uni.$u.deepClone(this.config), {url: this.baseUrl + e, ...t}); - return new Promise(((e, t) => { - Sg({ - ...o, success: n => { - const o = JSON.parse(n.data); - 1 == o.code ? (this.config.showSuccessMessage && Vg({ - title: o.msg, - icon: "none" - }), e(o)) : (0 == o.code ? Vg({title: o.msg, icon: "none"}) : this.handleAuthError(o.code), t(o)) - }, fail: e => { - t(e) - } - }) - })) - } - - request(e, t, n) { - this.requestInterceptors(); - const o = Object.assign(uni.$u.deepClone(this.config), {url: this.baseUrl + t, method: e, data: n}); - return new Promise(((e, t) => { - bg({ - ...o, success: n => { - const o = n.data; - 1 == o.code ? (this.config.showSuccessMessage && Vg({ - title: o.msg, - icon: "none" - }), e(o)) : (0 == o.code ? Vg({title: o.msg, icon: "none"}) : this.handleAuthError(o.code), t(o)) - }, fail: e => { - t(e) - }, complete: e => { - this.handleRequestFail(e) - } - }) - })) - } - - handleAuthError(e) { - if (401 === e) Kw().logout() - } - - handleRequestFail(e) { - e.errMsg && "request:ok" == e.errMsg && "string" == typeof e.data ? Vg({ - icon: "none", - title: this.baseUrl + Z_("requestFail") - }) : "request:fail" != e.errMsg ? e.errMsg && "request:fail url not in domain list" == e.errMsg && Vg({ - icon: "none", - title: this.baseUrl + Z_("notInDomainList") - }) : Vg({icon: "none", title: this.baseUrl + Z_("requestFail")}) - } -}; - -function kw(e) { - return Ew.get("member/account/point", e) -} - -function Aw(e) { - return Ew.get("member/account/balance", e) -} - -function Cw(e) { - return Ew.get("member/account/money", e) -} - -function Bw(e) { - return Ew.put(`member/modify/${e.field}`, e, {showErrorMessage: !0}) -} - -function Pw(e) { - return Ew.post("order/recharge", e, {showErrorMessage: !0}) -} - -function Lw(e) { - return Ew.get("order/recharge", e, {showErrorMessage: !0}) -} - -function Ow(e) { - return Ew.get(`order/recharge/${e}`, {}, {showErrorMessage: !0}) -} - -function Iw(e) { - return Ew.put("member/mobile", e, {showErrorMessage: !0}) -} - -function Mw() { - return Ew.get("member/cash_out/config") -} - -function Fw(e) { - return Ew.post("member/cash_out/apply", e, {showSuccessMessage: !0, showErrorMessage: !0}) -} - -function jw(e) { - return Ew.get(`member/cashout_account/${e.account_id}`, {}) -} - -function Rw(e) { - return Ew.get("member/cashout_account/firstinfo", e) -} - -function Nw(e) { - return Ew.get("member/cashout_account", e) -} - -function Dw(e) { - return Ew.get("member/cash_out", e) -} - -function zw(e) { - return Ew.get(`member/cash_out/${e}`) -} - -function Hw(e) { - return Ew.post("member/cashout_account", e, {showSuccessMessage: !0, showErrorMessage: !0}) -} - -function qw(e) { - return Ew.put(`member/cashout_account/${e.account_id}`, e, {showSuccessMessage: !0, showErrorMessage: !0}) -} - -function Vw(e) { - return Ew.delete(`member/cashout_account/${e}`, {showSuccessMessage: !0, showErrorMessage: !0}) -} - -function Ww(e) { - return Ew.get("member/account/commission", e) -} - -function $w(e) { - return Ew.get("login", e, {showErrorMessage: !0}) -} - -function Qw(e) { - return Ew.post("login/mobile", e, {showErrorMessage: !0}) -} - -function Uw(e) { - let t = "register"; - return e.pid && (t += `?pid=${e.pid}`), Ew.post(t, e, {showErrorMessage: !0}) -} - -function Xw(e) { - let t = "register/mobile"; - return e.pid && (t += `?pid=${e.pid}`), Ew.post(t, e, {showErrorMessage: !0}) -} - -function Yw(e) { - return Ew.post("wechat/login", e) -} - -function Jw(e) { - let t = "bind"; - return e.pid && (t += `?pid=${e.pid}`), Ew.post(t, e, {showErrorMessage: !0}) -} - -function Gw(e) { - return Ew.post("member/log", e, {showErrorMessage: !1}) -} - -const Kw = yw("member", { - state: () => ({token: uni.getStorageSync("wapToken"), info: null}), - actions: { - async setToken(e) { - this.token = e, function (e) { - uni.setStorageSync("wapToken", e) - }(e), await this.getMemberInfo() - }, async getMemberInfo() { - this.token && await Ew.get("member/member").then((e => { - this.info = e.data - })).catch((async () => { - await this.logout() - })) - }, async logout(e = !1) { - this.token && await Ew.put("auth/logout").then((() => { - this.$reset(), rx(), e && Zw({url: "/pages/index/index"}) - })).catch((() => { - this.$reset(), rx(), e && Zw({url: "/pages/index/index"}) - })) - } - } -}), Zw = e => { - if ("decorate" == Sw().mode) return; - let {url: t, mode: n, param: o, success: r, fail: i, complete: a} = e; - n = n || "navigateTo"; - switch (tw.tabBar.list.map((e => `/${e.pagePath}`)).includes(t) && (n = "switchTab"), "switchTab" != n && o && Object.keys(o).length && (t += uni.$u.queryParams(o)), n) { - case"switchTab": - Lg({ - url: t, success: () => { - r && r() - }, fail: () => { - i && i() - }, complete: () => { - a && a() - } - }); - break; - case"navigateTo": - Ag({ - url: t, success: () => { - r && r() - }, fail: () => { - i && i() - }, complete: () => { - a && a() - } - }); - break; - case"reLaunch": - Bg({ - url: t, success: () => { - r && r() - }, fail: () => { - i && i() - }, complete: () => { - a && a() - } - }); - break; - case"redirectTo": - Cg({ - url: t, success: () => { - r && r() - }, fail: () => { - i && i() - }, complete: () => { - a && a() - } - }) - } -}, ex = e => { - "decorate" != Sw().mode && null != e && 1 != Object.keys(e).length && e.url && (-1 != e.url.indexOf("http") || -1 != e.url.indexOf("http") ? window.location.href = e.url : Zw({url: e.url})) -}, tx = () => { - const e = Hh(), t = e[e.length - 1]; - return t ? t.route : "" -}, nx = () => { - const e = Hh(); - let t = e[e.length - 1].route, n = e[e.length - 1].$page.options, o = {}; - for (let r in n) o[r] = n[r]; - return {path: "/" + t, params: o} -}; - -function ox() { - return Kw().token -} - -function rx() { - uni.removeStorageSync("wapToken") -} - -function ix(e) { - const t = {}, [n, o] = e.split("?"); - return o && o.split("&").forEach((e => { - let [n, o] = e.split("="); - t[n] = o - })), {path: n, query: t} -} - -function ax(e) { - return -1 != (t = e).indexOf("http://") || -1 != t.indexOf("https://") ? e : `${location.origin}/${e}`; - var t -} - -function sx() { - let e = navigator.userAgent.toLowerCase(); - return !!/micromessenger/.test(e) -} - -function lx() { - return sx() ? "wechat" : "h5" -} - -function cx(e) { - return isNaN(parseFloat(e)) ? e : parseFloat(e).toFixed(2) -} - -function ux(e) { - return e.substring(0, 3) + "****" + e.substr(e.length - 4) -} - -function dx(e) { - const t = location.href.match(/\/wap\/(\d*)\//); - return t ? t[1] : e -} - -function px() { - return Ew.get("captcha", {}, {showErrorMessage: !0}) -} - -function fx(e) { - return Ew.post("wechat/sync", e) -} - -function hx(e) { - return Ew.get(`agreement/${e}`) -} - -function mx(e) { - return Ew.post("password/reset", e, {showErrorMessage: !0}) -} - -function gx(e) { - return Ew.post(`send/mobile/${e.type}`, e, {showErrorMessage: !0}) -} - -function vx(e) { - return Ew.get("wechat/jssdkconfig", e) -} - -function bx(e) { - return Ew.upload("file/image", e, {showErrorMessage: !0}) -} - -function yx(e) { - return Ew.get("diy/diy", e) -} - -function _x(e) { - return Ew.get("diy/share", e) -} - -const wx = yw("config", { - state: () => ({ - login: { - is_username: 0, - is_mobile: 0, - is_auth_register: 0, - is_bind_mobile: 0, - agreement_show: 0 - }, tabbar: null - }), actions: { - async getLoginConfig() { - await Ew.get("login/config").then((e => { - this.login.is_username = parseInt(e.data.is_username), this.login.is_mobile = parseInt(e.data.is_mobile), this.login.is_auth_register = parseInt(e.data.is_auth_register), this.login.is_bind_mobile = parseInt(e.data.is_bind_mobile), this.login.agreement_show = parseInt(e.data.agreement_show) - })).catch((() => { - })) - }, async getTabbarConfig() { - await Ew.get("diy/tabbar").then((e => { - this.tabbar = e.data - })).catch((() => { - })) - } - } -}); - -function xx() { - return { - setLoginBack: e => { - uni.setStorage({key: "loginBack", data: e}), setTimeout((() => { - const e = wx(); - sx() && uni.getStorageSync("openid") && e.login.is_bind_mobile ? Zw({ - url: "/pages/auth/bind", - mode: "redirectTo" - }) : Zw({url: "/pages/auth/login", mode: "redirectTo"}) - })) - }, handleLoginBack: () => { - uni.getStorage({ - key: "loginBack", success: e => { - Zw(e ? e.data : {url: "/pages/index/index"}) - }, fail: e => { - Zw({url: "/pages/index/index"}) - } - }) - }, authLogin: e => { - let t = null; - t = Yw, t({code: e}).then((e => { - e.data.token ? Kw().setToken(e.data.token) : uni.setStorageSync("openid", e.data.openid) - })) - }, getAuthCode: (e = "snsapi_base") => { - let t = `${location.origin}${location.pathname}`, n = ix(location.href).query; - var o; - n.code && delete n.code, Object.keys(n).length && (t += uni.$u.queryParams(n)), (o = { - url: t, - scopes: e - }, Ew.get("wechat/codeurl", o)).then((e => { - location.href = e.data.url - })) - } - } -} - -const Tx = xx(); - -function Sx(e) { - (function () { - const e = []; - return tw.pages.forEach((t => { - t.needLogin && e.push(`/${t.path}`) - })), tw.subPackages && tw.subPackages.forEach((t => { - t.pages.forEach((n => { - n.needLogin && e.push(`/${t.root}/${n.path}`) - })) - })), e - })().includes(e.path) && !ox() && setTimeout((() => { - Tx.setLoginBack({url: e.path, param: e.query || {}}) - }), 100) -} - -const Ex = yw("system", { - state: () => ({site: null}), actions: { - async getSitenfo() { - await Ew.get("site").then((e => { - this.site = e.data, 3 == this.site.status && Zw({url: "/pages/index/close", mode: "reLaunch"}) - })).catch((e => { - Zw({url: "/pages/index/nosite", mode: "reLaunch"}) - })) - } - } -}), kx = po({ - __name: "App", setup: e => (({}.VITE_APP_DEBUG && new window.VConsole, Qb((async e => { - (() => { - const e = Jd(); - e.path = `/${e.path}`, K_.loadLocaleMessages(e.path, Ud()), Sx(e), e.query && e.query.mid && uni.setStorageSync("pid", e.query.mid), ox() && Gw({ - route: e.path, - params: JSON.stringify(e.query || {}), - pre_route: "" - }) - })(), ["navigateTo", "redirectTo", "reLaunch", "switchTab"].forEach((e => { - yd(e, { - invoke(e) { - const t = ix(e.url); - K_.loadLocaleMessages(t.path, Ud()), Sx(t), ox() && Gw({ - route: t.path, - params: JSON.stringify(t.query), - pre_route: Hh()[0].route - }) - } - }) - })), "ios" == Dm().platform && uni.setStorageSync("initUrl", location.href); - const t = wx(); - if (t.getTabbarConfig(), await t.getLoginConfig(), Ex().getSitenfo(), nv(), ox()) { - const e = Kw(); - await e.setToken(ox()) - } - if (!ox()) { - const t = xx(); - sx() && (e.query.code ? t.authLogin(e.query.code) : t.getAuthCode("snsapi_userinfo")) - } - window.addEventListener("popstate", (function (e) { - const t = "/" + location.pathname.replace(Zb.h5.router.base, ""); - K_.loadLocaleMessages(t, Ud()) - }), !1) - })), Wb((() => { - })), $b((() => { - })), () => { - })) -}); -hm(kx, { - init: pm, setup(e) { - const t = Ch(), n = () => { - var n; - n = e, Object.keys(Yd).forEach((e => { - Yd[e].forEach((t => { - Po(e, t, n) - })) - })); - const {onLaunch: o, onShow: r, onPageNotFound: i, onError: a} = e, s = function ({path: e, query: t}) { - return S(Bp, {path: e, query: t}), S(Pp, Bp), S({}, Bp) - }({path: t.path.slice(1) || __uniRoutes[0].meta.route, query: ye(t.query)}); - if (o && J(o, s), r && J(r, s), !t.matched.length) { - const e = {notFound: !0, openType: "appLaunch", path: t.path, query: {}, scene: 1001}; - i && J(i, e) - } - a && (e.appContext.config.errorHandler = e => { - J(a, e) - }) - }; - return Xn(tl).isReady().then(n), Io((() => { - window.addEventListener("resize", xe(gm, 50, { - setTimeout: setTimeout, - clearTimeout: clearTimeout - })), window.addEventListener("message", vm), document.addEventListener("visibilitychange", bm), function () { - let e = null; - try { - e = window.matchMedia("(prefers-color-scheme: dark)") - } catch (t) { - } - if (e) { - let t = e => { - fv.emit("onThemeChange", {theme: e.matches ? "dark" : "light"}) - }; - e.addEventListener ? e.addEventListener("change", t) : e.addListener(t) - } - }() - })), t.query - }, before(e) { - e.mpType = "app"; - const {setup: t} = e, n = () => (zr(), $r(dv)); - e.setup = (e, o) => { - const r = t && t(e, o); - return O(r) ? n : r - }, e.render = n - } -}); -const Ax = { - props: { - customStyle: {type: [Object, String], default: () => ({})}, - customClass: {type: String, default: ""}, - url: {type: String, default: ""}, - linkType: {type: String, default: "navigateTo"} - }, - data: () => ({}), - onLoad() { - this.$u.getRect = this.$uGetRect - }, - created() { - this.$u.getRect = this.$uGetRect - }, - computed: { - $u: () => uni.$u.deepMerge(uni.$u, {props: void 0, http: void 0, mixin: void 0}), - bem: () => function (e, t, n) { - const o = `u-${e}--`, r = {}; - return t && t.map((e => { - r[o + this[e]] = !0 - })), n && n.map((e => { - this[e] ? r[o + e] = this[e] : delete r[o + e] - })), Object.keys(r) - } - }, - methods: { - openPage(e = "url") { - const t = this[e]; - t && this.$u.route({type: this.linkType, url: t}) - }, $uGetRect(e, t) { - return new Promise((n => { - Qd().in(this)[t ? "selectAll" : "select"](e).boundingClientRect((e => { - t && Array.isArray(e) && e.length && n(e), !t && e && n(e) - })).exec() - })) - }, getParentData(e = "") { - this.parent || (this.parent = {}), this.parent = uni.$u.$parent.call(this, e), this.parent.children && -1 === this.parent.children.indexOf(this) && this.parent.children.push(this), this.parent && this.parentData && Object.keys(this.parentData).map((e => { - this.parentData[e] = this.parent[e] - })) - }, preventEvent(e) { - e && "function" == typeof e.stopPropagation && e.stopPropagation() - }, noop(e) { - this.preventEvent(e) - } - }, - onReachBottom() { - Td("uOnReachBottom") - }, - beforeDestroy() { - if (this.parent && uni.$u.test.array(this.parent.children)) { - const e = this.parent.children; - e.map(((t, n) => { - t === this && e.splice(n, 1) - })) - } - } -}, Cx = {}, {toString: Bx} = Object.prototype; - -function Px(e) { - return "[object Array]" === Bx.call(e) -} - -function Lx(e, t) { - if (null != e) if ("object" != typeof e && (e = [e]), Px(e)) for (let n = 0, o = e.length; n < o; n++) t.call(null, e[n], n, e); else for (const n in e) Object.prototype.hasOwnProperty.call(e, n) && t.call(null, e[n], n, e) -} - -function Ox() { - const e = {}; - - function t(t, n) { - "object" == typeof e[n] && "object" == typeof t ? e[n] = Ox(e[n], t) : e[n] = "object" == typeof t ? Ox({}, t) : t - } - - for (let n = 0, o = arguments.length; n < o; n++) Lx(arguments[n], t); - return e -} - -function Ix(e) { - return void 0 === e -} - -function Mx(e) { - return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]") -} - -function Fx(e, t) { - if (!t) return e; - let n; - if (o = t, "undefined" != typeof URLSearchParams && o instanceof URLSearchParams) n = t.toString(); else { - const e = []; - Lx(t, ((t, n) => { - null != t && (Px(t) ? n = `${n}[]` : t = [t], Lx(t, (t => { - !function (e) { - return "[object Date]" === Bx.call(e) - }(t) ? function (e) { - return null !== e && "object" == typeof e - }(t) && (t = JSON.stringify(t)) : t = t.toISOString(), e.push(`${Mx(n)}=${Mx(t)}`) - }))) - })), n = e.join("&") - } - var o; - if (n) { - const t = e.indexOf("#"); - -1 !== t && (e = e.slice(0, t)), e += (-1 === e.indexOf("?") ? "?" : "&") + n - } - return e -} - -const jx = (e, t) => { - const n = {}; - return e.forEach((e => { - Ix(t[e]) || (n[e] = t[e]) - })), n -}, Rx = e => (e => new Promise(((t, n) => { - const o = Fx((r = e.baseURL, i = e.url, r && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i) ? function (e, t) { - return t ? `${e.replace(/\/+$/, "")}/${t.replace(/^\/+/, "")}` : e - }(r, i) : i), e.params); - var r, i; - const a = { - url: o, header: e.header, complete: r => { - e.fullPath = o, r.config = e; - try { - "string" == typeof r.data && (r.data = JSON.parse(r.data)) - } catch (i) { - } - !function (e, t, n) { - const {validateStatus: o} = n.config, r = n.statusCode; - !r || o && !o(r) ? t(n) : e(n) - }(t, n, r) - } - }; - let s; - if ("UPLOAD" === e.method) { - delete a.header["content-type"], delete a.header["Content-Type"]; - const t = {filePath: e.filePath, name: e.name}, n = ["files", "file", "timeout", "formData"]; - s = Sg({...a, ...t, ...jx(n, e)}) - } else if ("DOWNLOAD" === e.method) Ix(e.timeout) || (a.timeout = e.timeout), s = xg(a); else { - const t = ["data", "method", "timeout", "dataType", "responseType", "withCredentials"]; - s = bg({...a, ...jx(t, e)}) - } - e.getTask && e.getTask(s, e) -})))(e); - -function Nx() { - this.handlers = [] -} - -Nx.prototype.use = function (e, t) { - return this.handlers.push({fulfilled: e, rejected: t}), this.handlers.length - 1 -}, Nx.prototype.eject = function (e) { - this.handlers[e] && (this.handlers[e] = null) -}, Nx.prototype.forEach = function (e) { - this.handlers.forEach((t => { - null !== t && e(t) - })) -}; -const Dx = (e, t, n) => { - const o = {}; - return e.forEach((e => { - Ix(n[e]) ? Ix(t[e]) || (o[e] = t[e]) : o[e] = n[e] - })), o -}, zx = { - baseURL: "", - header: {}, - method: "GET", - dataType: "json", - responseType: "text", - custom: {}, - timeout: 6e4, - withCredentials: !1, - validateStatus: function (e) { - return e >= 200 && e < 300 - } -}; -var Hx = function () { - function e(e, t) { - return null != t && e instanceof t - } - - var t, n, o; - try { - t = Map - } catch (s) { - t = function () { - } - } - try { - n = Set - } catch (s) { - n = function () { - } - } - try { - o = Promise - } catch (s) { - o = function () { - } - } - - function r(i, s, l, c, u) { - "object" == typeof s && (l = s.depth, c = s.prototype, u = s.includeNonEnumerable, s = s.circular); - var d = [], p = [], f = "undefined" != typeof Buffer; - return void 0 === s && (s = !0), void 0 === l && (l = 1 / 0), function i(l, h) { - if (null === l) return null; - if (0 === h) return l; - var m, g; - if ("object" != typeof l) return l; - if (e(l, t)) m = new t; else if (e(l, n)) m = new n; else if (e(l, o)) m = new o((function (e, t) { - l.then((function (t) { - e(i(t, h - 1)) - }), (function (e) { - t(i(e, h - 1)) - })) - })); else if (r.__isArray(l)) m = []; else if (r.__isRegExp(l)) m = new RegExp(l.source, a(l)), l.lastIndex && (m.lastIndex = l.lastIndex); else if (r.__isDate(l)) m = new Date(l.getTime()); else { - if (f && Buffer.isBuffer(l)) return Buffer.from ? m = Buffer.from(l) : (m = new Buffer(l.length), l.copy(m)), m; - e(l, Error) ? m = Object.create(l) : void 0 === c ? (g = Object.getPrototypeOf(l), m = Object.create(g)) : (m = Object.create(c), g = c) - } - if (s) { - var v = d.indexOf(l); - if (-1 != v) return p[v]; - d.push(l), p.push(m) - } - for (var b in e(l, t) && l.forEach((function (e, t) { - var n = i(t, h - 1), o = i(e, h - 1); - m.set(n, o) - })), e(l, n) && l.forEach((function (e) { - var t = i(e, h - 1); - m.add(t) - })), l) { - Object.getOwnPropertyDescriptor(l, b) && (m[b] = i(l[b], h - 1)); - try { - if ("undefined" === Object.getOwnPropertyDescriptor(l, b).set) continue; - m[b] = i(l[b], h - 1) - } catch (S) { - if (S instanceof TypeError) continue; - if (S instanceof ReferenceError) continue - } - } - if (Object.getOwnPropertySymbols) { - var y = Object.getOwnPropertySymbols(l); - for (b = 0; b < y.length; b++) { - var _ = y[b]; - (!(x = Object.getOwnPropertyDescriptor(l, _)) || x.enumerable || u) && (m[_] = i(l[_], h - 1), Object.defineProperty(m, _, x)) - } - } - if (u) { - var w = Object.getOwnPropertyNames(l); - for (b = 0; b < w.length; b++) { - var x, T = w[b]; - (x = Object.getOwnPropertyDescriptor(l, T)) && x.enumerable || (m[T] = i(l[T], h - 1), Object.defineProperty(m, T, x)) - } - } - return m - }(i, l) - } - - function i(e) { - return Object.prototype.toString.call(e) - } - - function a(e) { - var t = ""; - return e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), t - } - - return r.clonePrototype = function (e) { - if (null === e) return null; - var t = function () { - }; - return t.prototype = e, new t - }, r.__objToStr = i, r.__isDate = function (e) { - return "object" == typeof e && "[object Date]" === i(e) - }, r.__isArray = function (e) { - return "object" == typeof e && "[object Array]" === i(e) - }, r.__isRegExp = function (e) { - return "object" == typeof e && "[object RegExp]" === i(e) - }, r.__getRegExpFlags = a, r -}(); -const qx = (new class { - constructor() { - this.config = { - type: "navigateTo", - url: "", - delta: 1, - params: {}, - animationType: "pop-in", - animationDuration: 300, - intercept: !1 - }, this.route = this.route.bind(this) - } - - addRootPath(e) { - return "/" === e[0] ? e : `/${e}` - } - - mixinParam(e, t) { - e = e && this.addRootPath(e); - let n = ""; - return /.*\/.*\?.*=.*/.test(e) ? (n = uni.$u.queryParams(t, !1), e + `&${n}`) : (n = uni.$u.queryParams(t), e + n) - } - - async route(e = {}, t = {}) { - let n = {}; - if ("string" == typeof e ? (n.url = this.mixinParam(e, t), n.type = "navigateTo") : (n = uni.$u.deepMerge(this.config, e), n.url = this.mixinParam(e.url, e.params)), n.url !== uni.$u.page()) if (t.intercept && (this.config.intercept = t.intercept), n.params = t, n = uni.$u.deepMerge(this.config, n), "function" == typeof uni.$u.routeIntercept) { - await new Promise(((e, t) => { - uni.$u.routeIntercept(n, e) - })) && this.openPage(n) - } else this.openPage(n) - } - - openPage(e) { - const {url: t, type: n, delta: o, animationType: r, animationDuration: i} = e; - "navigateTo" != e.type && "to" != e.type || Ag({ - url: t, - animationType: r, - animationDuration: i - }), "redirectTo" != e.type && "redirect" != e.type || Cg({url: t}), "switchTab" != e.type && "tab" != e.type || Lg({url: t}), "reLaunch" != e.type && "launch" != e.type || Bg({url: t}), "navigateBack" != e.type && "back" != e.type || Eg({delta: o}) - } -}).route; - -function Vx(e, t = !0) { - if ((e = String(e).toLowerCase()) && /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)) { - if (4 === e.length) { - let t = "#"; - for (let n = 1; n < 4; n += 1) t += e.slice(n, n + 1).concat(e.slice(n, n + 1)); - e = t - } - const n = []; - for (let t = 1; t < 7; t += 2) n.push(parseInt(`0x${e.slice(t, t + 2)}`)); - return t ? `rgb(${n[0]},${n[1]},${n[2]})` : n - } - if (/^(rgb|RGB)/.test(e)) { - return e.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",").map((e => Number(e))) - } - return e -} - -function Wx(e) { - const t = e; - if (/^(rgb|RGB)/.test(t)) { - const e = t.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(","); - let n = "#"; - for (let t = 0; t < e.length; t++) { - let o = Number(e[t]).toString(16); - o = 1 == String(o).length ? `0${o}` : o, "0" === o && (o += o), n += o - } - return 7 !== n.length && (n = t), n - } - if (!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t)) return t; - { - const e = t.replace(/#/, "").split(""); - if (6 === e.length) return t; - if (3 === e.length) { - let t = "#"; - for (let n = 0; n < e.length; n += 1) t += e[n] + e[n]; - return t - } - } -} - -const $x = { - colorGradient: function (e = "rgb(0, 0, 0)", t = "rgb(255, 255, 255)", n = 10) { - const o = Vx(e, !1), r = o[0], i = o[1], a = o[2], s = Vx(t, !1), l = (s[0] - r) / n, c = (s[1] - i) / n, - u = (s[2] - a) / n, d = []; - for (let p = 0; p < n; p++) { - let o = Wx(`rgb(${Math.round(l * p + r)},${Math.round(c * p + i)},${Math.round(u * p + a)})`); - 0 === p && (o = Wx(e)), p === n - 1 && (o = Wx(t)), d.push(o) - } - return d - }, hexToRgb: Vx, rgbToHex: Wx, colorToRgba: function (e, t) { - e = Wx(e); - let n = String(e).toLowerCase(); - if (n && /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)) { - if (4 === n.length) { - let e = "#"; - for (let t = 1; t < 4; t += 1) e += n.slice(t, t + 1).concat(n.slice(t, t + 1)); - n = e - } - const e = []; - for (let t = 1; t < 7; t += 2) e.push(parseInt(`0x${n.slice(t, t + 2)}`)); - return `rgba(${e.join(",")},${t})` - } - return n - } -}; - -function Qx(e) { - return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e) -} - -function Ux(e) { - switch (typeof e) { - case"undefined": - return !0; - case"string": - if (0 == e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, "").length) return !0; - break; - case"boolean": - if (!e) return !0; - break; - case"number": - if (0 === e || isNaN(e)) return !0; - break; - case"object": - if (null === e || 0 === e.length) return !0; - for (const t in e) return !1; - return !0 - } - return !1 -} - -function Xx(e) { - return "[object Object]" === Object.prototype.toString.call(e) -} - -function Yx(e) { - return "function" == typeof e -} - -const Jx = { - email: function (e) { - return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e) - }, mobile: function (e) { - return /^1[23456789]\d{9}$/.test(e) - }, url: function (e) { - return /^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e) - }, date: function (e) { - return !!e && (Qx(e) && (e = +e), !/Invalid|NaN/.test(new Date(e).toString())) - }, dateISO: function (e) { - return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e) - }, number: Qx, digits: function (e) { - return /^\d+$/.test(e) - }, idCard: function (e) { - return /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e) - }, carNo: function (e) { - const t = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/, - n = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/; - return 7 === e.length ? n.test(e) : 8 === e.length && t.test(e) - }, amount: function (e) { - return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e) - }, chinese: function (e) { - return /^[\u4e00-\u9fa5]+$/gi.test(e) - }, letter: function (e) { - return /^[a-zA-Z]*$/.test(e) - }, enOrNum: function (e) { - return /^[0-9a-zA-Z]*$/g.test(e) - }, contains: function (e, t) { - return e.indexOf(t) >= 0 - }, range: function (e, t) { - return e >= t[0] && e <= t[1] - }, rangeLength: function (e, t) { - return e.length >= t[0] && e.length <= t[1] - }, empty: Ux, isEmpty: Ux, jsonString: function (e) { - if ("string" == typeof e) try { - const t = JSON.parse(e); - return !("object" != typeof t || !t) - } catch (t) { - return !1 - } - return !1 - }, landline: function (e) { - return /^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e) - }, object: Xx, array: function (e) { - return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e) - }, code: function (e, t = 6) { - return new RegExp(`^\\d{${t}}$`).test(e) - }, func: Yx, promise: function (e) { - return Xx(e) && Yx(e.then) && Yx(e.catch) - }, video: function (e) { - return /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e) - }, image: function (e) { - const t = e.split("?")[0]; - return /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t) - }, regExp: function (e) { - return e && "[object RegExp]" === Object.prototype.toString.call(e) - }, string: function (e) { - return "string" == typeof e - } -}; -let Gx, Kx = null; - -function Zx(e, t = 15) { - return +parseFloat(Number(e).toPrecision(t)) -} - -function eT(e) { - const t = e.toString().split(/[eE]/), n = (t[0].split(".")[1] || "").length - +(t[1] || 0); - return n > 0 ? n : 0 -} - -function tT(e) { - if (-1 === e.toString().indexOf("e")) return Number(e.toString().replace(".", "")); - const t = eT(e); - return t > 0 ? Zx(Number(e) * Math.pow(10, t)) : Number(e) -} - -function nT(e) { - (e > Number.MAX_SAFE_INTEGER || e < Number.MIN_SAFE_INTEGER) && console.warn(`${e} 超出了精度限制,结果可能不正确`) -} - -function oT(e, t) { - const [n, o, ...r] = e; - let i = t(n, o); - return r.forEach((e => { - i = t(i, e) - })), i -} - -function rT(...e) { - if (e.length > 2) return oT(e, rT); - const [t, n] = e, o = tT(t), r = tT(n), i = eT(t) + eT(n), a = o * r; - return nT(a), a / Math.pow(10, i) -} - -function iT(...e) { - if (e.length > 2) return oT(e, iT); - const [t, n] = e, o = tT(t), r = tT(n); - return nT(o), nT(r), rT(o / r, Zx(Math.pow(10, eT(n) - eT(t)))) -} - -function aT(e) { - if ([null, void 0, NaN, !1].includes(e)) return e; - if ("object" != typeof e && "function" != typeof e) return e; - const t = Jx.array(e) ? [] : {}; - for (const n in e) e.hasOwnProperty(n) && (t[n] = "object" == typeof e[n] ? aT(e[n]) : e[n]); - return t -} - -function sT(e = null, t = "yyyy-mm-dd") { - let n; - n = e ? /^\d{10}$/.test(e.toString().trim()) ? new Date(1e3 * e) : "string" == typeof e && /^\d+$/.test(e.trim()) ? new Date(Number(e)) : new Date("string" == typeof e ? e.replace(/-/g, "/") : e) : new Date; - const o = { - y: n.getFullYear().toString(), - m: (n.getMonth() + 1).toString().padStart(2, "0"), - d: n.getDate().toString().padStart(2, "0"), - h: n.getHours().toString().padStart(2, "0"), - M: n.getMinutes().toString().padStart(2, "0"), - s: n.getSeconds().toString().padStart(2, "0") - }; - for (const r in o) { - const [e] = new RegExp(`${r}+`).exec(t) || []; - if (e) { - const n = "y" === r && 2 === e.length ? 2 : 0; - t = t.replace(e, o[r].slice(n)) - } - } - return t -} - -function lT(e, t = "both") { - return e = String(e), "both" == t ? e.replace(/^\s+|\s+$/g, "") : "left" == t ? e.replace(/^\s*/, "") : "right" == t ? e.replace(/(\s*$)/g, "") : "all" == t ? e.replace(/\s+/g, "") : e -} - -String.prototype.padStart || (String.prototype.padStart = function (e, t = " ") { - if ("[object String]" !== Object.prototype.toString.call(t)) throw new TypeError("fillString must be String"); - const n = this; - if (n.length >= e) return String(n); - const o = e - n.length; - let r = Math.ceil(o / t.length); - for (; r >>= 1;) t += t, 1 === r && (t += t); - return t.slice(0, o) + n -}); -const cT = { - range: function (e = 0, t = 0, n = 0) { - return Math.max(e, Math.min(t, Number(n))) - }, getPx: function (e, t = !1) { - return Jx.number(e) ? t ? `${e}px` : Number(e) : /(rpx|upx)$/.test(e) ? t ? `${vd(parseInt(e))}px` : Number(vd(parseInt(e))) : t ? `${parseInt(e)}px` : parseInt(e) - }, sleep: function (e = 30) { - return new Promise((t => { - setTimeout((() => { - t() - }), e) - })) - }, os: function () { - return Dm().platform.toLowerCase() - }, sys: function () { - return Dm() - }, random: function (e, t) { - if (e >= 0 && t > 0 && t >= e) { - const n = t - e + 1; - return Math.floor(Math.random() * n + e) - } - return 0 - }, guid: function (e = 32, t = !0, n = null) { - const o = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""), r = []; - if (n = n || o.length, e) for (let i = 0; i < e; i++) r[i] = o[0 | Math.random() * n]; else { - let e; - r[8] = r[13] = r[18] = r[23] = "-", r[14] = "4"; - for (let t = 0; t < 36; t++) r[t] || (e = 0 | 16 * Math.random(), r[t] = o[19 == t ? 3 & e | 8 : e]) - } - return t ? (r.shift(), `u${r.join("")}`) : r.join("") - }, $parent: function (e) { - let t = this.$parent; - for (; t;) { - if (!t.$options || t.$options.name === e) return t; - t = t.$parent - } - return !1 - }, addStyle: function (e, t = "object") { - if (Jx.empty(e) || "object" == typeof e && "object" === t || "string" === t && "string" == typeof e) return e; - if ("object" === t) { - const t = (e = lT(e)).split(";"), n = {}; - for (let e = 0; e < t.length; e++) if (t[e]) { - const o = t[e].split(":"); - n[lT(o[0])] = lT(o[1]) - } - return n - } - let n = ""; - for (const o in e) { - n += `${o.replace(/([A-Z])/g, "-$1").toLowerCase()}:${e[o]};` - } - return lT(n) - }, addUnit: function (e = "auto", t = "") { - return t || (t = uni.$u.config.unit || "px"), e = String(e), Jx.number(e) ? `${e}${t}` : e - }, deepClone: aT, deepMerge: function e(t = {}, n = {}) { - if ("object" != typeof (t = aT(t)) || "object" != typeof n) return !1; - for (const o in n) n.hasOwnProperty(o) && (o in t ? "object" != typeof t[o] || "object" != typeof n[o] ? t[o] = n[o] : t[o].concat && n[o].concat ? t[o] = t[o].concat(n[o]) : t[o] = e(t[o], n[o]) : t[o] = n[o]); - return t - }, error: function (e) { - }, randomArray: function (e = []) { - return e.sort((() => Math.random() - .5)) - }, timeFormat: sT, timeFrom: function (e = null, t = "yyyy-mm-dd") { - null == e && (e = Number(new Date)), 10 == (e = parseInt(e)).toString().length && (e *= 1e3); - let n = (new Date).getTime() - e; - n = parseInt(n / 1e3); - let o = ""; - switch (!0) { - case n < 300: - o = "刚刚"; - break; - case n >= 300 && n < 3600: - o = `${parseInt(n / 60)}分钟前`; - break; - case n >= 3600 && n < 86400: - o = `${parseInt(n / 3600)}小时前`; - break; - case n >= 86400 && n < 2592e3: - o = `${parseInt(n / 86400)}天前`; - break; - default: - o = !1 === t ? n >= 2592e3 && n < 31536e3 ? `${parseInt(n / 2592e3)}个月前` : `${parseInt(n / 31536e3)}年前` : sT(e, t) - } - return o - }, trim: lT, queryParams: function (e = {}, t = !0, n = "brackets") { - const o = t ? "?" : "", r = []; - -1 == ["indices", "brackets", "repeat", "comma"].indexOf(n) && (n = "brackets"); - for (const i in e) { - const t = e[i]; - if (!(["", void 0, null].indexOf(t) >= 0)) if (t.constructor === Array) switch (n) { - case"indices": - for (let n = 0; n < t.length; n++) r.push(`${i}[${n}]=${t[n]}`); - break; - case"brackets": - default: - t.forEach((e => { - r.push(`${i}[]=${e}`) - })); - break; - case"repeat": - t.forEach((e => { - r.push(`${i}=${e}`) - })); - break; - case"comma": - let e = ""; - t.forEach((t => { - e += (e ? "," : "") + t - })), r.push(`${i}=${e}`) - } else r.push(`${i}=${t}`) - } - return r.length ? o + r.join("&") : "" - }, toast: function (e, t = 2e3) { - Vg({title: String(e), icon: "none", duration: t}) - }, type2icon: function (e = "success", t = !1) { - -1 == ["primary", "info", "error", "warning", "success"].indexOf(e) && (e = "success"); - let n = ""; - switch (e) { - case"primary": - case"info": - n = "info-circle"; - break; - case"error": - n = "close-circle"; - break; - case"warning": - n = "error-circle"; - break; - default: - n = "checkmark-circle" - } - return t && (n += "-fill"), n - }, priceFormat: function (e, t = 0, n = ".", o = ",") { - e = `${e}`.replace(/[^0-9+-Ee.]/g, ""); - const r = isFinite(+e) ? +e : 0, i = isFinite(+t) ? Math.abs(t) : 0, a = void 0 === o ? "," : o, - s = void 0 === n ? "." : n; - let l = ""; - l = (i ? function (e, t) { - const n = Math.pow(10, t); - let o = iT(Math.round(Math.abs(rT(e, n))), n); - return e < 0 && 0 !== o && (o = rT(o, -1)), o - }(r, i) + "" : `${Math.round(r)}`).split("."); - const c = /(-?\d+)(\d{3})/; - for (; c.test(l[0]);) l[0] = l[0].replace(c, `$1${a}$2`); - return (l[1] || "").length < i && (l[1] = l[1] || "", l[1] += new Array(i - l[1].length + 1).join("0")), l.join(s) - }, getDuration: function (e, t = !0) { - const n = parseInt(e); - return t ? /s$/.test(e) ? e : e > 30 ? `${e}ms` : `${e}s` : /ms$/.test(e) ? n : /s$/.test(e) ? n > 30 ? n : 1e3 * n : n - }, padZero: function (e) { - return `00${e}`.slice(-2) - }, formValidate: function (e, t) { - const n = uni.$u.$parent.call(e, "u-form-item"), o = uni.$u.$parent.call(e, "u-form"); - n && o && o.validateField(n.prop, (() => { - }), t) - }, getProperty: function (e, t) { - if (e) { - if ("string" != typeof t || "" === t) return ""; - if (-1 !== t.indexOf(".")) { - const n = t.split("."); - let o = e[n[0]] || {}; - for (let e = 1; e < n.length; e++) o && (o = o[n[e]]); - return o - } - return e[t] - } - }, setProperty: function (e, t, n) { - if (!e) return; - const o = function (e, t, n) { - if (1 !== t.length) for (; t.length > 1;) { - const r = t[0]; - e[r] && "object" == typeof e[r] || (e[r] = {}), t.shift(), o(e[r], t, n) - } else e[t[0]] = n - }; - if ("string" != typeof t || "" === t) ; else if (-1 !== t.indexOf(".")) { - const r = t.split("."); - o(e, r, n) - } else e[t] = n - }, page: function () { - const e = Hh(); - return `/${e[e.length - 1].route || ""}` - }, pages: function () { - return Hh() - }, setConfig: function ({props: e = {}, config: t = {}, color: n = {}, zIndex: o = {}}) { - const {deepMerge: r} = uni.$u; - uni.$u.config = r(uni.$u.config, t), uni.$u.props = r(uni.$u.props, e), uni.$u.color = r(uni.$u.color, n), uni.$u.zIndex = r(uni.$u.zIndex, o) - } -}, uT = { - v: "3", - version: "3", - type: ["primary", "success", "info", "error", "warning"], - color: { - "u-primary": "#2979ff", - "u-warning": "#ff9900", - "u-success": "#19be6b", - "u-error": "#fa3534", - "u-info": "#909399", - "u-main-color": "#303133", - "u-content-color": "#606266", - "u-tips-color": "#909399", - "u-light-color": "#c0c4cc" - }, - unit: "px" -}, dT = { - calendar: { - title: "日期选择", - showTitle: !0, - showSubtitle: !0, - mode: "single", - startText: "开始", - endText: "结束", - customList: () => [], - color: "#3c9cff", - minDate: 0, - maxDate: 0, - defaultDate: null, - maxCount: Number.MAX_SAFE_INTEGER, - rowHeight: 56, - formatter: null, - showLunar: !1, - showMark: !0, - confirmText: "确定", - confirmDisabledText: "确定", - show: !1, - closeOnClickOverlay: !1, - readonly: !1, - showConfirm: !0, - maxRange: Number.MAX_SAFE_INTEGER, - rangePrompt: "", - showRangePrompt: !0, - allowSameDay: !1, - round: 0, - monthNum: 3 - } -}, pT = { - datetimePicker: { - show: !1, - showToolbar: !0, - value: "", - title: "", - mode: "datetime", - maxDate: new Date((new Date).getFullYear() + 10, 0, 1).getTime(), - minDate: new Date((new Date).getFullYear() - 10, 0, 1).getTime(), - minHour: 0, - maxHour: 23, - minMinute: 0, - maxMinute: 59, - filter: null, - formatter: null, - loading: !1, - itemHeight: 44, - cancelText: "取消", - confirmText: "确认", - cancelColor: "#909193", - confirmColor: "#3c9cff", - visibleItemCount: 5, - closeOnClickOverlay: !1, - defaultIndex: () => [] - } -}, {color: fT} = uT, hT = { - icon: { - name: "", - color: fT["u-content-color"], - size: "16px", - bold: !1, - index: "", - hoverClass: "", - customPrefix: "uicon", - label: "", - labelPos: "right", - labelSize: "15px", - labelColor: fT["u-content-color"], - space: "3px", - imgMode: "", - width: "", - height: "", - top: 0, - stop: !1 - } -}, {color: mT} = uT, gT = { - link: { - color: mT["u-primary"], - fontSize: 15, - underLine: !1, - href: "", - mpTips: "链接已复制,请在浏览器打开", - lineColor: "", - text: "" - } -}, {color: vT} = uT, bT = { - primary: "#3c9cff", - info: "#909399", - default: "#909399", - warning: "#f9ae3d", - error: "#f56c6c", - success: "#5ac725", - mainColor: "#303133", - contentColor: "#606266", - tipsColor: "#909399", - lightColor: "#c0c4cc", - borderColor: "#e4e7ed" -}, yT = { - actionSheet: { - show: !1, - title: "", - description: "", - actions: () => [], - index: "", - cancelText: "", - closeOnClickAction: !0, - safeAreaInsetBottom: !0, - openType: "", - closeOnClickOverlay: !0, - round: 0 - }, - album: { - urls: () => [], - keyName: "", - singleSize: 180, - multipleSize: 70, - space: 6, - singleMode: "scaleToFill", - multipleMode: "aspectFill", - maxCount: 9, - previewFullImage: !0, - rowCount: 3, - showMore: !0 - }, - alert: { - title: "", - type: "warning", - description: "", - closable: !1, - showIcon: !1, - effect: "light", - center: !1, - fontSize: 14 - }, - avatar: { - src: "", - shape: "circle", - size: 40, - mode: "scaleToFill", - text: "", - bgColor: "#c0c4cc", - color: "#ffffff", - fontSize: 18, - icon: "", - mpAvatar: !1, - randomBgColor: !1, - defaultUrl: "", - colorIndex: "", - name: "" - }, - avatarGroup: { - urls: () => [], - maxCount: 5, - shape: "circle", - mode: "scaleToFill", - showMore: !0, - size: 40, - keyName: "", - gap: .5, - extraValue: 0 - }, - backtop: { - mode: "circle", - icon: "arrow-upward", - text: "", - duration: 100, - scrollTop: 0, - top: 400, - bottom: 100, - right: 20, - zIndex: 9, - iconStyle: () => ({color: "#909399", fontSize: "19px"}) - }, - badge: { - isDot: !1, - value: "", - show: !0, - max: 999, - type: "error", - showZero: !1, - bgColor: null, - color: null, - shape: "circle", - numberType: "overflow", - offset: () => [], - inverted: !1, - absolute: !1 - }, - button: { - hairline: !1, - type: "info", - size: "normal", - shape: "square", - plain: !1, - disabled: !1, - loading: !1, - loadingText: "", - loadingMode: "spinner", - loadingSize: 15, - openType: "", - formType: "", - appParameter: "", - hoverStopPropagation: !0, - lang: "en", - sessionFrom: "", - sendMessageTitle: "", - sendMessagePath: "", - sendMessageImg: "", - showMessageCard: !1, - dataName: "", - throttleTime: 0, - hoverStartTime: 0, - hoverStayTime: 200, - text: "", - icon: "", - iconColor: "", - color: "" - }, ...dT, - carKeyboard: {random: !1}, - cell: { - customClass: "", - title: "", - label: "", - value: "", - icon: "", - disabled: !1, - border: !0, - center: !1, - url: "", - linkType: "navigateTo", - clickable: !1, - isLink: !1, - required: !1, - arrowDirection: "", - iconStyle: {}, - rightIconStyle: {}, - rightIcon: "arrow-right", - titleStyle: {}, - size: "", - stop: !0, - name: "" - }, - cellGroup: {title: "", border: !0, customStyle: {}}, - checkbox: { - name: "", - shape: "", - size: "", - checkbox: !1, - disabled: "", - activeColor: "", - inactiveColor: "", - iconSize: "", - iconColor: "", - label: "", - labelSize: "", - labelColor: "", - labelDisabled: "" - }, - checkboxGroup: { - name: "", - value: () => [], - shape: "square", - disabled: !1, - activeColor: "#2979ff", - inactiveColor: "#c8c9cc", - size: 18, - placement: "row", - labelSize: 14, - labelColor: "#303133", - labelDisabled: !1, - iconColor: "#ffffff", - iconSize: 12, - iconPlacement: "left", - borderBottom: !1 - }, - circleProgress: {percentage: 30}, - code: {seconds: 60, startText: "获取验证码", changeText: "X秒重新获取", endText: "重新获取", keepRunning: !1, uniqueKey: ""}, - codeInput: { - adjustPosition: !0, - maxlength: 6, - dot: !1, - mode: "box", - hairline: !1, - space: 10, - value: "", - focus: !1, - bold: !1, - color: "#606266", - fontSize: 18, - size: 35, - disabledKeyboard: !1, - borderColor: "#c9cacc", - disabledDot: !0 - }, - col: {span: 12, offset: 0, justify: "start", align: "stretch", textAlign: "left"}, - collapse: {value: null, accordion: !1, border: !0}, - collapseItem: { - title: "", - value: "", - label: "", - disabled: !1, - isLink: !0, - clickable: !0, - border: !0, - align: "left", - name: "", - icon: "", - duration: 300 - }, - columnNotice: { - text: "", - icon: "volume", - mode: "", - color: "#f9ae3d", - bgColor: "#fdf6ec", - fontSize: 14, - speed: 80, - step: !1, - duration: 1500, - disableTouch: !0 - }, - countDown: {time: 0, format: "HH:mm:ss", autoStart: !0, millisecond: !1}, - countTo: { - startVal: 0, - endVal: 0, - duration: 2e3, - autoplay: !0, - decimals: 0, - useEasing: !0, - decimal: ".", - color: "#606266", - fontSize: 22, - bold: !1, - separator: "" - }, ...pT, - divider: { - dashed: !1, - hairline: !0, - dot: !1, - textPosition: "center", - text: "", - textSize: 14, - textColor: "#909399", - lineColor: "#dcdfe6" - }, - empty: { - icon: "", - text: "", - textColor: "#c0c4cc", - textSize: 14, - iconColor: "#c0c4cc", - iconSize: 90, - mode: "data", - width: 160, - height: 160, - show: !0, - marginTop: 0 - }, - form: { - model: () => ({}), - rules: () => ({}), - errorType: "message", - borderBottom: !0, - labelPosition: "left", - labelWidth: 45, - labelAlign: "left", - labelStyle: () => ({}) - }, - formItem: { - label: "", - prop: "", - borderBottom: "", - labelWidth: "", - rightIcon: "", - leftIcon: "", - required: !1, - leftIconStyle: "" - }, - gap: {bgColor: "transparent", height: 20, marginTop: 0, marginBottom: 0, customStyle: {}}, - grid: {col: 3, border: !1, align: "left"}, - gridItem: {name: null, bgColor: "transparent"}, ...hT, - image: { - src: "", - mode: "aspectFill", - width: "300", - height: "225", - shape: "square", - radius: 0, - lazyLoad: !0, - showMenuByLongpress: !0, - loadingIcon: "photo", - errorIcon: "error-circle", - showLoading: !0, - showError: !0, - fade: !0, - webp: !1, - duration: 500, - bgColor: "#f3f4f6" - }, - indexAnchor: {text: "", color: "#606266", size: 14, bgColor: "#dedede", height: 32}, - indexList: {inactiveColor: "#606266", activeColor: "#5677fc", indexList: () => [], sticky: !0, customNavHeight: 0}, - input: { - value: "", - type: "text", - fixed: !1, - disabled: !1, - disabledColor: "#f5f7fa", - clearable: !1, - password: !1, - maxlength: -1, - placeholder: null, - placeholderClass: "input-placeholder", - placeholderStyle: "color: #c0c4cc", - showWordLimit: !1, - confirmType: "done", - confirmHold: !1, - holdKeyboard: !1, - focus: !1, - autoBlur: !1, - disableDefaultPadding: !1, - cursor: -1, - cursorSpacing: 30, - selectionStart: -1, - selectionEnd: -1, - adjustPosition: !0, - inputAlign: "left", - fontSize: "15px", - color: "#303133", - prefixIcon: "", - prefixIconStyle: "", - suffixIcon: "", - suffixIconStyle: "", - border: "surround", - readonly: !1, - shape: "square", - formatter: null - }, - keyboard: { - mode: "number", - dotDisabled: !1, - tooltip: !0, - showTips: !0, - tips: "", - showCancel: !0, - showConfirm: !0, - random: !1, - safeAreaInsetBottom: !0, - closeOnClickOverlay: !0, - show: !1, - overlay: !0, - zIndex: 10075, - cancelText: "取消", - confirmText: "确定", - autoChange: !1 - }, - line: {color: "#d6d7d9", length: "100%", direction: "row", hairline: !0, margin: 0, dashed: !1}, - lineProgress: {activeColor: "#19be6b", inactiveColor: "#ececec", percentage: 0, showText: !0, height: 12}, ...gT, - list: { - showScrollbar: !1, - lowerThreshold: 50, - upperThreshold: 0, - scrollTop: 0, - offsetAccuracy: 10, - enableFlex: !1, - pagingEnabled: !1, - scrollable: !0, - scrollIntoView: "", - scrollWithAnimation: !1, - enableBackToTop: !1, - height: 0, - width: 0, - preLoadScreen: 1 - }, - listItem: {anchor: ""}, ...{ - loadingIcon: { - show: !0, - color: vT["u-tips-color"], - textColor: vT["u-tips-color"], - vertical: !1, - mode: "spinner", - size: 24, - textSize: 15, - text: "", - timingFunction: "ease-in-out", - duration: 1200, - inactiveColor: "" - } - }, - loadingPage: { - loadingText: "正在加载", - image: "", - loadingMode: "circle", - loading: !1, - bgColor: "#ffffff", - color: "#C8C8C8", - fontSize: 19, - iconSize: 28, - loadingColor: "#C8C8C8" - }, - loadmore: { - status: "loadmore", - bgColor: "transparent", - icon: !0, - fontSize: 14, - iconSize: 17, - color: "#606266", - loadingIcon: "spinner", - loadmoreText: "加载更多", - loadingText: "正在加载...", - nomoreText: "没有更多了", - isDot: !1, - iconColor: "#b7b7b7", - marginTop: 10, - marginBottom: 10, - height: "auto", - line: !1, - lineColor: "#E6E8EB", - dashed: !1 - }, - modal: { - show: !1, - title: "", - content: "", - confirmText: "确认", - cancelText: "取消", - showConfirmButton: !0, - showCancelButton: !1, - confirmColor: "#2979ff", - cancelColor: "#606266", - buttonReverse: !1, - zoom: !0, - asyncClose: !1, - closeOnClickOverlay: !1, - negativeTop: 0, - width: "650rpx", - confirmButtonShape: "" - }, ...{ - navbar: { - safeAreaInsetTop: !0, - placeholder: !1, - fixed: !0, - border: !1, - leftIcon: "arrow-left", - leftText: "", - rightText: "", - rightIcon: "", - title: "", - bgColor: "#ffffff", - titleWidth: "400rpx", - height: "44px", - leftIconSize: 20, - leftIconColor: bT.mainColor, - autoBack: !1, - titleStyle: "" - } - }, - noNetwork: { - tips: "哎呀,网络信号丢失", - zIndex: "", - image: "data:image/png;base64,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" - }, - noticeBar: { - text: () => [], - direction: "row", - step: !1, - icon: "volume", - mode: "", - color: "#f9ae3d", - bgColor: "#fdf6ec", - speed: 80, - fontSize: 14, - duration: 2e3, - disableTouch: !0, - url: "", - linkType: "navigateTo" - }, - notify: { - top: 0, - type: "primary", - color: "#ffffff", - bgColor: "", - message: "", - duration: 3e3, - fontSize: 15, - safeAreaInsetTop: !1 - }, ...{ - numberBox: { - name: "", - value: 0, - min: 1, - max: Number.MAX_SAFE_INTEGER, - step: 1, - integer: !1, - disabled: !1, - disabledInput: !1, - asyncChange: !1, - inputWidth: 35, - showMinus: !0, - showPlus: !0, - decimalLength: null, - longPress: !0, - color: "#323233", - buttonSize: 30, - bgColor: "#EBECEE", - cursorSpacing: 100, - disableMinus: !1, - disablePlus: !1, - iconStyle: "" - } - }, - numberKeyboard: {mode: "number", dotDisabled: !1, random: !1}, - overlay: {show: !1, zIndex: 10070, duration: 300, opacity: .5}, - parse: { - copyLink: !0, - errorImg: "", - lazyLoad: !1, - loadingImg: "", - pauseVideo: !0, - previewImg: !0, - setTitle: !0, - showImgMenu: !0 - }, - picker: { - show: !1, - showToolbar: !0, - title: "", - columns: () => [], - loading: !1, - itemHeight: 44, - cancelText: "取消", - confirmText: "确定", - cancelColor: "#909193", - confirmColor: "#3c9cff", - visibleItemCount: 5, - keyName: "text", - closeOnClickOverlay: !1, - defaultIndex: () => [], - immediateChange: !1 - }, - popup: { - show: !1, - overlay: !0, - mode: "bottom", - duration: 300, - closeable: !1, - overlayStyle: () => { - }, - closeOnClickOverlay: !0, - zIndex: 10075, - safeAreaInsetBottom: !0, - safeAreaInsetTop: !1, - closeIconPos: "top-right", - round: 0, - zoom: !0, - bgColor: "", - overlayOpacity: .5 - }, - radio: { - name: "", - shape: "", - disabled: "", - labelDisabled: "", - activeColor: "", - inactiveColor: "", - iconSize: "", - labelSize: "", - label: "", - labelColor: "", - size: "", - iconColor: "", - placement: "" - }, - radioGroup: { - value: "", - disabled: !1, - shape: "circle", - activeColor: "#2979ff", - inactiveColor: "#c8c9cc", - name: "", - size: 18, - placement: "row", - label: "", - labelColor: "#303133", - labelSize: 14, - labelDisabled: !1, - iconColor: "#ffffff", - iconSize: 12, - borderBottom: !1, - iconPlacement: "left" - }, - rate: { - value: 1, - count: 5, - disabled: !1, - size: 18, - inactiveColor: "#b2b2b2", - activeColor: "#FA3534", - gutter: 4, - minCount: 1, - allowHalf: !1, - activeIcon: "star-fill", - inactiveIcon: "star", - touchable: !0 - }, - readMore: { - showHeight: 400, - toggle: !1, - closeText: "展开阅读全文", - openText: "收起", - color: "#2979ff", - fontSize: 14, - textIndent: "2em", - name: "" - }, - row: {gutter: 0, justify: "start", align: "center"}, - rowNotice: {text: "", icon: "volume", mode: "", color: "#f9ae3d", bgColor: "#fdf6ec", fontSize: 14, speed: 80}, - scrollList: { - indicatorWidth: 50, - indicatorBarWidth: 20, - indicator: !0, - indicatorColor: "#f2f2f2", - indicatorActiveColor: "#3c9cff", - indicatorStyle: "" - }, - search: { - shape: "round", - bgColor: "#f2f2f2", - placeholder: "请输入关键字", - clearabled: !0, - focus: !1, - showAction: !0, - actionStyle: () => ({}), - actionText: "搜索", - inputAlign: "left", - inputStyle: () => ({}), - disabled: !1, - borderColor: "transparent", - searchIconColor: "#909399", - searchIconSize: 22, - color: "#606266", - placeholderColor: "#909399", - searchIcon: "search", - margin: "0", - animation: !1, - value: "", - maxlength: "-1", - height: 32, - label: null - }, - section: { - title: "", - subTitle: "更多", - right: !0, - fontSize: 15, - bold: !0, - color: "#303133", - subColor: "#909399", - showLine: !0, - lineColor: "", - arrow: !0 - }, - skeleton: { - loading: !0, - animate: !0, - rows: 0, - rowsWidth: "100%", - rowsHeight: 18, - title: !0, - titleWidth: "50%", - titleHeight: 18, - avatar: !1, - avatarSize: 32, - avatarShape: "circle" - }, - slider: { - value: 0, - blockSize: 18, - min: 0, - max: 100, - step: 1, - activeColor: "#2979ff", - inactiveColor: "#c0c4cc", - blockColor: "#ffffff", - showValue: !1, - disabled: !1, - blockStyle: () => { - } - }, - statusBar: {bgColor: "transparent"}, - steps: { - direction: "row", - current: 0, - activeColor: "#3c9cff", - inactiveColor: "#969799", - activeIcon: "", - inactiveIcon: "", - dot: !1 - }, - stepsItem: {title: "", desc: "", iconSize: 17, error: !1}, - sticky: {offsetTop: 0, customNavHeight: 0, disabled: !1, bgColor: "transparent", zIndex: "", index: ""}, - subsection: { - list: [], - current: 0, - activeColor: "#3c9cff", - inactiveColor: "#303133", - mode: "button", - fontSize: 12, - bold: !0, - bgColor: "#eeeeef", - keyName: "name" - }, - swipeAction: {autoClose: !0}, - swipeActionItem: {show: !1, name: "", disabled: !1, threshold: 20, autoClose: !0, options: [], duration: 300}, - swiper: { - list: () => [], - indicator: !1, - indicatorActiveColor: "#FFFFFF", - indicatorInactiveColor: "rgba(255, 255, 255, 0.35)", - indicatorStyle: "", - indicatorMode: "line", - autoplay: !0, - current: 0, - currentItemId: "", - interval: 3e3, - duration: 300, - circular: !1, - previousMargin: 0, - nextMargin: 0, - acceleration: !1, - displayMultipleItems: 1, - easingFunction: "default", - keyName: "url", - imgMode: "aspectFill", - height: 130, - bgColor: "#f3f4f6", - radius: 4, - loading: !1, - showTitle: !1 - }, - swiperIndicator: { - length: 0, - current: 0, - indicatorActiveColor: "", - indicatorInactiveColor: "", - indicatorMode: "line" - }, - switch: { - loading: !1, - disabled: !1, - size: 25, - activeColor: "#2979ff", - inactiveColor: "#ffffff", - value: !1, - activeValue: !0, - inactiveValue: !1, - asyncChange: !1, - space: 0 - }, - tabbar: { - value: null, - safeAreaInsetBottom: !0, - border: !0, - zIndex: 1, - activeColor: "#1989fa", - inactiveColor: "#7d7e80", - fixed: !0, - placeholder: !0 - }, - tabbarItem: {name: null, icon: "", badge: null, dot: !1, text: "", badgeStyle: "top: 6px;right:2px;"}, - tabs: { - duration: 300, - list: () => [], - lineColor: "#3c9cff", - activeStyle: () => ({color: "#303133"}), - inactiveStyle: () => ({color: "#606266"}), - lineWidth: 20, - lineHeight: 3, - lineBgSize: "cover", - itemStyle: () => ({height: "44px"}), - scrollable: !0, - current: 0, - keyName: "name" - }, - tag: { - type: "primary", - disabled: !1, - size: "medium", - shape: "square", - text: "", - bgColor: "", - color: "", - borderColor: "", - closeColor: "#C6C7CB", - name: "", - plainFill: !1, - plain: !1, - closable: !1, - show: !0, - icon: "" - }, - text: { - type: "", - show: !0, - text: "", - prefixIcon: "", - suffixIcon: "", - mode: "", - href: "", - format: "", - call: !1, - openType: "", - bold: !1, - block: !1, - lines: "", - color: "#303133", - size: 15, - iconStyle: () => ({fontSize: "15px"}), - decoration: "none", - margin: 0, - lineHeight: "", - align: "left", - wordWrap: "normal" - }, - textarea: { - value: "", - placeholder: "", - placeholderClass: "textarea-placeholder", - placeholderStyle: "color: #c0c4cc", - height: 70, - confirmType: "done", - disabled: !1, - count: !1, - focus: !1, - autoHeight: !1, - fixed: !1, - cursorSpacing: 0, - cursor: "", - showConfirmBar: !0, - selectionStart: -1, - selectionEnd: -1, - adjustPosition: !0, - disableDefaultPadding: !1, - holdKeyboard: !1, - maxlength: 140, - border: "surround", - formatter: null - }, - toast: { - zIndex: 10090, - loading: !1, - text: "", - icon: "", - type: "", - loadingMode: "", - show: "", - overlay: !1, - position: "center", - params: () => { - }, - duration: 2e3, - isTab: !1, - url: "", - callback: null, - back: !1 - }, - toolbar: { - show: !0, - cancelText: "取消", - confirmText: "确认", - cancelColor: "#909193", - confirmColor: "#3c9cff", - title: "" - }, - tooltip: { - text: "", - copyText: "", - size: 14, - color: "#606266", - bgColor: "transparent", - direction: "top", - zIndex: 10071, - showCopy: !0, - buttons: () => [], - overlay: !0, - showToast: !0 - }, - transition: {show: !1, mode: "fade", duration: "300", timingFunction: "ease-out"}, ...{ - upload: { - accept: "image", - capture: () => ["album", "camera"], - compressed: !0, - camera: "back", - maxDuration: 60, - uploadIcon: "camera-fill", - uploadIconColor: "#D3D4D6", - useBeforeRead: !1, - previewFullImage: !0, - maxCount: 52, - disabled: !1, - imageMode: "aspectFill", - name: "", - sizeType: () => ["original", "compressed"], - multiple: !1, - deletable: !0, - maxSize: Number.MAX_VALUE, - fileList: () => [], - uploadText: "", - width: 80, - height: 80, - previewImage: !0 - } - } -}; -let _T = "none"; -_T = "vue3", _T = "h5"; -const wT = { - route: qx, - date: cT.timeFormat, - colorGradient: $x.colorGradient, - hexToRgb: $x.hexToRgb, - rgbToHex: $x.rgbToHex, - colorToRgba: $x.colorToRgba, - test: Jx, - type: ["primary", "success", "error", "warning", "info"], - http: new class { - constructor(e = {}) { - var t; - t = e, "[object Object]" !== Object.prototype.toString.call(t) && (e = {}, console.warn("设置全局参数必须接收一个Object")), this.config = Hx({...zx, ...e}), this.interceptors = { - request: new Nx, - response: new Nx - } - } - - setConfig(e) { - this.config = e(this.config) - } - - middleware(e) { - e = ((e, t = {}) => { - const n = t.method || e.method || "GET"; - let o = { - baseURL: e.baseURL || "", - method: n, - url: t.url || "", - params: t.params || {}, - custom: {...e.custom || {}, ...t.custom || {}}, - header: Ox(e.header || {}, t.header || {}) - }; - if (o = {...o, ...Dx(["getTask", "validateStatus"], e, t)}, "DOWNLOAD" === n) Ix(t.timeout) ? Ix(e.timeout) || (o.timeout = e.timeout) : o.timeout = t.timeout; else if ("UPLOAD" === n) delete o.header["content-type"], delete o.header["Content-Type"], ["files", "file", "filePath", "name", "timeout", "formData"].forEach((e => { - Ix(t[e]) || (o[e] = t[e]) - })), Ix(o.timeout) && !Ix(e.timeout) && (o.timeout = e.timeout); else { - const n = ["data", "timeout", "dataType", "responseType", "withCredentials"]; - o = {...o, ...Dx(n, e, t)} - } - return o - })(this.config, e); - const t = [Rx, void 0]; - let n = Promise.resolve(e); - for (this.interceptors.request.forEach((e => { - t.unshift(e.fulfilled, e.rejected) - })), this.interceptors.response.forEach((e => { - t.push(e.fulfilled, e.rejected) - })); t.length;) n = n.then(t.shift(), t.shift()); - return n - } - - request(e = {}) { - return this.middleware(e) - } - - get(e, t = {}) { - return this.middleware({url: e, method: "GET", ...t}) - } - - post(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "POST", ...n}) - } - - put(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "PUT", ...n}) - } - - delete(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "DELETE", ...n}) - } - - connect(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "CONNECT", ...n}) - } - - head(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "HEAD", ...n}) - } - - options(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "OPTIONS", ...n}) - } - - trace(e, t, n = {}) { - return this.middleware({url: e, data: t, method: "TRACE", ...n}) - } - - upload(e, t = {}) { - return t.url = e, t.method = "UPLOAD", this.middleware(t) - } - - download(e, t = {}) { - return t.url = e, t.method = "DOWNLOAD", this.middleware(t) - } - }, - config: uT, - zIndex: { - toast: 10090, - noNetwork: 10080, - popup: 10075, - mask: 10070, - navbar: 980, - topTips: 975, - sticky: 970, - indexListSticky: 965 - }, - debounce: function (e, t = 500, n = !1) { - if (null !== Kx && clearTimeout(Kx), n) { - const n = !Kx; - Kx = setTimeout((() => { - Kx = null - }), t), n && "function" == typeof e && e() - } else Kx = setTimeout((() => { - "function" == typeof e && e() - }), t) - }, - throttle: function (e, t = 500, n = !0) { - n ? Gx || (Gx = !0, "function" == typeof e && e(), setTimeout((() => { - Gx = !1 - }), t)) : Gx || (Gx = !0, setTimeout((() => { - Gx = !1, "function" == typeof e && e() - }), t)) - }, - mixin: Ax, - mpMixin: Cx, - props: yT, ...cT, - color: bT, - platform: "h5" -}; -uni.$u = wT; -const xT = { - install: e => { - e.config.globalProperties.$u = wT, e.config.globalProperties.$nextTick = e => { - e() - }, e.mixin(Ax) - } -}, TT = e => { - const t = dx(0); - return (t ? `site${t}.` : "") + e -}; -(function () { - const e = ka(kx); - return e.use(uw()), e.use(ew), e.use(xT), function () { - const e = Hm, t = qm, n = $m, o = Wm, r = Um, i = Qm; - uni.setStorage = e => { - e.key = TT(e.key), t(e) - }, uni.setStorageSync = (t, n) => { - e(TT(t), n) - }, uni.getStorage = e => { - e.key = TT(e.key), n(e) - }, uni.getStorageSync = e => o(TT(e)), uni.removeStorage = e => { - e.key = TT(e.key), r(e) - }, uni.removeStorageSync = e => i(TT(e)) - }(), {app: e, Pinia: Tw} -})().app.use(om).mount("#app"); -export { - Uw as $, - Ax as A, - Xm as B, - Jo as C, - ei as D, - m as E, - u as F, - wa as G, - dh as H, - hf as I, - Z_ as J, - Io as K, - tn as L, - Wr as M, - Yo as N, - Mr as O, - Yb as P, - Xb as Q, - Zw as R, - rh as S, - hx as T, - Kw as U, - Iw as V, - Jw as W, - xx as X, - wx as Y, - $w as Z, - Qw as _, - qt as a, - Nw as a$, - Xw as a0, - Xp as a1, - mx as a2, - gx as a3, - px as a4, - Vg as a5, - Nd as a6, - kd as a7, - mg as a8, - Ag as a9, - Ow as aA, - Aw as aB, - Cw as aC, - Ww as aD, - Dw as aE, - zw as aF, - lh as aG, - ah as aH, - ix as aI, - fx as aJ, - vd as aK, - zm as aL, - kn as aM, - Ew as aN, - Km as aO, - vg as aP, - eg as aQ, - Gf as aR, - Vf as aS, - Bw as aT, - bx as aU, - ux as aV, - Am as aW, - fu as aX, - ox as aY, - ex as aZ, - kw as a_, - Lg as aa, - Wo as ab, - Tm as ac, - nh as ad, - Dm as ae, - Qd as af, - Xg as ag, - nx as ah, - tx as ai, - _x as aj, - Kb as ak, - Gb as al, - sx as am, - Gn as an, - Eg as ao, - Mw as ap, - cx as aq, - Rw as ar, - jw as as, - Fw as at, - Gr as au, - wd as av, - Td as aw, - Pw as ax, - vx as ay, - Lw as az, - Jb as b, - Yg as b0, - xd as b1, - qw as b2, - Hw as b3, - Vw as b4, - nw as b5, - K_ as b6, - Ud as b7, - km as b8, - Zb as b9, - Hh as ba, - yi as c, - po as d, - Wb as e, - Ug as f, - yx as g, - zr as h, - $r as i, - Kr as j, - qo as k, - sn as l, - ti as m, - i as n, - Ub as o, - qb as p, - Qo as q, - nn as r, - Jg as s, - ph as t, - Sw as u, - xa as v, - Hn as w, - ax as x, - yT as y, - Cx as z -}; diff --git a/niucloud/public/wap/assets/index-3865dfc0.css b/niucloud/public/wap/assets/index-3865dfc0.css new file mode 100644 index 000000000..e3ce3f363 --- /dev/null +++ b/niucloud/public/wap/assets/index-3865dfc0.css @@ -0,0 +1 @@ +.using-hidden[data-v-98d5b8e8]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-98d5b8e8]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.graphic-nav-fixed[data-v-e99afb33] .uni-scroll-view-content{display:flex;flex-wrap:wrap}.graphic-nav-singleSlide[data-v-e99afb33] .uni-scroll-view-content{display:flex}.rubik-cube[data-v-dba01295]{overflow:hidden;display:flex;flex-wrap:wrap;justify-content:space-between}.rubik-cube .item[data-v-dba01295]{text-align:center;line-height:0;overflow:hidden}.rubik-cube .item uni-image[data-v-dba01295]{width:100%;max-width:100%;height:100%}.rubik-cube .item.row1-of2[data-v-dba01295]{box-sizing:border-box;margin-top:0!important;margin-bottom:0!important}.rubik-cube .item.row1-of2[data-v-dba01295]:nth-child(1){margin-left:0!important}.rubik-cube .item.row1-of2[data-v-dba01295]:nth-child(2){margin-right:0!important}.rubik-cube .item.row1-of3[data-v-dba01295]{box-sizing:border-box;margin-top:0!important;margin-bottom:0!important}.rubik-cube .item.row1-of3[data-v-dba01295]:nth-child(1){margin-left:0!important}.rubik-cube .item.row1-of3[data-v-dba01295]:nth-child(3){margin-right:0!important}.rubik-cube .item.row1-of4[data-v-dba01295]{box-sizing:border-box;margin-top:0!important;margin-bottom:0!important}.rubik-cube .item.row1-of4[data-v-dba01295]:nth-child(1){margin-left:0!important}.rubik-cube .item.row1-of4[data-v-dba01295]:nth-child(4){margin-right:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-dba01295]{display:inline-block;box-sizing:border-box}.rubik-cube .item.row2-lt-of2-rt[data-v-dba01295]:nth-child(1){margin-left:0!important;margin-top:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-dba01295]:nth-child(2){margin-right:0!important;margin-top:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-dba01295]:nth-child(3){margin-left:0!important;margin-bottom:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-dba01295]:nth-child(4){margin-right:0!important;margin-bottom:0!important}.rubik-cube .template-left[data-v-dba01295],.rubik-cube .template-right[data-v-dba01295]{box-sizing:border-box}.rubik-cube .template-left .item.row1-lt-of2-rt[data-v-dba01295]:nth-child(1){margin-bottom:0}.rubik-cube .template-right .item.row1-lt-of2-rt[data-v-dba01295]:nth-child(2){margin-bottom:0!important}.rubik-cube.row1-lt-of2-rt .template-right[data-v-dba01295]{display:flex;flex-direction:column;justify-content:space-between}.rubik-cube .item.row1-tp-of2-bm[data-v-dba01295]:nth-child(1){width:100%;box-sizing:border-box;margin-top:0!important;margin-left:0!important;margin-right:0!important}.rubik-cube .item.row1-tp-of2-bm[data-v-dba01295]:nth-child(2){box-sizing:border-box;margin-left:0!important;margin-bottom:0!important}.rubik-cube .item.row1-tp-of2-bm[data-v-dba01295]:nth-child(3){box-sizing:border-box;margin-right:0!important;margin-bottom:0!important}.rubik-cube .template-left .item.row1-lt-of1-tp-of2-bm[data-v-dba01295]{width:100%;box-sizing:border-box}.rubik-cube .template-bottom[data-v-dba01295]{display:flex;align-items:center;justify-content:space-between}.rubik-cube .template-bottom .item[data-v-dba01295]:nth-child(2){margin-right:0!important}.using-hidden[data-v-b04aeffc]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-b04aeffc]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}uni-view[data-v-99cd5b85],uni-scroll-view[data-v-99cd5b85],uni-swiper-item[data-v-99cd5b85]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge[data-v-99cd5b85]{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot[data-v-99cd5b85]{height:8px;width:8px}.u-badge--inverted[data-v-99cd5b85]{font-size:13px}.u-badge--not-dot[data-v-99cd5b85]{padding:2px 5px}.u-badge--horn[data-v-99cd5b85]{border-bottom-left-radius:0}.u-badge--primary[data-v-99cd5b85]{background-color:var(--primary-color)}.u-badge--primary--inverted[data-v-99cd5b85]{color:var(--primary-color)}.u-badge--error[data-v-99cd5b85]{background-color:#f56c6c}.u-badge--error--inverted[data-v-99cd5b85]{color:#f56c6c}.u-badge--success[data-v-99cd5b85]{background-color:#5ac725}.u-badge--success--inverted[data-v-99cd5b85]{color:#5ac725}.u-badge--info[data-v-99cd5b85]{background-color:#909399}.u-badge--info--inverted[data-v-99cd5b85]{color:#909399}.u-badge--warning[data-v-99cd5b85]{background-color:#f9ae3d}.u-badge--warning--inverted[data-v-99cd5b85]{color:#f9ae3d}uni-view[data-v-b5faebd4],uni-scroll-view[data-v-b5faebd4],uni-swiper-item[data-v-b5faebd4]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabbar-item[data-v-b5faebd4]{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;width:100%;height:100%}.u-tabbar-item__icon[data-v-b5faebd4]{display:flex;flex-direction:row;position:relative;width:4.6875rem;justify-content:center}.u-tabbar-item__text[data-v-b5faebd4]{margin-top:2px;font-size:12px;color:#606266}uni-view[data-v-b564ac71],uni-scroll-view[data-v-b564ac71],uni-swiper-item[data-v-b564ac71]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabbar[data-v-b564ac71]{display:flex;flex-direction:column;flex:1;justify-content:center}.u-tabbar__content[data-v-b564ac71]{display:flex;flex-direction:column;background-color:#fff}.u-tabbar__content__item-wrapper[data-v-b564ac71]{height:50px;display:flex;flex-direction:row;justify-content:space-around}.u-tabbar--fixed[data-v-b564ac71]{position:fixed;bottom:0;left:0;right:0}.tab-bar-placeholder[data-v-a6cbc50b]{padding-bottom:calc(constant(safe-area-inset-bottom) + 3.5rem);padding-bottom:calc(env(safe-area-inset-bottom) + 3.5rem)}.draggable-element.decorate[data-v-53e18a04]:hover:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:.125rem solid var(--primary-color);z-index:10;pointer-events:none;cursor:move;border-style:dotted}.draggable-element.decorate.selected[data-v-53e18a04]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:.125rem solid var(--primary-color);z-index:10;pointer-events:none;cursor:move} diff --git a/niucloud/public/wap/assets/index-3db1955c.css b/niucloud/public/wap/assets/index-3db1955c.css new file mode 100644 index 000000000..ab3913905 --- /dev/null +++ b/niucloud/public/wap/assets/index-3db1955c.css @@ -0,0 +1 @@ +.navigate-back[data-v-04f91ffc]{position:absolute;top:1.0625rem;left:1.0625rem;z-index:999;font-size:16px} diff --git a/niucloud/public/wap/assets/index-59b72094.js b/niucloud/public/wap/assets/index-59b72094.js new file mode 100644 index 000000000..8d009e978 --- /dev/null +++ b/niucloud/public/wap/assets/index-59b72094.js @@ -0,0 +1,22 @@ +var e=Object.defineProperty,t=(t,n,o)=>(((t,n,o)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o})(t,"symbol"!=typeof n?n+"":n,o),o);!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const n={},o=function(e,t,o){if(!t||0===t.length)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map((e=>{if((e=function(e){return"/wap/"+e}(e))in n)return;n[e]=!0;const t=e.endsWith(".css"),i=t?'[rel="stylesheet"]':"";if(!!o)for(let n=r.length-1;n>=0;n--){const o=r[n];if(o.href===e&&(!t||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${e}"]${i}`))return;const a=document.createElement("link");return a.rel=t?"stylesheet":"modulepreload",t||(a.as="script",a.crossOrigin=""),a.href=e,document.head.appendChild(a),t?new Promise(((t,n)=>{a.addEventListener("load",t),a.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e()))},r=Object.freeze(Object.defineProperty({__proto__:null,default:{"pages.index.index":"Index","pages.member.index":"My","pages.auth.login":"Login","pages.auth.register":"Register","pages.auth.resetpwd":"Retrieve password","pages.setting.index":"Settings","pages.auth.bind":"Bind Mobile"}},Symbol.toStringTag,{value:"Module"})),i=Object.freeze(Object.defineProperty({__proto__:null,default:{"pages.index.index":"","pages.index.develop":"开发环境配置","pages.index.diy":"","pages.auth.agreement":"协议","pages.auth.bind":"绑定手机号","pages.auth.login":"登录","pages.auth.register":"注册","pages.auth.resetpwd":"找回密码","pages.member.account":"会员账户","pages.member.account_edit":"编辑会员账户","pages.member.apply_cash_out":"申请提现","pages.member.balance":"我的余额","pages.member.cash_out":"提现记录","pages.member.cash_out_detail":"提现详情","pages.member.commission":"我的佣金","pages.member.detailed_account":"流水明细","pages.member.index":"","pages.member.personal":"个人资料","pages.pay.browser":"支付","pages.pay.result":"支付结果","pages.setting.index":"设置","pages.webview.index":""}},Symbol.toStringTag,{value:"Module"}));function a(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}function s(e){if(I(e)){const t={};for(let n=0;n{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function p(e){let t="";if(N(e))t=e;else if(I(e))for(let n=0;nm(e,t)))}const v=e=>N(e)?e:null==e?"":I(e)||R(e)&&(e.toString===D||!M(e.toString))?JSON.stringify(e,b,2):String(e),b=(e,t)=>t&&t.__v_isRef?b(e,t.value):P(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:O(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||I(t)||V(t)?t:String(t),y={},_=[],w=()=>{},x=()=>!1,E=/^on[^a-z]/,T=e=>E.test(e),S=e=>e.startsWith("onUpdate:"),A=Object.assign,k=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},C=Object.prototype.hasOwnProperty,L=(e,t)=>C.call(e,t),I=Array.isArray,P=e=>"[object Map]"===H(e),O=e=>"[object Set]"===H(e),B=e=>"[object Date]"===H(e),M=e=>"function"==typeof e,N=e=>"string"==typeof e,F=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,j=e=>R(e)&&M(e.then)&&M(e.catch),D=Object.prototype.toString,H=e=>D.call(e),W=e=>H(e).slice(8,-1),V=e=>"[object Object]"===H(e),z=e=>N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,q=a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Q=/-(\w)/g,$=U((e=>e.replace(Q,((e,t)=>t?t.toUpperCase():"")))),X=/\B([A-Z])/g,Y=U((e=>e.replace(X,"-$1").toLowerCase())),G=U((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=U((e=>e?`on${G(e)}`:"")),K=(e,t)=>!Object.is(e,t),Z=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},te=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ne=e=>{const t=N(e)?Number(e):NaN;return isNaN(t)?e:t};let oe;const re=()=>oe||(oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),ie=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e));const ae="\n",se=44,le=50,ce="UNI_LOCALE",ue=["%","%"],de=/^([a-z-]+:)?\/\//i,pe=/^data:.*,.*/,fe="WEB_INVOKE_APPSERVICE",he="onShow",me="onHide",ge="onLaunch",ve="onError",be="onThemeChange",ye="onPageNotFound",_e="onUnhandledRejection",we="onLoad",xe="onUnload",Ee="onInit",Te="onSaveExitState",Se="onResize",Ae="onBackPress",ke="onPageScroll",Ce="onTabItemTap",Le="onReachBottom",Ie="onPullDownRefresh",Pe="onShareTimeline",Oe="onAddToFavorites",Be="onShareAppMessage",Me="onNavigationBarButtonTap",Ne="onNavigationBarChange",Fe="onNavigationBarSearchInputClicked",Re="onNavigationBarSearchInputChanged",je="onNavigationBarSearchInputConfirmed",De="onNavigationBarSearchInputFocusChanged",He="onAppEnterForeground",We="onAppEnterBackground",Ve="onWebInvokeAppService";function ze(e){return e&&(e.appContext?e.proxy:e)}function qe(e){if(!e)return;let t=e.type.name;for(;t&&(n=Y(t),-1!==ie.indexOf("uni-"+n.replace("v-uni-","")));)t=(e=e.parent).type.name;var n;return e.proxy}function Ue(e){return 1===e.nodeType}function Qe(e){return 0===e.indexOf("/")}function $e(e){return Qe(e)?e:"/"+e}function Xe(e){return Qe(e)?e.slice(1):e}const Ye=(e,t)=>{let n;for(let o=0;o(e&&(n=e.apply(t,o),e=null),n)}function Ke(e){return $(e.substring(5))}const Ze=Je((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[Ke(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Ke(e)],n.call(this,e)}}));function et(e){return A({},e.dataset,e.__uniDataset)}const tt=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function nt(e){return{passive:e}}function ot(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:et(e),offsetTop:n,offsetLeft:o}}function rt(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function it(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=rt(e[n])}catch(o){t[n]=e[n]}})),t}const at=/\+/g;function st(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments)),t)};return i.cancel=function(){n(r)},i}class ct{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o{if(M(e._component.onError))return t(e)})),mt=function(){};mt.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o{let a=e[i];r[i]=(()=>{if(V(a))return bt(a,t,n);if(I(a))return a.map((e=>V(e)?bt(e,t,n):e));if(N(a)&&a.startsWith("@")){const t=a.replace("@","");let n=o[t]||a;switch(i){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in vt?vt[e]:e}return n}var e;return a})()})),r):e}let yt;class _t{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yt,!e&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=yt;try{return yt=this,e()}finally{yt=t}}}on(){yt=this}off(){yt=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},Tt=e=>(e.w&Ct)>0,St=e=>(e.n&Ct)>0,At=new WeakMap;let kt=0,Ct=1;const Lt=30;let It;const Pt=Symbol(""),Ot=Symbol("");class Bt{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=yt){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=It,t=Nt;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=It,It=this,Nt=!0,Ct=1<<++kt,kt<=Lt?(({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{("length"===n||n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":I(e)?z(n)&&s.push(a.get("length")):(s.push(a.get(Pt)),P(e)&&s.push(a.get(Ot)));break;case"delete":I(e)||(s.push(a.get(Pt)),P(e)&&s.push(a.get(Ot)));break;case"set":P(e)&&s.push(a.get(Pt))}if(1===s.length)s[0]&&Vt(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);Vt(Et(e))}}function Vt(e,t){const n=I(e)?e:[...e];for(const o of n)o.computed&&zt(o);for(const o of n)o.computed||zt(o)}function zt(e,t){(e!==It||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const qt=a("__proto__,__v_isRef,__isVue"),Ut=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(F)),Qt=Kt(),$t=Kt(!1,!0),Xt=Kt(!0),Yt=Gt();function Gt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Rn(this);for(let t=0,r=this.length;t{e[t]=function(...e){Rt();const n=Rn(this)[t].apply(this,e);return jt(),n}})),e}function Jt(e){const t=Rn(this);return Dt(t,0,e),t.hasOwnProperty(e)}function Kt(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?Cn:kn:t?An:Sn).get(n))return n;const i=I(n);if(!e){if(i&&L(Yt,o))return Reflect.get(Yt,o,r);if("hasOwnProperty"===o)return Jt}const a=Reflect.get(n,o,r);return(F(o)?Ut.has(o):qt(o))?a:(e||Dt(n,0,o),t?a:zn(a)?i&&z(o)?a:a.value:R(a)?e?Pn(a):Ln(a):a)}}function Zt(e=!1){return function(t,n,o,r){let i=t[n];if(Mn(i)&&zn(i)&&!zn(o))return!1;if(!e&&(Nn(o)||Mn(o)||(i=Rn(i),o=Rn(o)),!I(t)&&zn(i)&&!zn(o)))return i.value=o,!0;const a=I(t)&&z(n)?Number(n)!0,deleteProperty:(e,t)=>!0},nn=A({},en,{get:$t,set:Zt(!0)}),on=e=>e,rn=e=>Reflect.getPrototypeOf(e);function an(e,t,n=!1,o=!1){const r=Rn(e=e.__v_raw),i=Rn(t);n||(t!==i&&Dt(r,0,t),Dt(r,0,i));const{has:a}=rn(r),s=o?on:n?Hn:Dn;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function sn(e,t=!1){const n=this.__v_raw,o=Rn(n),r=Rn(e);return t||(e!==r&&Dt(o,0,e),Dt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function ln(e,t=!1){return e=e.__v_raw,!t&&Dt(Rn(e),0,Pt),Reflect.get(e,"size",e)}function cn(e){e=Rn(e);const t=Rn(this);return rn(t).has.call(t,e)||(t.add(e),Wt(t,"add",e,e)),this}function un(e,t){t=Rn(t);const n=Rn(this),{has:o,get:r}=rn(n);let i=o.call(n,e);i||(e=Rn(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?K(t,a)&&Wt(n,"set",e,t):Wt(n,"add",e,t),this}function dn(e){const t=Rn(this),{has:n,get:o}=rn(t);let r=n.call(t,e);r||(e=Rn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Wt(t,"delete",e,void 0),i}function pn(){const e=Rn(this),t=0!==e.size,n=e.clear();return t&&Wt(e,"clear",void 0,void 0),n}function fn(e,t){return function(n,o){const r=this,i=r.__v_raw,a=Rn(i),s=t?on:e?Hn:Dn;return!e&&Dt(a,0,Pt),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function hn(e,t,n){return function(...o){const r=this.__v_raw,i=Rn(r),a=P(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?on:t?Hn:Dn;return!t&&Dt(i,0,l?Ot:Pt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function mn(e){return function(...t){return"delete"!==e&&this}}function gn(){const e={get(e){return an(this,e)},get size(){return ln(this)},has:sn,add:cn,set:un,delete:dn,clear:pn,forEach:fn(!1,!1)},t={get(e){return an(this,e,!1,!0)},get size(){return ln(this)},has:sn,add:cn,set:un,delete:dn,clear:pn,forEach:fn(!1,!0)},n={get(e){return an(this,e,!0)},get size(){return ln(this,!0)},has(e){return sn.call(this,e,!0)},add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear"),forEach:fn(!0,!1)},o={get(e){return an(this,e,!0,!0)},get size(){return ln(this,!0)},has(e){return sn.call(this,e,!0)},add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=hn(r,!1,!1),n[r]=hn(r,!0,!1),t[r]=hn(r,!1,!0),o[r]=hn(r,!0,!0)})),[e,n,t,o]}const[vn,bn,yn,_n]=gn();function wn(e,t){const n=t?e?_n:yn:e?bn:vn;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(L(n,o)&&o in t?n:t,o,r)}const xn={get:wn(!1,!1)},En={get:wn(!1,!0)},Tn={get:wn(!0,!1)},Sn=new WeakMap,An=new WeakMap,kn=new WeakMap,Cn=new WeakMap;function Ln(e){return Mn(e)?e:On(e,!1,en,xn,Sn)}function In(e){return On(e,!1,nn,En,An)}function Pn(e){return On(e,!0,tn,Tn,kn)}function On(e,t,n,o,r){if(!R(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(W(s));var s;if(0===a)return e;const l=new Proxy(e,2===a?o:n);return r.set(e,l),l}function Bn(e){return Mn(e)?Bn(e.__v_raw):!(!e||!e.__v_isReactive)}function Mn(e){return!(!e||!e.__v_isReadonly)}function Nn(e){return!(!e||!e.__v_isShallow)}function Fn(e){return Bn(e)||Mn(e)}function Rn(e){const t=e&&e.__v_raw;return t?Rn(t):e}function jn(e){return ee(e,"__v_skip",!0),e}const Dn=e=>R(e)?Ln(e):e,Hn=e=>R(e)?Pn(e):e;function Wn(e){Nt&&It&&Ht((e=Rn(e)).dep||(e.dep=Et()))}function Vn(e,t){const n=(e=Rn(e)).dep;n&&Vt(n)}function zn(e){return!(!e||!0!==e.__v_isRef)}function qn(e){return Qn(e,!1)}function Un(e){return Qn(e,!0)}function Qn(e,t){return zn(e)?e:new $n(e,t)}class $n{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Rn(e),this._value=t?e:Dn(e)}get value(){return Wn(this),this._value}set value(e){const t=this.__v_isShallow||Nn(e)||Mn(e);e=t?e:Rn(e),K(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Dn(e),Vn(this))}}function Xn(e){return zn(e)?e.value:e}const Yn={get:(e,t,n)=>Xn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return zn(r)&&!zn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Gn(e){return Bn(e)?e:new Proxy(e,Yn)}class Jn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Rn(this._object),t=this._key,null===(n=At.get(e))||void 0===n?void 0:n.get(t);var e,t,n}}function Kn(e,t,n){const o=e[t];return zn(o)?o:new Jn(e,t,n)}var Zn;class eo{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Zn]=!1,this._dirty=!0,this.effect=new Bt(e,(()=>{this._dirty||(this._dirty=!0,Vn(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Rn(this);return Wn(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function to(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){oo(i,t,n)}return r}function no(e,t,n,o){if(M(e)){const r=to(e,t,n,o);return r&&j(r)&&r.catch((e=>{oo(e,t,n)})),r}const r=[];for(let i=0;i>>1;yo(ao[o])yo(e)-yo(t))),uo=0;uonull==e.id?1/0:e.id,_o=(e,t)=>{const n=yo(e)-yo(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wo(e){io=!1,ro=!0,ao.sort(_o);try{for(so=0;soN(e)?e.trim():e))),t&&(r=n.map(te))}let s,l=o[s=J(t)]||o[s=J($(t))];!l&&i&&(l=o[s=J(Y(t))]),l&&no(l,e,6,Eo(e,l,r));const c=o[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,no(c,e,6,Eo(e,c,r))}}function Eo(e,t,n){if(1!==n.length)return n;if(M(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&L(o,"type")&&L(o,"timeStamp")&&L(o,"target")&&L(o,"currentTarget")&&L(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function To(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!M(e)){const o=e=>{const n=To(e,t,!0);n&&(s=!0,A(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(I(i)?i.forEach((e=>a[e]=null)):A(a,i),R(e)&&o.set(e,a),a):(R(e)&&o.set(e,null),null)}function So(e,t){return!(!e||!T(t))&&(t=t.slice(2).replace(/Once$/,""),L(e,t[0].toLowerCase()+t.slice(1))||L(e,Y(t))||L(e,t))}let Ao=null,ko=null;function Co(e){const t=Ao;return Ao=e,ko=e&&e.type.__scopeId||null,t}function Lo(e,t=Ao,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Pi(-1);const r=Co(t);let i;try{i=e(...n)}finally{Co(r),o._d&&Pi(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Io(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:h,inheritAttrs:m}=e;let g,v;const b=Co(e);try{if(4&n.shapeFlag){const e=r||o;g=Ui(u.call(e,e,d,i,f,p,h)),v=l}else{const e=t;0,g=Ui(e.length>1?e(i,{attrs:l,slots:s,emit:c}):e(i,null)),v=t.props?l:Po(l)}}catch(_){ki.length=0,oo(_,e,1),g=Wi(Si)}let y=g;if(v&&!1!==m){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(a&&e.some(S)&&(v=Oo(v,a)),y=Vi(y,v))}return n.dirs&&(y=Vi(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),g=y,Co(b),g}const Po=e=>{let t;for(const n in e)("class"===n||"style"===n||T(n))&&((t||(t={}))[n]=e[n]);return t},Oo=(e,t)=>{const n={};for(const o in e)S(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Bo(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;function No(e,t){if(Ki){let n=Ki.provides;const o=Ki.parent&&Ki.parent.provides;o===n&&(n=Ki.provides=Object.create(o)),n[e]=t,"app"===Ki.type.mpType&&Ki.appContext.app.provide(e,t)}else;}function Fo(e,t,n=!1){const o=Ki||Ao;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&M(t)?t.call(o.proxy):t}}function Ro(e,t){return Ho(e,null,t)}const jo={};function Do(e,t,n){return Ho(e,t,n)}function Ho(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:a}=y){const s=xt()===(null==Ki?void 0:Ki.scope)?Ki:null;let l,c,u=!1,d=!1;if(zn(e)?(l=()=>e.value,u=Nn(e)):Bn(e)?(l=()=>e,o=!0):I(e)?(d=!0,u=e.some((e=>Bn(e)||Nn(e))),l=()=>e.map((e=>zn(e)?e.value:Bn(e)?zo(e):M(e)?to(e,s,2):void 0))):l=M(e)?t?()=>to(e,s,2):()=>{if(!s||!s.isUnmounted)return c&&c(),no(e,s,3,[f])}:w,t&&o){const e=l;l=()=>zo(e())}let p,f=e=>{c=v.onStop=()=>{to(e,s,4)}};if(ra){if(f=w,t?n&&no(t,s,3,[l(),d?[]:void 0,f]):l(),"sync"!==r)return w;{const e=pa();p=e.__watcherHandles||(e.__watcherHandles=[])}}let h=d?new Array(e.length).fill(jo):jo;const m=()=>{if(v.active)if(t){const e=v.run();(o||u||(d?e.some(((e,t)=>K(e,h[t]))):K(e,h)))&&(c&&c(),no(t,s,3,[e,h===jo?void 0:d&&h[0]===jo?[]:h,f]),h=e)}else v.run()};let g;m.allowRecurse=!!t,"sync"===r?g=m:"post"===r?g=()=>yi(m,s&&s.suspense):(m.pre=!0,s&&(m.id=s.uid),g=()=>mo(m));const v=new Bt(l,g);t?n?m():h=v.run():"post"===r?yi(v.run.bind(v),s&&s.suspense):v.run();const b=()=>{v.stop(),s&&s.scope&&k(s.scope.effects,v)};return p&&p.push(b),b}function Wo(e,t,n){const o=this.proxy,r=N(e)?e.includes(".")?Vo(o,e):()=>o[e]:e.bind(o,o);let i;M(t)?i=t:(i=t.handler,n=t);const a=Ki;ea(this);const s=Ho(r,i.bind(o),n);return a?ea(a):ta(),s}function Vo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{zo(e,t)}));else if(V(e))for(const n in e)zo(e[n],t);return e}const qo=[Function,Array],Uo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qo,onEnter:qo,onAfterEnter:qo,onEnterCancelled:qo,onBeforeLeave:qo,onLeave:qo,onAfterLeave:qo,onLeaveCancelled:qo,onBeforeAppear:qo,onAppear:qo,onAfterAppear:qo,onAppearCancelled:qo},Qo={name:"BaseTransition",props:Uo,setup(e,{slots:t}){const n=Zi(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _r((()=>{e.isMounted=!0})),Er((()=>{e.isUnmounting=!0})),e}();let r;return()=>{const i=t.default&&Ko(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1)for(const e of i)if(e.type!==Si){a=e;break}const s=Rn(e),{mode:l}=s;if(o.isLeaving)return Yo(a);const c=Go(a);if(!c)return Yo(a);const u=Xo(c,s,o,n);Jo(c,u);const d=n.subTree,p=d&&Go(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==Si&&(!Fi(c,p)||f)){const e=Xo(p,s,o,n);if(Jo(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},Yo(a);"in-out"===l&&c.type!==Si&&(e.delayLeave=(e,t,n)=>{$o(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return a}}};function $o(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Xo(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:b}=t,y=String(e.key),_=$o(n,e),w=(e,t)=>{e&&no(e,o,9,t)},x=(e,t)=>{const n=t[1];w(e,t),I(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=m||s}t._leaveCb&&t._leaveCb(!0);const i=_[y];i&&Fi(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=g||l,o=v||c,i=b||u}let a=!1;const s=e._enterCb=t=>{a||(a=!0,w(t?i:o,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?x(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,o(),w(n?h:f,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,p?x(p,[t,a]):a()},clone:e=>Xo(e,t,n,o)};return E}function Yo(e){if(or(e))return(e=Vi(e)).children=null,e}function Go(e){return or(e)?e.children?e.children[0]:void 0:e}function Jo(e,t){6&e.shapeFlag&&e.component?Jo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ko(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;function tr(e){M(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Zo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Ki;if(l)return()=>nr(l,e);const t=t=>{c=null,oo(t,e,13,!o)};if(a&&e.suspense||ra)return d().then((t=>()=>nr(t,e))).catch((e=>(t(e),()=>o?Wi(o,{error:e}):null)));const s=qn(!1),u=qn(),p=qn(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&or(e.parent.vnode)&&mo(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?nr(l,e):u.value&&o?Wi(o,{error:u.value}):n&&!p.value?Wi(n):void 0}})}function nr(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=Wi(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const or=e=>e.type.__isKeepAlive;class rr{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const ir={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=Zi(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new rr(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!Fi(t,i)||"key"===e.matchBy&&t.key!==i.key?(pr(o=t),u(o,n,s,!0)):i&&pr(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){r.forEach(((n,o)=>{const i=hr(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,Z(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),yi((()=>{i.isDeactivated=!1,i.a&&Z(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Yi(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&mr(t.bda),c(e,p,null,1,s),yi((()=>{t.bda&&gr(t.bda),t.da&&Z(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Yi(n,t.parent,e),t.isDeactivated=!0}),s)},Do((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>sr(e,t))),t&&f((e=>!sr(t,e)))}),{flush:"post",deep:!0});let h=null;const m=()=>{null!=h&&r.set(h,fr(n.subTree))};return _r(m),xr(m),Er((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=fr(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&Z(l.component.bda),pr(l);const e=l.component.da;e&&yi(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Ni(o)||!(4&o.shapeFlag)&&!Mo(o.type))return i=null,o;let a=fr(o);const s=a.type,l=hr(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!sr(c,l))||u&&l&&sr(u,l))return i=a,o;const d=null==a.key?s:a.key,p=r.get(d);return a.el&&(a=Vi(a),Mo(o.type)&&(o.ssContent=a)),h=d,p&&(a.el=p.el,a.component=p.component,a.transition&&Jo(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,Mo(o.type)?o:a}}},ar=ir;function sr(e,t){return I(e)?e.some((e=>sr(e,t))):N(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function lr(e,t){ur(e,"a",t)}function cr(e,t){ur(e,"da",t)}function ur(e,t,n=Ki){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,vr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)or(e.parent.vnode)&&dr(o,t,n,e),e=e.parent}}function dr(e,t,n,o){const r=vr(t,e,o,!0);Tr((()=>{k(o[t],r)}),n)}function pr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fr(e){return Mo(e.type)?e.ssContent:e}function hr(e,t){if("name"===t){const t=e.type;return la(er(e)?t.__asyncResolved||{}:t)}return String(e.key)}function mr(e){for(let t=0;te.__called=!1))}function vr(e,t,n=Ki,o=!1){if(n){if(r=e,ut.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return dt.indexOf(e)>-1}(e))){const o=n.proxy;no(t.bind(o),n,e,we===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Rt(),ea(n);const r=no(t,n,e,o);return ta(),jt(),r});return o?i.unshift(a):i.push(a),a}var r}const br=e=>(t,n=Ki)=>(!ra||"sp"===e)&&vr(e,((...e)=>t(...e)),n),yr=br("bm"),_r=br("m"),wr=br("bu"),xr=br("u"),Er=br("bum"),Tr=br("um"),Sr=br("sp"),Ar=br("rtg"),kr=br("rtc");function Cr(e,t=Ki){vr("ec",e,t)}function Lr(e,t){const n=Ao;if(null===n)return e;const o=sa(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o!Ni(e)||e.type!==Si&&!(e.type===Ei&&!Dr(e.children))))?e:null}const Hr=e=>e?na(e)?sa(e)||e.proxy:Hr(e.parent):null,Wr=A(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Hr(e.parent),$root:e=>Hr(e.root),$emit:e=>e.emit,$options:e=>Xr(e),$forceUpdate:e=>e.f||(e.f=()=>mo(e.update)),$nextTick:e=>e.n||(e.n=ho.bind(e.proxy)),$watch:e=>Wo.bind(e)}),Vr=(e,t)=>e!==y&&!e.__isScriptSetup&&L(e,t),zr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Vr(o,t))return a[t]=1,o[t];if(r!==y&&L(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&L(c,t))return a[t]=3,i[t];if(n!==y&&L(n,t))return a[t]=4,n[t];qr&&(a[t]=0)}}const u=Wr[t];let d,p;return u?("$attrs"===t&&Dt(e,0,t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==y&&L(n,t)?(a[t]=4,n[t]):(p=l.config.globalProperties,L(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return Vr(r,t)?(r[t]=n,!0):o!==y&&L(o,t)?(o[t]=n,!0):!L(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==y&&L(e,a)||Vr(t,a)||(s=i[0])&&L(s,a)||L(o,a)||L(Wr,a)||L(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:L(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let qr=!0;function Ur(e){const t=Xr(e),n=e.proxy,o=e.ctx;qr=!1,t.beforeCreate&&Qr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:f,updated:h,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:_,render:x,renderTracked:E,renderTriggered:T,errorCaptured:S,serverPrefetch:A,expose:k,inheritAttrs:C,components:L,directives:P,filters:O}=t;if(c&&function(e,t,n=w,o=!1){I(e)&&(e=Kr(e));for(const r in e){const n=e[r];let i;i=R(n)?"default"in n?Fo(n.from||r,n.default,!0):Fo(n.from||r):Fo(n),zn(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}(c,o,null,e.appContext.config.unwrapInjectedRef),a)for(const w in a){const e=a[w];M(e)&&(o[w]=e.bind(n))}if(r){const t=r.call(n,n);R(t)&&(e.data=Ln(t))}if(qr=!0,i)for(const I in i){const e=i[I],t=M(e)?e.bind(n,n):M(e.get)?e.get.bind(n,n):w,r=!M(e)&&M(e.set)?e.set.bind(n):w,a=ca({get:t,set:r});Object.defineProperty(o,I,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const w in s)$r(s[w],o,n,w);if(l){const e=M(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{No(t,e[t])}))}function B(e,t){I(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&Qr(u,e,"c"),B(yr,d),B(_r,p),B(wr,f),B(xr,h),B(lr,m),B(cr,g),B(Cr,S),B(kr,E),B(Ar,T),B(Er,b),B(Tr,_),B(Sr,A),I(k))if(k.length){const t=e.exposed||(e.exposed={});k.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===w&&(e.render=x),null!=C&&(e.inheritAttrs=C),L&&(e.components=L),P&&(e.directives=P);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function Qr(e,t,n){no(I(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function $r(e,t,n,o){const r=o.includes(".")?Vo(n,o):()=>n[o];if(N(e)){const n=t[e];M(n)&&Do(r,n)}else if(M(e))Do(r,e.bind(n));else if(R(e))if(I(e))e.forEach((e=>$r(e,t,n,o)));else{const o=M(e.handler)?e.handler.bind(n):t[e.handler];M(o)&&Do(r,o,e)}}function Xr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:r.length||n||o?(l={},r.length&&r.forEach((e=>Yr(l,e,a,!0))),Yr(l,t,a)):l=t,R(t)&&i.set(t,l),l}function Yr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Yr(e,i,n,!0),r&&r.forEach((t=>Yr(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=Gr[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Gr={data:Jr,props:ei,emits:ei,methods:ei,computed:ei,beforeCreate:Zr,created:Zr,beforeMount:Zr,mounted:Zr,beforeUpdate:Zr,updated:Zr,beforeDestroy:Zr,beforeUnmount:Zr,destroyed:Zr,unmounted:Zr,activated:Zr,deactivated:Zr,errorCaptured:Zr,serverPrefetch:Zr,components:ei,directives:ei,watch:function(e,t){if(!e)return t;if(!t)return e;const n=A(Object.create(null),e);for(const o in t)n[o]=Zr(e[o],t[o]);return n},provide:Jr,inject:function(e,t){return ei(Kr(e),Kr(t))}};function Jr(e,t){return t?e?function(){return A(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function Kr(e){if(I(e)){const t={};for(let n=0;n{l=!0;const[n,o]=oi(e,t,!0);A(a,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!l)return R(e)&&o.set(e,_),_;if(I(i))for(let u=0;u-1,n[1]=o<0||t-1||L(n,"default"))&&s.push(e)}}}const c=[a,s];return R(e)&&o.set(e,c),c}function ri(e){return"$"!==e[0]}function ii(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function ai(e,t){return ii(e)===ii(t)}function si(e,t){return I(t)?t.findIndex((t=>ai(t,e))):M(t)&&ai(t,e)?0:-1}const li=e=>"_"===e[0]||"$stable"===e,ci=e=>I(e)?e.map(Ui):[Ui(e)],ui=(e,t,n)=>{if(t._n)return t;const o=Lo(((...e)=>ci(t(...e))),n);return o._c=!1,o},di=(e,t,n)=>{const o=e._ctx;for(const r in e){if(li(r))continue;const n=e[r];if(M(n))t[r]=ui(0,n,o);else if(null!=n){const e=ci(n);t[r]=()=>e}}},pi=(e,t)=>{const n=ci(t);e.slots.default=()=>n},fi=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Rn(t),ee(t,"_",n)):di(t,e.slots={})}else e.slots={},t&&pi(e,t);ee(e.slots,Ri,1)},hi=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=y;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(A(r,t),n||1!==e||delete r._):(i=!t.$stable,di(t,r)),a=t}else t&&(pi(e,t),a={default:1});if(i)for(const s in r)li(s)||s in a||delete r[s]};function mi(){return{app:null,config:{isNativeTag:x,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gi=0;function vi(e,t){return function(n,o=null){M(n)||(n=Object.assign({},n)),null==o||R(o)||(o=null);const r=mi(),i=new Set;let a=!1;const s=r.app={_uid:gi++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:fa,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&M(e.install)?(i.add(e),e.install(s,...t)):M(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,l,c){if(!a){const u=Wi(n,o);return u.appContext=r,l&&t?t(u,i):e(u,i,c),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,sa(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s)};return s}}function bi(e,t,n,o,r=!1){if(I(e))return void e.forEach(((e,i)=>bi(e,t&&(I(t)?t[i]:t),n,o,r)));if(er(o)&&!r)return;const i=4&o.shapeFlag?sa(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===y?s.refs={}:s.refs,d=s.setupState;if(null!=c&&c!==l&&(N(c)?(u[c]=null,L(d,c)&&(d[c]=null)):zn(c)&&(c.value=null)),M(l))to(l,s,12,[a,u]);else{const t=N(l),o=zn(l);if(t||o){const s=()=>{if(e.f){const n=t?L(d,l)?d[l]:u[l]:l.value;r?I(n)&&k(n,i):I(n)?n.includes(i)||n.push(i):t?(u[l]=[i],L(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else t?(u[l]=a,L(d,l)&&(d[l]=a)):o&&(l.value=a,e.k&&(u[e.k]=a))};a?(s.id=-1,yi(s,n)):s()}}}const yi=function(e,t){var n;t&&t.pendingBranch?I(e)?t.effects.push(...e):t.effects.push(e):(I(n=e)?lo.push(...n):co&&co.includes(n,n.allowRecurse?uo+1:uo)||lo.push(n),go())};function _i(e){return function(e,t){re().__VUE__=!0;const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=w,insertStaticContent:h}=e,m=(e,t,n,o=null,r=null,i=null,a=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Fi(e,t)&&(o=J(e),z(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Ti:g(e,t,n,o);break;case Si:v(e,t,n,o);break;case Ai:null==e&&b(t,n,o,a);break;case Ei:O(e,t,n,o,r,i,a,s,l);break;default:1&d?T(e,t,n,o,r,i,a,s,l):6&d?B(e,t,n,o,r,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,s,l,te)}null!=u&&r&&bi(u,e&&e.ref,i,t||e,!t)},g=(e,t,o,r)=>{if(null==e)n(t.el=s(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},v=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},b=(e,t,n,o)=>{[e.el,e.anchor]=h(e.children,t,n,o,e.el,e.anchor)},x=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=p(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},T=(e,t,n,o,r,i,a,s,l)=>{a=a||"svg"===t.type,null==e?S(t,n,o,r,i,a,s,l):C(e,t,r,i,a,s,l)},S=(e,t,o,i,s,l,c,d)=>{let p,f;const{type:h,props:m,shapeFlag:g,transition:v,dirs:b}=e;if(p=e.el=a(e.type,l,m&&m.is,m),8&g?u(p,e.children):16&g&&k(e.children,p,null,i,s,l&&"foreignObject"!==h,c,d),b&&Ir(e,null,i,"created"),A(p,e,e.scopeId,c,i),m){for(const t in m)"value"===t||q(t)||r(p,t,null,m[t],l,e.children,i,s,G);"value"in m&&r(p,"value",null,m.value),(f=m.onVnodeBeforeMount)&&Yi(f,i,e)}Object.defineProperty(p,"__vueParentComponent",{value:i,enumerable:!1}),b&&Ir(e,null,i,"beforeMount");const y=(!s||s&&!s.pendingBranch)&&v&&!v.persisted;y&&v.beforeEnter(p),n(p,t,o),((f=m&&m.onVnodeMounted)||y||b)&&yi((()=>{f&&Yi(f,i,e),y&&v.enter(p),b&&Ir(e,null,i,"mounted")}),s)},A=(e,t,n,o,r)=>{if(n&&f(e,n),o)for(let i=0;i{for(let c=l;c{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||y,m=t.props||y;let g;n&&wi(n,!1),(g=m.onVnodeBeforeUpdate)&&Yi(g,n,t,e),f&&Ir(t,e,n,"beforeUpdate"),n&&wi(n,!0);const v=a&&"foreignObject"!==t.type;if(p?I(e.dynamicChildren,p,c,n,o,v,s):l||D(e,t,c,null,n,o,v,s,!1),d>0){if(16&d)P(c,t,h,m,n,o,a);else if(2&d&&h.class!==m.class&&r(c,"class",null,m.class,a),4&d&&r(c,"style",h.style,m.style,a),8&d){const s=t.dynamicProps;for(let t=0;t{g&&Yi(g,n,t,e),f&&Ir(t,e,n,"updated")}),o)},I=(e,t,n,o,r,i,a)=>{for(let s=0;s{if(n!==o){if(n!==y)for(const i in n)q(i)||i in o||r(e,i,n[i],null,l,t.children,a,s,G);for(const c in o){if(q(c))continue;const u=o[c],d=n[c];(u!==d&&"value"!==c||i&&i(e,c))&&r(e,c,d,u,l,t.children,a,s,G)}"value"in o&&r(e,"value",n.value,o.value)}},O=(e,t,o,r,i,a,l,c,u)=>{const d=t.el=e?e.el:s(""),p=t.anchor=e?e.anchor:s("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(p,o,r),k(t.children,o,p,i,a,l,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,o,i,a,l,c),(null!=t.key||i&&t===i.subTree)&&xi(e,t,!0)):D(e,t,o,p,i,a,l,c,u)},B=(e,t,n,o,r,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,l):M(t,n,o,r,i,a,l):N(e,t,l)},M=(e,t,n,o,r,i,a)=>{const s=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Gi,i={uid:Ji++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new _t(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oi(o,r),emitsOptions:To(o,r),emit:null,emitted:null,propsDefaults:y,inheritAttrs:o.inheritAttrs,ctx:y,data:y,props:y,attrs:y,slots:y,refs:y,setupState:y,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};i.ctx={_:i},i.root=t?t.root:i,i.emit=xo.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i);return i}(e,o,r);if(or(e)&&(s.ctx.renderer=te),function(e,t=!1){ra=t;const{props:n,children:o}=e.vnode,r=na(e);(function(e,t,n,o=!1){const r={},i={};ee(i,Ri,1),e.propsDefaults=Object.create(null),ti(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:In(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),fi(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=jn(new Proxy(e.ctx,zr));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(Dt(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;ea(e),Rt();const r=to(o,e,0,[e.props,n]);if(jt(),ta(),j(r)){if(r.then(ta,ta),t)return r.then((n=>{ia(e,n,t)})).catch((t=>{oo(t,e,0)}));e.asyncDep=r}else ia(e,r,t)}else aa(e,t)}(e,t):void 0;ra=!1}(s),s.asyncDep){if(r&&r.registerDep(s,F),!e.el){const e=s.subTree=Wi(Si);v(null,e,t,n)}}else F(s,e,t,n,r,i,a)},N=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||Bo(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?Bo(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;tso&&ao.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},F=(e,t,n,o,r,i,a)=>{const s=()=>{if(e.isMounted){let t,{next:n,bu:o,u:s,parent:l,vnode:c}=e,u=n;wi(e,!1),n?(n.el=c.el,R(e,n,a)):n=c,o&&Z(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Yi(t,l,n,c),wi(e,!0);const p=Io(e),f=e.subTree;e.subTree=p,m(f,p,d(f.el),J(f),e,r,i),n.el=p.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,p.el),s&&yi(s,r),(t=n.props&&n.props.onVnodeUpdated)&&yi((()=>Yi(t,l,n,c)),r)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=er(t);if(wi(e,!1),c&&Z(c),!p&&(a=l&&l.onVnodeBeforeMount)&&Yi(a,d,t),wi(e,!0),s&&oe){const n=()=>{e.subTree=Io(e),oe(s,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=Io(e);m(null,a,n,o,e,r,i),t.el=a.el}if(u&&yi(u,r),!p&&(a=l&&l.onVnodeMounted)){const e=t;yi((()=>Yi(a,d,e)),r)}const{ba:f,a:h}=e;(256&t.shapeFlag||d&&er(d.vnode)&&256&d.vnode.shapeFlag)&&(f&&mr(f),h&&yi(h,r),f&&yi((()=>gr(f)),r)),e.isMounted=!0,t=n=o=null}},l=e.effect=new Bt(s,(()=>mo(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,wi(e,!0),c()},R=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=Rn(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;ti(e,t,r,i)&&(c=!0);for(const i in s)t&&(L(t,i)||(o=Y(i))!==i&&L(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=ni(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&L(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void W(c,p,n,o,r,i,a,s,l);if(256&f)return void H(c,p,n,o,r,i,a,s,l)}8&h?(16&d&&G(c,r,i),p!==c&&u(n,p)):16&d?16&h?W(c,p,n,o,r,i,a,s,l):G(c,r,i,!0):(8&d&&u(n,""),16&h&&k(p,n,o,r,i,a,s,l))},H=(e,t,n,o,r,i,a,s,l)=>{t=t||_;const c=(e=e||_).length,u=t.length,d=Math.min(c,u);let p;for(p=0;pu?G(e,r,i,!0,!1,d):k(t,n,o,r,i,a,s,l,d)},W=(e,t,n,o,r,i,a,s,l)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const o=e[c],u=t[c]=l?Qi(t[c]):Ui(t[c]);if(!Fi(o,u))break;m(o,u,n,null,r,i,a,s,l),c++}for(;c<=d&&c<=p;){const o=e[d],c=t[p]=l?Qi(t[p]):Ui(t[p]);if(!Fi(o,c))break;m(o,c,n,null,r,i,a,s,l),d--,p--}if(c>d){if(c<=p){const e=p+1,d=ep)for(;c<=d;)z(e[c],r,i,!0),c++;else{const f=c,h=c,g=new Map;for(c=h;c<=p;c++){const e=t[c]=l?Qi(t[c]):Ui(t[c]);null!=e.key&&g.set(e.key,c)}let v,b=0;const y=p-h+1;let w=!1,x=0;const E=new Array(y);for(c=0;c=y){z(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(v=h;v<=p;v++)if(0===E[v-h]&&Fi(o,t[v])){u=v;break}void 0===u?z(o,r,i,!0):(E[u-h]=c+1,u>=x?x=u:w=!0,m(o,t[u],n,null,r,i,a,s,l),b++)}const T=w?function(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(E):_;for(v=T.length-1,c=y-1;c>=0;c--){const e=h+c,d=t[e],p=e+1{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void V(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,te);if(s===Ei){n(a,t,o);for(let e=0;el.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>n(a,t,o),c=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,c):c()}else n(a,t,o)},z=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&bi(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!er(e);let m;if(h&&(m=a&&a.onVnodeBeforeUnmount)&&Yi(m,t,e),6&u)X(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Ir(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):c&&(i!==Ei||d>0&&64&d)?G(c,t,n,!1,!0):(i===Ei&&384&d||!r&&16&u)&&G(l,t,n),o&&U(e)}(h&&(m=a&&a.onVnodeUnmounted)||f)&&yi((()=>{m&&Yi(m,t,e),f&&Ir(e,null,t,"unmounted")}),n)},U=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Ei)return void Q(n,r);if(t===Ai)return void E(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},Q=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},X=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&Z(o),r.stop(),i&&(i.active=!1,z(a,e,t,n)),s&&yi(s,t),yi((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),K=(e,t,n)=>{null==e?t._vnode&&z(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),vo(),bo(),t._vnode=e},te={p:m,um:z,m:V,r:U,mt:M,mc:k,pc:D,pbc:I,n:J,o:e};let ne,oe;t&&([ne,oe]=t(te));return{render:K,hydrate:ne,createApp:vi(K,ne)}}(e)}function wi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xi(e,t,n=!1){const o=e.children,r=t.children;if(I(o)&&I(r))for(let i=0;i0?Ci||_:null,ki.pop(),Ci=ki[ki.length-1]||null,Ii>0&&Ci&&Ci.push(e),e}function Bi(e,t,n,o,r,i){return Oi(Hi(e,t,n,o,r,i,!0))}function Mi(e,t,n,o,r){return Oi(Wi(e,t,n,o,r,!0))}function Ni(e){return!!e&&!0===e.__v_isVNode}function Fi(e,t){return e.type===t.type&&e.key===t.key}const Ri="__vInternal",ji=({key:e})=>null!=e?e:null,Di=({ref:e,ref_key:t,ref_for:n})=>null!=e?N(e)||zn(e)||M(e)?{i:Ao,r:e,k:t,f:!!n}:e:null;function Hi(e,t=null,n=null,o=0,r=null,i=(e===Ei?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ji(t),ref:t&&Di(t),scopeId:ko,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ao};return s?($i(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=N(n)?8:16),Ii>0&&!a&&Ci&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Ci.push(l),l}const Wi=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Br||(e=Si);if(Ni(e)){const o=Vi(e,t,!0);return n&&$i(o,n),Ii>0&&!i&&Ci&&(6&o.shapeFlag?Ci[Ci.indexOf(e)]=o:Ci.push(o)),o.patchFlag|=-2,o}a=e,M(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?Fn(e)||Ri in e?A({},e):e:null}(t);let{class:e,style:n}=t;e&&!N(e)&&(t.class=p(e)),R(n)&&(Fn(n)&&!I(n)&&(n=A({},n)),t.style=s(n))}const l=N(e)?1:Mo(e)?128:(e=>e.__isTeleport)(e)?64:R(e)?4:M(e)?2:0;return Hi(e,t,n,o,r,l,i,!0)};function Vi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Xi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ji(s),ref:t&&t.ref?n&&r?I(r)?r.concat(Di(t)):[r,Di(t)]:Di(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ei?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vi(e.ssContent),ssFallback:e.ssFallback&&Vi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function zi(e=" ",t=0){return Wi(Ti,null,e,t)}function qi(e="",t=!1){return t?(Li(),Mi(Si,null,e)):Wi(Si,null,e)}function Ui(e){return null==e||"boolean"==typeof e?Wi(Si):I(e)?Wi(Ei,null,e.slice()):"object"==typeof e?Qi(e):Wi(Ti,null,String(e))}function Qi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Vi(e)}function $i(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(I(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),$i(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Ri in t?3===o&&Ao&&(1===Ao.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Ao}}else M(t)?(t={default:t,_ctx:Ao},n=32):(t=String(t),64&o?(n=16,t=[zi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xi(...e){const t={};for(let n=0;nKi||Ao,ea=e=>{Ki=e,e.scope.on()},ta=()=>{Ki&&Ki.scope.off(),Ki=null};function na(e){return 4&e.vnode.shapeFlag}let oa,ra=!1;function ia(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:R(t)&&(e.setupState=Gn(t)),aa(e,n)}function aa(e,t,n){const o=e.type;if(!e.render){if(!t&&oa&&!o.render){const t=o.template||Xr(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,s=A(A({isCustomElement:n,delimiters:i},r),a);o.render=oa(t,s)}}e.render=o.render||w}ea(e),Rt(),Ur(e),jt(),ta()}function sa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gn(jn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Wr?Wr[n](e):void 0,has:(e,t)=>t in e||t in Wr}))}function la(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}const ca=(e,t)=>function(e,t,n=!1){let o,r;const i=M(e);return i?(o=e,r=w):(o=e.get,r=e.set),new eo(o,r,i||!r,n)}(e,0,ra);function ua(e,t,n){const o=arguments.length;return 2===o?R(t)&&!I(t)?Ni(t)?Wi(e,null,[t]):Wi(e,t):Wi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ni(n)&&(n=[n]),Wi(e,t,n))}const da=Symbol(""),pa=()=>Fo(da),fa="3.2.47",ha="undefined"!=typeof document?document:null,ma=ha&&ha.createElement("template"),ga={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?ha.createElementNS("http://www.w3.org/2000/svg",e):ha.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>ha.createTextNode(e),createComment:e=>ha.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ha.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{ma.innerHTML=o?`${e}`:e;const r=ma.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const va=/\s*!important$/;function ba(e,t,n){if(I(n))n.forEach((n=>ba(e,t,n)));else if(null==n&&(n=""),n=Ca(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=_a[t];if(n)return n;let o=$(t);if("filter"!==o&&o in e)return _a[t]=o;o=G(o);for(let r=0;re.replace(tt,((e,t)=>{if(!t)return e;if(1===Aa)return`${t}${Sa}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Aa,ka);return 0===n?"0":`${n}${Sa}`})));var Sa,Aa,ka;const Ca=e=>N(e)?Ta(e):e,La="http://www.w3.org/1999/xlink";function Ia(e,t,n,o){e.addEventListener(t,n,o)}function Pa(e,t,n,o,r=null){const i=e._vei||(e._vei={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(Oa.test(e)){let n;for(t={};n=e.match(Oa);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):Y(e.slice(2));return[n,t]}(t);if(o){const a=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&I(i)){const n=Fa(e,i);for(let o=0;oBa||(Ma.then((()=>Ba=0)),Ba=Date.now());function Fa(e,t){if(I(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const Ra=/^on[a-z]/;const ja="transition",Da="animation",Ha=(e,{slots:t})=>ua(Qo,function(e){const t={};for(const A in e)A in Wa||(t[A]=e[A]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if(R(e))return[qa(e.enter),qa(e.leave)];{const t=qa(e);return[t,t]}}(r),m=h&&h[0],g=h&&h[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:_,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:E=b,onAppearCancelled:T=y}=t,S=(e,t,n)=>{Qa(e,t?u:s),Qa(e,t?c:a),n&&n()},k=(e,t)=>{e._isLeaving=!1,Qa(e,d),Qa(e,f),Qa(e,p),t&&t()},C=e=>(t,n)=>{const r=e?E:b,a=()=>S(t,e,n);Va(r,[t,a]),$a((()=>{Qa(t,e?l:i),Ua(t,e?u:s),za(r)||Ya(t,o,m,a)}))};return A(t,{onBeforeEnter(e){Va(v,[e]),Ua(e,i),Ua(e,a)},onBeforeAppear(e){Va(x,[e]),Ua(e,l),Ua(e,c)},onEnter:C(!1),onAppear:C(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);Ua(e,d),document.body.offsetHeight,Ua(e,p),$a((()=>{e._isLeaving&&(Qa(e,d),Ua(e,f),za(_)||Ya(e,o,g,n))})),Va(_,[e,n])},onEnterCancelled(e){S(e,!1),Va(y,[e])},onAppearCancelled(e){S(e,!0),Va(T,[e])},onLeaveCancelled(e){k(e),Va(w,[e])}})}(e),t);Ha.displayName="Transition";const Wa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ha.props=A({},Uo,Wa);const Va=(e,t=[])=>{I(e)?e.forEach((e=>e(...t))):e&&e(...t)},za=e=>!!e&&(I(e)?e.some((e=>e.length>1)):e.length>1);function qa(e){return ne(e)}function Ua(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Qa(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function $a(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Xa=0;function Ya(e,t,n,o){const r=e._endId=++Xa,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${ja}Delay`),i=o(`${ja}Duration`),a=Ga(r,i),s=o(`${Da}Delay`),l=o(`${Da}Duration`),c=Ga(s,l);let u=null,d=0,p=0;t===ja?a>0&&(u=ja,d=a,p=i.length):t===Da?c>0&&(u=Da,d=c,p=l.length):(d=Math.max(a,c),u=d>0?a>c?ja:Da:null,p=u?u===ja?i.length:l.length:0);const f=u===ja&&/\b(transform|all)(,|$)/.test(o(`${ja}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uJa(t)+Ja(e[n]))))}function Ja(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const Ka=e=>{const t=e.props["onUpdate:modelValue"]||!1;return I(t)?e=>Z(t,e):t};function Za(e){e.target.composing=!0}function es(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ka(r);const i=o||r.props&&"number"===r.props.type;Ia(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=te(o)),e._assign(o)})),n&&Ia(e,"change",(()=>{e.value=e.value.trim()})),t||(Ia(e,"compositionstart",Za),Ia(e,"compositionend",es),Ia(e,"change",es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e._assign=Ka(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&te(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}},ns={deep:!0,created(e,t,n){e._assign=Ka(n),Ia(e,"change",(()=>{const t=e._modelValue,n=ss(e),o=e.checked,r=e._assign;if(I(t)){const e=g(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(O(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(ls(e,o))}))},mounted:os,beforeUpdate(e,t,n){e._assign=Ka(n),os(e,t,n)}};function os(e,{value:t,oldValue:n},o){e._modelValue=t,I(t)?e.checked=g(t,o.props.value)>-1:O(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=m(t,ls(e,!0)))}const rs={created(e,{value:t},n){e.checked=m(t,n.props.value),e._assign=Ka(n),Ia(e,"change",(()=>{e._assign(ss(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ka(o),t!==n&&(e.checked=m(t,o.props.value))}},is={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=O(t);Ia(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?te(ss(e)):ss(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ka(o)},mounted(e,{value:t}){as(e,t)},beforeUpdate(e,t,n){e._assign=Ka(n)},updated(e,{value:t}){as(e,t)}};function as(e,t){const n=e.multiple;if(!n||I(t)||O(t)){for(let o=0,r=e.options.length;o-1:r.selected=t.has(i);else if(m(ss(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ss(e){return"_value"in e?e._value:e.value}function ls(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const cs={created(e,t,n){us(e,t,n,null,"created")},mounted(e,t,n){us(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){us(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){us(e,t,n,o,"updated")}};function us(e,t,n,o,r){const i=function(e,t){switch(e){case"SELECT":return is;case"TEXTAREA":return ts;default:switch(t){case"checkbox":return ns;case"radio":return rs;default:return ts}}}(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}const ds=["ctrl","shift","alt","meta"],ps={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ds.some((n=>e[`${n}Key`]&&!t.includes(n)))},fs=(e,t)=>(n,...o)=>{for(let e=0;e{ms(e,!1)})):ms(e,t))},beforeUnmount(e,{value:t}){ms(e,t)}};function ms(e,t){e.style.display=t?e._vod:"none"}const gs=A({patchProp:(e,t,n,o,r=!1,i,a,s,l)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const l=o.proxy;ho((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,a);"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,r):"style"===t?function(e,t,n){const o=e.style,r=N(n);if(n&&!r){if(t&&!N(t))for(const e in t)null==n[e]&&ba(o,e,"");for(const e in n)ba(o,e,n[e])}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}const{__wxsStyle:i}=e;if(i)for(const a in i)ba(o,a,i[a])}(e,n,o):T(t)?S(t)||Pa(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ra.test(t)&&M(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Ra.test(t)&&N(n))return!1;return t in e}(e,t,o,r))?function(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let s=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=h(n):null==n&&"string"===o?(n="",s=!0):"number"===o&&(n=0,s=!0)}try{e[t]=n}catch(l){}s&&e.removeAttribute(t)}(e,t,o,i,a,s,l):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(La,t.slice(6,t.length)):e.setAttributeNS(La,t,n);else{const o=f(t);null==n||o&&!h(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},ga);let vs;const bs=(...e)=>{const t=(vs||(vs=_i(gs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(N(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;M(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const ys=["{","}"];const _s=/^(?:\d)+/,ws=/^(?:\w)+/;const xs="zh-Hans",Es="zh-Hant",Ts="en",Ss="fr",As="es",ks=Object.prototype.hasOwnProperty,Cs=(e,t)=>ks.call(e,t),Ls=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=ys){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?xs:e.indexOf("-hant")>-1?Es:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?Es:xs);var n;let o=[Ts,Ss,As];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class Ps{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Ts,this.fallbackLocale=Ts,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Ls,this.messages=n||{},this.setLocale(e||Ts),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Is(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{Cs(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Is(t,this.messages))&&(o=this.messages[t]):n=t,Cs(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Os(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&Yp?Yp():"undefined"!=typeof global&&global.getLocale?global.getLocale():Ts),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Ts);const r=new Ps({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=kg().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function Bs(e,t){return e.indexOf(t[0])>-1} +/*! + * vue-router v4.2.4 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const Ms="undefined"!=typeof window;const Ns=Object.assign;function Fs(e,t){const n={};for(const o in t){const r=t[o];n[o]=js(r)?r.map(e):e(r)}return n}const Rs=()=>{},js=Array.isArray,Ds=/\/$/,Hs=e=>e.replace(Ds,"");function Ws(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,a,s=n.length-1;for(i=0;i1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(i-(i===o.length?1:0)).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function Vs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function zs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Us(e[n],t[n]))return!1;return!0}function Us(e,t){return js(e)?Qs(e,t):js(t)?Qs(t,e):e===t}function Qs(e,t){return js(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var $s,Xs,Ys,Gs;(Xs=$s||($s={})).pop="pop",Xs.push="push",(Gs=Ys||(Ys={})).back="back",Gs.forward="forward",Gs.unknown="";const Js=/^[^#]+#/;function Ks(e,t){return e.replace(Js,"#")+t}const Zs=()=>({left:window.pageXOffset,top:window.pageYOffset});function el(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function tl(e,t){return(history.state?history.state.position-t:-1)+e}const nl=new Map;let ol=()=>location.protocol+"//"+location.host;function rl(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Vs(n,"")}return Vs(n,e)+o+r}function il(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Zs():null}}function al(e){const t=function(e){const{history:t,location:n}=window,o={value:rl(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:ol()+e+o;try{t[a?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=Ns({},r.value,t.state,{forward:e,scroll:Zs()});i(a.current,a,!0),i(e,Ns({},il(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ns({},t.state,il(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}(e=function(e){if(!e)if(Ms){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),Hs(e)}(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=rl(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);u=c?i.position-c.position:0}else o(s);r.forEach((e=>{e(n.value,l,{delta:u,type:$s.pop,direction:u?u>0?Ys.forward:Ys.back:Ys.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ns({},e.state,{scroll:Zs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ns({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ks.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function sl(e){return"string"==typeof e||"symbol"==typeof e}const ll={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},cl=Symbol("");var ul,dl;function pl(e,t){return Ns(new Error,{type:e,[cl]:!0},t)}function fl(e,t){return e instanceof Error&&cl in e&&(null==t||!!(e.type&t))}(dl=ul||(ul={}))[dl.aborted=4]="aborted",dl[dl.cancelled=8]="cancelled",dl[dl.duplicated=16]="duplicated";const hl="[^/]+?",ml={sensitive:!1,strict:!1,start:!0,end:!0},gl=/[.+*?^${}()[\]/\\]/g;function vl(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function bl(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const _l={type:0,value:""},wl=/[a-zA-Z0-9_]/;function xl(e,t,n){const o=function(e,t){const n=Ns({},ml,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l{i(p)}:Rs}function i(e){if(sl(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Ll(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Al(e)&&o.set(e.record.name,e)}return t=Cl({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw pl(1,{location:e});a=r.record.name,s=Ns(Tl(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&Tl(e.params,r.keys.map((e=>e.name)))),i=r.stringify(s)}else if("path"in e)i=e.path,r=n.find((e=>e.re.test(i))),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw pl(1,{location:e,currentLocation:t});a=r.record.name,s=Ns({},t.params,e.params),i=r.stringify(s)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,meta:kl(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Tl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Sl(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Al(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function kl(e){return e.reduce(((e,t)=>Ns(e,t.meta)),{})}function Cl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Ll(e,t){return t.children.some((t=>t===e||Ll(e,t)))}const Il=/#/g,Pl=/&/g,Ol=/\//g,Bl=/=/g,Ml=/\?/g,Nl=/\+/g,Fl=/%5B/g,Rl=/%5D/g,jl=/%5E/g,Dl=/%60/g,Hl=/%7B/g,Wl=/%7C/g,Vl=/%7D/g,zl=/%20/g;function ql(e){return encodeURI(""+e).replace(Wl,"|").replace(Fl,"[").replace(Rl,"]")}function Ul(e){return ql(e).replace(Nl,"%2B").replace(zl,"+").replace(Il,"%23").replace(Pl,"%26").replace(Dl,"`").replace(Hl,"{").replace(Vl,"}").replace(jl,"^")}function Ql(e){return null==e?"":function(e){return ql(e).replace(Il,"%23").replace(Ml,"%3F")}(e).replace(Ol,"%2F")}function $l(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Xl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ul(e))):[o&&Ul(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Gl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=js(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Jl=Symbol(""),Kl=Symbol(""),Zl=Symbol(""),ec=Symbol(""),tc=Symbol("");function nc(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function oc(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,s)=>{const l=e=>{var l;!1===e?s(pl(4,{from:n,to:t})):e instanceof Error?s(e):"string"==typeof(l=e)||l&&"object"==typeof l?s(pl(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),a())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>s(e)))}))}function rc(e,t,n,o){const r=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(s.__vccOpts||s)[t];i&&r.push(oc(i,n,o,a,e))}else{let i=s();r.push((()=>i.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const i=(s=r).__esModule||"Module"===s[Symbol.toStringTag]?r.default:r;var s;a.components[e]=i;const l=(i.__vccOpts||i)[t];return l&&oc(l,n,o,a,e)()}))))}}var i;return r}function ic(e){const t=Fo(Zl),n=Fo(ec),o=ca((()=>t.resolve(Xn(e.to)))),r=ca((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(zs.bind(null,r));if(a>-1)return a;const s=sc(e[t-2]);return t>1&&sc(r)===s&&i[i.length-1].path!==s?i.findIndex(zs.bind(null,e[t-2])):a})),i=ca((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!js(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),a=ca((()=>r.value>-1&&r.value===n.matched.length-1&&qs(n.params,o.value.params)));return{route:o,href:ca((()=>o.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Xn(e.replace)?"replace":"push"](Xn(e.to)).catch(Rs):Promise.resolve()}}}const ac=Zo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ic,setup(e,{slots:t}){const n=Ln(ic(e)),{options:o}=Fo(Zl),r=ca((()=>({[lc(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[lc(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:ua("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function sc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lc=(e,t,n)=>null!=e?e:null!=t?t:n;function cc(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const uc=Zo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Fo(tc),r=ca((()=>e.route||o.value)),i=Fo(Kl,0),a=ca((()=>{let e=Xn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=ca((()=>r.value.matched[a.value]));No(Kl,ca((()=>a.value+1))),No(Jl,s),No(tc,r);const l=qn();return Do((()=>[l.value,s.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&zs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,c=a&&a.components[i];if(!c)return cc(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=ua(c,Ns({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return cc(n.default,{Component:p,route:o})||p}}});function dc(e){const t=El(e.routes,e),n=e.parseQuery||Xl,o=e.stringifyQuery||Yl,r=e.history,i=nc(),a=nc(),s=nc(),l=Un(ll);let c=ll;Ms&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Fs.bind(null,(e=>""+e)),d=Fs.bind(null,Ql),p=Fs.bind(null,$l);function f(e,i){if(i=Ns({},i||l.value),"string"==typeof e){const o=Ws(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return Ns(o,a,{params:p(a.params),hash:$l(o.hash),redirectedFrom:void 0,href:s})}let a;if("path"in e)a=Ns({},e,{path:Ws(n,e.path,i.path).path});else{const t=Ns({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Ns({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(p(s.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ns({},e,{hash:(h=c,ql(h).replace(Hl,"{").replace(Vl,"}").replace(jl,"^")),path:s.path}));var h;const m=r.createHref(f);return Ns({fullPath:f,hash:c,query:o===Yl?Gl(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?Ws(n,e,l.value.path):Ns({},e)}function m(e,t){if(c!==e)return pl(8,{from:t,to:e})}function g(e){return b(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Ns({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function b(e,t){const n=c=f(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return b(Ns(h(u),{state:"object"==typeof u?Ns({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&zs(t.matched[o],n.matched[r])&&qs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=pl(16,{to:d,from:r}),P(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch((e=>fl(e)?fl(e,2)?e:I(e):L(e,d,r))).then((e=>{if(e){if(fl(e,2))return b(Ns({replace:s},h(e.to),{state:"object"==typeof e.to?Ns({},i,e.to.state):i,force:a}),t||d)}else e=E(d,r,!0,s,i);return x(d,r,e),e}))}function y(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=M.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;azs(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>zs(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=rc(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(oc(o,e,t))}));const l=y.bind(null,e,t);return n.push(l),F(n).then((()=>{n=[];for(const o of i.list())n.push(oc(o,e,t));return n.push(l),F(n)})).then((()=>{n=rc(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(oc(o,e,t))}));return n.push(l),F(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(js(o.beforeEnter))for(const r of o.beforeEnter)n.push(oc(r,e,t));else n.push(oc(o.beforeEnter,e,t));return n.push(l),F(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=rc(s,"beforeRouteEnter",e,t),n.push(l),F(n)))).then((()=>{n=[];for(const o of a.list())n.push(oc(o,e,t));return n.push(l),F(n)})).catch((e=>fl(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function E(e,t,n,o,i){const a=m(e,t);if(a)return a;const s=t===ll,c=Ms?history.state:{};n&&(o||s?r.replace(e.fullPath,Ns({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,P(e,t,n,s),I()}let T;function S(){T||(T=r.listen(((e,t,n)=>{if(!N.listening)return;const o=f(e),i=v(o);if(i)return void b(Ns(i,{replace:!0}),o).catch(Rs);c=o;const a=l.value;var s,u;Ms&&(s=tl(a.fullPath,n.delta),u=Zs(),nl.set(s,u)),w(o,a).catch((e=>fl(e,12)?e:fl(e,2)?(b(e.to,o).then((e=>{fl(e,20)&&!n.delta&&n.type===$s.pop&&r.go(-1,!1)})).catch(Rs),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,a)))).then((e=>{(e=e||E(o,a,!1))&&(n.delta&&!fl(e,8)?r.go(-n.delta,!1):n.type===$s.pop&&fl(e,20)&&r.go(-1,!1)),x(o,a,e)})).catch(Rs)})))}let A,k=nc(),C=nc();function L(e,t,n){I(e);const o=C.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function I(e){return A||(A=!e,S(),k.list().forEach((([t,n])=>e?n(e):t())),k.reset()),e}function P(t,n,o,r){const{scrollBehavior:i}=e;if(!Ms||!i)return Promise.resolve();const a=!o&&function(e){const t=nl.get(e);return nl.delete(e),t}(tl(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return ho().then((()=>i(t,n,a))).then((e=>e&&el(e))).catch((e=>L(e,t,n)))}const O=e=>r.go(e);let B;const M=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return sl(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:g,replace:function(e){return g(Ns(h(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:C.add,isReady:function(){return A&&l.value!==ll?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",ac),e.component("RouterView",uc),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Xn(l)}),Ms&&!B&&l.value===ll&&(B=!0,g(r.location).catch((e=>{})));const t={};for(const o in ll)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Zl,this),e.provide(ec,In(t)),e.provide(tc,l);const n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(c=ll,T&&T(),T=null,l.value=ll,B=!1,A=!1),n()}}};function F(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return N}function pc(){return Fo(ec)}const fc=Je((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let hc;function mc(e){return Bs(e,ue)?bc().f(e,function(){const e=Yp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ue):e}function gc(e,t){if(1===t.length){if(e){const n=e=>N(e)&&Bs(e,ue),o=t[0];let r=[];if(I(e)&&(r=e.filter((e=>n(e[o])))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return gc(e&&e[n],t)}function vc(e,t){const n=gc(e,t);if(!n)return!1;const o=t[t.length-1];if(I(n))n.forEach((e=>vc(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>mc(e),set(t){e=t}})}return!0}function bc(){if(!hc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[ce]||__uniConfig.locale||navigator.language,hc=Os(e),fc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>hc.add(e,__uniConfig.locales[e]))),hc.setLocale(e)}}return hc}function yc(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const _c=Je((()=>{const e="uni.async.",t=["error"];bc().add(Ts,yc(e,t,["The connection timed out, click the screen to try again."]),!1),bc().add(As,yc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),bc().add(Ss,yc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),bc().add(xs,yc(e,t,["连接服务器超时,点击屏幕重试"]),!1),bc().add(Es,yc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),wc=Je((()=>{const e="uni.showToast.",t=["unpaired"];bc().add(Ts,yc(e,t,["Please note showToast must be paired with hideToast"]),!1),bc().add(As,yc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),bc().add(Ss,yc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),bc().add(xs,yc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),bc().add(Es,yc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),xc=Je((()=>{const e="uni.showLoading.",t=["unpaired"];bc().add(Ts,yc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),bc().add(As,yc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),bc().add(Ss,yc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),bc().add(xs,yc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),bc().add(Es,yc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Ec=Je((()=>{const e="uni.chooseFile.",t=["notUserActivation"];bc().add(Ts,yc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),bc().add(As,yc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),bc().add(Ss,yc(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),bc().add(xs,yc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),bc().add(Es,yc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Tc=Je((()=>{const e="uni.video.",t=["danmu","volume"];bc().add(Ts,yc(e,t,["Danmu","Volume"]),!1),bc().add(As,yc(e,t,["Danmu","Volumen"]),!1),bc().add(Ss,yc(e,t,["Danmu","Le Volume"]),!1),bc().add(xs,yc(e,t,["弹幕","音量"]),!1),bc().add(Es,yc(e,t,["彈幕","音量"]),!1)}));function Sc(e){if(fc())return t=e,[["titleText"],["searchInput","placeholder"],["buttons","text"]].map((e=>vc(t,e)));var t}function Ac(e){const t=new gt;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const kc="invokeViewApi",Cc="invokeServiceApi";let Lc=1;const Ic=Object.create(null);function Pc(e,t){return e+"."+t}function Oc(e,t,n){t=Pc(e,t),Ic[t]||(Ic[t]=n)}function Bc({id:e,name:t,args:n},o){t=Pc(o,t);const r=t=>{e&&Bb.publishHandler(kc+"."+e,t)},i=Ic[t];i?i(n,r):r({})}const Mc=A(Ac("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Bb,i=n?Lc++:0;n&&o(Cc+"."+i,n,!0),r(Cc,{id:i,name:e,args:t})}}),Nc=350,Fc=10,Rc=nt(!0);let jc;function Dc(){jc&&(clearTimeout(jc),jc=null)}let Hc=0,Wc=0;function Vc(e){if(Dc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Hc=t,Wc=n,jc=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),Nc)}function zc(e){if(!jc)return;if(1!==e.touches.length)return Dc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Hc)>Fc||Math.abs(n-Wc)>Fc?Dc():void 0}function qc(e,t){const n=Number(e);return isNaN(n)?t:n}function Uc(){const e=__uniConfig.globalStyle||{},t=qc(e.rpxCalcMaxDeviceWidth,960),n=qc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Qc(){Uc(),Ze(),window.addEventListener("touchstart",Vc,Rc),window.addEventListener("touchmove",zc,Rc),window.addEventListener("touchend",Dc,Rc),window.addEventListener("touchcancel",Dc,Rc)}function $c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xc,Yc,Gc=["top","left","right","bottom"],Jc={};function Kc(){return Yc="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Zc(){if(Yc="string"==typeof Yc?Yc:Kc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Gc.forEach((function(e){a(o,e)})),document.body.appendChild(o),i(),Xc=!0}else Gc.forEach((function(e){Jc[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Yc+"(safe-area-inset-"+n+")"};r(o,c),r(a,c),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),i((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,function(e){tu.length||setTimeout((function(){var e={};tu.forEach((function(t){e[t]=Jc[t]})),tu.length=0,nu.forEach((function(t){t(e)}))}),0);tu.push(e)}(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Jc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function eu(e){return Xc||Zc(),Jc[e]}var tu=[];var nu=[];const ou=$c({get support(){return 0!=("string"==typeof Yc?Yc:Kc()).length},get top(){return eu("top")},get left(){return eu("left")},get right(){return eu("right")},get bottom(){return eu("bottom")},onChange:function(e){Kc()&&(Xc||Zc(),"function"==typeof e&&nu.push(e))},offChange:function(e){var t=nu.indexOf(e);t>=0&&nu.splice(t,1)}}),ru=fs((()=>{}),["prevent"]);function iu(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function au(){const e=iu(document.documentElement.style,"--window-top");return e?e+ou.top:0}function su(){const e=document.documentElement.style,t=au(),n=iu(e,"--window-bottom"),o=iu(e,"--window-left"),r=iu(e,"--window-right"),i=iu(e,"--top-window-height");return{top:t,bottom:n?n+ou.bottom:0,left:o?o+ou.left:0,right:r?r+ou.right:0,topWindowHeight:i||0}}function lu(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function cu(e){return lu(e)}function uu(e){return Symbol(e)}function du(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function pu(e,t=!1){if(t)return function(e){if(!du(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>yp(parseFloat(t))+"px"))}(e);if(N(e)){const t=parseInt(e)||0;return du(e)?yp(t):t}return e}const fu="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",hu="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",mu="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function gu(e,t="#000",n=27){return Wi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Wi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function vu(){{const{$pageInstance:e}=Zi();return e&&e.proxy.$page.id}}function bu(e){const t=ze(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function yu(){const e=og(),t=e.length;if(t)return e[t-1]}function _u(){const e=yu();if(e)return e.$page.meta}function wu(){const e=_u();return e?e.id:-1}function xu(){const e=yu();if(e)return e.$vm}const Eu=["navigationBar","pullToRefresh"];function Tu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=A({id:t},n,e);Eu.forEach((t=>{o[t]=A({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Su(e,t,n){if(N(e))n=t,t=e,e=xu();else if("number"==typeof e){const t=og().find((t=>t.$page.id===e));e=t?t.$vm:xu()}if(!e)return;const o=e.$[t];return o&&Ye(o,n)}function Au(e){e.preventDefault()}let ku,Cu=0;function Lu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-Cu)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(Cu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(ku=setTimeout(a,300))),o=!1};return function(){clearTimeout(ku),o||requestAnimationFrame(a),o=!0}}function Iu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Iu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),$e(i.concat(n).join("/"))}function Pu(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Ou{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Ue(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&Ue(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Fu(this.$el.querySelector(e));return t?Bu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];M(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Bb.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Bu(e,t=!0){if(t&&e&&(e=qe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Ou(e)),e.$el.__wxsComponentDescriptor}function Mu(e,t){return Bu(e,t)}function Nu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Mu(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=qe(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Mu(r,!1)]}}function Fu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Ru(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function ju(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e,a={type:n,timeStamp:o,target:ot(t?r:Ru(r)),detail:{},currentTarget:ot(i)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),function(e,t){A(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(a,e),a}function Du(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Hu(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=au();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Du(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=au();i.touches=Hu(e.touches,t),i.changedTouches=Hu(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return Nu(i,t,n)||[i]},createNativeEvent:ju},Symbol.toStringTag,{value:"Module"});function Vu(e){!function(e){const t=e.globalProperties;A(t,Wu),t.$gcd=Mu}(e._context.config)}let zu=1;function qu(e){return(e||wu())+"."+kc}const Uu=A(Ac("view"),{invokeOnCallback:(e,t)=>Mb.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Mb,a=o?zu++:0;o&&r(kc+"."+a,o,!0),i(qu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=Mb,s=zu++,l=kc+"."+s;return r(l,n),a(qu(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function Qu(e){Su(yu(),Se,e),Mb.invokeOnCallback("onWindowResize",e)}function $u(e){const t=yu();Su(kg(),he,e),Su(t,he)}function Xu(){Su(kg(),me),Su(yu(),me)}const Yu=[ke,Le];function Gu(){Yu.forEach((e=>Mb.subscribe(e,function(e){return(t,n)=>{Su(parseInt(n),e,t)}}(e))))}function Ju(){!function(){const{on:e}=Mb;e(Se,Qu),e(He,$u),e(We,Xu)}(),Gu()}function Ku(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ct(this.$page.id)),e.eventChannel}}function Zu(e){e._context.config.globalProperties.getOpenerEventChannel=Ku}function ed(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function td(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${yp(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function nd(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],a=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,l={},c=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(td)),n.indexOf(i)>=0&&(a.length=1),c.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];l[i]=r.includes(i)?td(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n{i()}),0)}const od={props:["animation"],watch:{animation:{deep:!0,handler(){nd(this)}}},mounted(){nd(this)}},rd=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(od),id(e)},id=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Zo(e)),ad={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function sd(e){const t=qn(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:function(e){e.touches.length>1||a(e)},onMousedown:function(e){r||(a(e),window.addEventListener("mouseup",l))},onTouchend:function(){s()},onMouseup:function(){r&&l()},onTouchcancel:function(){r=!1,t.value=!1,clearTimeout(n)}}}}function ld(e,t){return N(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function cd(e){return e.__wwe=!0,e}function ud(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=ot(n);return{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const dd=uu("uf"),pd=uu("ul");function fd(e,t,n){const o=vu();n&&!e||V(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Bb.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Bb.on(r,t[r]):e&&Bb.on(`uni-${r}-${o}-${e}`,t[r])}))}function hd(e,t,n){const o=vu();n&&!e||V(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Bb.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Bb.off(r,t[r]):e&&Bb.off(`uni-${r}-${o}-${e}`,t[r])}))}const md=rd({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=qn(null),o=Fo(dd,!1),{hovering:r,binding:i}=sd(e);bc();const a=cd(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),s=Fo(pd,!1);return s&&(s.addHandler(a),Er((()=>{s.removeHandler(a)}))),function(e,t){fd(e.id,t),Do((()=>e.id),((e,n)=>{hd(n,t,!0),fd(e,t,!0)})),Tr((()=>{hd(e.id,t)}))}(e,{"label-click":a}),()=>{const o=e.hoverClass,s=ld(e,"disabled"),l=ld(e,"loading"),c=ld(e,"plain"),u=o&&"none"!==o;return Wi("uni-button",Xi({ref:n,onClick:a,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick"])}}});function gd(e){return e.$el}function vd(e){const{base:t}=__uniConfig.router;return 0===$e(e).indexOf(t)?$e(e):t+e}function bd(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return vd(e.slice(1));e="https:"+e}if(de.test(e)||pe.test(e)||0===e.indexOf("blob:"))return e;const o=og();return o.length?vd(Iu(o[o.length-1].$page.route,e).slice(1)):e}const yd=navigator.userAgent,_d=/android/i.test(yd),wd=/iphone|ipad|ipod/i.test(yd),xd=yd.match(/Windows NT ([\d|\d.\d]*)/i),Ed=/Macintosh|Mac/i.test(yd),Td=/Linux|X11/i.test(yd),Sd=Ed&&navigator.maxTouchPoints>0;function Ad(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function kd(e){return e&&90===Math.abs(window.orientation)}function Cd(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Ld(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Id(e,t,n,o){Mb.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Pd(e,t){const n={},{top:o,topWindowHeight:r}=su();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=et(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(I(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(I(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Od(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function Bd(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){return e?e.$el:t.$el}(t,e),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,l=3===s||8===s;if(o){const e=l?a.querySelector(n):Od(i,n)?i:i.querySelector(n);return e?Pd(e,r):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Pd(t,r))})),!l&&Od(i,n)&&e.unshift(Pd(i,r)),e}}(e,t,n,r,i))})),n(o)}const Md=["original","compressed"],Nd=["album","camera"],Fd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Rd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function jd(e,t){return!I(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Dd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Hd=1;const Wd={};function Vd(e,t,n){if("number"==typeof e){const o=Wd[e];if(o)return o.keepAlive||delete Wd[e],o.callback(t,n)}return t}const zd="success",qd="fail",Ud="complete";function Qd(e,t={},{beforeAll:n,beforeSuccess:o}={}){V(t)||(t={});const{success:r,fail:i,complete:a}=function(e){const t={};for(const n in e){const o=e[n];M(o)&&(t[n]=Dd(o),delete e[n])}return t}(t),s=M(r),l=M(i),c=M(a),u=Hd++;return function(e,t,n,o=!1){Wd[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),M(n)&&n(u),u.errMsg===e+":ok"?(M(o)&&o(u,t),s&&r(u)):l&&i(u),c&&a(u)})),u}const $d="success",Xd="fail",Yd="complete",Gd={},Jd={};function Kd(e,t){return function(n){return e(n,t)||n}}function Zd(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function ep(e,t={}){return[$d,Xd,Yd].forEach((n=>{const o=e[n];if(!I(o))return;const r=t[n];t[n]=function(e){Zd(o,e,t).then((e=>M(r)&&r(e)||e))}})),t}function tp(e,t){const n=[];I(Gd.returnValue)&&n.push(...Gd.returnValue);const o=Jd[e];return o&&I(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function np(e){const t=Object.create(null);Object.keys(Gd).forEach((e=>{"returnValue"!==e&&(t[e]=Gd[e].slice())}));const n=Jd[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function op(e,t,n,o){const r=np(e);if(r&&Object.keys(r).length){if(I(r.invoke)){return Zd(r.invoke,n).then((n=>t(ep(np(e),n),...o)))}return t(ep(r,n),...o)}return t(n,...o)}function rp(e,t){return(n={},...o)=>function(e){return!(!V(e)||![zd,qd,Ud].find((t=>M(e[t]))))}(n)?tp(e,op(e,t,n,o)):tp(e,new Promise(((r,i)=>{op(e,t,A(n,{success:r,fail:i}),o)})))}function ip(e,t,n,o){return Vd(e,A({errMsg:t+":fail"+(n?" "+n:"")},o))}function ap(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(N(e))return e}const r=function(e,t){const n=e[0];if(!t||!V(t.formatArgs)&&V(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=Qd(e,n,o),i=ap(0,[n],0,o);return i?ip(r,e,i):t(n,{resolve:t=>function(e,t,n){return Vd(e,A(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>ip(r,e,function(e){return!e||N(e)?e:e.stack?(console.error(e.message+ae+e.stack),e.message):e}(t),n)})}}function lp(e,t,n,o){return rp(e,sp(e,t,0,o))}function cp(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=ap(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function up(e,t,n,o){return rp(e,function(e,t,n,o){return sp(e,t,0,o)}(e,t,0,o))}let dp=!1,pp=0,fp=0,hp=960,mp=375,gp=750;function vp(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Ad(),t=Ld(Cd(e,kd(e)));return{platform:wd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();pp=n,fp=t,dp="ios"===e}function bp(e,t){const n=Number(e);return isNaN(n)?t:n}const yp=cp(0,((e,t)=>{if(0===pp&&(vp(),function(){const e=__uniConfig.globalStyle||{};hp=bp(e.rpxCalcMaxDeviceWidth,960),mp=bp(e.rpxCalcBaseDeviceWidth,375),gp=bp(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||pp;n=e===gp||n<=hp?n:mp;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==fp&&dp?.5:1),e<0?-o:o}));function _p(e,t){Object.keys(t).forEach((n=>{M(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):I(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n{N(e)&&V(t)?_p(Jd[e]||(Jd[e]={}),t):V(e)&&_p(Gd,e)})),xp=new gt,Ep=cp(0,((e,t)=>(xp.on(e,t),()=>xp.off(e,t)))),Tp=cp(0,((e,t)=>{e?(I(e)||(e=[e]),e.forEach((e=>xp.off(e,t)))):xp.e={}})),Sp=cp(0,((e,...t)=>{xp.emit(e,...t)})),Ap=[.5,.8,1,1.25,1.5,2];class kp{constructor(e,t){this.id=e,this.pageId=t}play(){Id(this.id,this.pageId,"play")}pause(){Id(this.id,this.pageId,"pause")}stop(){Id(this.id,this.pageId,"stop")}seek(e){Id(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Id(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Ap.indexOf(e)||(e=1),Id(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Id(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Id(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Id(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Id(this.id,this.pageId,"hideStatusBar")}}const Cp=cp(0,((e,t)=>new kp(e,bu(t||xu())))),Lp=(e,t,n,o)=>{!function(e,t,n,o,r){Mb.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)}))};const Ip={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function Pp(e){var t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(L(Ip,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Ip[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class Op{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Pp(t)])}}class Bp{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Mp{constructor(e){this.width=e}}const Np={thresholds:[0],initialRatio:0,observeAll:!1},Fp=["top","right","bottom","left"];let Rp=1;function jp(e={}){return Fp.map((t=>`${Number(e[t])||0}px`)).join(" ")}class Dp{constructor(e,t){this._pageId=bu(e),this._component=e,this._options=A({},Np,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=jp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=jp(e),this}observe(e,t){M(t)&&(this._options.selector=e,this._reqId=Rp++,function({reqId:e,component:t,options:n,callback:o},r){const i=gd(t);(i.__io||(i.__io={}))[e]=function(e,t,n){Ff();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:jf(e),intersectionRect:Rf(e.intersectionRect),boundingClientRect:Rf(e.boundingClientRect),relativeRect:Rf(e.rootBounds),time:Date.now(),dataset:et(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e((e=ze(e))&&!bu(e)&&(t=e,e=null),new Dp(e||xu(),t))));let Wp=0,Vp={};function zp(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Wp++);r.callbackId=e,Vp[e]=o}Mb.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},N(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?M(e.success)&&e.success(t):M(e.fail)&&e.fail(t),M(e.complete)&&e.complete(t)}(Vp[e],t),delete Vp[e])}))}const qp={canvas:class{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){Mb.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Op("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Op("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new Bp(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e){let t=0;return t=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Mp(t)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Lp(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Lp(this.id,this.pageId,"moveToLocation",e)}getScale(e){Lp(this.id,this.pageId,"getScale",e)}getRegion(e){Lp(this.id,this.pageId,"getRegion",e)}includePoints(e){Lp(this.id,this.pageId,"includePoints",e)}translateMarker(e){Lp(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Lp(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Lp(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Lp(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Lp(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Lp(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Lp(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Lp(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Lp(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Lp(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Lp(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Lp(this.id,this.pageId,"openMapApp",e)}on(e){Lp(this.id,this.pageId,"on",e)}},video:kp,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){zp(this.id,this.pageId,e,t)}}};function Up(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=qp[n];e.context=new r(t,o),delete e.contextInfo}}class Qp{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery}}class $p{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return Bd(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{I(e)?e.forEach(Up):Up(e);const o=n[t];M(o)&&o.call(this,e)})),M(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=ze(e),this}select(e){return this._nodesRef=new Qp(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Qp(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Qp(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const Xp=cp(0,(e=>((e=ze(e))&&!bu(e)&&(e=null),new $p(e||xu())))),Yp=cp(0,(()=>{const e=kg();return e&&e.$vm?e.$vm.$locale:bc().getLocale()})),Gp=cp(0,(e=>{const t=kg();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage[ce]=e),Mb.invokeOnCallback("onLocaleChange",{locale:e}),!0)})),Jp={[_e]:[],[ye]:[],[ve]:[],[he]:[],[me]:[]};const Kp=cp(0,(()=>A({},qf))),Zp="removeStorage",ef={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=jd(e,Md)},sourceType(e,t){t.sourceType=jd(e,Nd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},tf={formatArgs:{sourceType(e,t){t.sourceType=jd(e,Nd)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},nf=(Boolean,["all","image","video"]),of={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=jd(e,Nd)},type(e,t){t.type=Rd(e,nf)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},rf={formatArgs:{urls(e,t){t.urls=e.map((e=>N(e)&&e?bd(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(L(t,s)){let e=t[s];null==e?e="":V(e)&&(e=JSON.stringify(e)),a[lf(s)]=lf(e)}return r=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Fd[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||af).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===sf.indexOf(t.responseType)&&(t.responseType="text")}}},uf={formatArgs:{header(e,t){t.header=e||{}}}},df={formatArgs:{filePath(e,t){e&&(t.filePath=bd(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const pf={url:{type:String,required:!0}},ff="navigateTo",hf="redirectTo",mf="reLaunch",gf="switchTab",vf="preloadPage",bf="unPreloadPage",yf=(Tf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Tf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),kf(ff)),_f=kf(hf),wf=kf(mf),xf=kf(gf),Ef={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(og().length-1,e)}}};function Tf(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Sf;function Af(){Sf=""}function kf(e){return{formatArgs:{url:Cf(e)},beforeAll:Af}}function Cf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=og();return n.length&&(t=n[n.length-1].$page.route),Iu(t,e)}(t)).split("?")[0],r=Pu(o,!0);if(!r)return"page `"+t+"` is not found";if(e===ff||e===hf){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===gf&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==gf&&e!==vf||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!N(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),e!==bf)if(e!==vf){if(Sf===t&&"appLaunch"!==n.openType)return`${Sf} locked`;__uniConfig.ready&&(Sf=t)}else if(r.meta.isTabBar){const e=og(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Lf="setNavigationBarTitle",If={formatArgs:{duration:300}},Pf=["success","loading","none","error"],Of=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Rd(e,Pf)},image(e,t){t.image=e?bd(e):""},duration:1500,mask:!1}}),Bf="startPullDownRefresh",Mf="stopPullDownRefresh",Nf="hideTabBar",Ff=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=r(t);n;)n=r(t=n.ownerDocument);return t}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),l(e,"resize",o,!0)),l(t,"scroll",o,!0),a&&a.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=o){var a=r(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&g>=0&&{top:l,bottom:u,left:p,right:h,width:m,height:g}||null),!v)break;b=b&&f(b)}return v}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=c(this.root);else{var n=h(this.root)?this.root:e,o=n.documentElement,r=n.body;t={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;r{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Wf(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Vf(e){for(const n in Df)if(L(Df,n)){if(Df[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Df[t]=e,t}function zf(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Df[e]}const qf=ed(),Uf=ed();const Qf=rd({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=qn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Ln({width:-1,height:-1});return Do((()=>A({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){lr(o),_r((()=>{t.initial&&ho(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>Wi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Wi("div",{onScroll:r},[Wi("div",null,null)],40,["onScroll"]),Wi("div",{onScroll:r},[Wi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});let $f;function Xf(){}const Yf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function Gf(e,t,n){function o(e){const t=ca((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout($f),document.addEventListener("click",Xf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Xf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Do((()=>t.value),(e=>e&&o(e)))}var Jf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Kf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Zf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,eh=ah("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),th=ah("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),nh=ah("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),oh=ah("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),rh=ah("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ih=ah("script,style");function ah(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},ch={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},uh=rd({name:"Image",props:sh,setup(e,{emit:t}){const n=qn(null),o=function(e,t){const n=qn(""),o=ca((()=>{let e="auto",o="";const r=ch[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Ln({rootEl:e,src:ca((()=>t.src?bd(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return _r((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=ud(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=lh[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){dh&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Do((()=>t.mode),((e,t)=>{lh[t]&&r(),lh[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,l),o(),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Do((()=>e.src),(e=>l(e))),Do((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),_r((()=>l(e.src))),Er((()=>c()))}(o,e,n,i,r),()=>Wi("uni-image",{ref:n},[Wi("div",{style:o.modeStyle},null,4),lh[e.mode]?Wi(Qf,{onResize:i},null,8,["onResize"]):Wi("span",null,null)],512)}});const dh="Google Inc."===navigator.vendor;const ph=nt(!0),fh=[];let hh,mh=0;const gh=e=>fh.forEach((t=>t.userAction=e));function vh(e={userAction:!1}){if(!hh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!mh&&gh(!0),mh++,setTimeout((()=>{! --mh&&gh(!1)}),0)}),ph)})),hh=!0}fh.push(e)}const bh=()=>!!mh;function yh(){const e=Ln({userAction:!1});return _r((()=>{vh(e)})),Er((()=>{!function(e){const t=fh.indexOf(e);t>=0&&fh.splice(t,1)}(e)})),{state:e}}function _h(){const e=Ln({attrs:{}});return _r((()=>{let t=Zi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function wh(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function xh(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const Eh=["none","text","decimal","numeric","tel","search","email","url"],Th=A({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~Eh.indexOf(e)}},Yf),Sh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Ah(e,t,n,o){const r=lt((n=>{t.value=xh(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});Do((()=>e.modelValue),r),Do((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return yr((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function kh(e,t){yh();const n=ca((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Do((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),_r((()=>{n.value&&ho(o)}))}function Ch(e,t,n,o){Oc(wu(),"getSelectedTextRange",wh);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=qn(null),r=ud(t,n),i=ca((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=ca((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=ca((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=ca((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=xh(e.modelValue,e.type)||xh(e.value,e.type),u=Ln({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return Do((()=>u.focus),(e=>n("update:focus",e))),Do((()=>u.maxlength),(e=>u.value=u.value.slice(0,e))),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=Ah(e,i,n,a);kh(e,r),Gf(0,r);const{state:l}=_h();!function(e,t){const n=Fo(dd,!1);if(!n)return;const o=Zi(),r={submit(){const n=o.proxy;return[n[e],N(t)?n[t]:t.value]},reset(){N(t)?o.proxy[t]="":t.value=""}};n.addField(r),Er((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Do([()=>t.selectionStart,()=>t.selectionEnd],a),Do((()=>t.cursor),s),Do((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),M(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const Lh=rd({name:"Input",props:A({},Th,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Sh],setup(e,{emit:t}){const n=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],r=ca((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~n.includes(e.type)?e.type:"text"}return e.password?"password":t})),i=ca((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(Y(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let a,s=qn("");const l=qn(null),{fieldRef:c,state:u,scopedAttrsState:d,fixDisabledColor:p,trigger:f}=Ch(e,l,t,((e,t)=>{const n=e.target;if("number"===r.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid){if((!s.value||!n.value)&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType)return s.value="-",t.value="",a=()=>{s.value=n.value=""},n.addEventListener("blur",a),!1;if(s.value)if(-1!==s.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=s.value.indexOf(".");return s.value=n.value=t.value=s.value.slice(0,e),!0}}else if("."===e.data)return s.value+=".",a=()=>{s.value=n.value=s.value.slice(0,-1)},n.addEventListener("blur",a),!1;return s.value=t.value=n.value="-"===s.value?"":s.value,!1}s.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));Do((()=>u.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t)}));const h=["number","digit"],m=ca((()=>h.includes(e.type)?e.step:""));function g(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),f("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return()=>{let t=e.disabled&&p?Wi("input",{key:"disabled-input",ref:c,value:u.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:u.maxlength,step:m.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):Lr(Wi("input",{key:"input",ref:c,"onUpdate:modelValue":e=>u.value=e,disabled:!!e.disabled,type:r.value,maxlength:u.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:i.value,onKeyup:g,inputmode:e.inputmode},null,40,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[cs,u.value]]);return Wi("uni-input",{ref:l},[Wi("div",{class:"uni-input-wrapper"},[Lr(Wi("div",Xi(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[hs,!(u.value.length||"-"===s.value)]]),"search"===e.confirmType?Wi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Ih=["class","style"],Ph=/^on[A-Z]+/,Oh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Zi(),r=Un({}),i=Un({}),a=Un({}),s=n.concat(Ih);return o.attrs=Ln(o.attrs),Ro((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Ph.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:a}};function Bh(e){const t=[];return I(e)&&e.forEach((e=>{Ni(e)?e.type===Ei?t.push(...Bh(e.children)):t.push(e):I(e)&&t.push(...Bh(e))})),t}const Mh=rd({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=qn(null),o=qn(!1);let{setContexts:r,events:i}=function(e,t){const n=qn(0),o=qn(0),r=Ln({x:null,y:null}),i=qn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function r(e){for(let t=0;t{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=Nh(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),d=cd((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&i.value&&i.value>0){l(Nh(n)/i.value)}r.x=n.x,r.y=n.y}})),p=cd((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function f(){h(),s.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return No("movableAreaWidth",n),No("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=Oh(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),_r((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function p(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(jn(o))}r(e)}return No("_isMounted",o),No("movableAreaRootRef",n),No("addMovableViewContext",(e=>{d.push(e),p()})),No("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=Bh(e),Wi("uni-movable-area",Xi({ref:n},s.value,l.value,c),[Wi(Qf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Nh(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Fh=function(e,t,n,o){e.addEventListener(t,(e=>{M(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Rh,jh;function Dh(e,t,n){Er((()=>{document.removeEventListener("mousemove",Rh),document.removeEventListener("mouseup",jh)}));let o=0,r=0,i=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-r,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Fh(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)})),Fh(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)})),Fh(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=Rh=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),Fh(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const p=jh=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),Fh(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function Hh(e,t,n){return e>t-n&&ethis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},zh.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},zh.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},zh.prototype.dt=function(){return-this._x_v/this._x_a},zh.prototype.done=function(){const e=Hh(this.s().x,this._endPositionX)||Hh(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},zh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},zh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},qh.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},qh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Wh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Wh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Wh(t,.1)&&(t=0),Wh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Wh(o-e,.1)&&Wh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},qh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qh.prototype.done=function(e){return e||(e=(new Date).getTime()),Hh(this.x(),this._endPosition,.1)&&Wh(this.dx(),.1)},qh.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},qh.prototype.springConstant=function(){return this._k},qh.prototype.damping=function(){return this._c},qh.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Uh.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Uh.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Uh.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Uh.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Qh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const $h=rd({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=qn(null),r=ud(o,n),{setParent:i}=function(e,t,n){const o=Fo("_isMounted",qn(!1)),r=Fo("addMovableViewContext",(()=>{})),i=Fo("removeMovableViewContext",(()=>{}));let a,s,l=qn(1),c=qn(1),u=qn(!1),d=qn(0),p=qn(0),f=null,h=null,m=!1,g=null,v=null;const b=new Vh,y=new Vh,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=ca((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new zh(1,w.value);Do((()=>e.disabled),(()=>{U()}));const{_updateOldScale:E,_endScale:T,_setScale:S,scaleValueSync:A,_updateBoundary:k,_updateOffset:C,_updateWH:L,_scaleOffset:I,minX:P,minY:O,maxX:B,maxY:M,FAandSFACancel:N,_getLimitXY:F,_setTransform:R,_revise:j,dampingNumber:D,xMove:H,yMove:W,xSync:V,ySync:z,_STD:q}=function(e,t,n,o,r,i,a,s,l,c){const u=ca((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=ca((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=qn(Number(e.scaleValue)||1);Do(p,(e=>{R(e)})),Do(u,(()=>{F()})),Do(d,(()=>{F()})),Do((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:h,_updateWH:m,_scaleOffset:g,minX:v,minY:b,maxX:y,maxY:_}=function(e,t,n){const o=Fo("movableAreaWidth",qn(0)),r=Fo("movableAreaHeight",qn(0)),i=Fo("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=qn(0),c=qn(0),u=qn(0),d=qn(0),p=qn(0),f=qn(0);function h(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-a.y+s.y,i=r.value-c.value-a.y-s.y;d.value=Math.min(n,i),f.value=Math.max(n,i)}function m(){a.x=Gh(e.value,i.value),a.y=Jh(e.value,i.value)}function g(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:p,maxY:f}}(t,o,N),{FAandSFACancel:w,_getLimitXY:x,_animationTo:E,_setTransform:T,_revise:S,dampingNumber:A,xMove:k,yMove:C,xSync:L,ySync:I,_STD:P}=function(e,t,n,o,r,i,a,s,l,c,u,d,p,f){const h=ca((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),m=ca((()=>"all"===t.direction||"horizontal"===t.direction)),g=ca((()=>"all"===t.direction||"vertical"===t.direction)),v=qn(Zh(t.x)),b=qn(Zh(t.y));Do((()=>t.x),(e=>{v.value=Zh(e)})),Do((()=>t.y),(e=>{b.value=Zh(e)})),Do(v,(e=>{S(e)})),Do(b,(e=>{A(e)}));const y=new Uh(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):ei.value?(t=i.value,n=!0):t1?"htouchmove":"vtouchmove"),H.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),W.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),W.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),H.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let r="touch";nB.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=B.value+b.x(n-B.value)):n=B.value),oM.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=M.value+y.x(o-M.value)):o=M.value),Yh((function(){R(n,o,l.value,r)}))}}}function $(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!j("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=p.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let a=r+n,s=i+o;aB.value&&(a=B.value,s=o+(B.value-n)*i/r),sM.value&&(s=M.value,a=n+(M.value-o)*r/i),x.setEnd(a,s),h=Kh(x,(function(){let e=x.s(),t=e.x,n=e.y;R(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||N()}function X(){if(!o.value)return;N();let t=e.scale?A.value:1;C(),L(t),k();let n=F(V.value+I.x,z.value+I.y),r=n.x,i=n.y;R(r,i,t,"",!0),E(t)}return _r((()=>{Dh(n.value,(e=>{switch(e.detail.state){case"start":U();break;case"move":Q(e);break;case"end":$()}})),X(),x.reconfigure(1,w.value),q.reconfigure(1,9*Math.pow(D.value,2)/40,D.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:T,_setScale:S};r(e),Tr((()=>{i(e)}))})),Tr((()=>{N()})),{setParent:X}}(e,r,o);return()=>Wi("uni-movable-view",{ref:o},[Wi(Qf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Xh=!1;function Yh(e){Xh||(Xh=!0,requestAnimationFrame((function(){e(),Xh=!1})))}function Gh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Gh(e.offsetParent,t):0}function Jh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Jh(e.offsetParent,t):0}function Kh(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Zh(e){return/\d+[ur]px$/i.test(e)?yp(parseFloat(e)):Number(e)||0}const em=["navigate","redirect","switchTab","reLaunch","navigateBack"],tm=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],nm=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],om={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~em.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||tm.concat(nm).includes(e)},animationDuration:{type:[String,Number],default:300}};A({},om,{renderLink:{type:Boolean,default:!0}});const rm=rd({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return I(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=qn(null),r=qn(null),i=ud(o,n),a=function(e){const t=Ln([...e.value]),n=Ln({value:t,height:34});return Do((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),s=qn(null);_r((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=qn([]),c=qn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Si));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return No("getPickerViewColumn",(function(e){return ca({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),No("pickerViewProps",e),No("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=Bh(e);l.value=t,ho((()=>{c.value=t}))}return Wi("uni-picker-view",{ref:o},[Wi(Qf,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),Wi("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class im{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function am(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!sm(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(sm(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),sm(t,.4)&&(t=0),sm(o,.4)&&(o=0),o+=this._endPosition),this._solution&&sm(o-e,.4)&&sm(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),am(this.x(),this._endPosition,.4)&&sm(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class cm{constructor(e,t,n){this._extent=e,this._friction=t||new im(.01),this._spring=n||new lm(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class um{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new cm(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),M(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),M(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(M(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),M(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}let dm=0;const pm=rd({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=qn(null),r=qn(null),i=Fo("getPickerViewColumn"),a=Zi(),s=i?i(a):qn(0),l=Fo("pickerViewProps"),c=Fo("pickerViewState"),u=qn(34),d=qn(null);_r((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=ca((()=>(c.height-u.value)/2)),{state:f}=_h(),h=function(e){const t="uni-picker-view-content-"+dm++;return Do((()=>e.value),(function(){const n=document.createElement("style");n.innerText=`.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`,document.head.appendChild(n)})),t}(u);let m;const g=Ln({current:s.value,length:0});let v;function b(){m&&!v&&(v=!0,ho((()=>{v=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),m.update(e*u.value,void 0,u.value)})))}Do((()=>s.value),(e=>{e!==g.current&&(g.current=e,b())})),Do((()=>g.current),(e=>s.value=e)),Do([()=>u.value,()=>g.length,()=>c.height],b);let y=0;function _(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),m.scrollTo(e*u.value)}else y=t;e.preventDefault()}function w({clientY:e}){const t=o.value;if(!m.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(g.current+t,g.length-1);g.current=r=Math.max(r,0),m.scrollTo(r*u.value)}}}const x=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new um(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new im(1e-4),spring:new lm(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});m=n,Dh(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),b()};return _r(x),()=>{const e=t.default&&t.default();g.length=Bh(e).length;const n=`${p.value}px 0`;return Wi("uni-picker-view-column",{ref:o},[Wi("div",{onWheel:_,onClick:w,class:"uni-picker-view-group"},[Wi("div",Xi(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),Wi("div",Xi(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Wi(Qf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Wi("div",{ref:r,class:["uni-picker-view-content",h],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}}),fm={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},hm={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const mm=(e,t,n)=>!n||I(n)&&!n.length?[]:n.map((n=>{if(V(n)){if(!L(n,"type")||"node"===n.type){let o={[e]:""};const r=n.name.toLowerCase();if(!L(fm,r))return;return function(e,t){if(V(t))for(const n in t)if(L(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=bd(o))}}(r,n.attrs),o=A(o,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),ua(n.name,o,mm(e,t,n.children))}return"text"===n.type&&N(n.text)&&""!==n.text?zi((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return L(hm,t)&&hm[t]?hm[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function gm(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,r,i=[],a=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&ih[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),(function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""})),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e}),{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o.children||(o.children=[]),o.children.push(n)}}),n.children}const vm=rd({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=Zi(),o=n&&n.vnode.scopeId||"",r=qn(null),i=qn([]),a=ud(r,t);function s(e,t={}){a("itemclick",e,t)}return Do((()=>e.nodes),(function(){let t=e.nodes;N(t)&&(t=gm(e.nodes)),i.value=mm(o,s,t)}),{immediate:!0}),()=>ua("uni-rich-text",{ref:r},ua("div",{},i.value))}}),bm=nt(!0),ym=rd({name:"ScrollView",compatConfig:{MODE:3},props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n}){const o=qn(null),r=qn(null),i=qn(null),a=qn(null),s=qn(null),l=ud(o,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ca((()=>Number(e.scrollTop)||0)),n=ca((()=>Number(e.scrollLeft)||0)),o=Ln({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e);!function(e,t,n,o,r,i,a,s,l){let c=!1,u=0,d=!1,p=()=>{};const f=ca((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),h=ca((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function m(e,t){const n=a.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=s.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",p),i.removeEventListener("webkitTransitionEnd",p),p=()=>_(e,t),i.addEventListener("transitionend",p),i.addEventListener("webkitTransitionEnd",p),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function g(n){const o=n.target;r("scroll",n,{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollHeight:o.scrollHeight,scrollWidth:o.scrollWidth,deltaX:t.lastScrollLeft-o.scrollLeft,deltaY:t.lastScrollTop-o.scrollTop}),e.scrollY&&(o.scrollTop<=f.value&&t.lastScrollTop-o.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollTop+o.offsetHeight+h.value>=o.scrollHeight&&t.lastScrollTop-o.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(o.scrollLeft<=f.value&&t.lastScrollLeft-o.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollLeft+o.offsetWidth+h.value>=o.scrollWidth&&t.lastScrollLeft-o.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=o.scrollTop,t.lastScrollLeft=o.scrollLeft}function v(t){e.scrollY&&(e.scrollWithAnimation?m(t,"y"):a.value.scrollTop=t)}function b(t){e.scrollX&&(e.scrollWithAnimation?m(t,"x"):a.value.scrollLeft=t)}function y(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(e.scrollX){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?m(r,"x"):a.value.scrollLeft=r}if(e.scrollY){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?m(r,"y"):a.value.scrollTop=r}}}}function _(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let o=a.value;"x"===n?(o.style.overflowX=e.scrollX?"auto":"hidden",o.scrollLeft=t):"y"===n&&(o.style.overflowY=e.scrollY?"auto":"hidden",o.scrollTop=t),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function w(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{}))}t.refreshState=n}}_r((()=>{ho((()=>{v(n.value),b(o.value)})),y(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),g(e)},s={x:0,y:0},l=null,p=function(n){if(null===s)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,p=a.value;if(Math.abs(o-s.x)>Math.abs(i-s.y))if(e.scrollX){if(0===p.scrollLeft&&o>s.x)return void(l=!1);if(p.scrollWidth===p.offsetWidth+p.scrollLeft&&os.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(p.scrollHeight===p.offsetHeight+p.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o})));const a=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(a>1?1:a)}},f=function(e){1===e.touches.length&&(s={x:e.touches[0].pageX,y:e.touches[0].pageY})},h=function(n){s=null,t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};a.value.addEventListener("touchstart",f,bm),a.value.addEventListener("touchmove",p,nt(!1)),a.value.addEventListener("scroll",i,nt(!1)),a.value.addEventListener("touchend",h,bm),Er((()=>{a.value.removeEventListener("touchstart",f),a.value.removeEventListener("touchmove",p),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",h)}))})),lr((()=>{e.scrollY&&(a.value.scrollTop=t.lastScrollTop),e.scrollX&&(a.value.scrollLeft=t.lastScrollLeft)})),Do(n,(e=>{v(e)})),Do(o,(e=>{b(e)})),Do((()=>e.scrollIntoView),(e=>{y(e)})),Do((()=>e.refresherTriggered),(e=>{!0===e?w("refreshing"):!1===e&&w("restore")}))}(e,c,u,d,l,o,r,a,t);const p=ca((()=>{let t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t}));return()=>{const{refresherEnabled:t,refresherBackground:l,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:f,refreshRotate:h}=c;return Wi("uni-scroll-view",{ref:o},[Wi("div",{ref:i,class:"uni-scroll-view"},[Wi("div",{ref:r,style:p.value,class:"uni-scroll-view"},[Wi("div",{ref:a,class:"uni-scroll-view-content"},[t?Wi("div",{ref:s,style:{backgroundColor:l,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?Wi("div",{class:"uni-scroll-view-refresh"},[Wi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==f?Wi("svg",{key:"refresh__icon",style:{transform:"rotate("+h+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Wi("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),Wi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==f?Wi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Wi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?n.refresher&&n.refresher():null],4):null,n.default&&n.default()],512)],4)],512)],512)}}});function _m(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,f=null,h=!1,m=0,g="";const v=ca((()=>n.value.length>t.displayMultipleItems)),b=ca((()=>e.circular&&v.value));function y(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||b.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(b.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){f=null}function x(){if(!f)return void(h=!1);const e=f,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){y(o),f=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}y(o+r*u*u/2),l=requestAnimationFrame(x)}function E(e,o,r){w();const i=t.duration,a=n.value.length;let s=d;if(b.value)if(r<0){for(;se;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+ae;)s-=a;s+a-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>b.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),f&&(y(f.toPos),f=null);const r=n.value;for(let t=0;t0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(y(s+l-m),m=l):(y(l),e.autoplay&&T())):(u=!0,y(-t.displayMultipleItems-1))})),Do((()=>t.interval),(()=>{c&&(a(),T())})),Do((()=>t.current),((e,o)=>{!function(e,o){const r=g;g="";const a=n.value;if(!r){const t=a.length;E(e,"",b.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),Do((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),Do((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),_r((()=>{let r=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?y(m):(g="touch",t.current=r,E(r,"touch",0!==o?o:0===r&&b.value&&d>=1?1:0))}Dh(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,a(),m=d,i=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&T())}return function(r){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;i=.6*i+.4*t,b.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),y(n)}const d=s-a||1,p=o.value;e.vertical?u(-r.dy/p.offsetHeight,-r.ddy/d):u(-r.dx/p.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Tr((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){E(t.current=e,g="click",b.value?1:0)},circularEnabled:b,swiperEnabled:v}}const wm=rd({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=qn(null),r=ud(o,n),i=qn(null),a=qn(null),s=function(e){return Ln({interval:ca((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:ca((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:ca((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=ca((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:pu(e.previousMargin,!0),bottom:pu(e.nextMargin,!0)}:{top:0,bottom:0,left:pu(e.previousMargin,!0),right:pu(e.nextMargin,!0)}),t})),c=ca((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=qn([]);function f(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(jn(o))}p.value=e}No("addSwiperContext",(function(e){d.push(e),f()}));No("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:h,circularEnabled:m,swiperEnabled:g}=_m(e,s,p,a,n,r);let v=()=>null;return v=xm(o,e,s,h,p,m,g),()=>{const n=t.default&&t.default();return u=Bh(n),Wi("uni-swiper",{ref:o},[Wi("div",{ref:i,class:"uni-swiper-wrapper"},[Wi("div",{class:"uni-swiper-slides",style:l.value},[Wi("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Wi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>Wi("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=s.current||n{let s=!1,l=!1,c=!1,u=qn(!1);function d(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Ro((()=>{s="auto"===t.navigation,u.value=!0!==t.navigation||s,b()})),Ro((()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,c=!0,s&&(u.value=!0))}));const p={onMouseover:e=>d(e,"over"),onMouseout:e=>d(e,"out")};function f(e,t,a){if(e.stopPropagation(),a)return;const s=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=s-1);break;case"next":l++,l>=s&&i.value&&(l=0)}o(l)}const h=()=>gu(mu,t.navigationColor,26);let m;const g=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:a,top:s,bottom:l,width:c,height:d}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(r-s{u.value=p}),300);u.value=p},v=()=>{u.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",g),e.value.removeEventListener("mouseleave",v),s&&(e.value.addEventListener("mousemove",g),e.value.addEventListener("mouseleave",v)))}return _r(b),function(){const e={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Wi(Ei,null,[Wi("div",Xi({class:["uni-swiper-navigation uni-swiper-navigation-prev",A({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},p),[h()],16,["onClick"]),Wi("div",Xi({class:["uni-swiper-navigation uni-swiper-navigation-next",A({"uni-swiper-navigation-disabled":c},e)],onClick:e=>f(e,"next",c)},p),[h()],16,["onClick"])]):null}},Em=rd({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=qn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return _r((()=>{const e=Fo("addSwiperContext");e&&e(o)})),Tr((()=>{const e=Fo("removeSwiperContext");e&&e(o)})),()=>Wi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Tm={ensp:" ",emsp:" ",nbsp:" "};function Sm(e,t){return e.replace(/\\n/g,ae).split(ae).map((e=>function(e,{space:t,decode:n}){if(!e)return e;t&&Tm[t]&&(e=e.replace(/ /g,Tm[t]));if(!n)return e;return e.replace(/ /g,Tm.nbsp).replace(/ /g,Tm.ensp).replace(/ /g,Tm.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}(e,t)))}const Am=rd({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup:(e,{slots:t})=>()=>{const n=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Si){const o=Sm(t.children,{space:e.space,decode:e.decode}),r=o.length-1;o.forEach(((e,t)=>{(0!==t||e)&&n.push(zi(e)),t!==r&&n.push(Wi("br"))}))}else n.push(t)})),Wi("uni-text",{selectable:!!e.selectable||null},[Wi("span",null,n)],8,["selectable"])}}),km=rd({name:"View",props:A({},ad),setup(e,{slots:t}){const{hovering:n,binding:o}=sd(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Wi("uni-view",Xi({class:n.value?r:""},o),[t.default&&t.default()],16):Wi("uni-view",null,[t.default&&t.default()])}}});function Cm(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Lm(e,t,n){e&&Oc(n||wu(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Im(e,t){e&&function(e,t){t=Pc(e,t),delete Ic[t]}(t||wu(),e)}function Pm(e,t,n,o){const r=Zi().proxy;_r((()=>{Lm(t||Cm(r),e,o),!n&&t||Do((()=>r.id),((t,n)=>{Lm(Cm(r,t),e,o),Im(n&&Cm(r,n))}))})),Er((()=>{Im(t||Cm(r),o)}))}let Om=0;function Bm(e,t,n,o){M(t)&&vr(e,t.bind(n),o)}function Mm(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!M(t))&&(pt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];I(r)?r.forEach((e=>Bm(o,e,n,t))):Bm(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{Su(n,we,t.attrs.__pageQuery),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&Su(n,he)}catch(i){console.error(i.message+ae+i.stack)}}}function Nm(e,t,n){Mm(e,t,n)}function Fm(e,t,n){return e[t]=n}function Rm(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;Su(r.proxy,ve,t)}}function jm(e,t){return e?[...new Set([].concat(e,t))]:t}function Dm(e){const t=e._context.config;var n;t.errorHandler=ht(e,Rm),n=t.optionMergeStrategies,pt.forEach((e=>{n[e]=jm}));const o=t.globalProperties;o.$set=Fm,o.$applyOptions=Nm,function(e){ft.forEach((t=>t(e)))}(e)}const Hm=uu("upm");function Wm(){return Fo(Hm)}function Vm(e){const t=function(e){return Ln(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=pu(e.offset)),e.height&&(e.height=pu(e.height)),e.range&&(e.range=pu(e.range)),e}(A({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=se+ou.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8",Sc(t)}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==og().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Tu(pc().meta,e)))))}(e);return No(Hm,t),t}function zm(){return pc()}function qm(){return history.state&&history.state.__id__||1}let Um;function Qm(){var e;return Um||(Um=__uniConfig.tabBar&&Ln((e=__uniConfig.tabBar,fc()&&e.list&&e.list.forEach((e=>{vc(e,["text"])})),e))),Um}const $m=window.CSS&&window.CSS.supports;function Xm(e){return $m&&($m(e)||$m.apply(window.CSS,e.split(":")))}const Ym=Xm("top:env(a)"),Gm=Xm("top:constant(a)"),Jm=Xm("backdrop-filter:blur(10px)"),Km=(()=>Ym?"env":Gm?"constant":"")();function Zm(e){return Km?`calc(${e}px + ${Km}(safe-area-inset-bottom))`:`${e}px`}const eg="$$",tg=new Map;function ng(){return tg}function og(){const e=[],t=tg.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function rg(e,t=!0){const n=tg.get(e);n.$.__isUnload=!0,Su(n,xe),tg.delete(e),t&&function(e){const t=cg.get(e);t&&(cg.delete(e),ug.pruneCacheEntry(t))}(e)}let ig=qm();function ag(e){const t=Wm();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:a,route:s}=o,l=bt(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:$e(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function sg(e){const t=ag(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),tg.set(lg(t.path,t.id),e)}function lg(e,t){return e+eg+t}const cg=new Map,ug={get:e=>cg.get(e),set(e,t){!function(e){const t=parseInt(e.split(eg)[1]);if(!t)return;ug.forEach(((e,n)=>{const o=parseInt(n.split(eg)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;ug.delete(n),ug.pruneCacheEntry(e),ho((()=>{tg.forEach(((e,t)=>{e.$.isUnmounted&&tg.delete(t)}))}))}}))}(e),cg.set(e,t)},delete(e){cg.get(e)&&cg.delete(e)},forEach(e){cg.forEach(e)}};function dg(e,t){!function(e){const t=fg(e),{body:n}=document;hg&&n.removeAttribute(hg),t&&n.setAttribute(t,""),hg=t}(e),function(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=se),e.isTabBar){const e=Qm();e.shown&&(n=parseInt(e.height))}var o;cu({"--window-top":(o=t,Km?`calc(${o}px + ${Km}(safe-area-inset-top))`:`${o}px`),"--window-bottom":Zm(n)})}(t),function(e){const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}(t),function(e,t){document.removeEventListener("touchmove",Au),mg&&document.removeEventListener("scroll",mg);if(t.disableScroll)return document.addEventListener("touchmove",Au);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},a=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Bb.publishHandler(ke,{scrollTop:o},e),n&&Bb.emit(e+"."+ke,{scrollTop:o})}}(a,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||le,i.onReachBottom=()=>Bb.publishHandler(Le,{},a));mg=Lu(i),requestAnimationFrame((()=>document.addEventListener("scroll",mg)))}(e,t)}function pg(e){const t=fg(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function fg(e){return e.type.__scopeId}let hg,mg;function gg(e){const t=dc({history:bg(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:vg});e.router=t,e.use(t)}const vg=(e,t,n)=>{if(n)return n};function bg(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=al(e);return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=og(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;rg(lg(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const yg={install(e){Dm(e),Vu(e),Zu(e),e.config.warnHandler||(e.config.warnHandler=_g),gg(e)}};function _g(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const wg={class:"uni-async-loading"},xg=Wi("i",{class:"uni-loading"},null,-1),Eg=id({name:"AsyncLoading",render:()=>(Li(),Mi("div",wg,[xg]))});function Tg(){window.location.reload()}const Sg=id({name:"AsyncError",setup(){_c();const{t:e}=bc();return()=>Wi("div",{class:"uni-async-error",onClick:Tg},[e("uni.async.error")],8,["onClick"])}});let Ag;function kg(){return Ag}function Cg(e){Ag=e,Object.defineProperty(Ag.$.ctx,"$children",{get:()=>og().map((e=>e.$vm))});const t=Ag.$.appContext.app;t.component(Eg.name)||t.component(Eg.name,Eg),t.component(Sg.name)||t.component(Sg.name,Sg),function(e){e.$vm=e,e.$mpType="app";const t=qn(bc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Ag),function(e,t){const n=e.$options||{};n.globalData=A(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Ag),Ju(),Qc()}function Lg(e,{clone:t,init:n,setup:o,before:r}){t&&(e=A({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Zi();n(r.proxy);const a=o(r);if(i)return i(a||e,t)},e}function Ig(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Lg(e.default,t):Lg(e,t)}function Pg(e){return Ig(e,{clone:!0,init:sg,setup(e){e.$pageInstance=e;const t=zm(),n=it(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n;const o=Wm();var r,i,a;return yr((()=>{dg(e,o)})),_r((()=>{pg(e);const{onReady:n}=e;n&&Z(n),Ng(t)})),ur((()=>{if(!e.__isVisible){dg(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&Z(n),ho((()=>{Ng(t)}))}}),"ba",r),function(e,t){ur(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&Z(t)}})),i=o.id,Bb.subscribe(Pc(i,kc),a?a(Bc):Bc),Er((()=>{!function(e){Bb.unsubscribe(Pc(e,kc)),Object.keys(Ic).forEach((t=>{0===t.indexOf(e+".")&&delete Ic[t]}))}(o.id)})),n}})}function Og(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=nv(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Mb.emit(Se,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Bg(e){V(e.data)&&e.data.type===fe&&Mb.emit(Ve,e.data.data,e.data.pageId)}function Mg(){const{emit:e}=Mb;"visible"===document.visibilityState?e(He,A({},Uf)):e(We)}function Ng(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Su("onTabItemTap",{index:n,text:t,pagePath:o})}function Fg(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Rg(e,t,n){const o=Ln({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),r={x:0,y:0};return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(i){function a(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&a();const s=o.gestureType;if("stop"===s)return;const l=i.targetTouches[0],c=l.pageX,u=l.pageY,d=r,p=t.value;if("progress"===s?function(e){const n=t.value,r=n.duration;let i=e/600*r+o.currentTimeOld;i<0?i=0:i>r&&(i=r);o.currentTimeNew=i}(c-d.x):"volume"===s&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,o.volumeNew=i)}(u-d.y),"none"===s)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||a()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||a()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}function jg(e,t,n,o,r,i,a){const s={play:e,pause:t,seek:n,sendDanmu:o,playbackRate:r,requestFullScreen:i,exitFullScreen:a};Pm(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in s&&s[e](n)}),function(e){const t=vu(),n=Zi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Om++;return _r((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(),!0)}const Dg=rd({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=qn(null),i=qn(null),a=ud(r,t),{state:s}=yh(),{$attrs:l}=Oh({excludeListeners:!0}),{t:c}=bc();Tc();const{videoRef:u,state:d,play:p,pause:f,seek:h,playbackRate:m,toggle:g,onDurationChange:v,onLoadedMetadata:b,onProgress:y,onWaiting:_,onVideoError:w,onPlay:x,onPause:E,onEnded:T,onTimeUpdate:S}=function(e,t,n){const o=qn(null),r=ca((()=>bd(e.src))),i=Ln({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0});function a(e){const t=e.target,n=t.buffered;n.length&&(i.buffered=n.end(n.length-1)/t.duration*100)}return Do((()=>r.value),(()=>{i.playing=!1,i.currentTime=0})),Do((()=>i.buffered),(e=>{n("progress",{},{buffered:e})})),{videoRef:o,state:i,play:function(){const e=o.value;i.start=!0,e.play()},pause:function(){o.value.pause()},seek:function(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)},playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;i.playing?e.pause():e.play()},onDurationChange:function({target:e}){i.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){i.playing=!1,n("error",e,{})},onPlay:function(e){i.start=!0,i.playing=!0,n("play",e,{})},onPause:function(e){i.playing=!1,n("pause",e,{})},onEnded:function(e){i.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=i.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:A,danmuRef:k,updateDanmu:C,toggleDanmu:L,sendDanmu:P}=function(e,t){const n=qn(null),o=Ln({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=I(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&a(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:O,onFullscreenChange:B,emitFullscreenChange:M,toggleFullscreen:N,requestFullScreen:F,exitFullScreen:R}=function(e,t,n,o,r){const i=Ln({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&s(e)}function c(){l(!1)}return Er(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,i,u,s,r),{state:j,onTouchstart:D,onTouchend:H,onTouchmove:W}=Rg(e,u,O),{state:V,progressRef:z,ballRef:q,clickProgress:U,toggleControls:Q}=function(e,t,n){const o=qn(null),r=qn(null),i=ca((()=>e.showCenterPlayBtn&&!t.start)),a=qn(!0),s=ca((()=>!i.value&&e.controls&&a.value)),l=Ln({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:s,controlsVisible:a});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return Er((()=>{c&&clearTimeout(c)})),Do((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),Do([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),_r((()=>{const e=nt(!1);let i,a,s,c=!0;const u=r.value;function d(e){const n=e.targetTouches[0],r=n.pageX,l=n.pageY;if(c&&Math.abs(r-i)100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function p(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,a=o.pageY,s=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",p),u.addEventListener("touchcancel",p)})),{state:l,progressRef:o,ballRef:r,clickProgress:function(e){const r=o.value;let i=e.target,a=e.offsetX;for(;i&&i!==r;)a+=i.offsetLeft,i=i.parentNode;const s=r.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,d,h);return jg(p,f,h,P,m,F,R),()=>Wi("uni-video",{ref:r,id:e.id},[Wi("div",{ref:i,class:"uni-video-container",onTouchstart:D,onTouchend:H,onTouchmove:W,onFullscreenchange:fs(B,["stop"]),onWebkitfullscreenchange:fs((e=>B(e,!0)),["stop"])},[Wi("video",Xi({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onClick:Q,onDurationchange:v,onLoadedmetadata:b,onProgress:y,onWaiting:_,onError:w,onPlay:x,onPause:E,onEnded:T,onTimeupdate:e=>{S(e),C(e)},onWebkitbeginfullscreen:()=>M(!0),onX5videoenterfullscreen:()=>M(!0),onWebkitendfullscreen:()=>M(!1),onX5videoexitfullscreen:()=>M(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onClick","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Lr(Wi("div",{class:"uni-video-bar uni-video-bar-full",onClick:fs((()=>{}),["stop"])},[Wi("div",{class:"uni-video-controls"},[Lr(Wi("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:fs(g,["stop"])},null,10,["onClick"]),[[hs,e.showPlayBtn]]),Lr(Wi("div",{class:"uni-video-current-time"},[Fg(d.currentTime)],512),[[hs,e.showProgress]]),Lr(Wi("div",{ref:z,class:"uni-video-progress-container",onClick:fs(U,["stop"])},[Wi("div",{class:"uni-video-progress"},[Wi("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),Wi("div",{ref:q,style:{left:d.progress+"%"},class:"uni-video-ball"},[Wi("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[hs,e.showProgress]]),Lr(Wi("div",{class:"uni-video-duration"},[Fg(Number(e.duration)||d.duration)],512),[[hs,e.showProgress]])]),Lr(Wi("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":A.enable},onClick:fs(L,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[hs,e.danmuBtn]]),Lr(Wi("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:fs((()=>N(!O.fullscreen)),["stop"])},null,10,["onClick"]),[[hs,e.showFullscreenBtn]])],8,["onClick"]),[[hs,V.controlsShow]]),Lr(Wi("div",{ref:k,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[hs,d.start&&A.enable]]),V.centerPlayBtnShow&&Wi("div",{class:"uni-video-cover",onClick:fs((()=>{}),["stop"])},[Wi("div",{class:"uni-video-cover-play-button",onClick:fs(p,["stop"])},null,8,["onClick"]),Wi("p",{class:"uni-video-cover-duration"},[Fg(Number(e.duration)||d.duration)])],8,["onClick"]),Wi("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===j.gestureType}},[Wi("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),Wi("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[Wi("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),Wi("div",{class:"uni-video-toast-value"},[Wi("div",{style:{width:100*j.volumeNew+"%"},class:"uni-video-toast-value-content"},[Wi("div",{class:"uni-video-toast-volume-grids"},[Rr(10,(()=>Wi("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),Wi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===j.gestureType}},[Wi("div",{class:"uni-video-toast-title"},[Fg(j.currentTimeNew)," / ",Fg(d.duration)])],2),Wi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id"])}}),Hg=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Wg=Je((()=>Mb.on(Ve,Hg))),Vg=rd({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Wg();const t=qn(null),n=qn(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=Oh({excludeListeners:!0});let a;return(()=>{const r=document.createElement("iframe");Ro((()=>{for(const e in o.value)if(L(o.value,e)){const t=o.value[e];r[e]=t}})),Ro((()=>{r.src=bd(e.src)})),n.value=r,a=function(e,t,n){const o=()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();Ge(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else Ge(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})};return o}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),_r((()=>{var o;a(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),lr((()=>{e.fullscreen&&(n.value.style.display="block")})),cr((()=>{e.fullscreen&&(n.value.style.display="none")})),Er((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>Wi(Ei,null,[Wi("uni-web-view",Xi({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[Wi(Qf,{onResize:a},null,8,["onResize"])],16)])}});const zg=up("makePhoneCall",(({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t()))),qg="__DC_STAT_UUID",Ug=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Qg;function $g(){if(Qg=Qg||Ug[qg],!Qg){Qg=Date.now()+""+Math.floor(1e7*Math.random());try{Ug[qg]=Qg}catch(e){}}return Qg}function Xg(){if(!0!==__uniConfig.darkmode)return N(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Yg(){let e,t="0",n="",o="phone";const r=navigator.language;if(wd){e="iOS";const o=yd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=yd.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(_d){e="Android";const o=yd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=yd.match(/\((.+?)\)/),i=r?r[1].split(";"):yd.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Ad(),n=kd(t),o=Cd(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Ld(o);let a=window.innerHeight;const s=ou.top,l={left:ou.left,right:i-ou.right,top:ou.top,bottom:a-ou.bottom,width:i-ou.left-ou.right,height:a-ou.top-ou.bottom},{top:c,bottom:u}=su();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:ou.top,right:ou.right,bottom:ou.bottom,left:ou.left},screenTop:r-a}}));let Jg,Kg=!0;function Zg(){Kg&&(Jg=Yg())}const ev=cp(0,(()=>{Zg();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s}=Jg;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:$g(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i}})),tv=cp(0,(()=>{Zg();const{theme:e,language:t,browserName:n,browserVersion:o}=Jg;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Yp?Yp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),nv=cp(0,(()=>{Kg=!0,Zg(),Kg=!1;const e=Gg(),t=ev(),n=tv();Kg=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=Jg,l=A(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return V(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),ov=up("getSystemInfo",((e,{resolve:t})=>t(nv())));const rv=cp(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),iv=up("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{rv(e,t),n()}catch(r){o(r.message)}}));function av(e){const t=localStorage&&localStorage.getItem(e);if(!N(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=N(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const sv=cp(0,(e=>{try{return av(e)}catch(t){return""}})),lv=up("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:av(e)})}catch(o){n(o.message)}})),cv=cp(0,(e=>{localStorage&&localStorage.removeItem(e)})),uv=up(Zp,(({key:e},{resolve:t})=>{cv(e),t()})),dv={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function pv({count:e,sourceType:t,type:n,extension:o}){const r=document.createElement("input");return r.type="file",Ge(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${dv[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}vh();let fv=null;const hv=up("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{Ec();const{t:a}=bc();fv&&(document.body.removeChild(fv),fv=null),fv=pv({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(fv),fv.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r(i=i||Vf(t),i)}),re))},tempFiles:o})})),fv.click(),bh()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,of);let mv=null;const gv=up("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Ec();const{t:i}=bc();mv&&(document.body.removeChild(mv),mv=null),mv=pv({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(mv),mv.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||Vf(t),i)}),oe))},tempFiles:r})})),mv.click(),bh()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,ef),vv={esc:["Esc","Escape"],enter:["Enter"]},bv=Object.keys(vv);function yv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),bs(Zo({setup:()=>()=>(Li(),Mi(e,t,null,16))}))}function _v(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function wv(e,{onEsc:t,onEnter:n}){const o=qn(e.visible),{key:r,disable:i}=function(){const e=qn(""),t=qn(!1),n=n=>{if(t.value)return;const o=bv.find((e=>-1!==vv[e].indexOf(n.key)));o&&(e.value=o),ho((()=>e.value=""))};return _r((()=>{document.addEventListener("keyup",n)})),Er((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Do((()=>e.visible),(e=>o.value=e)),Do((()=>o.value),(e=>i.value=!e)),Ro((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let xv=0,Ev="";function Tv(e){let t=xv;xv+=e?1:-1,xv=Math.max(0,xv),xv>0?0===t&&(Ev=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Ev,Ev="")}const Sv=id({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Ln({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,l=n*r>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Wi(Mh,{style:n,onTouchstart:cd(c),onTouchmove:cd(d),onTouchend:cd(u)},{default:()=>[Wi($h,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[Wi("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function Av(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const kv=id({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){_r((()=>Tv(!0))),Tr((()=>Tv(!1)));const n=qn(null),o=qn(Av(e));let r;function i(){r||ho((()=>{t("close")}))}function a(e){o.value=e.detail.current}Do((()=>e.current),(()=>o.value=Av(e))),_r((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))}));const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return Wi("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[Wi(wm,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>Wi(Em,null,{default:()=>[Wi(Sv,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!Ni(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Wi("div",{style:s},[gu("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var r}}});let Cv,Lv=null;const Iv=()=>{Lv=null,ho((()=>{null==Cv||Cv.unmount(),Cv=null}))},Pv=up("previewImage",((e,{resolve:t})=>{Lv?A(Lv,e):(Lv=Ln(e),ho((()=>{Cv=yv(kv,Lv,Iv),Cv.mount(_v("u-a-p"))}))),t()}),0,rf);let Ov=null;const Bv=up("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Ec();const{t:r}=bc();Ov&&(document.body.removeChild(Ov),Ov=null),Ov=pv({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Ov),Ov.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||Vf(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=Vf(t);i.onloadedmetadata=function(){zf(e),n(A(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,zf(e),n(r)}),300),i.src=e}else n(r)})),Ov.click(),bh()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,tf),Mv=lp("request",(({url:e,data:t,header:n,method:o,dataType:r,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(N(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)L(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,f=new Nv(p);p.open(o,e);for(const g in n)L(n,g)&&p.setRequestHeader(g,n[g]);const h=setTimeout((function(){p.onload=p.onabort=p.onerror=null,f.abort(),c("timeout")}),s);return p.responseType=i,p.onload=function(){clearTimeout(h);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Fv(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(h),c("abort")},p.onerror=function(){clearTimeout(h),c()},p.withCredentials=a,p.send(u),f}),0,cf);class Nv{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function Fv(e){const t={};return e.split(ae).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class Rv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){M(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const jv=lp("downloadFile",(({url:e,header:t,timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new Rv(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:Vf(n)})},a.onabort=function(){clearTimeout(i),r("abort")},a.onerror=function(){clearTimeout(i),r()},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout")}),n),s}),0,uf);class Dv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){M(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Hv=lp("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i,formData:a,timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Dv;return I(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Wf(e)):Hf(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c()},o.onabort=function(){clearTimeout(n),c("abort")},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort"):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout")}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,df),Wv=up("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===Su(Ae,{from:e.from||"navigateBack"})&&(o=!1),o?(kg().$router.go(-e.delta),t()):n(Ae)}),0,Ef);function Vv({type:e,url:t,tabBarText:n,events:o},r){const i=kg().$router,{path:a,query:s}=function(e){const[t,n]=e.split("?",2);return{path:t,query:st(n||"")}}(t);return new Promise(((t,l)=>{const c=function(e,t){return{__id__:t||++ig,__type__:e}}(e,r);i["navigateTo"===e?"push":"replace"]({path:a,query:s,state:c,force:!0}).then((r=>{if(fl(r))return l(r.message);if("switchTab"===e&&(i.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=i.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new ct(c.__id__,o),t({eventChannel:e.eventChannel})}return t()}))}))}const zv=up(ff,(({url:e,events:t},{resolve:n,reject:o})=>Vv({type:ff,url:e,events:t}).then(n).catch(o)),0,yf);const qv=up(hf,(({url:e},{resolve:t,reject:n})=>(function(){const e=yu();if(!e)return;const t=e.$page;rg(lg(t.path,t.id))}(),Vv({type:hf,url:e}).then(t).catch(n))),0,_f);const Uv=up(mf,(({url:e},{resolve:t,reject:n})=>(function(){const e=ng().keys();for(const t of e)rg(t)}(),Vv({type:mf,url:e}).then(t).catch(n))),0,wf);function Qv(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const $v=up(gf,(({url:e,tabBarText:t},{resolve:n,reject:o})=>(function(){const e=xu();if(!e)return;const t=ng(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:rg(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Su(e,me))}(),Vv({type:gf,url:e,tabBarText:t},function(e){const t=ng().values();for(const n of t){const t=n.$page;if(Qv(e,t))return n.$.__isActive=!0,t.id}}(e)).then(n).catch(o))),0,xf);function Xv(e){__uniConfig.darkmode&&Mb.on(be,e)}function Yv(e){let t={};return __uniConfig.darkmode&&(t=bt(e,__uniConfig.themeConfig,Xg())),__uniConfig.darkmode?t:e}const Gv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Pf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Jv="uni-toast__icon",Kv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Zv=e=>Kv[e],eb=Zo({name:"Toast",props:Gv,setup(e){wc(),xc();const{Icon:t}=function(e){const t=qn(Zv(Xg())),n=({theme:e})=>t.value=Zv(e);Ro((()=>{var t;e.visible?Xv(n):(t=n,Mb.off(be,t))}));const o=ca((()=>{switch(e.icon){case"success":return Wi(gu(fu,t.value,38),{class:Jv});case"error":return Wi(gu(hu,t.value,38),{class:Jv});case"loading":return Wi("i",{class:[Jv,"uni-loading"]},null,2);default:return null}}));return{Icon:o}}(e),n=wv(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return Wi(Ha,{name:"uni-fade"},{default:()=>[Lr(Wi("uni-toast",{"data-duration":r},[o?Wi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:ru},null,40,["onTouchmove"]):"",a||t.value?Wi("div",{class:"uni-toast"},[a?Wi("img",{src:a,class:Jv},null,10,["src"]):t.value,Wi("p",{class:"uni-toast__content"},[i])]):Wi("div",{class:"uni-sample-toast"},[Wi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[hs,n.value]])]})}}});let tb,nb,ob="";const rb=wt();function ib(e){tb?A(tb,e):(tb=Ln(A(e,{visible:!1})),ho((()=>{rb.run((()=>{Do([()=>tb.visible,()=>tb.duration],(([e,t])=>{if(e){if(nb&&clearTimeout(nb),"onShowLoading"===ob)return;nb=setTimeout((()=>{sb("onHideToast")}),t)}else nb&&clearTimeout(nb)}))})),Mb.on("onHidePopup",(()=>sb("onHidePopup"))),yv(eb,tb,(()=>{})).mount(_v("u-a-t"))}))),setTimeout((()=>{tb.visible=!0}),10)}const ab=up("showToast",((e,{resolve:t,reject:n})=>{ib(e),ob="onShowToast",t()}),0,Of);function sb(e){const{t:t}=bc();if(!ob)return;let n="";if("onHideToast"===e&&"onShowToast"!==ob?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==ob&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);ob="",setTimeout((()=>{tb.visible=!1}),10)}const lb=up("loadFontFace",(({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then((()=>{o.add&&o.add(r)}))}return new Promise((o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()}))})(e,t,n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function cb(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Mb.emit(Ne,{titleText:t})}Ro(t),lr(t)}const ub=up(Lf,((e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:a}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=a;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case Lf:const{title:s}=n;i.titleText=s}o()}(_u(),Lf,e,t,n)})),db=up("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){if(N(e)){const t=document.querySelector(e);if(t){const{height:o,top:r}=t.getBoundingClientRect();e=r+window.pageYOffset,n&&(e-=o)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:r,scrollHeight:i}=o;if(e=Math.min(e,i-r),0===t)return void(o.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}(t||e||0,n,!0),o()}),0,If),pb=up(Bf,((e,{resolve:t})=>{Mb.invokeViewMethod(Bf,{},wu()),t()})),fb=up(Mf,((e,{resolve:t})=>{Mb.invokeViewMethod(Mf,{},wu()),t()})),hb=["text","iconPath","iconfont","selectedIconPath","visible"],mb=["color","selectedColor","backgroundColor","borderStyle","midButton"],gb=["badge","redDot"];function vb(e,t,n){t.forEach((function(t){L(n,t)&&(e[t]=n[t])}))}function bb(e,t,n){const o=Qm();switch(e){case"showTabBar":o.shown=!0;break;case Nf:o.shown=!1;break;case"setTabBarItem":const{index:e}=t,n=o.list[e],r=n.pagePath;vb(n,hb,t);const{pagePath:i}=t;if(i){const t=$e(i);t!==r&&function(e,t,n){const o=Pu($e(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=Pu($e(n));if(r){const{meta:t}=r;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=Xe(n))}}(e,r,t)}break;case"setTabBarStyle":vb(o,mb,t);break;case"showTabBarRedDot":vb(o.list[t.index],gb,{badge:"",redDot:!0});break;case"setTabBarBadge":vb(o.list[t.index],gb,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":vb(o.list[t.index],gb,{badge:"",redDot:!1})}n()}const yb=up(Nf,((e,{resolve:t})=>{bb(Nf,e||{},t)})),_b=id({name:"TabBar",setup(){const e=qn([]),t=Qm(),n=Ln(Yv(t));!function(e,t){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}qn(A({type:"midButton"},e.midButton)),Ro(n)}(n,e),function(e){Do((()=>e.shown),(t=>{cu({"--window-bottom":Zm(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return Ro((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=r}})),(t,n)=>()=>{const{pagePath:o,text:r}=t;let i=$e(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?$v({from:"tabBar",url:i,tabBarText:r}):Su("onTabItemTap",{index:n,text:r,pagePath:o})}}(pc(),n,e),{style:r,borderStyle:i,placeholderStyle:a}=function(e){const t=ca((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||Jm&&n&&"none"!==n&&(t=Tb[n]),{backgroundColor:t||wb,backdropFilter:"none"!==n?"blur(10px)":n}})),n=ca((()=>{const{borderStyle:t}=e;return{backgroundColor:Sb[t]||t}})),o=ca((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Xv((()=>{const e=Yv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))})),_r((()=>{n.iconfontSrc&&lb({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map(((n,a)=>{const s=o===a;return function(e,t,n,o,r,i,a,s){return Wi("div",{key:a,class:"uni-tabbar__item",onClick:s(r,a)},[Ab(e,t||"",n,o,r,i)],8,["onClick"])}(s?r:i,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}(n,o,e);return Wi("uni-tabbar",{class:"uni-tabbar-"+n.position},[Wi("div",{class:"uni-tabbar",style:r.value},[Wi("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),Wi("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const wb="#f7f7fa",xb="rgb(0, 0, 0, 0.8)",Eb="rgb(250, 250, 250, 0.8)",Tb={dark:xb,light:Eb,extralight:Eb},Sb={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Ab(e,t,n,o,r,i){const{height:a}=i;return Wi("div",{class:"uni-tabbar__bd",style:{height:a}},[n?Cb(n,o||xb,r,i):t&&kb(t,r,i),r.text&&Lb(e,r,i),r.redDot&&Ib(r.badge)],4)}function kb(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return Wi("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&Wi("img",{src:bd(e)},null,8,["src"])],6)}function Cb(e,t,n,o){var r;const{type:i,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||s,color:t};return Wi("div",{class:l,style:c},["midButton"!==i&&Wi("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Lb(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:a}=n;return Wi("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[r],4)}function Ib(e){return Wi("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const Pb="0px",Ob=id({name:"Layout",setup(e,{emit:t}){const n=qn(null);lu({"--status-bar-height":Pb,"--top-window-height":Pb,"--window-left":Pb,"--window-right":Pb,"--window-margin":Pb,"--tab-bar-height":Pb});const o=function(){const e=pc();return{routeKey:ca((()=>lg("/"+e.meta.route,qm()))),isTabBar:ca((()=>e.meta.isTabBar)),routeCache:ug}}(),{layoutState:r,windowState:i}=function(){zm();{const e=Ln({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Do((()=>e.marginWidth),(e=>lu({"--window-margin":e+"px"}))),Do((()=>e.leftWindowWidth+e.marginWidth),(e=>{lu({"--window-left":e+"px"})})),Do((()=>e.rightWindowWidth+e.marginWidth),(e=>{lu({"--window-right":e+"px"})})),{layoutState:e,windowState:ca((()=>({})))}}}();!function(e,t){const n=zm();function o(){const o=document.body.clientWidth,r=og();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=Pu(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((L(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,ho((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")}))):(e.marginWidth=0,ho((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Do([()=>n.path],o),_r((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const a=function(e){const t=zm(),n=Qm(),o=ca((()=>t.meta.isTabBar&&n.shown));return lu({"--tab-bar-height":n.height}),o}(),s=function(e){const t=qn(!1);return ca((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return()=>{const e=function(e,t,n,o,r,i){const a=function({routeKey:e,isTabBar:t,routeCache:n}){return Wi(uc,null,{default:Lo((({Component:o})=>[(Li(),Mi(ar,{matchBy:"key",cache:n},[(Li(),Mi(Mr(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e);return a}(o),t=function(e){return Lr(Wi(_b,null,null,512),[[hs,e.value]])}(a);return Wi("uni-app",{ref:n,class:s.value},[e,t],2)}}});const Bb=A(Mc,{publishHandler(e,t,n){Mb.subscribeHandler(e,t,n)}}),Mb=A(Uu,{publishHandler(e,t,n){Bb.subscribeHandler(e,t,n)}}),Nb=id({name:"PageHead",setup(){const e=qn(null),t=Wm(),n=Ln(Yv(t.navigationBar)),{clazz:o,style:r}=function(e){const t=ca((()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r})),n=ca((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return Xv((()=>{const e=Yv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),()=>{const i=function(e,t){if(!t)return Wi("div",{class:"uni-page-head-btn",onClick:Rb},[gu(mu,"transparent"===e.type?"#fff":e.titleColor,27)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&Wi("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Wi("uni-page-head",{"uni-page-head-type":a},[Wi("div",{ref:e,class:o.value,style:r.value},[Wi("div",{class:"uni-page-head-hd"},[i]),Fb(n),Wi("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function Fb(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return Wi("div",{class:"uni-page-head-bd"},[Wi("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Wi("i",{class:"uni-loading"},null):r?Wi("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Rb(){1===og().length?Uv({url:"/"}):Wv({from:"backbutton",success(){}})}const jb={name:"PageRefresh",setup(){const{pullToRefresh:e}=Wm();return{offset:e.offset,color:e.color}}},Db=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Hb={class:"uni-page-refresh-inner"},Wb=["fill"],Vb=[Hi("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Hi("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],zb={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},qb=["stroke"];const Ub=Db(jb,[["render",function(e,t,n,o,r,i){return Li(),Bi("uni-page-refresh",null,[Hi("div",{style:s({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Hi("div",Hb,[(Li(),Bi("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},Vb,8,Wb)),(Li(),Bi("svg",zb,[Hi("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,qb)]))])],4)])}]]);function Qb(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter((e=>e.identifier===t))[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const $b="pulling",Xb="reached",Yb="aborting",Gb="refreshing",Jb="restoring";function Kb(e){const{id:t,pullToRefresh:n}=Wm(),{range:o,height:r}=n;let i,a,s,l,c,u,d,p;Pm((()=>{p||(p=Gb,g(),setTimeout((()=>{w()}),50))}),Bf,!1,t),Pm((()=>{p===Gb&&(v(),p=Jb,g(),function(e){if(!a)return;s.transition="-webkit-transform 0.3s",s.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),s.transition="",s.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}((()=>{v(),p=f=h=null})))}),Mf,!1,t),_r((()=>{i=e.value.$el,a=i.querySelector(".uni-page-refresh"),s=a.style,l=a.querySelector(".uni-page-refresh-inner").style}));let f=null,h=null;function m(e){p&&i&&i.classList[e]("uni-page-refresh--"+p)}function g(){m("add")}function v(){m("remove")}const b=cd((e=>{const t=e.changedTouches[0];c=t.identifier,u=t.pageY,d=!([Yb,Gb,Jb].indexOf(p)>=0)})),y=cd((e=>{if(!d)return;if(!Qb(e,c,u))return;let{deltaY:t}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(c=null);if(t<0&&!p)return;e.preventDefault(),null===f&&(h=t,p=$b,g()),t-=h,t<0&&(t=0),f=t;(t>=o&&p!==Xb||t1?t=1:t*=t*t;const n=Math.round(e/(o/r))||0;l.transform="rotate("+360*t+"deg)",s.clip="rect("+(45-n)+"px,45px,45px,-5px)",s.transform="translate3d(-50%, "+n+"px, 0)"}(t)})),_=cd((e=>{Qb(e,c,u)&&null!==p&&(p===$b?(v(),p=Yb,g(),function(e){if(!a)return;if(s.transform){s.transition="-webkit-transform 0.3s",s.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),s.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}((()=>{v(),p=f=h=null}))):p===Xb&&(v(),p=Gb,g(),w()))}));function w(){a&&(s.transition="-webkit-transform 0.2s",s.transform="translate3d(-50%, "+r+"px, 0)",Su(t,Ie))}return{onTouchstartPassive:b,onTouchmove:y,onTouchend:_,onTouchcancel:_}}const Zb=id({name:"PageBody",setup(e,t){const n=Wm(),o=qn(null),r=n.enablePullDownRefresh?Kb(o):null;return()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Wi(Ub,{ref:e},null,512)}(o,n);return Wi(Ei,null,[e,Wi("uni-page-wrapper",r,[Wi("uni-page-body",null,[jr(t.slots,"default")])],16)])}}});const ey=id({name:"Page",setup(e,t){const n=Vm(qm()),o=n.navigationBar;return cb(n),()=>Wi("uni-page",{"data-page":n.route},"custom"!==o.style?[Wi(Nb),ty(t)]:[ty(t)])}});function ty(e){return Li(),Mi(Zb,{key:0},{default:Lo((()=>[jr(e.slots,"page")])),_:3})}const ny={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=yp;const oy=Object.assign({"./locale/en.json":r,"./locale/zh-Hans.json":i}),ry=Object.assign;window.__uniConfig=ry({globalStyle:{backgroundColor:"#F8F8F8",backgroundColorTop:"#F8F8F8",backgroundColorBottom:"#F8F8F8",navigationBar:{backgroundColor:"#ffffff",titleText:"",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#999",selectedColor:"#007aff",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"app/pages/index/index"},{pagePath:"app/pages/member/index"}],selectedIndex:0,shown:!0},uniIdRouter:{},easycom:{custom:{"^u-(.*)":"uview-plus/components/u-$1/u-$1.vue","diy-(.*)":"@/app/components/diy/$1/index.vue","fixed-(.*)":"@/app/components/fixed/$1/index.vue"}},compilerVersion:"3.8.7"},{appId:"__UNI__ED923AB",appName:"",appVersion:"1.0.0",appVersionCode:"100",async:ny,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"zh-Hans",locales:Object.keys(oy).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return ry(e[n]||(e[n]={}),oy[t].default),e}),{}),router:{mode:"history",base:"/wap/",assets:"assets",routerBase:"/wap/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const iy={delay:ny.delay,timeout:ny.timeout,suspensible:ny.suspensible};ny.loading&&(iy.loadingComponent={name:"SystemAsyncLoading",render:()=>Wi(Or(ny.loading))}),ny.error&&(iy.errorComponent={name:"SystemAsyncError",render:()=>Wi(Or(ny.error))});const ay=()=>o((()=>import("./app-pages-index-index.b5dd3506.js")),["assets/app-pages-index-index.b5dd3506.js","assets/u-loading-page.966ecc29.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-loading-page-2116306f.css","assets/index.3ac4c3b4.js","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-image.480f9d13.js","assets/u-image-f70fd559.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-avatar.45f327ca.js","assets/u-avatar-0d8f8309.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/index-3865dfc0.css","assets/useShare.4592b318.js","assets/wechat.62b247b7.js","assets/index-ebb0cdf9.css"]).then((e=>Pg(e.default||e))),sy=tr(ry({loader:ay},iy)),ly=()=>o((()=>import("./app-pages-auth-agreement.8a878b04.js")),["assets/app-pages-auth-agreement.8a878b04.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/agreement-ca06a3ce.css"]).then((e=>Pg(e.default||e))),cy=tr(ry({loader:ly},iy)),uy=()=>o((()=>import("./app-pages-auth-bind.f727ccbc.js")),["assets/app-pages-auth-bind.f727ccbc.js","assets/u-form.a20c08e5.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-form-7abd9c29.css","assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js","assets/u-modal.30bfd23d.js","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-modal-b7ee2981.css","assets/sms-code-9b208b13.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-button.0f6f73b7.js","assets/u-button-4e9253f5.css","assets/bind-12c3cc42.css"]).then((e=>Pg(e.default||e))),dy=tr(ry({loader:uy},iy)),py=()=>o((()=>import("./app-pages-auth-login.e7dce401.js")),["assets/app-pages-auth-login.e7dce401.js","assets/u-form.a20c08e5.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-form-7abd9c29.css","assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js","assets/u-modal.30bfd23d.js","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-modal-b7ee2981.css","assets/sms-code-9b208b13.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-button.0f6f73b7.js","assets/u-button-4e9253f5.css"]).then((e=>Pg(e.default||e))),fy=tr(ry({loader:py},iy)),hy=()=>o((()=>import("./app-pages-auth-register.246fbdd3.js")),["assets/app-pages-auth-register.246fbdd3.js","assets/u-form.a20c08e5.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-form-7abd9c29.css","assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js","assets/u-modal.30bfd23d.js","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-modal-b7ee2981.css","assets/sms-code-9b208b13.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-button.0f6f73b7.js","assets/u-button-4e9253f5.css"]).then((e=>Pg(e.default||e))),my=tr(ry({loader:hy},iy)),gy=()=>o((()=>import("./app-pages-auth-resetpwd.5c677ead.js")),["assets/app-pages-auth-resetpwd.5c677ead.js","assets/u-form.a20c08e5.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-form-7abd9c29.css","assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js","assets/u-modal.30bfd23d.js","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-modal-b7ee2981.css","assets/sms-code-9b208b13.css","assets/u-button.0f6f73b7.js","assets/u-button-4e9253f5.css"]).then((e=>Pg(e.default||e))),vy=tr(ry({loader:gy},iy)),by=()=>o((()=>import("./app-pages-index-diy.3ac4c0c5.js")),["assets/app-pages-index-diy.3ac4c0c5.js","assets/u-loading-page.966ecc29.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-loading-page-2116306f.css","assets/index.3ac4c3b4.js","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-image.480f9d13.js","assets/u-image-f70fd559.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-avatar.45f327ca.js","assets/u-avatar-0d8f8309.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/index-3865dfc0.css","assets/useShare.4592b318.js","assets/wechat.62b247b7.js","assets/diy-d1da132c.css"]).then((e=>Pg(e.default||e))),yy=tr(ry({loader:by},iy)),_y=()=>o((()=>import("./app-pages-member-apply_cash_out.6d009bd6.js")),["assets/app-pages-member-apply_cash_out.6d009bd6.js","assets/u-button.0f6f73b7.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-button-4e9253f5.css","assets/u-loading-page.966ecc29.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-loading-page-2116306f.css"]).then((e=>Pg(e.default||e))),wy=tr(ry({loader:_y},iy)),xy=()=>o((()=>import("./app-pages-member-commission.e6378aa1.js")),["assets/app-pages-member-commission.e6378aa1.js","assets/u-button.0f6f73b7.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-button-4e9253f5.css","assets/commission-9a91ef84.css"]).then((e=>Pg(e.default||e))),Ey=tr(ry({loader:xy},iy)),Ty=()=>o((()=>import("./app-pages-member-balance.2e81b8df.js")),["assets/app-pages-member-balance.2e81b8df.js","assets/u-loading-page.966ecc29.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-loading-page-2116306f.css","assets/u-button.0f6f73b7.js","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-button-4e9253f5.css","assets/u-image.480f9d13.js","assets/u-image-f70fd559.css","assets/u-popup.94ffd479.js","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/pay.12e83dba.js","assets/wechat.62b247b7.js","assets/balance-77568516.css"]).then((e=>Pg(e.default||e))),Sy=tr(ry({loader:Ty},iy)),Ay=()=>o((()=>import("./app-pages-member-detailed_account.6e3cb299.js")),["assets/app-pages-member-detailed_account.6e3cb299.js","assets/useMescroll.3e6a9ffa.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/useMescroll-4efe1581.css","assets/mescroll-empty.8fa55762.js","assets/mescroll-empty-9f5c0b8e.css","assets/detailed_account-dc8f0aff.css"]).then((e=>Pg(e.default||e))),ky=tr(ry({loader:Ay},iy)),Cy=()=>o((()=>import("./app-pages-member-cash_out.5e6dd2b5.js")),["assets/app-pages-member-cash_out.5e6dd2b5.js","assets/useMescroll.3e6a9ffa.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/useMescroll-4efe1581.css","assets/mescroll-empty.8fa55762.js","assets/mescroll-empty-9f5c0b8e.css","assets/cash_out-0edc5ff6.css"]).then((e=>Pg(e.default||e))),Ly=tr(ry({loader:Cy},iy)),Iy=()=>o((()=>import("./app-pages-member-cash_out_detail.df2ffe58.js")),["assets/app-pages-member-cash_out_detail.df2ffe58.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/cash_out_detail-644668b2.css"]).then((e=>Pg(e.default||e))),Py=tr(ry({loader:Iy},iy)),Oy=()=>o((()=>import("./app-pages-member-index.49b791b7.js")),["assets/app-pages-member-index.49b791b7.js","assets/u-loading-page.966ecc29.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-loading-page-2116306f.css","assets/index.3ac4c3b4.js","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-image.480f9d13.js","assets/u-image-f70fd559.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-avatar.45f327ca.js","assets/u-avatar-0d8f8309.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/index-3865dfc0.css","assets/index-d17912db.css"]).then((e=>Pg(e.default||e))),By=tr(ry({loader:Oy},iy)),My=()=>o((()=>import("./app-pages-member-personal.8f08f834.js")),["assets/app-pages-member-personal.8f08f834.js","assets/u-avatar.45f327ca.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-avatar-0d8f8309.css","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-action-sheet.4f32c162.js","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-action-sheet-e3392aa2.css","assets/u-button.0f6f73b7.js","assets/u-button-4e9253f5.css","assets/app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js","assets/u-modal.30bfd23d.js","assets/u-modal-b7ee2981.css","assets/personal-09dad43c.css"]).then((e=>Pg(e.default||e))),Ny=tr(ry({loader:My},iy)),Fy=()=>o((()=>import("./app-pages-member-point.e43599bd.js")),["assets/app-pages-member-point.e43599bd.js","assets/useMescroll.3e6a9ffa.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/useMescroll-4efe1581.css","assets/mescroll-empty.8fa55762.js","assets/mescroll-empty-9f5c0b8e.css"]).then((e=>Pg(e.default||e))),Ry=tr(ry({loader:Fy},iy)),jy=()=>o((()=>import("./app-pages-member-account.ad4591e4.js")),["assets/app-pages-member-account.ad4591e4.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/useMescroll.3e6a9ffa.js","assets/useMescroll-4efe1581.css"]).then((e=>Pg(e.default||e))),Dy=tr(ry({loader:jy},iy)),Hy=()=>o((()=>import("./app-pages-member-account_edit.d15b57ac.js")),["assets/app-pages-member-account_edit.d15b57ac.js","assets/u-form.a20c08e5.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-form-7abd9c29.css","assets/u-button.0f6f73b7.js","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-button-4e9253f5.css","assets/u-modal.30bfd23d.js","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-modal-b7ee2981.css"]).then((e=>Pg(e.default||e))),Wy=tr(ry({loader:Hy},iy)),Vy=()=>o((()=>import("./app-pages-pay-browser.efb0a044.js")),[]).then((e=>Pg(e.default||e))),zy=tr(ry({loader:Vy},iy)),qy=()=>o((()=>import("./app-pages-pay-result.e4fdfd0c.js")),["assets/app-pages-pay-result.e4fdfd0c.js","assets/u-button.0f6f73b7.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-button-4e9253f5.css","assets/u-modal.30bfd23d.js","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-modal-b7ee2981.css","assets/pay.12e83dba.js","assets/result-15432195.css"]).then((e=>Pg(e.default||e))),Uy=tr(ry({loader:qy},iy)),Qy=()=>o((()=>import("./app-pages-setting-index.9df6c6b5.js")),["assets/app-pages-setting-index.9df6c6b5.js","assets/u-action-sheet.4f32c162.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/u-line.9ef7233b.js","assets/u-line-90cc8525.css","assets/u-loading-icon.85becb71.js","assets/u-loading-icon-4a706ea2.css","assets/u-popup.94ffd479.js","assets/u-transition.4588f416.js","assets/u-transition-e532dbd1.css","assets/u-safe-bottom.1b1ffd7b.js","assets/u-safe-bottom-fd70ea8a.css","assets/u-popup-b896d01d.css","assets/u-action-sheet-e3392aa2.css","assets/index-d9dd80ae.css"]).then((e=>Pg(e.default||e))),$y=tr(ry({loader:Qy},iy)),Xy=()=>o((()=>import("./app-pages-webview-index.64395c49.js")),["assets/app-pages-webview-index.64395c49.js","assets/u-icon.4046c188.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-icon-3406a03e.css","assets/index-3db1955c.css"]).then((e=>Pg(e.default||e))),Yy=tr(ry({loader:Xy},iy)),Gy=()=>o((()=>import("./app-pages-index-develop.d4f8daf0.js")),["assets/app-pages-index-develop.d4f8daf0.js","assets/u-button.0f6f73b7.js","assets/u-loading-icon.85becb71.js","assets/_plugin-vue_export-helper.1b428a4d.js","assets/u-loading-icon-4a706ea2.css","assets/u-icon.4046c188.js","assets/u-icon-3406a03e.css","assets/u-button-4e9253f5.css"]).then((e=>Pg(e.default||e))),Jy=tr(ry({loader:Gy},iy));function Ky(e,t){return Li(),Mi(ey,null,{page:Lo((()=>[Wi(e,ry({},t,{ref:"page"}),null,512)])),_:1})}function Zy(e,t){return N(e)?t:e}window.__uniRoutes=[{path:"/",alias:"/app/pages/index/index",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(sy,t)}},loader:ay,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{titleText:"%pages.index.index%",type:"default"},isNVue:!1}},{path:"/app/pages/auth/agreement",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(cy,t)}},loader:ly,meta:{navigationBar:{titleText:"%pages.auth.agreement%",type:"default"},isNVue:!1}},{path:"/app/pages/auth/bind",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(dy,t)}},loader:uy,meta:{navigationBar:{titleText:"%pages.auth.bind%",type:"default"},isNVue:!1}},{path:"/app/pages/auth/login",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(fy,t)}},loader:py,meta:{navigationBar:{titleText:"%pages.auth.login%",type:"default"},isNVue:!1}},{path:"/app/pages/auth/register",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(my,t)}},loader:hy,meta:{navigationBar:{titleText:"%pages.auth.register%",type:"default"},isNVue:!1}},{path:"/app/pages/auth/resetpwd",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(vy,t)}},loader:gy,meta:{navigationBar:{titleText:"%pages.auth.resetpwd%",type:"default"},isNVue:!1}},{path:"/app/pages/index/diy",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(yy,t)}},loader:by,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"%pages.index.diy%",type:"default"},isNVue:!1}},{path:"/app/pages/member/apply_cash_out",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(wy,t)}},loader:_y,meta:{navigationBar:{titleText:"%pages.member.apply_cash_out%",type:"default"},isNVue:!1}},{path:"/app/pages/member/commission",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Ey,t)}},loader:xy,meta:{navigationBar:{titleText:"%pages.member.commission%",type:"default"},isNVue:!1}},{path:"/app/pages/member/balance",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Sy,t)}},loader:Ty,meta:{navigationBar:{titleText:"%pages.member.balance%",type:"default"},isNVue:!1}},{path:"/app/pages/member/detailed_account",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(ky,t)}},loader:Ay,meta:{navigationBar:{titleText:"%pages.member.detailed_account%",type:"default"},isNVue:!1}},{path:"/app/pages/member/cash_out",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Ly,t)}},loader:Cy,meta:{navigationBar:{titleText:"%pages.member.cash_out%",type:"default"},isNVue:!1}},{path:"/app/pages/member/cash_out_detail",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Py,t)}},loader:Iy,meta:{navigationBar:{titleText:"%pages.member.cash_out_detail%",type:"default"},isNVue:!1}},{path:"/app/pages/member/index",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(By,t)}},loader:Oy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,enablePullDownRefresh:!0,navigationBar:{titleText:"%pages.member.index%",type:"default"},isNVue:!1}},{path:"/app/pages/member/personal",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Ny,t)}},loader:My,meta:{navigationBar:{titleText:"%pages.member.personal%",type:"default"},isNVue:!1}},{path:"/app/pages/member/point",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Ry,t)}},loader:Fy,meta:{navigationBar:{titleText:"%pages.member.point%",type:"default"},isNVue:!1}},{path:"/app/pages/member/account",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Dy,t)}},loader:jy,meta:{navigationBar:{titleText:"%pages.member.account%",type:"default"},isNVue:!1}},{path:"/app/pages/member/account_edit",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Wy,t)}},loader:Hy,meta:{navigationBar:{titleText:"%pages.member.account_edit%",type:"default"},isNVue:!1}},{path:"/app/pages/pay/browser",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(zy,t)}},loader:Vy,meta:{navigationBar:{titleText:"%pages.pay.browser%",type:"default"},isNVue:!1}},{path:"/app/pages/pay/result",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Uy,t)}},loader:qy,meta:{navigationBar:{titleText:"%pages.pay.result%",type:"default"},isNVue:!1}},{path:"/app/pages/setting/index",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky($y,t)}},loader:Qy,meta:{navigationBar:{titleText:"%pages.setting.index%",type:"default"},isNVue:!1}},{path:"/app/pages/webview/index",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Yy,t)}},loader:Xy,meta:{navigationBar:{titleText:"%pages.webview.index%",type:"default"},isNVue:!1}},{path:"/app/pages/index/develop",component:{setup(){const e=kg(),t=e&&e.$route&&e.$route.query||{};return()=>Ky(Jy,t)}},loader:Gy,meta:{navigationBar:{titleText:"%pages.index.develop%",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const e_=e=>(t,n=Zi())=>{!ra&&vr(e,t,n)},t_=e_(he),n_=e_(me),o_=e_(ge),r_=e_(we),i_=e_(ke),a_=e_(Le),s_=e_(Ie),l_=e_(Pe),c_=e_(Be),u_={name:"",appid:"__UNI__ED923AB",description:"",versionName:"1.0.0",versionCode:"100",transformPx:!1,"app-plus":{usingComponents:!0,nvueStyleCompiler:"uni-app",compilerVersion:3,splashscreen:{alwaysShowBeforeRender:!0,waiting:!0,autoclose:!0,delay:0},modules:{},distribute:{android:{permissions:['','','','','','','','','','','','','','','']},ios:{},sdkConfigs:{}}},quickapp:{},"mp-weixin":{appid:"wx59e6ba6050bbe7bc",setting:{urlCheck:!1,es6:!0},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:{enable:!1},vueVersion:"3",h5:{router:{mode:"history",base:"/wap/"}},fallbackLocale:"zh-Hans"},d_="undefined"!=typeof window,p_="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,f_=e=>p_?Symbol(e):e,h_=(e,t,n)=>m_({l:e,k:t,s:n}),m_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),g_=e=>"number"==typeof e&&isFinite(e),v_=e=>"[object Date]"===P_(e),b_=e=>"[object RegExp]"===P_(e),y_=e=>O_(e)&&0===Object.keys(e).length;function __(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const w_=Object.assign;function x_(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const E_=Object.prototype.hasOwnProperty;function T_(e,t){return E_.call(e,t)}const S_=Array.isArray,A_=e=>"function"==typeof e,k_=e=>"string"==typeof e,C_=e=>"boolean"==typeof e,L_=e=>null!==e&&"object"==typeof e,I_=Object.prototype.toString,P_=e=>I_.call(e),O_=e=>"[object Object]"===P_(e),B_={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function M_(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=new SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=o,a}function N_(e){throw e}function F_(e,t,n){const o={start:e,end:t};return null!=n&&(o.source=n),o}const R_=" ",j_="\r",D_="\n",H_=String.fromCharCode(8232),W_=String.fromCharCode(8233);function V_(e){const t=e;let n=0,o=1,r=1,i=0;const a=e=>t[e]===j_&&t[e+1]===D_,s=e=>t[e]===W_,l=e=>t[e]===H_,c=e=>a(e)||(e=>t[e]===D_)(e)||s(e)||l(e),u=e=>a(e)||s(e)||l(e)?D_:t[e];function d(){return i=0,c(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}return{index:()=>n,line:()=>o,column:()=>r,peekOffset:()=>i,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+i),next:d,peek:function(){return a(n+i)&&i++,i++,t[n+i]},reset:function(){n=0,o=1,r=1,i=0},resetPeek:function(e=0){i=e},skipToPeek:function(){const e=n+i;for(;e!==n;)d();i=0}}}const z_=void 0,q_="'",U_="tokenizer";function Q_(e,t={}){const n=!1!==t.location,o=V_(e),r=()=>o.index(),i=()=>{return e=o.line(),t=o.column(),n=o.index(),{line:e,column:t,offset:n};var e,t,n},a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,n,...o){const r=c();if(t.column+=n,t.offset+=n,u){const n=M_(e,F_(r.startLoc,t),{domain:U_,args:o});u(n)}}function p(e,t,o){e.endLoc=i(),e.currentType=t;const r={type:t};return n&&(r.loc=F_(e.startLoc,e.endLoc)),null!=o&&(r.value=o),r}const f=e=>p(e,14);function h(e,t){return e.currentChar()===t?(e.next(),t):(d(B_.EXPECTED_TOKEN,i(),0,t),"")}function m(e){let t="";for(;e.currentPeek()===R_||e.currentPeek()===D_;)t+=e.currentPeek(),e.peek();return t}function g(e){const t=m(e);return e.skipToPeek(),t}function v(e){if(e===z_)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function b(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=function(e){if(e===z_)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),o}function y(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function _(e,t=!0){const n=(t=!1,o="",r=!1)=>{const i=e.currentPeek();return"{"===i?"%"!==o&&t:"@"!==i&&i?"%"===i?(e.peek(),n(t,"%",!0)):"|"===i?!("%"!==o&&!r)||!(o===R_||o===D_):i===R_?(e.peek(),n(!0,R_,r)):i!==D_||(e.peek(),n(!0,D_,r)):"%"===o||t},o=n();return t&&e.resetPeek(),o}function w(e,t){const n=e.currentChar();return n===z_?z_:t(n)?(e.next(),n):null}function x(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function E(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function T(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function S(e){let t="",n="";for(;t=E(e);)n+=t;return n}function A(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!_(e))break;t+=n,e.next()}else if(n===R_||n===D_)if(_(e))t+=n,e.next();else{if(y(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function k(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return C(e,t,4);case"U":return C(e,t,6);default:return d(B_.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function C(e,t,n){h(e,t);let o="";for(let r=0;r=1&&d(B_.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),n=p(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(B_.EMPTY_PLACEHOLDER,i(),0),e.next(),n=p(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(B_.UNTERMINATED_CLOSING_BRACE,i(),0),n=P(e,t)||f(t),t.braceNest=0,n;default:let o=!0,r=!0,a=!0;if(y(e))return t.braceNest>0&&d(B_.UNTERMINATED_CLOSING_BRACE,i(),0),n=p(t,1,L(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(B_.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,O(e,t);if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=v(e.currentPeek());return e.resetPeek(),o}(e,t))return n=p(t,5,function(e){g(e);let t="",n="";for(;t=x(e);)n+=t;return e.currentChar()===z_&&d(B_.UNTERMINATED_CLOSING_BRACE,i(),0),n}(e)),g(e),n;if(r=b(e,t))return n=p(t,6,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${S(e)}`):t+=S(e),e.currentChar()===z_&&d(B_.UNTERMINATED_CLOSING_BRACE,i(),0),t}(e)),g(e),n;if(a=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=e.currentPeek()===q_;return e.resetPeek(),o}(e,t))return n=p(t,7,function(e){g(e),h(e,"'");let t="",n="";const o=e=>e!==q_&&e!==D_;for(;t=w(e,o);)n+="\\"===t?k(e):t;const r=e.currentChar();return r===D_||r===z_?(d(B_.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),r===D_&&(e.next(),h(e,"'")),n):(h(e,"'"),n)}(e)),g(e),n;if(!o&&!r&&!a)return n=p(t,13,function(e){g(e);let t="",n="";const o=e=>"{"!==e&&"}"!==e&&e!==R_&&e!==D_;for(;t=w(e,o);)n+=t;return n}(e)),d(B_.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,n.value),g(e),n}return n}function P(e,t){const{currentType:n}=t;let o=null;const r=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||r!==D_&&r!==R_||d(B_.INVALID_LINKED_FORMAT,i(),0),r){case"@":return e.next(),o=p(t,8,"@"),t.inLinked=!0,o;case".":return g(e),e.next(),p(t,9,".");case":":return g(e),e.next(),p(t,10,":");default:return y(e)?(o=p(t,1,L(e)),t.braceNest=0,t.inLinked=!1,o):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const o="."===e.currentPeek();return e.resetPeek(),o}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;m(e);const o=":"===e.currentPeek();return e.resetPeek(),o}(e,t)?(g(e),P(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;m(e);const o=v(e.currentPeek());return e.resetPeek(),o}(e,t)?(g(e),p(t,12,function(e){let t="",n="";for(;t=x(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const o=()=>{const t=e.currentPeek();return"{"===t?v(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===R_||!t)&&(t===D_?(e.peek(),o()):v(t))},r=o();return e.resetPeek(),r}(e,t)?(g(e),"{"===r?I(e,t)||o:p(t,11,function(e){const t=(n=!1,o)=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&r?r===R_?o:r===D_?(o+=r,e.next(),t(n,o)):(o+=r,e.next(),t(!0,o)):o};return t(!1,"")}(e))):(8===n&&d(B_.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,O(e,t))}}function O(e,t){let n={type:14};if(t.braceNest>0)return I(e,t)||f(t);if(t.inLinked)return P(e,t)||f(t);switch(e.currentChar()){case"{":return I(e,t)||f(t);case"}":return d(B_.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),p(t,3,"}");case"@":return P(e,t)||f(t);default:if(y(e))return n=p(t,1,L(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:o,hasSpace:r}=function(e){const t=m(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(o)return r?p(t,0,A(e)):p(t,4,function(e){g(e);const t=e.currentChar();return"%"!==t&&d(B_.EXPECTED_TOKEN,i(),0,t),e.next(),"%"}(e));if(_(e))return p(t,0,A(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:a}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=a,l.offset=r(),l.startLoc=i(),o.currentChar()===z_?p(l,14):O(o,l)},currentOffset:r,currentPosition:i,context:c}}const $_="parser",X_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Y_(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function G_(e={}){const t=!1!==e.location,{onError:n}=e;function o(e,t,o,r,...i){const a=e.currentPosition();if(a.offset+=r,a.column+=r,n){const e=M_(t,F_(o,a),{domain:$_,args:i});n(e)}}function r(e,n,o){const r={type:e,start:n,end:n};return t&&(r.loc={start:o,end:o}),r}function i(e,n,o,r){e.end=n,r&&(e.type=r),t&&e.loc&&(e.loc.end=o)}function a(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,i(o,e.currentOffset(),e.currentPosition()),o}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:a}=n,s=r(5,o,a);return s.index=parseInt(t,10),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function l(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:a}=n,s=r(4,o,a);return s.key=t,e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:a}=n,s=r(9,o,a);return s.value=t.replace(X_,Y_),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let a=e.nextToken();if(9===a.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:a,lastStartLoc:s}=n,l=r(8,a,s);return 12!==t.type?(o(e,B_.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",i(l,a,s),{nextConsumeToken:t,node:l}):(null==t.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,J_(t)),l.value=t.value||"",i(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(10!==a.type&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 11:null==a.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(a)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,i(o,e.currentOffset(),e.currentPosition()),o}(e,a.value||"");break;case 5:null==a.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(a)),n.key=l(e,a.value||"");break;case 6:null==a.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(a)),n.key=s(e,a.value||"");break;case 7:null==a.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(a)),n.key=c(e,a.value||"");break;default:o(e,B_.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const u=e.context(),d=r(7,u.offset,u.startLoc);return d.value="",i(d,u.offset,u.startLoc),n.key=d,i(n,u.offset,u.startLoc),{nextConsumeToken:a,node:n}}return i(n,e.currentOffset(),e.currentPosition()),{node:n}}function d(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let d=null;do{const r=d||e.nextToken();switch(d=null,r.type){case 0:null==r.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(r)),n.items.push(a(e,r.value||""));break;case 6:null==r.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(r)),n.items.push(s(e,r.value||""));break;case 5:null==r.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(r)),n.items.push(l(e,r.value||""));break;case 7:null==r.value&&o(e,B_.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,J_(r)),n.items.push(c(e,r.value||""));break;case 8:const i=u(e);n.items.push(i.node),d=i.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return i(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function p(e){const t=e.context(),{offset:n,startLoc:a}=t,s=d(e);return 14===t.currentType?s:function(e,t,n,a){const s=e.context();let l=0===a.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(a);do{const t=d(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==s.currentType);return l&&o(e,B_.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),i(c,e.currentOffset(),e.currentPosition()),c}(e,n,a,s)}return{parse:function(n){const a=Q_(n,w_({},e)),s=a.context(),l=r(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=p(a),14!==s.currentType&&o(a,B_.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||""),i(l,a.currentOffset(),a.currentPosition()),l}}}function J_(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function K_(e,t){for(let n=0;nn,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&Z_(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function tw(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?tw(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let n=0;n{const n=k_(t.mode)?t.mode:"normal",o=k_(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],l=function(e,t){const{sourceMap:n,filename:o,breakLineCode:r,needIndent:i}=t,a={source:e.loc.source,filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};function s(e,t){a.code+=e}function l(e,t=!0){const n=t?r:"";s(i?n+" ".repeat(e):n)}return{context:()=>a,push:s,indent:function(e=!0){const t=++a.indentLevel;e&&l(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&l(t)},newline:function(){l(a.indentLevel)},helper:e=>`_${e}`,needIndent:()=>a.needIndent}}(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),l.newline()),l.push("return "),tw(l,e),l.deindent(a),l.push("}");const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}}; +/*! + * core-base v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */ +const ow=[];ow[0]={w:[0],i:[3,0],"[":[4],o:[7]},ow[1]={w:[1],".":[2],"[":[4],o:[7]},ow[2]={w:[2],i:[3,0],0:[3,0]},ow[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ow[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ow[5]={"'":[4,0],o:8,l:[5,0]},ow[6]={'"':[4,0],o:8,l:[6,0]};const rw=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function iw(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function aw(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,rw.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const sw=new Map;function lw(e,t){return L_(e)?e[t]:null}const cw=e=>e,uw=e=>"",dw="text",pw=e=>0===e.length?"":e.join(""),fw=e=>null==e?"":S_(e)||O_(e)&&e.toString===I_?JSON.stringify(e,null,2):String(e);function hw(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function mw(e={}){const t=e.locale,n=function(e){const t=g_(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(g_(e.named.count)||g_(e.named.n))?g_(e.named.count)?e.named.count:g_(e.named.n)?e.named.n:t:t}(e),o=L_(e.pluralRules)&&k_(t)&&A_(e.pluralRules[t])?e.pluralRules[t]:hw,r=L_(e.pluralRules)&&k_(t)&&A_(e.pluralRules[t])?hw:void 0,i=e.list||[],a=e.named||{};g_(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,a);function s(t){const n=A_(e.messages)?e.messages(t):!!L_(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):uw)}const l=O_(e.processor)&&A_(e.processor.normalize)?e.processor.normalize:pw,c=O_(e.processor)&&A_(e.processor.interpolate)?e.processor.interpolate:fw,u={list:e=>i[e],named:e=>a[e],plural:e=>e[o(n,e.length,r)],linked:(t,...n)=>{const[o,r]=n;let i="text",a="";1===n.length?L_(o)?(a=o.modifier||a,i=o.type||i):k_(o)&&(a=o||a):2===n.length&&(k_(o)&&(a=o||a),k_(r)&&(i=r||i));let l=s(t)(u);return"vnode"===i&&S_(l)&&a&&(l=l[0]),a?(c=a,e.modifiers?e.modifiers[c]:cw)(l,i):l;var c},message:s,type:O_(e.processor)&&k_(e.processor.type)?e.processor.type:dw,interpolate:c,normalize:l};return u}function gw(e,t,n){return[...new Set([n,...S_(t)?t:L_(t)?Object.keys(t):k_(t)?[t]:[n]])]}function vw(e,t,n){const o=k_(n)?n:Ew,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let e=[n];for(;S_(e);)e=bw(i,e,t);const a=S_(t)||!O_(t)?t:t.default?t.default:null;e=k_(a)?[a]:a,S_(e)&&bw(i,e,!1),r.__localeChainCache.set(o,i)}return i}function bw(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Aw,kw,Cw;let Lw=0;function Iw(e={}){const t=k_(e.version)?e.version:ww,n=k_(e.locale)?e.locale:Ew,o=S_(e.fallbackLocale)||O_(e.fallbackLocale)||k_(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,r=O_(e.messages)?e.messages:{[n]:{}},i=O_(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=O_(e.numberFormats)?e.numberFormats:{[n]:{}},s=w_({},e.modifiers||{},{upper:(e,t)=>"text"===t&&k_(e)?e.toUpperCase():"vnode"===t&&L_(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&k_(e)?e.toLowerCase():"vnode"===t&&L_(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&k_(e)?Sw(e):"vnode"===t&&L_(e)&&"__v_isVNode"in e?Sw(e.children):e}),l=e.pluralRules||{},c=A_(e.missing)?e.missing:null,u=!C_(e.missingWarn)&&!b_(e.missingWarn)||e.missingWarn,d=!C_(e.fallbackWarn)&&!b_(e.fallbackWarn)||e.fallbackWarn,p=!!e.fallbackFormat,f=!!e.unresolving,h=A_(e.postTranslation)?e.postTranslation:null,m=O_(e.processor)?e.processor:null,g=!C_(e.warnHtmlMessage)||e.warnHtmlMessage,v=!!e.escapeParameter,b=A_(e.messageCompiler)?e.messageCompiler:Aw,y=A_(e.messageResolver)?e.messageResolver:kw||lw,_=A_(e.localeFallbacker)?e.localeFallbacker:Cw||gw,w=L_(e.fallbackContext)?e.fallbackContext:void 0,x=A_(e.onWarn)?e.onWarn:__,E=e,T=L_(E.__datetimeFormatters)?E.__datetimeFormatters:new Map,S=L_(E.__numberFormatters)?E.__numberFormatters:new Map,A=L_(E.__meta)?E.__meta:{};Lw++;const k={version:t,cid:Lw,locale:n,fallbackLocale:o,messages:r,modifiers:s,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:d,fallbackFormat:p,unresolving:f,postTranslation:h,processor:m,warnHtmlMessage:g,escapeParameter:v,messageCompiler:b,messageResolver:y,localeFallbacker:_,fallbackContext:w,onWarn:x,__meta:A};return k.datetimeFormats=i,k.numberFormats=a,k.__datetimeFormatters=T,k.__numberFormatters=S,k}function Pw(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(null!==i){const o=i(e,n,t,r);return k_(o)?o:t}return t}function Ow(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const Bw=e=>e;let Mw=Object.create(null);let Nw=B_.__EXTEND_POINT__;const Fw=()=>++Nw,Rw={INVALID_ARGUMENT:Nw,INVALID_DATE_ARGUMENT:Fw(),INVALID_ISO_DATE_ARGUMENT:Fw(),__EXTEND_POINT__:Fw()};function jw(e){return M_(e,null,void 0)}const Dw=()=>"",Hw=e=>A_(e);function Ww(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=qw(...t),u=C_(c.missingWarn)?c.missingWarn:e.missingWarn,d=C_(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=C_(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,h=k_(c.default)||C_(c.default)?C_(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",m=n||""!==h,g=k_(c.locale)?c.locale:e.locale;p&&function(e){S_(e.list)?e.list=e.list.map((e=>k_(e)?x_(e):e)):L_(e.named)&&Object.keys(e.named).forEach((t=>{k_(e.named[t])&&(e.named[t]=x_(e.named[t]))}))}(c);let[v,b,y]=f?[l,g,s[g]||{}]:Vw(e,l,g,a,d,u),_=v,w=l;if(f||k_(_)||Hw(_)||m&&(_=h,w=_),!(f||(k_(_)||Hw(_))&&k_(b)))return r?xw:l;let x=!1;const E=Hw(_)?_:zw(e,l,b,_,w,(()=>{x=!0}));if(x)return _;const T=function(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d=o=>{let r=a(n,o);if(null==r&&u){const[,,e]=Vw(u,o,t,s,l,c);r=a(e,o)}if(k_(r)){let n=!1;const i=zw(e,o,t,r,o,(()=>{n=!0}));return n?Dw:i}return Hw(r)?r:Dw},p={locale:t,modifiers:r,pluralRules:i,messages:d};e.processor&&(p.processor=e.processor);o.list&&(p.list=o.list);o.named&&(p.named=o.named);g_(o.plural)&&(p.pluralIndex=o.plural);return p}(e,b,y,c),S=function(e,t,n){const o=t(n);return o}(0,E,mw(T));return o?o(S,l):S}function Vw(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d,p={},f=null;for(let h=0;ho;return e.locale=n,e.key=t,e}const l=a(o,function(e,t,n,o,r,i){return{warnHtmlMessage:r,onError:e=>{throw i&&i(e),e},onCacheKey:e=>h_(t,n,e)}}(0,n,r,0,s,i));return l.locale=n,l.key=t,l.source=o,l}function qw(...e){const[t,n,o]=e,r={};if(!k_(t)&&!g_(t)&&!Hw(t))throw jw(Rw.INVALID_ARGUMENT);const i=g_(t)?String(t):(Hw(t),t);return g_(n)?r.plural=n:k_(n)?r.default=n:O_(n)&&!y_(n)?r.named=n:S_(n)&&(r.list=n),g_(o)?r.plural=o:k_(o)?r.default=o:O_(o)&&w_(r,o),[i,r]}function Uw(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=$w(...t);C_(u.missingWarn)?u.missingWarn:e.missingWarn;C_(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,f=k_(u.locale)?u.locale:e.locale,h=a(e,r,f);if(!k_(l)||""===l)return new Intl.DateTimeFormat(f,d).format(c);let m,g={},v=null;for(let _=0;_{Qw.includes(e)?s[e]=n[e]:i[e]=n[e]})),k_(o)?i.locale=o:O_(o)&&(s=o),O_(r)&&(s=r),[i.key||"",a,i,s]}function Xw(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__datetimeFormatters.has(e)&&o.__datetimeFormatters.delete(e)}}function Yw(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=Jw(...t);C_(u.missingWarn)?u.missingWarn:e.missingWarn;C_(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,f=k_(u.locale)?u.locale:e.locale,h=a(e,r,f);if(!k_(l)||""===l)return new Intl.NumberFormat(f,d).format(c);let m,g={},v=null;for(let _=0;_{Gw.includes(e)?a[e]=n[e]:i[e]=n[e]})),k_(o)?i.locale=o:O_(o)&&(a=o),O_(r)&&(a=r),[i.key||"",s,i,a]}function Kw(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__numberFormatters.has(e)&&o.__numberFormatters.delete(e)}} +/*! + * vue-i18n v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Zw="9.2.2";let ex=B_.__EXTEND_POINT__;const tx=()=>++ex,nx={UNEXPECTED_RETURN_TYPE:ex,INVALID_ARGUMENT:tx(),MUST_BE_CALL_SETUP_TOP:tx(),NOT_INSLALLED:tx(),NOT_AVAILABLE_IN_LEGACY_MODE:tx(),REQUIRED_VALUE:tx(),INVALID_VALUE:tx(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:tx(),NOT_INSLALLED_WITH_PROVIDE:tx(),UNEXPECTED_ERROR:tx(),NOT_COMPATIBLE_LEGACY_VUE_I18N:tx(),BRIDGE_SUPPORT_VUE_2_ONLY:tx(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:tx(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:tx(),__EXTEND_POINT__:tx()};function ox(e,...t){return M_(e,null,void 0)}const rx=f_("__transrateVNode"),ix=f_("__datetimeParts"),ax=f_("__numberParts"),sx=f_("__setPluralRules");f_("__intlifyMeta");const lx=f_("__injectWithOption");function cx(e){if(!L_(e))return e;for(const t in e)if(T_(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(a[t]=a[t]||{},px(n,a[t])):px(n,a)}else k_(e)&&px(JSON.parse(e),a)})),null==r&&i)for(const s in a)T_(a,s)&&cx(a[s]);return a}const dx=e=>!L_(e)||S_(e);function px(e,t){if(dx(e)||dx(t))throw ox(nx.INVALID_VALUE);for(const n in e)T_(e,n)&&(dx(e[n])||dx(t[n])?t[n]=e[n]:px(e[n],t[n]))}function fx(e,t,n){let o=L_(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=ux(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);if(r.length&&r.forEach((t=>{e.mergeLocaleMessage(t,o[t])})),L_(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(L_(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function hx(e){return Wi(Ti,null,e,0)}let mx=0;function gx(e){return(t,n,o,r)=>e(n,o,Zi()||void 0,r)}function vx(e={},t){const{__root:n}=e,o=void 0===n;let r=!C_(e.inheritLocale)||e.inheritLocale;const i=qn(n&&r?n.locale.value:k_(e.locale)?e.locale:Ew),a=qn(n&&r?n.fallbackLocale.value:k_(e.fallbackLocale)||S_(e.fallbackLocale)||O_(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i.value),s=qn(ux(i.value,e)),l=qn(O_(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),c=qn(O_(e.numberFormats)?e.numberFormats:{[i.value]:{}});let u=n?n.missingWarn:!C_(e.missingWarn)&&!b_(e.missingWarn)||e.missingWarn,d=n?n.fallbackWarn:!C_(e.fallbackWarn)&&!b_(e.fallbackWarn)||e.fallbackWarn,p=n?n.fallbackRoot:!C_(e.fallbackRoot)||e.fallbackRoot,f=!!e.fallbackFormat,h=A_(e.missing)?e.missing:null,m=A_(e.missing)?gx(e.missing):null,g=A_(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:!C_(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter;const y=n?n.modifiers:O_(e.modifiers)?e.modifiers:{};let _,w=e.pluralRules||n&&n.pluralRules;_=(()=>{const t={version:Zw,locale:i.value,fallbackLocale:a.value,messages:s.value,modifiers:y,pluralRules:w,missing:null===m?void 0:m,missingWarn:u,fallbackWarn:d,fallbackFormat:f,unresolving:!0,postTranslation:null===g?void 0:g,warnHtmlMessage:v,escapeParameter:b,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=l.value,t.numberFormats=c.value,t.__datetimeFormatters=O_(_)?_.__datetimeFormatters:void 0,t.__numberFormatters=O_(_)?_.__numberFormatters:void 0;return Iw(t)})(),Ow(_,i.value,a.value);const x=ca({get:()=>i.value,set:e=>{i.value=e,_.locale=i.value}}),E=ca({get:()=>a.value,set:e=>{a.value=e,_.fallbackLocale=a.value,Ow(_,i.value,e)}}),T=ca((()=>s.value)),S=ca((()=>l.value)),A=ca((()=>c.value));const k=(e,t,o,r,u,d)=>{let f;if(i.value,a.value,s.value,l.value,c.value,f=e(_),g_(f)&&f===xw){const[e,o]=t();return n&&p?r(n):u(e)}if(d(f))return f;throw ox(nx.UNEXPECTED_RETURN_TYPE)};function C(...e){return k((t=>Reflect.apply(Ww,null,[t,...e])),(()=>qw(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>k_(e)))}const L={normalize:function(e){return e.map((e=>k_(e)||g_(e)||C_(e)?hx(String(e)):e))},interpolate:e=>e,type:"vnode"};function I(e){return s.value[e]||{}}mx++,n&&d_&&(Do(n.locale,(e=>{r&&(i.value=e,_.locale=e,Ow(_,i.value,a.value))})),Do(n.fallbackLocale,(e=>{r&&(a.value=e,_.fallbackLocale=e,Ow(_,i.value,a.value))})));const P={id:mx,locale:x,fallbackLocale:E,get inheritLocale(){return r},set inheritLocale(e){r=e,e&&n&&(i.value=n.locale.value,a.value=n.fallbackLocale.value,Ow(_,i.value,a.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:T,get modifiers(){return y},get pluralRules(){return w||{}},get isGlobal(){return o},get missingWarn(){return u},set missingWarn(e){u=e,_.missingWarn=u},get fallbackWarn(){return d},set fallbackWarn(e){d=e,_.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(e){p=e},get fallbackFormat(){return f},set fallbackFormat(e){f=e,_.fallbackFormat=f},get warnHtmlMessage(){return v},set warnHtmlMessage(e){v=e,_.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,_.escapeParameter=e},t:C,getLocaleMessage:I,setLocaleMessage:function(e,t){s.value[e]=t,_.messages=s.value},mergeLocaleMessage:function(e,t){s.value[e]=s.value[e]||{},px(t,s.value[e]),_.messages=s.value},getPostTranslationHandler:function(){return A_(g)?g:null},setPostTranslationHandler:function(e){g=e,_.postTranslation=e},getMissingHandler:function(){return h},setMissingHandler:function(e){null!==e&&(m=gx(e)),h=e,_.missing=m},[sx]:function(e){w=e,_.pluralRules=w}};return P.datetimeFormats=S,P.numberFormats=A,P.rt=function(...e){const[t,n,o]=e;if(o&&!L_(o))throw ox(nx.INVALID_ARGUMENT);return C(t,n,w_({resolvedMessage:!0},o||{}))},P.te=function(e,t){const n=I(k_(t)?t:i.value);return null!==_.messageResolver(n,e)},P.tm=function(e){const t=function(e){let t=null;const n=vw(_,a.value,i.value);for(let o=0;oReflect.apply(Uw,null,[t,...e])),(()=>$w(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>Tw),(e=>k_(e)))},P.n=function(...e){return k((t=>Reflect.apply(Yw,null,[t,...e])),(()=>Jw(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>Tw),(e=>k_(e)))},P.getDateTimeFormat=function(e){return l.value[e]||{}},P.setDateTimeFormat=function(e,t){l.value[e]=t,_.datetimeFormats=l.value,Xw(_,e,t)},P.mergeDateTimeFormat=function(e,t){l.value[e]=w_(l.value[e]||{},t),_.datetimeFormats=l.value,Xw(_,e,t)},P.getNumberFormat=function(e){return c.value[e]||{}},P.setNumberFormat=function(e,t){c.value[e]=t,_.numberFormats=c.value,Kw(_,e,t)},P.mergeNumberFormat=function(e,t){c.value[e]=w_(c.value[e]||{},t),_.numberFormats=c.value,Kw(_,e,t)},P[lx]=e.__injectWithOption,P[rx]=function(...e){return k((t=>{let n;const o=t;try{o.processor=L,n=Reflect.apply(Ww,null,[o,...e])}finally{o.processor=null}return n}),(()=>qw(...e)),"translate",(t=>t[rx](...e)),(e=>[hx(e)]),(e=>S_(e)))},P[ix]=function(...e){return k((t=>Reflect.apply(Uw,null,[t,...e])),(()=>$w(...e)),"datetime format",(t=>t[ix](...e)),(()=>[]),(e=>k_(e)||S_(e)))},P[ax]=function(...e){return k((t=>Reflect.apply(Yw,null,[t,...e])),(()=>Jw(...e)),"number format",(t=>t[ax](...e)),(()=>[]),(e=>k_(e)||S_(e)))},P}function bx(e={},t){{const t=vx(function(e){const t=k_(e.locale)?e.locale:Ew,n=k_(e.fallbackLocale)||S_(e.fallbackLocale)||O_(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=A_(e.missing)?e.missing:void 0,r=!C_(e.silentTranslationWarn)&&!b_(e.silentTranslationWarn)||!e.silentTranslationWarn,i=!C_(e.silentFallbackWarn)&&!b_(e.silentFallbackWarn)||!e.silentFallbackWarn,a=!C_(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=O_(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=A_(e.postTranslation)?e.postTranslation:void 0,d=!k_(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,f=!C_(e.sync)||e.sync;let h=e.messages;if(O_(e.sharedMessages)){const t=e.sharedMessages;h=Object.keys(t).reduce(((e,n)=>{const o=e[n]||(e[n]={});return w_(o,t[n]),e}),h||{})}const{__i18n:m,__root:g,__injectWithOption:v}=e,b=e.datetimeFormats,y=e.numberFormats;return{locale:t,fallbackLocale:n,messages:h,flatJson:e.flatJson,datetimeFormats:b,numberFormats:y,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:f,__i18n:m,__root:g,__injectWithOption:v}}(e)),n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return C_(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=C_(e)?!e:e},get silentFallbackWarn(){return C_(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=C_(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,o,r]=e,i={};let a=null,s=null;if(!k_(n))throw ox(nx.INVALID_ARGUMENT);const l=n;return k_(o)?i.locale=o:S_(o)?a=o:O_(o)&&(s=o),S_(r)?a=r:O_(r)&&(s=r),Reflect.apply(t.t,t,[l,a||s||{},i])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,o,r]=e,i={plural:1};let a=null,s=null;if(!k_(n))throw ox(nx.INVALID_ARGUMENT);const l=n;return k_(o)?i.locale=o:g_(o)?i.plural=o:S_(o)?a=o:O_(o)&&(s=o),k_(r)?i.locale=r:S_(r)?a=r:O_(r)&&(s=r),Reflect.apply(t.t,t,[l,a||s||{},i])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1,__onComponentInstanceCreated(t){const{componentInstanceCreatedListener:o}=e;o&&o(t,n)}};return n}}const yx={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function _x(e){return Ei}const wx={name:"i18n-t",props:w_({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>g_(e)||!isNaN(e)}},yx),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Ix({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter((e=>"_"!==e)),a={};e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=k_(e.plural)?+e.plural:e.plural);const s=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...S_(t.children)?t.children:[t]]),[]);return t.reduce(((t,n)=>{const o=e[n];return o&&(t[n]=o()),t}),{})}(t,i),l=r[rx](e.keypath,s,a),c=w_({},o);return ua(k_(e.tag)||L_(e.tag)?e.tag:_x(),c,l)}}};function xx(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const t={part:!0};let a={};e.locale&&(t.locale=e.locale),k_(e.format)?t.key=e.format:L_(e.format)&&(k_(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce(((t,o)=>n.includes(o)?w_({},t,{[o]:e.format[o]}):t),{}));const s=o(e.value,t,a);let l=[t.key];S_(s)?l=s.map(((e,t)=>{const n=r[e.type],o=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];var i;return S_(i=o)&&!k_(i[0])&&(o[0].key=`${e.type}-${t}`),o})):k_(s)&&(l=[s]);const c=w_({},i);return ua(k_(e.tag)||L_(e.tag)?e.tag:_x(),c,l)}}const Ex={name:"i18n-n",props:w_({value:{type:Number,required:!0},format:{type:[String,Object]}},yx),setup(e,t){const n=e.i18n||Ix({useScope:"parent",__useComponent:!0});return xx(e,t,Gw,((...e)=>n[ax](...e)))}},Tx={name:"i18n-d",props:w_({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},yx),setup(e,t){const n=e.i18n||Ix({useScope:"parent",__useComponent:!0});return xx(e,t,Qw,((...e)=>n[ix](...e)))}};function Sx(e){if(k_(e))return{path:e};if(O_(e)){if(!("path"in e))throw ox(nx.REQUIRED_VALUE);return e}throw ox(nx.INVALID_VALUE)}function Ax(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return k_(n)&&(a.locale=n),g_(r)&&(a.plural=r),g_(i)&&(a.plural=i),[t,s,a]}function kx(e,t,...n){const o=O_(n[0])?n[0]:{},r=!!o.useI18nComponentName;(!C_(o.globalInstall)||o.globalInstall)&&(e.component(r?"i18n":wx.name,wx),e.component(Ex.name,Ex),e.component(Tx.name,Tx)),e.directive("t",function(e){const t=t=>{const{instance:n,modifiers:o,value:r}=t;if(!n||!n.$)throw ox(nx.UNEXPECTED_ERROR);const i=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,n.$),a=Sx(r);return[Reflect.apply(i.t,i,[...Ax(a)]),i]};return{created:(n,o)=>{const[r,i]=t(o);d_&&e.global===i&&(n.__i18nWatcher=Do(i.locale,(()=>{o.instance&&o.instance.$forceUpdate()}))),n.__composer=i,n.textContent=r},unmounted:e=>{d_&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,o=Sx(t);e.textContent=Reflect.apply(n.t,n,[...Ax(o)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}function Cx(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[sx](t.pluralizationRules||e.pluralizationRules);const n=ux(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const Lx=f_("global-vue-i18n");function Ix(e={}){const t=Zi();if(null==t)throw ox(nx.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ox(nx.NOT_INSLALLED);const n=function(e){{const t=Fo(e.isCE?Lx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ox(e.isCE?nx.NOT_INSLALLED_WITH_PROVIDE:nx.UNEXPECTED_ERROR);return t}}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=function(e){return e.type}(t),i=function(e,t){return y_(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw ox(nx.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,t,n,o={}){const r="local"===t,i=Un(null);if(r&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw ox(nx.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=!C_(o.inheritLocale)||o.inheritLocale,s=qn(r&&a?n.locale.value:k_(o.locale)?o.locale:Ew),l=qn(r&&a?n.fallbackLocale.value:k_(o.fallbackLocale)||S_(o.fallbackLocale)||O_(o.fallbackLocale)||!1===o.fallbackLocale?o.fallbackLocale:s.value),c=qn(ux(s.value,o)),u=qn(O_(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=qn(O_(o.numberFormats)?o.numberFormats:{[s.value]:{}}),p=r?n.missingWarn:!C_(o.missingWarn)&&!b_(o.missingWarn)||o.missingWarn,f=r?n.fallbackWarn:!C_(o.fallbackWarn)&&!b_(o.fallbackWarn)||o.fallbackWarn,h=r?n.fallbackRoot:!C_(o.fallbackRoot)||o.fallbackRoot,m=!!o.fallbackFormat,g=A_(o.missing)?o.missing:null,v=A_(o.postTranslation)?o.postTranslation:null,b=r?n.warnHtmlMessage:!C_(o.warnHtmlMessage)||o.warnHtmlMessage,y=!!o.escapeParameter,_=r?n.modifiers:O_(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const E=ca({get:()=>i.value?i.value.locale.value:s.value,set:e=>{i.value&&(i.value.locale.value=e),s.value=e}}),T=ca({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:e=>{i.value&&(i.value.fallbackLocale.value=e),l.value=e}}),S=ca((()=>i.value?i.value.messages.value:c.value)),A=ca((()=>u.value)),k=ca((()=>d.value));function C(){return i.value?i.value.getPostTranslationHandler():v}function L(e){i.value&&i.value.setPostTranslationHandler(e)}function I(){return i.value?i.value.getMissingHandler():g}function P(e){i.value&&i.value.setMissingHandler(e)}function O(e){return x(),e()}function B(...e){return i.value?O((()=>Reflect.apply(i.value.t,null,[...e]))):O((()=>""))}function M(...e){return i.value?Reflect.apply(i.value.rt,null,[...e]):""}function N(...e){return i.value?O((()=>Reflect.apply(i.value.d,null,[...e]))):O((()=>""))}function F(...e){return i.value?O((()=>Reflect.apply(i.value.n,null,[...e]))):O((()=>""))}function R(e){return i.value?i.value.tm(e):{}}function j(e,t){return!!i.value&&i.value.te(e,t)}function D(e){return i.value?i.value.getLocaleMessage(e):{}}function H(e,t){i.value&&(i.value.setLocaleMessage(e,t),c.value[e]=t)}function W(e,t){i.value&&i.value.mergeLocaleMessage(e,t)}function V(e){return i.value?i.value.getDateTimeFormat(e):{}}function z(e,t){i.value&&(i.value.setDateTimeFormat(e,t),u.value[e]=t)}function q(e,t){i.value&&i.value.mergeDateTimeFormat(e,t)}function U(e){return i.value?i.value.getNumberFormat(e):{}}function Q(e,t){i.value&&(i.value.setNumberFormat(e,t),d.value[e]=t)}function $(e,t){i.value&&i.value.mergeNumberFormat(e,t)}const X={get id(){return i.value?i.value.id:-1},locale:E,fallbackLocale:T,messages:S,datetimeFormats:A,numberFormats:k,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(e){i.value&&(i.value.inheritLocale=e)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return!!i.value&&i.value.isGlobal},get missingWarn(){return i.value?i.value.missingWarn:p},set missingWarn(e){i.value&&(i.value.missingWarn=e)},get fallbackWarn(){return i.value?i.value.fallbackWarn:f},set fallbackWarn(e){i.value&&(i.value.missingWarn=e)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(e){i.value&&(i.value.fallbackRoot=e)},get fallbackFormat(){return i.value?i.value.fallbackFormat:m},set fallbackFormat(e){i.value&&(i.value.fallbackFormat=e)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:b},set warnHtmlMessage(e){i.value&&(i.value.warnHtmlMessage=e)},get escapeParameter(){return i.value?i.value.escapeParameter:y},set escapeParameter(e){i.value&&(i.value.escapeParameter=e)},t:B,getPostTranslationHandler:C,setPostTranslationHandler:L,getMissingHandler:I,setMissingHandler:P,rt:M,d:N,n:F,tm:R,te:j,getLocaleMessage:D,setLocaleMessage:H,mergeLocaleMessage:W,getDateTimeFormat:V,setDateTimeFormat:z,mergeDateTimeFormat:q,getNumberFormat:U,setNumberFormat:Q,mergeNumberFormat:$};function Y(e){e.locale.value=s.value,e.fallbackLocale.value=l.value,Object.keys(c.value).forEach((t=>{e.mergeLocaleMessage(t,c.value[t])})),Object.keys(u.value).forEach((t=>{e.mergeDateTimeFormat(t,u.value[t])})),Object.keys(d.value).forEach((t=>{e.mergeNumberFormat(t,d.value[t])})),e.escapeParameter=y,e.fallbackFormat=m,e.fallbackRoot=h,e.fallbackWarn=f,e.missingWarn=p,e.warnHtmlMessage=b}return yr((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw ox(nx.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=i.value=e.proxy.$i18n.__composer;"global"===t?(s.value=n.locale.value,l.value=n.fallbackLocale.value,c.value=n.messages.value,u.value=n.datetimeFormats.value,d.value=n.numberFormats.value):r&&Y(n)})),X}(t,i,o,e)}if("global"===i)return fx(o,e,r),o;if("parent"===i){let r=function(e,t,n=!1){let o=null;const r=t.root;let i=t.parent;for(;null!=i;){const t=e;if("composition"===e.mode)o=t.__getInstance(i);else{const e=t.__getInstance(i);null!=e&&(o=e.__composer,n&&o&&!o[lx]&&(o=null))}if(null!=o)break;if(r===i)break;i=i.parent}return o}(n,t,e.__useComponent);return null==r&&(r=o),r}const a=n;let s=a.__getInstance(t);if(null==s){const n=w_({},e);"__i18n"in r&&(n.__i18n=r.__i18n),o&&(n.__root=o),s=vx(n),function(e,t,n){_r((()=>{}),t),Tr((()=>{e.__deleteInstance(t)}),t)}(a,t),a.__setInstance(t,s)}return s}const Px=["locale","fallbackLocale","availableLocales"],Ox=["t","rt","d","n","tm"];Aw=function(e,t={}){{const n=(t.onCacheKey||Bw)(e),o=Mw[n];if(o)return o;let r=!1;const i=t.onError||N_;t.onError=e=>{r=!0,i(e)};const{code:a}=function(e,t={}){const n=w_({},t),o=G_(n).parse(e);return ew(o,n),nw(o,n)}(e,t),s=new Function(`return ${a}`)();return r?s:Mw[n]=s}},kw=function(e,t){if(!L_(e))return null;let n=sw.get(t);if(n||(n=function(e){const t=[];let n,o,r,i,a,s,l,c=-1,u=0,d=0;const p=[];function f(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,p[0](),!0}for(p[0]=()=>{void 0===o?o=r:o+=r},p[1]=()=>{void 0!==o&&(t.push(o),o=void 0)},p[2]=()=>{p[0](),d++},p[3]=()=>{if(d>0)d--,u=4,p[0]();else{if(d=0,void 0===o)return!1;if(o=aw(o),!1===o)return!1;p[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!f()){if(i=iw(n),l=ow[u],a=l[i]||l.l||8,8===a)return;if(u=a[0],void 0!==a[1]&&(s=p[a[1]],s&&(r=n,!1===s())))return;if(7===u)return t}}(t),n&&sw.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ibx(e))):o.run((()=>vx(e)));if(null==n)throw ox(nx.UNEXPECTED_ERROR);return[o,n]}}(e,n),l=f_("");{const e={get mode(){return n?"legacy":"composition"},get allowComposition(){return r},async install(t,...r){t.__VUE_I18N_SYMBOL__=l,t.provide(t.__VUE_I18N_SYMBOL__,e),!n&&o&&function(e,t){const n=Object.create(null);Px.forEach((e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw ox(nx.UNEXPECTED_ERROR);const r=zn(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,Ox.forEach((n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw ox(nx.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,o)}))}(t,e.global),kx(t,e,...r),n&&t.mixin(function(e,t,n){return{beforeCreate(){const o=Zi();if(!o)throw ox(nx.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const n=r.i18n;r.__i18n&&(n.__i18n=r.__i18n),n.__root=t,this===this.$root?this.$i18n=Cx(e,n):(n.__injectWithOption=!0,this.$i18n=bx(n))}else r.__i18n?this===this.$root?this.$i18n=Cx(e,r):this.$i18n=bx({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;r.__i18nGlobal&&fx(t,r,r),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e)},mounted(){},unmounted(){const e=Zi();if(!e)throw ox(nx.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(e),delete this.$i18n}}}(s,s.__composer,e));const i=t.unmount;t.unmount=()=>{e.dispose(),i()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:function(e){return i.get(e)||null},__setInstance:function(e,t){i.set(e,t)},__deleteInstance:function(e){i.delete(e)}};return e}}({locale:Yp(),globalInjection:!0,messages:{"zh-Hans":Bx,en:{}}});const Nx=new class{constructor(e){t(this,"i18n"),t(this,"loadLocale",[]),this.i18n=e}setI18nLanguage(e,t){this.i18n.mode,this.i18n.global.locale=e,Gp(e)}async loadLocaleMessages(e,t){try{let n="app";-1==e.indexOf("/app")&&(n=e.split("/")[1]);let r="/"==e?"pages.index.index":e.replace("/","").replaceAll("/",".");if(r="app"==n?r.replace("app.",""):r.split(".").splice(1).join("."),this.loadLocale.includes(`${t}/${r}`))return this.setI18nLanguage(t,r),ho();this.loadLocale.push(`${t}/${r}`);const i=await((e,t)=>{const n=e[t];return n?"function"==typeof n?n():Promise.resolve(n):new Promise(((e,n)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t)))}))})(Object.assign({"../app/locale/en/pages.setting.index.json":()=>o((()=>import("./app-locale-en-pages.setting.index.7f2a9cf4.js")),[]),"../app/locale/zh-Hans/pages.auth.bind.json":()=>o((()=>import("./app-locale-zh-Hans-pages.auth.bind.356a10db.js")),[]),"../app/locale/zh-Hans/pages.auth.login.json":()=>o((()=>import("./app-locale-zh-Hans-pages.auth.login.0404bd09.js")),[]),"../app/locale/zh-Hans/pages.auth.register.json":()=>o((()=>import("./app-locale-zh-Hans-pages.auth.register.a5ee0e14.js")),[]),"../app/locale/zh-Hans/pages.auth.resetpwd.json":()=>o((()=>import("./app-locale-zh-Hans-pages.auth.resetpwd.75e76a8e.js")),[]),"../app/locale/zh-Hans/pages.index.develop.json":()=>o((()=>import("./app-locale-zh-Hans-pages.index.develop.01fcf72e.js")),[]),"../app/locale/zh-Hans/pages.member.account.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.account.a20f7aba.js")),[]),"../app/locale/zh-Hans/pages.member.account_edit.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.account_edit.10181839.js")),[]),"../app/locale/zh-Hans/pages.member.apply_cash_out.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.apply_cash_out.7f44b3a1.js")),[]),"../app/locale/zh-Hans/pages.member.balance.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.balance.0a372d3c.js")),[]),"../app/locale/zh-Hans/pages.member.cash_out.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.cash_out.e9b5df1c.js")),[]),"../app/locale/zh-Hans/pages.member.cash_out_detail.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.cash_out_detail.587d5494.js")),[]),"../app/locale/zh-Hans/pages.member.commission.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.commission.c54dbf6f.js")),[]),"../app/locale/zh-Hans/pages.member.detailed_account.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.detailed_account.d74ec38a.js")),[]),"../app/locale/zh-Hans/pages.member.personal.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.personal.ee5ae624.js")),[]),"../app/locale/zh-Hans/pages.member.withdrawal_detail.json":()=>o((()=>import("./app-locale-zh-Hans-pages.member.withdrawal_detail.c63044ba.js")),[]),"../app/locale/zh-Hans/pages.setting.index.json":()=>o((()=>import("./app-locale-zh-Hans-pages.setting.index.81e854bb.js")),[]),"../recharge/locale/en/pages.setting.index.json":()=>o((()=>import("./recharge-locale-en-pages.setting.index.7f2a9cf4.js")),[]),"../recharge/locale/zh-Hans/pages.recharge.json":()=>o((()=>import("./recharge-locale-zh-Hans-pages.recharge.3f83cab2.js")),[]),"../recharge/locale/zh-Hans/pages.recharge_record.json":()=>o((()=>import("./recharge-locale-zh-Hans-pages.recharge_record.20315090.js")),[]),"../recharge/locale/zh-Hans/pages.recharge_record_detail.json":()=>o((()=>import("./recharge-locale-zh-Hans-pages.recharge_record_detail.0c628f5f.js")),[])}),`../${n}/locale/${t}/${r}.json`);return this.i18n.global.mergeLocaleMessage(t,i.default),this.setI18nLanguage(t,e),ho()}catch(n){return this.setI18nLanguage(t,e),ho()}}}(Mx),Fx=e=>Mx.global.t(e),Rx={install(e){e.use(Mx)}},jx={pages:[{path:"app/pages/index/index",style:{navigationBarTitleText:"%pages.index.index%",enablePullDownRefresh:!0}},{path:"app/pages/auth/agreement",style:{navigationBarTitleText:"%pages.auth.agreement%"}},{path:"app/pages/auth/bind",style:{navigationBarTitleText:"%pages.auth.bind%"}},{path:"app/pages/auth/login",style:{navigationBarTitleText:"%pages.auth.login%"}},{path:"app/pages/auth/register",style:{navigationBarTitleText:"%pages.auth.register%"}},{path:"app/pages/auth/resetpwd",style:{navigationBarTitleText:"%pages.auth.resetpwd%"}},{path:"app/pages/index/diy",style:{navigationBarTitleText:"%pages.index.diy%",enablePullDownRefresh:!0}},{path:"app/pages/member/apply_cash_out",style:{navigationBarTitleText:"%pages.member.apply_cash_out%"},needLogin:!0},{path:"app/pages/member/commission",style:{navigationBarTitleText:"%pages.member.commission%"},needLogin:!0},{path:"app/pages/member/balance",style:{navigationBarTitleText:"%pages.member.balance%"},needLogin:!0},{path:"app/pages/member/detailed_account",style:{navigationBarTitleText:"%pages.member.detailed_account%"}},{path:"app/pages/member/cash_out",style:{navigationBarTitleText:"%pages.member.cash_out%"}},{path:"app/pages/member/cash_out_detail",style:{navigationBarTitleText:"%pages.member.cash_out_detail%"}},{path:"app/pages/member/index",style:{navigationBarTitleText:"%pages.member.index%",enablePullDownRefresh:!0}},{path:"app/pages/member/personal",style:{navigationBarTitleText:"%pages.member.personal%"},needLogin:!0},{path:"app/pages/member/point",style:{navigationBarTitleText:"%pages.member.point%"},needLogin:!0},{path:"app/pages/member/account",style:{navigationBarTitleText:"%pages.member.account%"},needLogin:!0},{path:"app/pages/member/account_edit",style:{navigationBarTitleText:"%pages.member.account_edit%"},needLogin:!0},{path:"app/pages/pay/browser",style:{navigationBarTitleText:"%pages.pay.browser%"}},{path:"app/pages/pay/result",style:{navigationBarTitleText:"%pages.pay.result%"}},{path:"app/pages/setting/index",style:{navigationBarTitleText:"%pages.setting.index%"},needLogin:!0},{path:"app/pages/webview/index",style:{navigationBarTitleText:"%pages.webview.index%"}},{path:"app/pages/index/develop",style:{navigationBarTitleText:"%pages.index.develop%"}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#ffffff",backgroundColor:"#F8F8F8",backgroundColorTop:"#F8F8F8",backgroundColorBottom:"#F8F8F8"},tabBar:{list:[{pagePath:"app/pages/index/index"},{pagePath:"app/pages/member/index"}]},uniIdRouter:{},easycom:{custom:{"^u-(.*)":"uview-plus/components/u-$1/u-$1.vue","diy-(.*)":"@/app/components/diy/$1/index.vue","fixed-(.*)":"@/app/components/fixed/$1/index.vue"}}};function Dx(){return"/"+jx.pages[0].path}var Hx=!1; +/*! + * pinia v2.0.36 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Wx;const Vx=e=>Wx=e,zx=Symbol();function qx(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Ux,Qx;(Qx=Ux||(Ux={})).direct="direct",Qx.patchObject="patch object",Qx.patchFunction="patch function";const $x="undefined"!=typeof window;function Xx(){const e=wt(!0),t=e.run((()=>qn({})));let n=[],o=[];const r=jn({install(e){Vx(r),r._a=e,e.provide(zx,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a||Hx?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Yx=()=>{};function Gx(e,t,n,o=Yx){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};var i;return!n&&xt()&&(i=r,yt&&yt.cleanups.push(i)),r}function Jx(e,...t){e.slice().forEach((e=>{e(...t)}))}function Kx(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];qx(r)&&qx(o)&&e.hasOwnProperty(n)&&!zn(o)&&!Bn(o)?e[n]=Kx(r,o):e[n]=o}return e}const Zx=Symbol();const{assign:eE}=Object;function tE(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;return l=nE(e,(function(){s||(n.state.value[e]=r?r():{});const t=function(e){const t=I(e)?new Array(e.length):{};for(const n in e)t[n]=Kn(e,n);return t}(n.state.value[e]);return eE(t,i,Object.keys(a||{}).reduce(((t,o)=>(t[o]=jn(ca((()=>{Vx(n);const t=n._s.get(e);return a[o].call(t,t)}))),t)),{}))}),t,n,o,!0),l}function nE(e,t,n={},o,r,i){let a;const s=eE({actions:{}},n),l={deep:!0};let c,u,d,p=jn([]),f=jn([]);const h=o.state.value[e];let m;function g(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:Ux.patchFunction,storeId:e,events:d}):(Kx(o.state.value[e],t),n={type:Ux.patchObject,payload:t,storeId:e,events:d});const r=m=Symbol();ho().then((()=>{m===r&&(c=!0)})),u=!0,Jx(p,n,o.state.value[e])}i||h||(o.state.value[e]={}),qn({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{eE(e,t)}))}:Yx;function b(t,n){return function(){Vx(o);const r=Array.from(arguments),i=[],a=[];let s;Jx(f,{args:r,name:t,store:y,after:function(e){i.push(e)},onError:function(e){a.push(e)}});try{s=n.apply(this&&this.$id===e?this:y,r)}catch(l){throw Jx(a,l),l}return s instanceof Promise?s.then((e=>(Jx(i,e),e))).catch((e=>(Jx(a,e),Promise.reject(e)))):(Jx(i,s),s)}}const y=Ln({_p:o,$id:e,$onAction:Gx.bind(null,f),$patch:g,$reset:v,$subscribe(t,n={}){const r=Gx(p,t,n.detached,(()=>i())),i=a.run((()=>Do((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:Ux.direct,events:d},o)}),eE({},l,n))));return r},$dispose:function(){a.stop(),p=[],f=[],o._s.delete(e)}});o._s.set(e,y);const _=o._e.run((()=>(a=wt(),a.run((()=>t())))));for(const E in _){const t=_[E];if(zn(t)&&(!zn(x=t)||!x.effect)||Bn(t))i||(!h||qx(w=t)&&w.hasOwnProperty(Zx)||(zn(t)?t.value=h[E]:Kx(t,h[E])),o.state.value[e][E]=t);else if("function"==typeof t){const e=b(E,t);_[E]=e,s.actions[E]=t}}var w,x;return eE(y,_),eE(Rn(y),_),Object.defineProperty(y,"$state",{get:()=>o.state.value[e],set:e=>{g((t=>{eE(t,e)}))}}),o._p.forEach((e=>{eE(y,a.run((()=>e({store:y,app:o._a,pinia:o,options:s}))))})),h&&i&&n.hydrate&&n.hydrate(y.$state,h),c=!0,u=!0,y}function oE(e,t,n){let o,r;const i="function"==typeof t;function a(e,n){const a=Zi();(e=e||a&&Fo(zx,null))&&Vx(e),(e=Wx)._s.has(o)||(i?nE(o,t,r,e):tE(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=i?n:t):(r=e,o=e.id),a.$id=o,a}let rE="Store";function iE(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(){const n=e(this.$pinia),r=t[o];return"function"==typeof r?r.call(this,n):n[r]},n)),{})}const aE=iE;const sE=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return Ux},PiniaVuePlugin:function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[zx]=t,this.$pinia||(this.$pinia=t),t._a=this,$x&&Vx(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:Xx,defineStore:oE,getActivePinia:()=>Zi()&&Fo(zx)||Wx,mapActions:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(...n){return e(this.$pinia)[t[o]](...n)},n)),{})},mapGetters:aE,mapState:iE,mapStores:function(...e){return e.reduce(((e,t)=>(e[t.$id+rE]=function(){return t(this.$pinia)},e)),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]={get(){return e(this.$pinia)[t[o]]},set(n){return e(this.$pinia)[t[o]]=n}},n)),{})},setActivePinia:Vx,setMapStoreSuffix:function(e){rE=e},skipHydrate:function(e){return Object.defineProperty(e,Zx,{})},storeToRefs:function(e){{e=Rn(e);const t={};for(const n in e){const o=e[n];(zn(o)||Bn(o))&&(t[n]=Kn(e,n))}return t}}},Symbol.toStringTag,{value:"Module"})),lE=oE("diy",{state:()=>({mode:"",pageMode:"diy",currentIndex:-99,global:{title:"",pageBgColor:"",bottomTabBarSwitch:!0,bgUrl:""},value:[]}),getters:{},actions:{init(){var e=JSON.stringify({type:"init",load:!0});window.parent.postMessage(e,"*"),window.addEventListener("message",(e=>{try{let t=JSON.parse(e.data);this.currentIndex=t.currentIndex,this.pageMode=t.pageMode,t.global&&(this.global=t.global),t.value&&(this.value=t.value),this.value&&this.value.forEach(((e,t)=>{e.pageStyle="",e.pageBgColor&&(e.pageStyle+="background-color:"+e.pageBgColor+";"),e.margin&&(e.pageStyle+="padding-top:"+2*e.margin.top+"rpx;",e.pageStyle+="padding-bottom:"+2*e.margin.bottom+"rpx;",e.pageStyle+="padding-right:"+2*e.margin.both+"rpx;",e.pageStyle+="padding-left:"+2*e.margin.both+"rpx;")}))}catch(t){console.log("uniapp接受数据错误",t)}}),!1)},postMessage(e,t){if(this.currentIndex=e,t)var n=JSON.stringify({type:"data",index:this.currentIndex,global:Rn(this.global),value:Rn(this.value),component:Rn(t)});window.parent.postMessage(n,"*")},changeCurrentIndex(e,t=null){if(""!=this.mode&&this.currentIndex!=e){this.currentIndex=e;var n=JSON.stringify({type:"change",index:e,component:Rn(t)});window.parent.postMessage(n,"*")}}}});const cE=new class{constructor(){t(this,"baseUrl"),t(this,"config",{url:"",header:{}}),this.baseUrl=`${location.origin}/api/`,"/"!=this.baseUrl.substr(-1)&&(this.baseUrl+="/");try{this.config.header.channel=zE()}catch(e){}}requestInterceptors(){try{jE()&&(this.config.header.token=jE()),this.config.header.channel=zE()}catch(e){}}get(e,t={},n={}){return null==n.showSuccessMessage&&(n.showSuccessMessage=!1),Object.assign(this.config,n),this.request("GET",e,t)}post(e,t={},n={}){return null==n.showSuccessMessage&&(n.showSuccessMessage=!1),Object.assign(this.config,n),this.request("POST",e,t)}put(e,t={},n={}){return null==n.showSuccessMessage&&(n.showSuccessMessage=!1),Object.assign(this.config,n),this.request("PUT",e,t)}delete(e,t={}){return null==t.showSuccessMessage&&(t.showSuccessMessage=!1),Object.assign(this.config,t),this.request("DELETE",e)}upload(e,t={},n={}){this.requestInterceptors();const o=Object.assign(uni.$u.deepClone(this.config),{url:this.baseUrl+e,...t});return new Promise(((e,t)=>{Hv({...o,success:n=>{const o=JSON.parse(n.data);1==o.code?(this.config.showSuccessMessage&&ab({title:o.msg,icon:"none"}),e(o)):(0==o.code?ab({title:o.msg,icon:"none"}):this.handleAuthError(o.code),t(o))},fail:e=>{t(e)}})}))}request(e,t,n){this.requestInterceptors();const o=Object.assign(uni.$u.deepClone(this.config),{url:this.baseUrl+t,method:e,data:n});return new Promise(((e,t)=>{Mv({...o,success:n=>{const o=n.data;1==o.code?(this.config.showSuccessMessage&&ab({title:o.msg,icon:"none"}),e(o)):(0==o.code?ab({title:o.msg,icon:"none"}):this.handleAuthError(o.code),t(o))},fail:e=>{t(e)},complete:e=>{this.handleRequestFail(e)}})}))}handleAuthError(e){if(401===e)BE().logout()}handleRequestFail(e){e.errMsg&&"request:ok"==e.errMsg&&"string"==typeof e.data?ab({icon:"none",title:this.baseUrl+Fx("requestFail")}):"request:fail"!=e.errMsg?e.errMsg&&"request:fail url not in domain list"==e.errMsg&&ab({icon:"none",title:this.baseUrl+Fx("notInDomainList")}):ab({icon:"none",title:this.baseUrl+Fx("requestFail")})}};function uE(e){return cE.get("member/account/point",e)}function dE(e){return cE.get("member/account/balance",e)}function pE(e){return cE.get("member/account/money",e)}function fE(e){return cE.put(`member/modify/${e.field}`,e,{showErrorMessage:!0})}function hE(e){return cE.put("member/mobile",e,{showErrorMessage:!0})}function mE(){return cE.get("member/cash_out/config")}function gE(e){return cE.post("member/cash_out/apply",e,{showSuccessMessage:!0,showErrorMessage:!0})}function vE(e){return cE.get(`member/cashout_account/${e.account_id}`,{})}function bE(e){return cE.get("member/cashout_account/firstinfo",e)}function yE(e){return cE.get("member/cashout_account",e)}function _E(e){return cE.get("member/cash_out",e)}function wE(e){return cE.get(`member/cash_out/${e}`)}function xE(e){return cE.post("member/cashout_account",e,{showSuccessMessage:!0,showErrorMessage:!0})}function EE(e){return cE.put(`member/cashout_account/${e.account_id}`,e,{showSuccessMessage:!0,showErrorMessage:!0})}function TE(e){return cE.delete(`member/cashout_account/${e}`,{showSuccessMessage:!0,showErrorMessage:!0})}function SE(e){return cE.get("member/account/commission",e)}function AE(e){return cE.get("login",e,{showErrorMessage:!0})}function kE(e){return cE.post("login/mobile",e,{showErrorMessage:!0})}function CE(e){let t="register";return e.pid&&(t+=`?pid=${e.pid}`),cE.post(t,e,{showErrorMessage:!0})}function LE(e){let t="register/mobile";return e.pid&&(t+=`?pid=${e.pid}`),cE.post(t,e,{showErrorMessage:!0})}function IE(e){return cE.post("wechat/login",e)}function PE(e){let t="bind";return e.pid&&(t+=`?pid=${e.pid}`),cE.post(t,e,{showErrorMessage:!0})}function OE(e){return cE.post("member/log",e,{showErrorMessage:!1})}const BE=oE("member",{state:()=>({token:uni.getStorageSync("wapToken"),info:null}),actions:{async setToken(e){this.token=e,function(e){uni.setStorageSync("wapToken",e)}(e),await this.getMemberInfo()},async getMemberInfo(e){this.token&&await cE.get("member/member").then((t=>{this.info=t.data,e&&e()})).catch((async()=>{await this.logout()}))},async logout(e=!1){this.token&&await cE.put("auth/logout").then((()=>{this.$reset(),DE(),e&&ME({url:"/app/pages/index/index"})})).catch((()=>{this.$reset(),DE(),e&&ME({url:"/app/pages/index/index"})}))}}}),ME=e=>{if("decorate"==lE().mode)return;let{url:t,mode:n,param:o,success:r,fail:i,complete:a}=e;n=n||"navigateTo";switch(jx.tabBar.list.map((e=>`/${e.pagePath}`)).includes(t)&&(n="switchTab"),"switchTab"!=n&&o&&Object.keys(o).length&&(t+=uni.$u.queryParams(o)),n){case"switchTab":$v({url:t,success:()=>{r&&r()},fail:()=>{i&&i()},complete:()=>{a&&a()}});break;case"navigateTo":zv({url:t,success:()=>{r&&r()},fail:()=>{i&&i()},complete:()=>{a&&a()}});break;case"reLaunch":Uv({url:t,success:()=>{r&&r()},fail:()=>{i&&i()},complete:()=>{a&&a()}});break;case"redirectTo":qv({url:t,success:()=>{r&&r()},fail:()=>{i&&i()},complete:()=>{a&&a()}})}},NE=e=>{"decorate"!=lE().mode&&null!=e&&1!=Object.keys(e).length&&e.url&&(-1!=e.url.indexOf("http")||-1!=e.url.indexOf("http")?window.location.href=e.url:ME({url:e.url}))},FE=()=>{const e=og(),t=e[e.length-1];return t?t.route:""},RE=()=>{const e=og();let t=e[e.length-1].route,n=e[e.length-1].$page.options,o={};for(let r in n)o[r]=n[r];return{path:"/"+t,params:o}};function jE(){return BE().token}function DE(){uni.removeStorageSync("wapToken")}function HE(e){const t={},[n,o]=e.split("?");return o&&o.split("&").forEach((e=>{let[n,o]=e.split("=");t[n]=o})),{path:n,query:t}}function WE(e){return-1!=(t=e).indexOf("http://")||-1!=t.indexOf("https://")?e:`${location.origin}/${e}`;var t}function VE(){let e=navigator.userAgent.toLowerCase();return!!/micromessenger/.test(e)}function zE(){return VE()?"wechat":"h5"}function qE(e){return isNaN(parseFloat(e))?e:parseFloat(e).toFixed(2)}function UE(e){return e.substring(0,3)+"****"+e.substr(e.length-4)}function QE(){return cE.get("captcha",{},{showErrorMessage:!0})}function $E(e){return cE.post("wechat/sync",e)}function XE(e){return cE.get(`agreement/${e}`)}function YE(e){return cE.post("password/reset",e,{showErrorMessage:!0})}function GE(e){return cE.post(`send/mobile/${e.type}`,e,{showErrorMessage:!0})}function JE(e){return cE.get("wechat/jssdkconfig",e)}function KE(e){return cE.upload("file/image",e,{showErrorMessage:!0})}function ZE(e){return cE.get("wap_index",e)}function eT(e){return cE.get("diy/diy",e)}function tT(e){return cE.get("diy/share",e)}const nT=oE("config",{state:()=>({login:{is_username:0,is_mobile:0,is_auth_register:0,is_bind_mobile:0,agreement_show:0},tabbar:null}),actions:{async getLoginConfig(){await cE.get("login/config").then((e=>{this.login.is_username=parseInt(e.data.is_username),this.login.is_mobile=parseInt(e.data.is_mobile),this.login.is_auth_register=parseInt(e.data.is_auth_register),this.login.is_bind_mobile=parseInt(e.data.is_bind_mobile),this.login.agreement_show=parseInt(e.data.agreement_show)})).catch((()=>{}))},async getTabbarConfig(){await cE.get("diy/tabbar").then((e=>{this.tabbar=e.data})).catch((()=>{}))}}});function oT(){return{setLoginBack:e=>{uni.setStorage({key:"loginBack",data:e}),setTimeout((()=>{const e=nT();VE()&&uni.getStorageSync("openid")&&e.login.is_bind_mobile?ME({url:"/app/pages/auth/bind",mode:"redirectTo"}):ME({url:"/app/pages/auth/login",mode:"redirectTo"})}))},handleLoginBack:()=>{uni.getStorage({key:"loginBack",success:e=>{ME(e?e.data:{url:"/app/pages/index/index"})},fail:e=>{ME({url:"/app/pages/index/index"})}})},authLogin:e=>{let t=null;t=IE,t({code:e}).then((e=>{e.data.token?BE().setToken(e.data.token):uni.setStorageSync("openid",e.data.openid)}))},getAuthCode:(e="snsapi_base")=>{let t=`${location.origin}${location.pathname}`,n=HE(location.href).query;var o;n.code&&delete n.code,Object.keys(n).length&&(t+=uni.$u.queryParams(n)),(o={url:t,scopes:e},cE.get("wechat/codeurl",o)).then((e=>{location.href=e.data.url}))}}}const rT=oT();function iT(e){(function(){const e=[];return jx.pages.forEach((t=>{t.needLogin&&e.push(`/${t.path}`)})),jx.subPackages&&jx.subPackages.forEach((t=>{t.pages.forEach((n=>{n.needLogin&&e.push(`/${t.root}/${n.path}`)}))})),e})().includes(e.path)&&!jE()&&setTimeout((()=>{rT.setLoginBack({url:e.path,param:e.query||{}})}),100)}const aT=Zo({__name:"App",setup:e=>(({}.VITE_APP_DEBUG&&new window.VConsole,o_((async e=>{(()=>{const e=Kp();e.path=`/${e.path}`,Nx.loadLocaleMessages(e.path,Yp()),iT(e),e.query&&e.query.mid&&uni.setStorageSync("pid",e.query.mid),jE()&&OE({route:e.path,params:JSON.stringify(e.query||{}),pre_route:""})})(),["navigateTo","redirectTo","reLaunch","switchTab"].forEach((e=>{wp(e,{invoke(e){const t=HE(e.url);Nx.loadLocaleMessages(t.path,Yp()),iT(t);let n=og()[0]?og()[0].route:"";jE()&&OE({route:t.path,params:JSON.stringify(t.query),pre_route:n})}})})),"ios"==nv().platform&&uni.setStorageSync("initUrl",location.href),window.parent.postMessage(JSON.stringify({type:"appOnLaunch",message:"初始化加载完成"}),"*"),window.addEventListener("message",(e=>{try{"appOnReady"==JSON.parse(e.data).type&&window.parent.postMessage(JSON.stringify({type:"appOnReady",message:"加载完成"}),"*")}catch(t){console.log("uniapp app接受数据错误",t)}}),!1);const t=nT();if(t.getTabbarConfig(),await t.getLoginConfig(),yb(),jE()){const e=BE();await e.setToken(jE())}if(!jE()){const t=oT();VE()&&(e.query.code?t.authLogin(e.query.code):t.getAuthCode("snsapi_userinfo"))}window.addEventListener("popstate",(function(e){const t="/"+location.pathname.replace(u_.h5.router.base,"");Nx.loadLocaleMessages(t,Yp())}),!1)})),t_((()=>{})),n_((()=>{})),()=>{}))});Ig(aT,{init:Cg,setup(e){const t=zm(),n=()=>{var n;n=e,Object.keys(Jp).forEach((e=>{Jp[e].forEach((t=>{vr(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:a}=e,s=function({path:e,query:t}){return A(qf,{path:e,query:t}),A(Uf,qf),A({},qf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:it(t.query)});if(o&&Z(o,s),r&&Z(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&Z(i,e)}a&&(e.appContext.config.errorHandler=e=>{Z(a,e)})};return Fo(Zl).isReady().then(n),_r((()=>{window.addEventListener("resize",lt(Og,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Bg),document.addEventListener("visibilitychange",Mg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Mb.emit(be,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Li(),Mi(Ob));e.setup=(e,o)=>{const r=t&&t(e,o);return M(r)?n:r},e.render=n}});const sT={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>uni.$u.deepMerge(uni.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(e,t,n){const o=`u-${e}--`,r={};return t&&t.map((e=>{r[o+this[e]]=!0})),n&&n.map((e=>{this[e]?r[o+e]=this[e]:delete r[o+e]})),Object.keys(r)}},methods:{openPage(e="url"){const t=this[e];t&&this.$u.route({type:this.linkType,url:t})},$uGetRect(e,t){return new Promise((n=>{Xp().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=uni.$u.$parent.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){Sp("uOnReachBottom")},beforeDestroy(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}},lT={},{toString:cT}=Object.prototype;function uT(e){return"[object Array]"===cT.call(e)}function dT(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),uT(e))for(let n=0,o=e.length;n{null!=t&&(uT(t)?n=`${n}[]`:t=[t],dT(t,(t=>{!function(e){return"[object Date]"===cT.call(e)}(t)?function(e){return null!==e&&"object"==typeof e}(t)&&(t=JSON.stringify(t)):t=t.toISOString(),e.push(`${hT(n)}=${hT(t)}`)})))})),n=e.join("&")}var o;if(n){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}const gT=(e,t)=>{const n={};return e.forEach((e=>{fT(t[e])||(n[e]=t[e])})),n},vT=e=>(e=>new Promise(((t,n)=>{const o=mT((r=e.baseURL,i=e.url,r&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e}(r,i):i),e.params);var r,i;const a={url:o,header:e.header,complete:r=>{e.fullPath=o,r.config=e;try{"string"==typeof r.data&&(r.data=JSON.parse(r.data))}catch(i){}!function(e,t,n){const{validateStatus:o}=n.config,r=n.statusCode;!r||o&&!o(r)?t(n):e(n)}(t,n,r)}};let s;if("UPLOAD"===e.method){delete a.header["content-type"],delete a.header["Content-Type"];const t={filePath:e.filePath,name:e.name},n=["files","file","timeout","formData"];s=Hv({...a,...t,...gT(n,e)})}else if("DOWNLOAD"===e.method)fT(e.timeout)||(a.timeout=e.timeout),s=jv(a);else{const t=["data","method","timeout","dataType","responseType","withCredentials"];s=Mv({...a,...gT(t,e)})}e.getTask&&e.getTask(s,e)})))(e);function bT(){this.handlers=[]}bT.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},bT.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},bT.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const yT=(e,t,n)=>{const o={};return e.forEach((e=>{fT(n[e])?fT(t[e])||(o[e]=t[e]):o[e]=n[e]})),o},_T={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,withCredentials:!1,validateStatus:function(e){return e>=200&&e<300}};var wT=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{o=Promise}catch(s){o=function(){}}function r(i,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],p=[],f="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,h){if(null===l)return null;if(0===h)return l;var m,g;if("object"!=typeof l)return l;if(e(l,t))m=new t;else if(e(l,n))m=new n;else if(e(l,o))m=new o((function(e,t){l.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(l))m=[];else if(r.__isRegExp(l))m=new RegExp(l.source,a(l)),l.lastIndex&&(m.lastIndex=l.lastIndex);else if(r.__isDate(l))m=new Date(l.getTime());else{if(f&&Buffer.isBuffer(l))return Buffer.from?m=Buffer.from(l):(m=new Buffer(l.length),l.copy(m)),m;e(l,Error)?m=Object.create(l):void 0===c?(g=Object.getPrototypeOf(l),m=Object.create(g)):(m=Object.create(c),g=c)}if(s){var v=d.indexOf(l);if(-1!=v)return p[v];d.push(l),p.push(m)}for(var b in e(l,t)&&l.forEach((function(e,t){var n=i(t,h-1),o=i(e,h-1);m.set(n,o)})),e(l,n)&&l.forEach((function(e){var t=i(e,h-1);m.add(t)})),l){Object.getOwnPropertyDescriptor(l,b)&&(m[b]=i(l[b],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(l,b).set)continue;m[b]=i(l[b],h-1)}catch(T){if(T instanceof TypeError)continue;if(T instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(l);for(b=0;b{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||zv({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||qv({url:t}),"switchTab"!=e.type&&"tab"!=e.type||$v({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Uv({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Wv({delta:o})}}).route;function ET(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[];for(let t=1;t<7;t+=2)n.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function TT(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:kT,isEmpty:kT,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(t){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:CT,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:LT,promise:function(e){return CT(e)&<(e.then)&<(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};let PT,OT=null;function BT(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function MT(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function NT(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=MT(e);return t>0?BT(Number(e)*Math.pow(10,t)):Number(e)}function FT(e){(e>Number.MAX_SAFE_INTEGER||e{i=t(i,e)})),i}function jT(...e){if(e.length>2)return RT(e,jT);const[t,n]=e,o=NT(t),r=NT(n),i=MT(t)+MT(n),a=o*r;return FT(a),a/Math.pow(10,i)}function DT(...e){if(e.length>2)return RT(e,DT);const[t,n]=e,o=NT(t),r=NT(n);return FT(o),FT(r),jT(o/r,BT(Math.pow(10,MT(n)-MT(t))))}function HT(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=IT.array(e)?[]:{};for(const n in e)e.hasOwnProperty(n)&&(t[n]="object"==typeof e[n]?HT(e[n]):e[n]);return t}function WT(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const r in o){const[e]=new RegExp(`${r}+`).exec(t)||[];if(e){const n="y"===r&&2===e.length?2:0;t=t.replace(e,o[r].slice(n))}}return t}function VT(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const o=e-n.length;let r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const zT={range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},getPx:function(e,t=!1){return IT.number(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${yp(parseInt(e))}px`:Number(yp(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)},sleep:function(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))},os:function(){return nv().platform.toLowerCase()},sys:function(){return nv()},random:function(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},guid:function(e=32,t=!0,n=null){const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;iMath.random()-.5))},timeFormat:WT,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let o="";switch(!0){case n<300:o="刚刚";break;case n>=300&&n<3600:o=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:o=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:o=`${parseInt(n/86400)}天前`;break;default:o=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:WT(e,t)}return o},trim:VT,queryParams:function(e={},t=!0,n="brackets"){const o=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const i in e){const t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{r.push(`${i}[]=${e}`)}));break;case"repeat":t.forEach((e=>{r.push(`${i}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(`${i}=${e}`)}else r.push(`${i}=${t}`)}return r.length?o+r.join("&"):""},toast:function(e,t=2e3){ab({title:String(e),icon:"none",duration:t})},type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},priceFormat:function(e,t=0,n=".",o=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const r=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===o?",":o,s=void 0===n?".":n;let l="";l=(i?function(e,t){const n=Math.pow(10,t);let o=DT(Math.round(Math.abs(jT(e,n))),n);return e<0&&0!==o&&(o=jT(o,-1)),o}(r,i)+"":`${Math.round(r)}`).split(".");const c=/(-?\d+)(\d{3})/;for(;c.test(l[0]);)l[0]=l[0].replace(c,`$1${a}$2`);return(l[1]||"").length30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:function(e){return`00${e}`.slice(-2)},formValidate:function(e,t){const n=uni.$u.$parent.call(e,"u-form-item"),o=uni.$u.$parent.call(e,"u-form");n&&o&&o.validateField(n.prop,(()=>{}),t)},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let o=e[n[0]]||{};for(let e=1;e1;){const r=t[0];e[r]&&"object"==typeof e[r]||(e[r]={}),t.shift(),o(e[r],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const r=t.split(".");o(e,r,n)}else e[t]=n},page:function(){const e=og();return`/${e[e.length-1].route||""}`},pages:function(){return og()},setConfig:function({props:e={},config:t={},color:n={},zIndex:o={}}){const{deepMerge:r}=uni.$u;uni.$u.config=r(uni.$u.config,t),uni.$u.props=r(uni.$u.props,e),uni.$u.color=r(uni.$u.color,n),uni.$u.zIndex=r(uni.$u.zIndex,o)}},qT={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"},UT={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:()=>[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}},QT={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:()=>[]}},{color:$T}=qT,XT={icon:{name:"",color:$T["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:$T["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},{color:YT}=qT,GT={link:{color:YT["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}},{color:JT}=qT,KT={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},ZT={actionSheet:{show:!1,title:"",description:"",actions:()=>[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0},album:{urls:()=>[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:()=>[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:()=>({color:"#909399",fontSize:"19px"})},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:()=>[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""},...UT,carKeyboard:{random:!1},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:()=>[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""},codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...QT,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:()=>({}),rules:()=>({}),errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:()=>({})},formItem:{label:"",prop:"",borderBottom:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...XT,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:()=>[],sticky:!0,customNavHeight:0},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null},keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1},line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12},...GT,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...{loadingIcon:{show:!0,color:JT["u-tips-color"],textColor:JT["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"},loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1},modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:""},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:KT.mainColor,autoBack:!1,titleStyle:""}},noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,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"},noticeBar:{text:()=>[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},picker:{show:!1,showToolbar:!0,title:"",columns:()=>[],loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:()=>[],immediateChange:!1},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:()=>{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:()=>({}),actionText:"搜索",inputAlign:"left",inputStyle:()=>({}),disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null},section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:()=>{}},statusBar:{bgColor:"transparent"},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:()=>[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"},tabs:{duration:300,list:()=>[],lineColor:"#3c9cff",activeStyle:()=>({color:"#303133"}),inactiveStyle:()=>({color:"#606266"}),lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:()=>({height:"44px"}),scrollable:!0,current:0,keyName:"name"},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:""},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:()=>({fontSize:"15px"}),decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:()=>{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:()=>[],overlay:!0,showToast:!0},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",capture:()=>["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:()=>["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:()=>[],uploadText:"",width:80,height:80,previewImage:!0}}};let eS="none";eS="vue3",eS="h5";const tS={route:xT,date:zT.timeFormat,colorGradient:ST.colorGradient,hexToRgb:ST.hexToRgb,rgbToHex:ST.rgbToHex,colorToRgba:ST.colorToRgba,test:IT,type:["primary","success","error","warning","info"],http:new class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=wT({..._T,...e}),this.interceptors={request:new bT,response:new bT}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const n=t.method||e.method||"GET";let o={baseURL:e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:pT(e.header||{},t.header||{})};if(o={...o,...yT(["getTask","validateStatus"],e,t)},"DOWNLOAD"===n)fT(t.timeout)?fT(e.timeout)||(o.timeout=e.timeout):o.timeout=t.timeout;else if("UPLOAD"===n)delete o.header["content-type"],delete o.header["Content-Type"],["files","file","filePath","name","timeout","formData"].forEach((e=>{fT(t[e])||(o[e]=t[e])})),fT(o.timeout)&&!fT(e.timeout)&&(o.timeout=e.timeout);else{const n=["data","timeout","dataType","responseType","withCredentials"];o={...o,...yT(n,e,t)}}return o})(this.config,e);const t=[vT,void 0];let n=Promise.resolve(e);for(this.interceptors.request.forEach((e=>{t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((e=>{t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}},config:qT,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==OT&&clearTimeout(OT),n){const n=!OT;OT=setTimeout((()=>{OT=null}),t),n&&"function"==typeof e&&e()}else OT=setTimeout((()=>{"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0){n?PT||(PT=!0,"function"==typeof e&&e(),setTimeout((()=>{PT=!1}),t)):PT||(PT=!0,setTimeout((()=>{PT=!1,"function"==typeof e&&e()}),t))},mixin:sT,mpMixin:lT,props:ZT,...zT,color:KT,platform:"h5"};uni.$u=tS;const nS={install:e=>{e.config.globalProperties.$u=tS,e.config.globalProperties.$nextTick=e=>{e()},e.mixin(sT)}};(function(){const e=bs(aT);return e.use(Xx()),e.use(Rx),e.use(nS),function(){const e=rv,t=iv,n=lv,o=sv,r=uv,i=cv;uni.setStorage=e=>{t(e)},uni.setStorageSync=(t,n)=>{e(t,n)},uni.getStorage=e=>{n(e)},uni.getStorageSync=e=>o(e),uni.removeStorage=e=>{r(e)},uni.removeStorageSync=e=>i(e)}(),{app:e,Pinia:sE}})().app.use(yg).mount("#app");export{PE as $,Cp as A,Pv as B,zv as C,$v as D,Or as E,Bi as F,Ei as G,Rr as H,p as I,fs as J,zi as K,v as L,uh as M,Am as N,Dg as O,vm as P,nv as Q,Xp as R,db as S,jr as T,XE as U,ZT as V,lT as W,sT as X,BE as Y,Fx as Z,hE as _,Ln as a,xE as a$,oT as a0,nT as a1,AE as a2,kE as a3,CE as a4,LE as a5,YE as a6,GE as a7,QE as a8,ab as a9,wE as aA,_r as aB,ZE as aC,Em as aD,wm as aE,HE as aF,$E as aG,yp as aH,ov as aI,ho as aJ,hv as aK,Bv as aL,gv as aM,pm as aN,rm as aO,fE as aP,KE as aQ,UE as aR,zg as aS,md as aT,jE as aU,NE as aV,uE as aW,yE as aX,pb as aY,Tp as aZ,EE as a_,RE as aa,FE as ab,tT as ac,c_ as ad,l_ as ae,VE as af,Do as ag,sv as ah,Wv as ai,mE as aj,qE as ak,bE as al,vE as am,gE as an,Lh as ao,ym as ap,rv as aq,Ep as ar,Sp as as,JE as at,a_ as au,i_ as av,dE as aw,pE as ax,SE as ay,_E as az,s_ as b,TE as b0,Dx as b1,cE as b2,Nx as b3,Yp as b4,Vg as b5,u_ as b6,og as b7,ca as c,Zo as d,t_ as e,ub as f,eT as g,ME as h,Li as i,Mi as j,Wi as k,Lr as l,qi as m,Xn as n,r_ as o,s as p,Zy as q,qn as r,fb as s,Mr as t,lE as u,hs as v,Lo as w,km as x,WE as y,Hp as z}; diff --git a/niucloud/public/wap/assets/index-5beda9ca.css b/niucloud/public/wap/assets/index-5beda9ca.css deleted file mode 100644 index 7e2c64cc1..000000000 --- a/niucloud/public/wap/assets/index-5beda9ca.css +++ /dev/null @@ -1 +0,0 @@ -.using-hidden[data-v-e40f9828]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-e40f9828]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.graphic-nav-singleSlide[data-v-b36514a1] .uni-scroll-view-content{display:flex}.graphic-nav-fixed[data-v-b36514a1] .uni-scroll-view-content{display:flex;flex-wrap:wrap}.using-hidden[data-v-7fc5a7a3]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-7fc5a7a3]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.rubik-cube[data-v-5d671723]{overflow:hidden;display:flex;flex-wrap:wrap;justify-content:space-between}.rubik-cube .item[data-v-5d671723]{text-align:center;line-height:0;overflow:hidden}.rubik-cube .item uni-image[data-v-5d671723]{width:100%;max-width:100%;height:100%}.rubik-cube .item.row1-of2[data-v-5d671723]{box-sizing:border-box;margin-top:0!important;margin-bottom:0!important}.rubik-cube .item.row1-of2[data-v-5d671723]:nth-child(1){margin-left:0!important}.rubik-cube .item.row1-of2[data-v-5d671723]:nth-child(2){margin-right:0!important}.rubik-cube .item.row1-of3[data-v-5d671723]{box-sizing:border-box;margin-top:0!important;margin-bottom:0!important}.rubik-cube .item.row1-of3[data-v-5d671723]:nth-child(1){margin-left:0!important}.rubik-cube .item.row1-of3[data-v-5d671723]:nth-child(3){margin-right:0!important}.rubik-cube .item.row1-of4[data-v-5d671723]{box-sizing:border-box;margin-top:0!important;margin-bottom:0!important}.rubik-cube .item.row1-of4[data-v-5d671723]:nth-child(1){margin-left:0!important}.rubik-cube .item.row1-of4[data-v-5d671723]:nth-child(4){margin-right:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-5d671723]{display:inline-block;box-sizing:border-box}.rubik-cube .item.row2-lt-of2-rt[data-v-5d671723]:nth-child(1){margin-left:0!important;margin-top:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-5d671723]:nth-child(2){margin-right:0!important;margin-top:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-5d671723]:nth-child(3){margin-left:0!important;margin-bottom:0!important}.rubik-cube .item.row2-lt-of2-rt[data-v-5d671723]:nth-child(4){margin-right:0!important;margin-bottom:0!important}.rubik-cube .template-left[data-v-5d671723],.rubik-cube .template-right[data-v-5d671723]{box-sizing:border-box}.rubik-cube .template-left .item.row1-lt-of2-rt[data-v-5d671723]:nth-child(1){margin-bottom:0}.rubik-cube .template-right .item.row1-lt-of2-rt[data-v-5d671723]:nth-child(2){margin-bottom:0!important}.rubik-cube.row1-lt-of2-rt .template-right[data-v-5d671723]{display:flex;flex-direction:column;justify-content:space-between}.rubik-cube .item.row1-tp-of2-bm[data-v-5d671723]:nth-child(1){width:100%;box-sizing:border-box;margin-top:0!important;margin-left:0!important;margin-right:0!important}.rubik-cube .item.row1-tp-of2-bm[data-v-5d671723]:nth-child(2){box-sizing:border-box;margin-left:0!important;margin-bottom:0!important}.rubik-cube .item.row1-tp-of2-bm[data-v-5d671723]:nth-child(3){box-sizing:border-box;margin-right:0!important;margin-bottom:0!important}.rubik-cube .template-left .item.row1-lt-of1-tp-of2-bm[data-v-5d671723]{width:100%;box-sizing:border-box}.rubik-cube .template-bottom[data-v-5d671723]{display:flex;align-items:center;justify-content:space-between}.rubik-cube .template-bottom .item[data-v-5d671723]:nth-child(2){margin-right:0!important}.draggable-element.decorate[data-v-26c6536e]:hover:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:.125rem solid var(--primary-color);z-index:10;pointer-events:none;cursor:move;border-style:dotted}.draggable-element.decorate.selected[data-v-26c6536e]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:.125rem solid var(--primary-color);z-index:10;pointer-events:none;cursor:move} diff --git a/niucloud/public/wap/assets/index-91a59a4a.css b/niucloud/public/wap/assets/index-91a59a4a.css deleted file mode 100644 index e3d0dcd24..000000000 --- a/niucloud/public/wap/assets/index-91a59a4a.css +++ /dev/null @@ -1 +0,0 @@ -uni-page-body[data-v-dbae4323]{background:var(--page-bg-color)}body[data-v-dbae4323]{background:var(--page-bg-color)}[data-v-dbae4323] .u-cell-group__wrapper .u-cell__body{padding-left:0;padding-right:0}[data-v-dbae4323] .u-cell-group__wrapper .u-cell:last-child .u-line{display:none} diff --git a/niucloud/public/wap/assets/index-9ae05732.css b/niucloud/public/wap/assets/index-9ae05732.css deleted file mode 100644 index d9c82b354..000000000 --- a/niucloud/public/wap/assets/index-9ae05732.css +++ /dev/null @@ -1 +0,0 @@ -.navigate-back[data-v-679fa1ce]{position:absolute;top:1.0625rem;left:1.0625rem;z-index:999;font-size:16px} diff --git a/niucloud/public/wap/assets/index-ba0b024c.css b/niucloud/public/wap/assets/index-ba0b024c.css deleted file mode 100644 index 4ad865245..000000000 --- a/niucloud/public/wap/assets/index-ba0b024c.css +++ /dev/null @@ -1 +0,0 @@ -*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%;height:100%}body,uni-page-body{background-color:var(--UI-BG-0);color:var(--UI-FG-0)}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}uni-page-head{display:block;box-sizing:border-box}.uni-page-head{position:fixed;left:var(--window-left);right:var(--window-right);height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));padding:7px 3px;padding-top:calc(7px + constant(safe-area-inset-top));padding-top:calc(7px + env(safe-area-inset-top));display:flex;overflow:hidden;justify-content:space-between;box-sizing:border-box;z-index:998;color:#fff;background-color:#000;transition-property:all}.uni-page-head *{box-sizing:border-box}.uni-page-head .uni-btn-icon{overflow:hidden;min-width:1em;font-style:normal}.uni-page-head-titlePenetrate,.uni-page-head-titlePenetrate .uni-page-head-bd,.uni-page-head-titlePenetrate .uni-page-head-bd *{pointer-events:none}.uni-page-head-titlePenetrate *{pointer-events:auto}.uni-page-head.uni-page-head-transparent .uni-page-head-ft>div{justify-content:center}.uni-page-head~.uni-placeholder{width:100%;height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top))}.uni-placeholder-titlePenetrate{pointer-events:none}.uni-page-head-hd{display:flex;align-items:center;font-size:16px}.uni-page-head-bd{position:absolute;left:70px;right:70px;min-width:0;-webkit-user-select:auto;user-select:auto}.uni-page-head-btn{position:relative;width:auto;margin:0 2px;word-break:keep-all;white-space:pre;cursor:pointer}.uni-page-head-btn svg{margin-top:-2px}.uni-page-head-transparent .uni-page-head-btn{display:flex;align-items:center;width:32px;height:32px;border-radius:50%;background-color:rgba(0,0,0,.5)}.uni-page-head-btn-red-dot:after{content:attr(badge-text);position:absolute;right:0;top:0;background-color:red;color:#fff;width:18px;height:18px;line-height:18px;border-radius:18px;overflow:hidden;transform:scale(.5) translate(40%,-40%);transform-origin:100% 0}.uni-page-head-btn-red-dot[badge-text]:after{font-size:12px;width:auto;min-width:18px;max-width:42px;text-align:center;padding:0 3px;transform:scale(.7) translate(40%,-40%)}.uni-page-head-btn-select svg{vertical-align:middle;margin-left:2px;transform:rotate(270deg) scale(.8)}.uni-page-head-search{position:relative;display:flex;flex:1;margin:0 2px;line-height:30px;font-size:15px}.uni-page-head-search-input{width:100%;height:100%;padding-left:34px;text-align:left}.uni-page-head-search-placeholder{position:absolute;max-width:100%;height:100%;padding-left:34px;overflow:hidden;word-break:keep-all;white-space:pre}.uni-page-head-search-placeholder-right{right:0}.uni-page-head-search-placeholder-center{left:50%;transform:translate(-50%)}.uni-page-head-search-icon{position:absolute;top:0;left:2px;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.uni-page-head-ft{display:flex;align-items:center;flex-direction:row-reverse;font-size:13px}.uni-page-head__title{font-weight:700;font-size:16px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-page-head__title .uni-loading{width:16px;height:16px;margin-top:-3px}.uni-page-head__title .uni-page-head__title_image{width:auto;height:26px;vertical-align:middle}.uni-page-head-shadow{overflow:visible}.uni-page-head-shadow:after{content:"";position:absolute;left:0;right:0;top:100%;height:5px;background-size:100% 100%}.uni-page-head-shadow-grey:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}.uni-page-head-shadow-blue:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-blue.png)}.uni-page-head-shadow-green:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-green.png)}.uni-page-head-shadow-orange:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-orange.png)}.uni-page-head-shadow-red:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-red.png)}.uni-page-head-shadow-yellow:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-yellow.png)}uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px);height:calc(100% - 44px - constant(safe-area-inset-top));height:calc(100% - 44px - env(safe-area-inset-top))}uni-tabbar{display:block;box-sizing:border-box;width:100%;z-index:998}.uni-tabbar{display:flex;z-index:998;box-sizing:border-box}.uni-tabbar-top,.uni-tabbar-bottom,.uni-tabbar-top .uni-tabbar,.uni-tabbar-bottom .uni-tabbar{position:fixed;left:var(--window-left);right:var(--window-right)}.uni-app--showlayout+.uni-tabbar-top,.uni-app--showlayout+.uni-tabbar-bottom,.uni-app--showlayout+.uni-tabbar-top .uni-tabbar,.uni-app--showlayout+.uni-tabbar-bottom .uni-tabbar{left:var(--window-margin);right:var(--window-margin)}.uni-tabbar-bottom .uni-tabbar{bottom:0;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.uni-tabbar~.uni-placeholder{width:100%;margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.uni-tabbar *{box-sizing:border-box}.uni-tabbar__item{display:flex;justify-content:center;align-items:center;flex-direction:column;flex:1;font-size:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.uni-tabbar__bd{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.uni-tabbar__icon{position:relative;display:inline-block;margin-top:5px}.uni-tabbar__icon.uni-tabbar__icon__diff{margin-top:0;width:34px;height:34px}.uni-tabbar__icon img{width:100%;height:100%}.uni-tabbar__iconfont{font-family:UniTabbarIconFont}.uni-tabbar__label{position:relative;text-align:center;font-size:10px}.uni-tabbar-border{position:absolute;left:0;top:0;width:100%;height:1px;transform:scaleY(.5)}.uni-tabbar__reddot{position:absolute;top:2px;right:0;width:12px;height:12px;border-radius:50%;background-color:#f43530;color:#fff;transform:translate(40%)}.uni-tabbar__badge{width:auto;height:16px;line-height:16px;border-radius:16px;min-width:16px;padding:0 2px;font-size:12px;text-align:center;white-space:nowrap}.uni-tabbar__mid{display:flex;justify-content:center;position:absolute;bottom:0;background-size:100% 100%}.uni-app--showtabbar uni-page-wrapper{display:block;height:calc(100% - var(--tab-bar-height));height:calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));height:calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom))}.uni-app--showtabbar uni-page-wrapper:after{content:"";display:block;width:100%;height:var(--tab-bar-height);height:calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));height:calc(var(--tab-bar-height) + env(safe-area-inset-bottom))}.uni-app--showtabbar uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px - var(--tab-bar-height));height:calc(100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) - constant(safe-area-inset-bottom));height:calc(100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) - env(safe-area-inset-bottom))}uni-page-refresh{position:absolute;top:0;width:100%;height:40px;display:block;box-sizing:border-box}.uni-page-refresh{position:absolute;top:-45px;left:50%;transform:translate3d(-50%,0,0);width:40px;height:40px;justify-content:center;align-items:center;background:#fff;border-radius:50%;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118);display:none;z-index:997}.uni-page-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%}.uni-page-refresh--pulling .uni-page-refresh,.uni-page-refresh--aborting .uni-page-refresh,.uni-page-refresh--reached .uni-page-refresh,.uni-page-refresh--refreshing .uni-page-refresh,.uni-page-refresh--restoring .uni-page-refresh{display:flex}.uni-page-refresh--pulling .uni-page-refresh__spinner,.uni-page-refresh--aborting .uni-page-refresh__spinner,.uni-page-refresh--reached .uni-page-refresh__spinner,.uni-page-refresh--refreshing .uni-page-refresh__icon,.uni-page-refresh--restoring .uni-page-refresh__icon{display:none}.uni-page-refresh--refreshing .uni-page-refresh__spinner{transform-origin:center center;animation:uni-page-refresh-rotate 2s linear infinite}.uni-page-refresh--refreshing .uni-page-refresh__path{stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:uni-page-refresh-dash 1.5s ease-in-out infinite,uni-page-refresh-colorful 6s ease-in-out infinite}@keyframes uni-page-refresh-rotate{to{transform:rotate(360deg)}}@keyframes uni-page-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-page-head{display:none!important}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_3952239_ukixio2ve7k.woff2?t=1684147503182) format("woff2"),url(//at.alicdn.com/t/c/font_3952239_ukixio2ve7k.woff?t=1684147503182) format("woff"),url(//at.alicdn.com/t/c/font_3952239_ukixio2ve7k.ttf?t=1684147503182) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconcheckbox_nol:before{content:"\e626"}.iconweixin1:before{content:"\e878"}.iconyinlian:before{content:"\e68b"}.iconzhifubaoxuanzhong:before{content:"\e802"}.iconshuaxin:before{content:"\e631"}.iconkefu:before{content:"\e612"}.iconfenxiang:before{content:"\e610"}.icondianzan:before{content:"\ec7f"}.iconhuiyuanjiage:before{content:"\e611"}.iconxiazai:before{content:"\e69c"}.icondunpai:before{content:"\e80b"}.icona-shejianchangguan:before{content:"\e647"}.iconduigou:before{content:"\e632"}.iconzhifushibai:before{content:"\e663"}.iconweixinzhifu2:before{content:"\e62b"}.iconalipay:before{content:"\e618"}.iconbalance:before{content:"\e73b"}.iconwode-xian:before{content:"\e60f"}.iconwodezixun:before{content:"\e645"}.iconshouye-zhihui:before{content:"\e61d"}.iconshezhi:before{content:"\e600"}.u-line-1{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-border{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button{padding:0;background-color:transparent;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button:after{border:none}.u-hover-class{opacity:.7}.u-primary-light{color:var(--primary-color-light)}.u-warning-light{color:#fdf6ec}.u-success-light{color:#f5fff0}.u-error-light{color:#fef0f0}.u-info-light{color:#f4f4f5}.u-primary-light-bg{background-color:var(--primary-color-light)}.u-warning-light-bg{background-color:#fdf6ec}.u-success-light-bg{background-color:#f5fff0}.u-error-light-bg{background-color:#fef0f0}.u-info-light-bg{background-color:#f4f4f5}.u-primary-dark{color:var(--primary-color-dark)}.u-warning-dark{color:#f1a532}.u-success-dark{color:#53c21d}.u-error-dark{color:#e45656}.u-info-dark{color:#767a82}.u-primary-dark-bg{background-color:var(--primary-color-dark)}.u-warning-dark-bg{background-color:#f1a532}.u-success-dark-bg{background-color:#53c21d}.u-error-dark-bg{background-color:#e45656}.u-info-dark-bg{background-color:#767a82}.u-primary-disabled{color:var(--primary-color-disabled)}.u-warning-disabled{color:#f9d39b}.u-success-disabled{color:#a9e08f}.u-error-disabled{color:#f7b2b2}.u-info-disabled{color:#c4c6c9}.u-primary{color:var(--primary-color)}.u-warning{color:#f9ae3d}.u-success{color:#5ac725}.u-error{color:#f56c6c}.u-info{color:#909399}.u-primary-bg{background-color:var(--primary-color)}.u-warning-bg{background-color:#f9ae3d}.u-success-bg{background-color:#5ac725}.u-error-bg{background-color:#f56c6c}.u-info-bg{background-color:#909399}.u-main-color{color:#303133}.u-content-color{color:#606266}.u-tips-color{color:#909193}.u-light-color{color:#c0c4cc}.u-safe-area-inset-top{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}uni-toast{z-index:10090}uni-toast .uni-toast{z-index:10090}::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}:root,uni-page-body{--primary-color: #007aff;--primary-color-dark: #398ade;--primary-color-disabled: #9acafc;--primary-color-light: #ecf5ff;--page-bg-color: #f7f7f7}.bg-white{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-page{background-color:var(--page-bg-color)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-\[\#424040\]{--tw-bg-opacity: 1;background-color:rgba(66,64,64,var(--tw-bg-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgba(229,231,235,var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.border-\[\#eee\]{--tw-border-opacity: 1;border-color:rgba(238,238,238,var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgba(156,163,175,var(--tw-border-opacity))}.border-primary{border-color:var(--primary-color)}.border{--tw-border-opacity: .1;border-color:rgba(117,117,117,var(--tw-border-opacity))}.border-\[\#EAEAEA\]{--tw-border-opacity: 1;border-color:rgba(234,234,234,var(--tw-border-opacity))}.border-\[\#F0F0F0\]{--tw-border-opacity: 1;border-color:rgba(240,240,240,var(--tw-border-opacity))}.rounded-\[24rpx\]{border-radius:.75rem}.rounded-md{border-radius:.375rem}.rounded-\[5px\]{border-radius:5px}.rounded{border-radius:.25rem}.rounded-bl-none{border-bottom-left-radius:0}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-0{border-width:0px}.border-1,.border\:n\,disabled\:t\,shape\:i{border-width:1px}.border-t-0{border-top-width:0px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-l{border-left-width:1px}.border-b-0{border-bottom-width:0px}.border-b-\[1px\]{border-bottom-width:1px}.border-b-\[2px\]{border-bottom-width:2px}.border-r-\[2px\]{border-right-width:2px}.border-b-\[2rpx\]{border-bottom-width:.0625rem}.border-b-1{border-bottom-width:1px}.box-border{box-sizing:border-box}.cursor-move{cursor:move}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.font-bold{font-weight:700}.h-10{height:2.5rem}.h-full{height:100%}.h-screen{height:100vh}.h-\[60rpx\]{height:1.875rem}.h-\[140rpx\]{height:4.375rem}.h-\[75vh\]{height:75vh}.h-\[76rpx\]{height:2.375rem}.h-\[30px\]{height:30px}.h-\[100rpx\]{height:3.125rem}.h-\[48rpx\]{height:1.5rem}.h-\[20rpx\]{height:.625rem}.h-\[30rpx\]{height:.9375rem}.h-\[70rpx\]{height:2.1875rem}.h-\[40rpx\]{height:1.25rem}.h-\[200rpx\]{height:6.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.66rem;line-height:1.75rem}.text-2xl{font-size:1.75rem;line-height:2.25rem}.text-\[32rpx\]{font-size:1rem;line-height:1}.text-\[28rpx\]{font-size:.875rem;line-height:1}.text-\[24rpx\]{font-size:.75rem;line-height:1}.text-\[30rpx\]{font-size:.9375rem;line-height:1}.text-\[1\.6rem\]{font-size:1.6rem;line-height:1}.text-\[16px\]{font-size:16px;line-height:1}.text-\[12px\]{font-size:12px;line-height:1}.text-\[14px\]{font-size:14px;line-height:1}.text-\[80rpx\]{font-size:2.5rem;line-height:1}.text-\[60rpx\]{font-size:1.875rem;line-height:1}.text-\[70rpx\]{font-size:2.1875rem;line-height:1}.text-\[26rpx\]{font-size:.8125rem;line-height:1}.text-\[40rpx\]{font-size:1.25rem;line-height:1}.leading-\[1\.3\]{line-height:1.3}.leading-normal{line-height:1.5}.leading-0{line-height:0rem}.leading-\[30px\]{line-height:30px}.leading-none{line-height:1}.leading-\[70rpx\]{line-height:2.1875rem}.leading-8{line-height:2rem}.m-\[30rpx\]{margin:.9375rem}.m-0{margin:0}.mx-\[30rpx\]{margin-left:.9375rem;margin-right:.9375rem}.my-\[10rpx\]{margin-top:.3125rem;margin-bottom:.3125rem}.mx-\[10px\]{margin-left:10px;margin-right:10px}.my-\[10px\]{margin-top:10px;margin-bottom:10px}.mx-\[5px\]{margin-left:5px;margin-right:5px}.my-\[5px\]{margin-top:5px;margin-bottom:5px}.mx-\[32rpx\]{margin-left:1rem;margin-right:1rem}.my-\[20rpx\]{margin-top:.625rem;margin-bottom:.625rem}.mb-\[20rpx\]{margin-bottom:.625rem}.ml-\[20rpx\]{margin-left:.625rem}.mt-\[4rpx\]{margin-top:.125rem}.mb-\[auto\]{margin-bottom:auto}.mt-\[20rpx\]{margin-top:.625rem}.mt-\[10rpx\]{margin-top:.3125rem}.mr-\[20rpx\]{margin-right:.625rem}.ml-\[32rpx\]{margin-left:1rem}.mr-\[52rpx\]{margin-right:1.625rem}.ml-\[22rpx\]{margin-left:.6875rem}.ml-\[10rpx\]{margin-left:.3125rem}.mb-0{margin-bottom:0}.ml-\[16rpx\]{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-\[8rpx\]{margin-right:.25rem}.mt-\[18rpx\]{margin-top:.5625rem}.mr-\[4rpx\]{margin-right:.125rem}.mt-\[15px\]{margin-top:15px}.ml-\[10px\]{margin-left:10px}.mt-\[2px\]{margin-top:2px}.mt-\[10px\]{margin-top:10px}.mb-\[5px\]{margin-bottom:5px}.mb-\[100rpx\]{margin-bottom:3.125rem}.mt-\[40rpx\]{margin-top:1.25rem}.mt-\[30rpx\]{margin-top:.9375rem}.mt-\[60rpx\]{margin-top:1.875rem}.mb-\[50rpx\]{margin-bottom:1.5625rem}.mt-\[80rpx\]{margin-top:2.5rem}.mb-\[80rpx\]{margin-bottom:2.5rem}.mb-\[40rpx\]{margin-bottom:1.25rem}.mb-\[10rpx\]{margin-bottom:.3125rem}.mr-\[10rpx\]{margin-right:.3125rem}.mt-\[50rpx\]{margin-top:1.5625rem}.mt-\[100rpx\]{margin-top:3.125rem}.mt-\[16rpx\]{margin-top:.5rem}.mr-1{margin-right:.25rem}.mt-3{margin-top:.75rem}.mt-2{margin-top:.5rem}.mt-5{margin-top:1.25rem}.mb-4{margin-bottom:1rem}.max-h-\[36rpx\]{max-height:1.125rem}.max-w-\[200rpx\]{max-width:6.25rem}.max-w-\[300rpx\]{max-width:9.375rem}.max-w-\[36rpx\]{max-width:1.125rem}.min-h-\[100vh\]{min-height:100vh}.overflow-hidden{overflow:hidden}.p-\[20rpx\]{padding:.625rem}.p-2{padding:.5rem}.p-0{padding:0}.p-\[30rpx\]{padding:.9375rem}.p-\[10px\]{padding:10px}.p-\[8px\]{padding:8px}.py-\[30rpx\]{padding-top:.9375rem;padding-bottom:.9375rem}.px-\[32rpx\]{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-\[26rpx\]{padding-top:.8125rem;padding-bottom:.8125rem}.py-\[20rpx\]{padding-top:.625rem;padding-bottom:.625rem}.px-\[30rpx\]{padding-left:.9375rem;padding-right:.9375rem}.py-\[10rpx\]{padding-top:.3125rem;padding-bottom:.3125rem}.py-\[18rpx\]{padding-top:.5625rem;padding-bottom:.5625rem}.px-\[20rpx\]{padding-left:.625rem;padding-right:.625rem}.px-\[10px\]{padding-left:10px;padding-right:10px}.px-\[60rpx\]{padding-left:1.875rem;padding-right:1.875rem}.py-\[50rpx\]{padding-top:1.5625rem;padding-bottom:1.5625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.pt-1\.5{padding-top:.375rem}.pt-\[20rpx\]{padding-top:.625rem}.pt-\[34rpx\]{padding-top:1.0625rem}.pb-\[20rpx\]{padding-bottom:.625rem}.pt-\[40rpx\]{padding-top:1.25rem}.pl-\[30rpx\]{padding-left:.9375rem}.pt-\[100rpx\]{padding-top:3.125rem}.pl-\[10rpx\]{padding-left:.3125rem}.pb-4{padding-bottom:1rem}.pt-7{padding-top:1.75rem}.pt-\[30rpx\]{padding-top:.9375rem}.pr-\[30rpx\]{padding-right:.9375rem}.pb-\[200rpx\]{padding-bottom:6.25rem}.tab{tab-size:4}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.inset-x-0{right:0px;left:0px}.-top-\[10rpx\]{top:-.3125rem}.-right-\[24rpx\]{right:-.75rem}.right-0{right:0px}.top-2{top:.5rem}.top-0{top:0px}.top-\[50\%\]{top:50%}.right-\[10px\]{right:10px}.right-3{right:.75rem}.top-11{top:2.75rem}.text-center{text-align:center}.text-right{text-align:right}.text-gray-500{--tw-text-opacity: 1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-\[\#222222\]{--tw-text-opacity: 1;color:rgba(34,34,34,var(--tw-text-opacity))}.text-\[\#696B70\]{--tw-text-opacity: 1;color:rgba(105,107,112,var(--tw-text-opacity))}.text-gray-subtitle{--tw-text-opacity: 1;color:rgba(117,117,117,var(--tw-text-opacity))}.text-primary{color:var(--primary-color)}.text-gray-300{--tw-text-opacity: 1;color:rgba(209,213,219,var(--tw-text-opacity))}.text-\[\#188dfb\]{--tw-text-opacity: 1;color:rgba(24,141,251,var(--tw-text-opacity))}.text-\[\#43c93e\]{--tw-text-opacity: 1;color:rgba(67,201,62,var(--tw-text-opacity))}.text-\[\#bbb\]{--tw-text-opacity: 1;color:rgba(187,187,187,var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgba(22,22,22,var(--tw-text-opacity))}.text-red{--tw-text-opacity: 1;color:rgba(237,27,38,var(--tw-text-opacity))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capitalize{text-transform:capitalize}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.content-type{content:"type"}.visible{visibility:visible}.w-10{width:2.5rem}.w-full{width:100%}.w-screen{width:100vw}.w-80{width:20rem}.w-22{width:5.375rem}.w-\[430rpx\]{width:13.4375rem}.w-\[140rpx\]{width:4.375rem}.w-\[100rpx\]{width:3.125rem}.w-\[80rpx\]{width:2.5rem}.w-\[40rpx\]{width:1.25rem}.w-\[70rpx\]{width:2.1875rem}.w-\[60rpx\]{width:1.875rem}.w-\[240rpx\]{width:7.5rem}.z-10{z-index:10}.transform{--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-rotate: 0;--tw-rotate-x: 0;--tw-rotate-y: 0;--tw-rotate-z: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;transform:translate(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotate(var(--tw-rotate-z)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z))}.scale-80{--tw-scale-x: .8;--tw-scale-y: .8;--tw-scale-z: .8}.-translate-y-\[50\%\]{--tw-translate-y: -50%}.transition,.transition\(\){transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.duration{transition-duration:.15s}.blur,.blur\(\){--tw-blur: blur(8px)} diff --git a/niucloud/public/wap/assets/index-c3b92b87.css b/niucloud/public/wap/assets/index-c3b92b87.css new file mode 100644 index 000000000..52e68db63 --- /dev/null +++ b/niucloud/public/wap/assets/index-c3b92b87.css @@ -0,0 +1 @@ +*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%}body,uni-page-body{background-color:var(--UI-BG-0);color:var(--UI-FG-0)}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}uni-page-head{display:block;box-sizing:border-box}.uni-page-head{position:fixed;left:var(--window-left);right:var(--window-right);height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));padding:7px 3px;padding-top:calc(7px + constant(safe-area-inset-top));padding-top:calc(7px + env(safe-area-inset-top));display:flex;overflow:hidden;justify-content:space-between;box-sizing:border-box;z-index:998;color:#fff;background-color:#000;transition-property:all}.uni-page-head *{box-sizing:border-box}.uni-page-head .uni-btn-icon{overflow:hidden;min-width:1em;font-style:normal}.uni-page-head-titlePenetrate,.uni-page-head-titlePenetrate .uni-page-head-bd,.uni-page-head-titlePenetrate .uni-page-head-bd *{pointer-events:none}.uni-page-head-titlePenetrate *{pointer-events:auto}.uni-page-head.uni-page-head-transparent .uni-page-head-ft>div{justify-content:center}.uni-page-head~.uni-placeholder{width:100%;height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top))}.uni-placeholder-titlePenetrate{pointer-events:none}.uni-page-head-hd{display:flex;align-items:center;font-size:16px}.uni-page-head-bd{position:absolute;left:70px;right:70px;min-width:0;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.uni-page-head-btn{position:relative;width:auto;margin:0 2px;word-break:keep-all;white-space:pre;cursor:pointer}.uni-page-head-btn svg{margin-top:-2px}.uni-page-head-transparent .uni-page-head-btn{display:flex;align-items:center;width:32px;height:32px;border-radius:50%;background-color:rgba(0,0,0,.5)}.uni-page-head-btn-red-dot:after{content:attr(badge-text);position:absolute;right:0;top:0;background-color:red;color:#fff;width:18px;height:18px;line-height:18px;border-radius:18px;overflow:hidden;transform:scale(.5) translate(40%,-40%);transform-origin:100% 0}.uni-page-head-btn-red-dot[badge-text]:after{font-size:12px;width:auto;min-width:18px;max-width:42px;text-align:center;padding:0 3px;transform:scale(.7) translate(40%,-40%)}.uni-page-head-btn-select svg{vertical-align:middle;margin-left:2px;transform:rotate(270deg) scale(.8)}.uni-page-head-search{position:relative;display:flex;flex:1;margin:0 2px;line-height:30px;font-size:15px}.uni-page-head-search-input{width:100%;height:100%;padding-left:34px;text-align:left}.uni-page-head-search-placeholder{position:absolute;max-width:100%;height:100%;padding-left:34px;overflow:hidden;word-break:keep-all;white-space:pre}.uni-page-head-search-placeholder-right{right:0}.uni-page-head-search-placeholder-center{left:50%;transform:translate(-50%)}.uni-page-head-search-icon{position:absolute;top:0;left:2px;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.uni-page-head-ft{display:flex;align-items:center;flex-direction:row-reverse;font-size:13px}.uni-page-head__title{font-weight:700;font-size:16px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-page-head__title .uni-loading{width:16px;height:16px;margin-top:-3px}.uni-page-head__title .uni-page-head__title_image{width:auto;height:26px;vertical-align:middle}.uni-page-head-shadow{overflow:visible}.uni-page-head-shadow:after{content:"";position:absolute;left:0;right:0;top:100%;height:5px;background-size:100% 100%}.uni-page-head-shadow-grey:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}.uni-page-head-shadow-blue:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-blue.png)}.uni-page-head-shadow-green:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-green.png)}.uni-page-head-shadow-orange:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-orange.png)}.uni-page-head-shadow-red:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-red.png)}.uni-page-head-shadow-yellow:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-yellow.png)}uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px);height:calc(100% - 44px - constant(safe-area-inset-top));height:calc(100% - 44px - env(safe-area-inset-top))}uni-tabbar{display:block;box-sizing:border-box;width:100%;z-index:998}.uni-tabbar{display:flex;z-index:998;box-sizing:border-box}.uni-tabbar-top,.uni-tabbar-bottom,.uni-tabbar-top .uni-tabbar,.uni-tabbar-bottom .uni-tabbar{position:fixed;left:var(--window-left);right:var(--window-right)}.uni-app--showlayout+.uni-tabbar-top,.uni-app--showlayout+.uni-tabbar-bottom,.uni-app--showlayout+.uni-tabbar-top .uni-tabbar,.uni-app--showlayout+.uni-tabbar-bottom .uni-tabbar{left:var(--window-margin);right:var(--window-margin)}.uni-tabbar-bottom .uni-tabbar{bottom:0;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.uni-tabbar~.uni-placeholder{width:100%;margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.uni-tabbar *{box-sizing:border-box}.uni-tabbar__item{display:flex;justify-content:center;align-items:center;flex-direction:column;flex:1;font-size:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.uni-tabbar__bd{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.uni-tabbar__icon{position:relative;display:inline-block;margin-top:5px}.uni-tabbar__icon.uni-tabbar__icon__diff{margin-top:0;width:34px;height:34px}.uni-tabbar__icon img{width:100%;height:100%}.uni-tabbar__iconfont{font-family:UniTabbarIconFont}.uni-tabbar__label{position:relative;text-align:center;font-size:10px}.uni-tabbar-border{position:absolute;left:0;top:0;width:100%;height:1px;transform:scaleY(.5)}.uni-tabbar__reddot{position:absolute;top:2px;right:0;width:12px;height:12px;border-radius:50%;background-color:#f43530;color:#fff;transform:translate(40%)}.uni-tabbar__badge{width:auto;height:16px;line-height:16px;border-radius:16px;min-width:16px;padding:0 2px;font-size:12px;text-align:center;white-space:nowrap}.uni-tabbar__mid{display:flex;justify-content:center;position:absolute;bottom:0;background-size:100% 100%}.uni-app--showtabbar uni-page-wrapper{display:block;height:calc(100% - var(--tab-bar-height));height:calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));height:calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom))}.uni-app--showtabbar uni-page-wrapper:after{content:"";display:block;width:100%;height:var(--tab-bar-height);height:calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));height:calc(var(--tab-bar-height) + env(safe-area-inset-bottom))}.uni-app--showtabbar uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px - var(--tab-bar-height));height:calc(100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) - constant(safe-area-inset-bottom));height:calc(100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) - env(safe-area-inset-bottom))}uni-page-refresh{position:absolute;top:0;width:100%;height:40px;display:block;box-sizing:border-box}.uni-page-refresh{position:absolute;top:-45px;left:50%;transform:translate3d(-50%,0,0);width:40px;height:40px;justify-content:center;align-items:center;background:#fff;border-radius:50%;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118);display:none;z-index:997}.uni-page-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%}.uni-page-refresh--pulling .uni-page-refresh,.uni-page-refresh--aborting .uni-page-refresh,.uni-page-refresh--reached .uni-page-refresh,.uni-page-refresh--refreshing .uni-page-refresh,.uni-page-refresh--restoring .uni-page-refresh{display:flex}.uni-page-refresh--pulling .uni-page-refresh__spinner,.uni-page-refresh--aborting .uni-page-refresh__spinner,.uni-page-refresh--reached .uni-page-refresh__spinner,.uni-page-refresh--refreshing .uni-page-refresh__icon,.uni-page-refresh--restoring .uni-page-refresh__icon{display:none}.uni-page-refresh--refreshing .uni-page-refresh__spinner{transform-origin:center center;animation:uni-page-refresh-rotate 2s linear infinite}.uni-page-refresh--refreshing .uni-page-refresh__path{stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:uni-page-refresh-dash 1.5s ease-in-out infinite,uni-page-refresh-colorful 6s ease-in-out infinite}@keyframes uni-page-refresh-rotate{to{transform:rotate(360deg)}}@keyframes uni-page-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-page-head{display:none!important}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_3952239_d5svxl1mnu5.woff2?t=1693022806663) format("woff2"),url(//at.alicdn.com/t/c/font_3952239_d5svxl1mnu5.woff?t=1693022806663) format("woff"),url(//at.alicdn.com/t/c/font_3952239_d5svxl1mnu5.ttf?t=1693022806663) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconfenxiang1:before{content:"\e64d"}.iconshaixuan:before{content:"\e888"}.iconWechat-Moments:before{content:"\e7a8"}.iconlink-filling:before{content:"\e898"}.iconkefu1:before{content:"\e88f"}.iconico:before{content:"\e646"}.iconquanbudingdan:before{content:"\e601"}.iconqiuzhirenyuan:before{content:"\e66d"}.iconxialajiantouxiao:before{content:"\e87e"}.iconxinyongqia:before{content:"\e785"}.iconmendian:before{content:"\e60a"}.iconico_yuyueguanli_yuyuebiangeng:before{content:"\e94a"}.iconanniu-jiantouxiangyou_o:before{content:"\eb8c"}.iconlianjie-tianchong:before{content:"\e658"}.icondianhua-xianxingyuankuang:before{content:"\e8bc"}.iconshuangxiang:before{content:"\e669"}.iconchuang1:before{content:"\e61a"}.iconfangzi:before{content:"\e8ff"}.iconpeople:before{content:"\e617"}.iconlouceng:before{content:"\e642"}.iconshuliang:before{content:"\e61e"}.iconxingxing:before{content:"\e60d"}.iconjiantouarrow492:before{content:"\e6b0"}.iconrili:before{content:"\e696"}.iconguanbi:before{content:"\e609"}.iconzhixiang:before{content:"\e72f"}.iconfuzhi:before{content:"\e622"}.iconshijian:before{content:"\e6c8"}.iconzuobiaofill:before{content:"\e768"}.iconxuanze1:before{content:"\e616"}.iconyuandianfengefu:before{content:"\e603"}.iconxuanze:before{content:"\e629"}.iconxiazai17:before{content:"\e613"}.iconxiazai19:before{content:"\e614"}.icondache:before{content:"\e615"}.iconshouye:before{content:"\e606"}.iconjiantouxia:before{content:"\e67e"}.iconjiantoushang:before{content:"\e619"}.iconjiantou3:before{content:"\e605"}.iconxiangyoujiantou:before{content:"\e620"}.iconcheckbox_nol:before{content:"\e626"}.iconweixin1:before{content:"\e878"}.iconyinlian:before{content:"\e68b"}.iconzhifubaoxuanzhong:before{content:"\e802"}.iconshuaxin:before{content:"\e631"}.iconkefu:before{content:"\e612"}.iconfenxiang:before{content:"\e610"}.icondianzan:before{content:"\ec7f"}.iconhuiyuanjiage:before{content:"\e611"}.iconxiazai:before{content:"\e69c"}.icondunpai:before{content:"\e80b"}.icona-shejianchangguan:before{content:"\e647"}.iconduigou:before{content:"\e632"}.iconzhifushibai:before{content:"\e663"}.iconweixinzhifu2:before{content:"\e62b"}.iconalipay:before{content:"\e618"}.iconbalance:before{content:"\e73b"}.iconwode-xian:before{content:"\e60f"}.iconwodezixun:before{content:"\e645"}.iconshouye-zhihui:before{content:"\e61d"}.iconshezhi:before{content:"\e600"}.u-line-1{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-border{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button{padding:0;background-color:transparent;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button:after{border:none}.u-hover-class{opacity:.7}.u-flex,.u-flex-row,.u-flex-x{display:flex;flex-direction:row}.u-flex-y,.u-flex-column{display:flex;flex-direction:column}.u-flex-x-center{display:flex;flex-direction:row;justify-content:center}.u-flex-xy-center{display:flex;flex-direction:row;justify-content:center;align-items:center}.u-flex-y-center{display:flex;flex-direction:row;align-items:center}.u-flex-x-left{display:flex;flex-direction:row}.u-flex-x-reverse,.u-flex-row-reverse{flex-direction:row-reverse}.u-flex-y-reverse,.u-flex-column-reverse{flex-direction:column-reverse}.u-flex.u-flex-reverse,.u-flex-row.u-flex-reverse,.u-flex-x.u-flex-reverse{flex-direction:row-reverse}.u-flex-column.u-flex-reverse,.u-flex-y.u-flex-reverse{flex-direction:column-reverse}.u-flex-fill{flex:1 1 auto}.u-margin-top-auto,.u-m-t-auto{margin-top:auto!important}.u-margin-right-auto,.u-m-r-auto{margin-right:auto!important}.u-margin-bottom-auto,.u-m-b-auto{margin-bottom:auto!important}.u-margin-left-auto,.u-m-l-auto{margin-left:auto!important}.u-margin-center-auto,.u-m-c-auto{margin-left:auto!important;margin-right:auto!important}.u-margin-middle-auto,.u-m-m-auto{margin-top:auto!important;margin-bottom:auto!important}.u-flex-wrap{flex-wrap:wrap}.u-flex-wrap-reverse{flex-wrap:wrap-reverse}.u-flex-start{justify-content:flex-start}.u-flex-center{justify-content:center}.u-flex-end{justify-content:flex-end}.u-flex-between{justify-content:space-between}.u-flex-around{justify-content:space-around}.u-flex-items-start{align-items:flex-start}.u-flex-items-center{align-items:center}.u-flex-items-end{align-items:flex-end}.u-flex-items-baseline{align-items:baseline}.u-flex-items-stretch{align-items:stretch}.u-flex-self-start{align-self:flex-start}.u-flex-self-center{align-self:center}.u-flex-self-end{align-self:flex-end}.u-flex-self-baseline{align-self:baseline}.u-flex-self-stretch{align-self:stretch}.u-flex-content-start{align-content:flex-start}.u-flex-content-center{align-content:center}.u-flex-content-end{align-content:flex-end}.u-flex-content-between{align-content:space-between}.u-flex-content-around{align-content:space-around}.u-flex-middle{justify-content:center;align-items:center;align-self:center;align-content:center}.u-flex-grow{flex-grow:1}.u-flex-shrink{flex-shrink:1}.u-margin-0,.u-m-0{margin:0!important}.u-padding-0,.u-p-0{padding:0!important}.u-m-l-0{margin-left:0!important}.u-p-l-0{padding-left:0!important}.u-margin-left-0{margin-left:0!important}.u-padding-left-0{padding-left:0!important}.u-m-t-0{margin-top:0!important}.u-p-t-0{padding-top:0!important}.u-margin-top-0{margin-top:0!important}.u-padding-top-0{padding-top:0!important}.u-m-r-0{margin-right:0!important}.u-p-r-0{padding-right:0!important}.u-margin-right-0{margin-right:0!important}.u-padding-right-0{padding-right:0!important}.u-m-b-0{margin-bottom:0!important}.u-p-b-0{padding-bottom:0!important}.u-margin-bottom-0{margin-bottom:0!important}.u-padding-bottom-0{padding-bottom:0!important}.u-margin-2,.u-m-2{margin:.0625rem!important}.u-padding-2,.u-p-2{padding:.0625rem!important}.u-m-l-2{margin-left:.0625rem!important}.u-p-l-2{padding-left:.0625rem!important}.u-margin-left-2{margin-left:.0625rem!important}.u-padding-left-2{padding-left:.0625rem!important}.u-m-t-2{margin-top:.0625rem!important}.u-p-t-2{padding-top:.0625rem!important}.u-margin-top-2{margin-top:.0625rem!important}.u-padding-top-2{padding-top:.0625rem!important}.u-m-r-2{margin-right:.0625rem!important}.u-p-r-2{padding-right:.0625rem!important}.u-margin-right-2{margin-right:.0625rem!important}.u-padding-right-2{padding-right:.0625rem!important}.u-m-b-2{margin-bottom:.0625rem!important}.u-p-b-2{padding-bottom:.0625rem!important}.u-margin-bottom-2{margin-bottom:.0625rem!important}.u-padding-bottom-2{padding-bottom:.0625rem!important}.u-margin-4,.u-m-4{margin:.125rem!important}.u-padding-4,.u-p-4{padding:.125rem!important}.u-m-l-4{margin-left:.125rem!important}.u-p-l-4{padding-left:.125rem!important}.u-margin-left-4{margin-left:.125rem!important}.u-padding-left-4{padding-left:.125rem!important}.u-m-t-4{margin-top:.125rem!important}.u-p-t-4{padding-top:.125rem!important}.u-margin-top-4{margin-top:.125rem!important}.u-padding-top-4{padding-top:.125rem!important}.u-m-r-4{margin-right:.125rem!important}.u-p-r-4{padding-right:.125rem!important}.u-margin-right-4{margin-right:.125rem!important}.u-padding-right-4{padding-right:.125rem!important}.u-m-b-4{margin-bottom:.125rem!important}.u-p-b-4{padding-bottom:.125rem!important}.u-margin-bottom-4{margin-bottom:.125rem!important}.u-padding-bottom-4{padding-bottom:.125rem!important}.u-margin-5,.u-m-5{margin:.15625rem!important}.u-padding-5,.u-p-5{padding:.15625rem!important}.u-m-l-5{margin-left:.15625rem!important}.u-p-l-5{padding-left:.15625rem!important}.u-margin-left-5{margin-left:.15625rem!important}.u-padding-left-5{padding-left:.15625rem!important}.u-m-t-5{margin-top:.15625rem!important}.u-p-t-5{padding-top:.15625rem!important}.u-margin-top-5{margin-top:.15625rem!important}.u-padding-top-5{padding-top:.15625rem!important}.u-m-r-5{margin-right:.15625rem!important}.u-p-r-5{padding-right:.15625rem!important}.u-margin-right-5{margin-right:.15625rem!important}.u-padding-right-5{padding-right:.15625rem!important}.u-m-b-5{margin-bottom:.15625rem!important}.u-p-b-5{padding-bottom:.15625rem!important}.u-margin-bottom-5{margin-bottom:.15625rem!important}.u-padding-bottom-5{padding-bottom:.15625rem!important}.u-margin-6,.u-m-6{margin:.1875rem!important}.u-padding-6,.u-p-6{padding:.1875rem!important}.u-m-l-6{margin-left:.1875rem!important}.u-p-l-6{padding-left:.1875rem!important}.u-margin-left-6{margin-left:.1875rem!important}.u-padding-left-6{padding-left:.1875rem!important}.u-m-t-6{margin-top:.1875rem!important}.u-p-t-6{padding-top:.1875rem!important}.u-margin-top-6{margin-top:.1875rem!important}.u-padding-top-6{padding-top:.1875rem!important}.u-m-r-6{margin-right:.1875rem!important}.u-p-r-6{padding-right:.1875rem!important}.u-margin-right-6{margin-right:.1875rem!important}.u-padding-right-6{padding-right:.1875rem!important}.u-m-b-6{margin-bottom:.1875rem!important}.u-p-b-6{padding-bottom:.1875rem!important}.u-margin-bottom-6{margin-bottom:.1875rem!important}.u-padding-bottom-6{padding-bottom:.1875rem!important}.u-margin-8,.u-m-8{margin:.25rem!important}.u-padding-8,.u-p-8{padding:.25rem!important}.u-m-l-8{margin-left:.25rem!important}.u-p-l-8{padding-left:.25rem!important}.u-margin-left-8{margin-left:.25rem!important}.u-padding-left-8{padding-left:.25rem!important}.u-m-t-8{margin-top:.25rem!important}.u-p-t-8{padding-top:.25rem!important}.u-margin-top-8{margin-top:.25rem!important}.u-padding-top-8{padding-top:.25rem!important}.u-m-r-8{margin-right:.25rem!important}.u-p-r-8{padding-right:.25rem!important}.u-margin-right-8{margin-right:.25rem!important}.u-padding-right-8{padding-right:.25rem!important}.u-m-b-8{margin-bottom:.25rem!important}.u-p-b-8{padding-bottom:.25rem!important}.u-margin-bottom-8{margin-bottom:.25rem!important}.u-padding-bottom-8{padding-bottom:.25rem!important}.u-margin-10,.u-m-10{margin:.3125rem!important}.u-padding-10,.u-p-10{padding:.3125rem!important}.u-m-l-10{margin-left:.3125rem!important}.u-p-l-10{padding-left:.3125rem!important}.u-margin-left-10{margin-left:.3125rem!important}.u-padding-left-10{padding-left:.3125rem!important}.u-m-t-10{margin-top:.3125rem!important}.u-p-t-10{padding-top:.3125rem!important}.u-margin-top-10{margin-top:.3125rem!important}.u-padding-top-10{padding-top:.3125rem!important}.u-m-r-10{margin-right:.3125rem!important}.u-p-r-10{padding-right:.3125rem!important}.u-margin-right-10{margin-right:.3125rem!important}.u-padding-right-10{padding-right:.3125rem!important}.u-m-b-10{margin-bottom:.3125rem!important}.u-p-b-10{padding-bottom:.3125rem!important}.u-margin-bottom-10{margin-bottom:.3125rem!important}.u-padding-bottom-10{padding-bottom:.3125rem!important}.u-margin-12,.u-m-12{margin:.375rem!important}.u-padding-12,.u-p-12{padding:.375rem!important}.u-m-l-12{margin-left:.375rem!important}.u-p-l-12{padding-left:.375rem!important}.u-margin-left-12{margin-left:.375rem!important}.u-padding-left-12{padding-left:.375rem!important}.u-m-t-12{margin-top:.375rem!important}.u-p-t-12{padding-top:.375rem!important}.u-margin-top-12{margin-top:.375rem!important}.u-padding-top-12{padding-top:.375rem!important}.u-m-r-12{margin-right:.375rem!important}.u-p-r-12{padding-right:.375rem!important}.u-margin-right-12{margin-right:.375rem!important}.u-padding-right-12{padding-right:.375rem!important}.u-m-b-12{margin-bottom:.375rem!important}.u-p-b-12{padding-bottom:.375rem!important}.u-margin-bottom-12{margin-bottom:.375rem!important}.u-padding-bottom-12{padding-bottom:.375rem!important}.u-margin-14,.u-m-14{margin:.4375rem!important}.u-padding-14,.u-p-14{padding:.4375rem!important}.u-m-l-14{margin-left:.4375rem!important}.u-p-l-14{padding-left:.4375rem!important}.u-margin-left-14{margin-left:.4375rem!important}.u-padding-left-14{padding-left:.4375rem!important}.u-m-t-14{margin-top:.4375rem!important}.u-p-t-14{padding-top:.4375rem!important}.u-margin-top-14{margin-top:.4375rem!important}.u-padding-top-14{padding-top:.4375rem!important}.u-m-r-14{margin-right:.4375rem!important}.u-p-r-14{padding-right:.4375rem!important}.u-margin-right-14{margin-right:.4375rem!important}.u-padding-right-14{padding-right:.4375rem!important}.u-m-b-14{margin-bottom:.4375rem!important}.u-p-b-14{padding-bottom:.4375rem!important}.u-margin-bottom-14{margin-bottom:.4375rem!important}.u-padding-bottom-14{padding-bottom:.4375rem!important}.u-margin-15,.u-m-15{margin:.46875rem!important}.u-padding-15,.u-p-15{padding:.46875rem!important}.u-m-l-15{margin-left:.46875rem!important}.u-p-l-15{padding-left:.46875rem!important}.u-margin-left-15{margin-left:.46875rem!important}.u-padding-left-15{padding-left:.46875rem!important}.u-m-t-15{margin-top:.46875rem!important}.u-p-t-15{padding-top:.46875rem!important}.u-margin-top-15{margin-top:.46875rem!important}.u-padding-top-15{padding-top:.46875rem!important}.u-m-r-15{margin-right:.46875rem!important}.u-p-r-15{padding-right:.46875rem!important}.u-margin-right-15{margin-right:.46875rem!important}.u-padding-right-15{padding-right:.46875rem!important}.u-m-b-15{margin-bottom:.46875rem!important}.u-p-b-15{padding-bottom:.46875rem!important}.u-margin-bottom-15{margin-bottom:.46875rem!important}.u-padding-bottom-15{padding-bottom:.46875rem!important}.u-margin-16,.u-m-16{margin:.5rem!important}.u-padding-16,.u-p-16{padding:.5rem!important}.u-m-l-16{margin-left:.5rem!important}.u-p-l-16{padding-left:.5rem!important}.u-margin-left-16{margin-left:.5rem!important}.u-padding-left-16{padding-left:.5rem!important}.u-m-t-16{margin-top:.5rem!important}.u-p-t-16{padding-top:.5rem!important}.u-margin-top-16{margin-top:.5rem!important}.u-padding-top-16{padding-top:.5rem!important}.u-m-r-16{margin-right:.5rem!important}.u-p-r-16{padding-right:.5rem!important}.u-margin-right-16{margin-right:.5rem!important}.u-padding-right-16{padding-right:.5rem!important}.u-m-b-16{margin-bottom:.5rem!important}.u-p-b-16{padding-bottom:.5rem!important}.u-margin-bottom-16{margin-bottom:.5rem!important}.u-padding-bottom-16{padding-bottom:.5rem!important}.u-margin-18,.u-m-18{margin:.5625rem!important}.u-padding-18,.u-p-18{padding:.5625rem!important}.u-m-l-18{margin-left:.5625rem!important}.u-p-l-18{padding-left:.5625rem!important}.u-margin-left-18{margin-left:.5625rem!important}.u-padding-left-18{padding-left:.5625rem!important}.u-m-t-18{margin-top:.5625rem!important}.u-p-t-18{padding-top:.5625rem!important}.u-margin-top-18{margin-top:.5625rem!important}.u-padding-top-18{padding-top:.5625rem!important}.u-m-r-18{margin-right:.5625rem!important}.u-p-r-18{padding-right:.5625rem!important}.u-margin-right-18{margin-right:.5625rem!important}.u-padding-right-18{padding-right:.5625rem!important}.u-m-b-18{margin-bottom:.5625rem!important}.u-p-b-18{padding-bottom:.5625rem!important}.u-margin-bottom-18{margin-bottom:.5625rem!important}.u-padding-bottom-18{padding-bottom:.5625rem!important}.u-margin-20,.u-m-20{margin:.625rem!important}.u-padding-20,.u-p-20{padding:.625rem!important}.u-m-l-20{margin-left:.625rem!important}.u-p-l-20{padding-left:.625rem!important}.u-margin-left-20{margin-left:.625rem!important}.u-padding-left-20{padding-left:.625rem!important}.u-m-t-20{margin-top:.625rem!important}.u-p-t-20{padding-top:.625rem!important}.u-margin-top-20{margin-top:.625rem!important}.u-padding-top-20{padding-top:.625rem!important}.u-m-r-20{margin-right:.625rem!important}.u-p-r-20{padding-right:.625rem!important}.u-margin-right-20{margin-right:.625rem!important}.u-padding-right-20{padding-right:.625rem!important}.u-m-b-20{margin-bottom:.625rem!important}.u-p-b-20{padding-bottom:.625rem!important}.u-margin-bottom-20{margin-bottom:.625rem!important}.u-padding-bottom-20{padding-bottom:.625rem!important}.u-margin-22,.u-m-22{margin:.6875rem!important}.u-padding-22,.u-p-22{padding:.6875rem!important}.u-m-l-22{margin-left:.6875rem!important}.u-p-l-22{padding-left:.6875rem!important}.u-margin-left-22{margin-left:.6875rem!important}.u-padding-left-22{padding-left:.6875rem!important}.u-m-t-22{margin-top:.6875rem!important}.u-p-t-22{padding-top:.6875rem!important}.u-margin-top-22{margin-top:.6875rem!important}.u-padding-top-22{padding-top:.6875rem!important}.u-m-r-22{margin-right:.6875rem!important}.u-p-r-22{padding-right:.6875rem!important}.u-margin-right-22{margin-right:.6875rem!important}.u-padding-right-22{padding-right:.6875rem!important}.u-m-b-22{margin-bottom:.6875rem!important}.u-p-b-22{padding-bottom:.6875rem!important}.u-margin-bottom-22{margin-bottom:.6875rem!important}.u-padding-bottom-22{padding-bottom:.6875rem!important}.u-margin-24,.u-m-24{margin:.75rem!important}.u-padding-24,.u-p-24{padding:.75rem!important}.u-m-l-24{margin-left:.75rem!important}.u-p-l-24{padding-left:.75rem!important}.u-margin-left-24{margin-left:.75rem!important}.u-padding-left-24{padding-left:.75rem!important}.u-m-t-24{margin-top:.75rem!important}.u-p-t-24{padding-top:.75rem!important}.u-margin-top-24{margin-top:.75rem!important}.u-padding-top-24{padding-top:.75rem!important}.u-m-r-24{margin-right:.75rem!important}.u-p-r-24{padding-right:.75rem!important}.u-margin-right-24{margin-right:.75rem!important}.u-padding-right-24{padding-right:.75rem!important}.u-m-b-24{margin-bottom:.75rem!important}.u-p-b-24{padding-bottom:.75rem!important}.u-margin-bottom-24{margin-bottom:.75rem!important}.u-padding-bottom-24{padding-bottom:.75rem!important}.u-margin-25,.u-m-25{margin:.78125rem!important}.u-padding-25,.u-p-25{padding:.78125rem!important}.u-m-l-25{margin-left:.78125rem!important}.u-p-l-25{padding-left:.78125rem!important}.u-margin-left-25{margin-left:.78125rem!important}.u-padding-left-25{padding-left:.78125rem!important}.u-m-t-25{margin-top:.78125rem!important}.u-p-t-25{padding-top:.78125rem!important}.u-margin-top-25{margin-top:.78125rem!important}.u-padding-top-25{padding-top:.78125rem!important}.u-m-r-25{margin-right:.78125rem!important}.u-p-r-25{padding-right:.78125rem!important}.u-margin-right-25{margin-right:.78125rem!important}.u-padding-right-25{padding-right:.78125rem!important}.u-m-b-25{margin-bottom:.78125rem!important}.u-p-b-25{padding-bottom:.78125rem!important}.u-margin-bottom-25{margin-bottom:.78125rem!important}.u-padding-bottom-25{padding-bottom:.78125rem!important}.u-margin-26,.u-m-26{margin:.8125rem!important}.u-padding-26,.u-p-26{padding:.8125rem!important}.u-m-l-26{margin-left:.8125rem!important}.u-p-l-26{padding-left:.8125rem!important}.u-margin-left-26{margin-left:.8125rem!important}.u-padding-left-26{padding-left:.8125rem!important}.u-m-t-26{margin-top:.8125rem!important}.u-p-t-26{padding-top:.8125rem!important}.u-margin-top-26{margin-top:.8125rem!important}.u-padding-top-26{padding-top:.8125rem!important}.u-m-r-26{margin-right:.8125rem!important}.u-p-r-26{padding-right:.8125rem!important}.u-margin-right-26{margin-right:.8125rem!important}.u-padding-right-26{padding-right:.8125rem!important}.u-m-b-26{margin-bottom:.8125rem!important}.u-p-b-26{padding-bottom:.8125rem!important}.u-margin-bottom-26{margin-bottom:.8125rem!important}.u-padding-bottom-26{padding-bottom:.8125rem!important}.u-margin-28,.u-m-28{margin:.875rem!important}.u-padding-28,.u-p-28{padding:.875rem!important}.u-m-l-28{margin-left:.875rem!important}.u-p-l-28{padding-left:.875rem!important}.u-margin-left-28{margin-left:.875rem!important}.u-padding-left-28{padding-left:.875rem!important}.u-m-t-28{margin-top:.875rem!important}.u-p-t-28{padding-top:.875rem!important}.u-margin-top-28{margin-top:.875rem!important}.u-padding-top-28{padding-top:.875rem!important}.u-m-r-28{margin-right:.875rem!important}.u-p-r-28{padding-right:.875rem!important}.u-margin-right-28{margin-right:.875rem!important}.u-padding-right-28{padding-right:.875rem!important}.u-m-b-28{margin-bottom:.875rem!important}.u-p-b-28{padding-bottom:.875rem!important}.u-margin-bottom-28{margin-bottom:.875rem!important}.u-padding-bottom-28{padding-bottom:.875rem!important}.u-margin-30,.u-m-30{margin:.9375rem!important}.u-padding-30,.u-p-30{padding:.9375rem!important}.u-m-l-30{margin-left:.9375rem!important}.u-p-l-30{padding-left:.9375rem!important}.u-margin-left-30{margin-left:.9375rem!important}.u-padding-left-30{padding-left:.9375rem!important}.u-m-t-30{margin-top:.9375rem!important}.u-p-t-30{padding-top:.9375rem!important}.u-margin-top-30{margin-top:.9375rem!important}.u-padding-top-30{padding-top:.9375rem!important}.u-m-r-30{margin-right:.9375rem!important}.u-p-r-30{padding-right:.9375rem!important}.u-margin-right-30{margin-right:.9375rem!important}.u-padding-right-30{padding-right:.9375rem!important}.u-m-b-30{margin-bottom:.9375rem!important}.u-p-b-30{padding-bottom:.9375rem!important}.u-margin-bottom-30{margin-bottom:.9375rem!important}.u-padding-bottom-30{padding-bottom:.9375rem!important}.u-margin-32,.u-m-32{margin:1rem!important}.u-padding-32,.u-p-32{padding:1rem!important}.u-m-l-32{margin-left:1rem!important}.u-p-l-32{padding-left:1rem!important}.u-margin-left-32{margin-left:1rem!important}.u-padding-left-32{padding-left:1rem!important}.u-m-t-32{margin-top:1rem!important}.u-p-t-32{padding-top:1rem!important}.u-margin-top-32{margin-top:1rem!important}.u-padding-top-32{padding-top:1rem!important}.u-m-r-32{margin-right:1rem!important}.u-p-r-32{padding-right:1rem!important}.u-margin-right-32{margin-right:1rem!important}.u-padding-right-32{padding-right:1rem!important}.u-m-b-32{margin-bottom:1rem!important}.u-p-b-32{padding-bottom:1rem!important}.u-margin-bottom-32{margin-bottom:1rem!important}.u-padding-bottom-32{padding-bottom:1rem!important}.u-margin-34,.u-m-34{margin:1.0625rem!important}.u-padding-34,.u-p-34{padding:1.0625rem!important}.u-m-l-34{margin-left:1.0625rem!important}.u-p-l-34{padding-left:1.0625rem!important}.u-margin-left-34{margin-left:1.0625rem!important}.u-padding-left-34{padding-left:1.0625rem!important}.u-m-t-34{margin-top:1.0625rem!important}.u-p-t-34{padding-top:1.0625rem!important}.u-margin-top-34{margin-top:1.0625rem!important}.u-padding-top-34{padding-top:1.0625rem!important}.u-m-r-34{margin-right:1.0625rem!important}.u-p-r-34{padding-right:1.0625rem!important}.u-margin-right-34{margin-right:1.0625rem!important}.u-padding-right-34{padding-right:1.0625rem!important}.u-m-b-34{margin-bottom:1.0625rem!important}.u-p-b-34{padding-bottom:1.0625rem!important}.u-margin-bottom-34{margin-bottom:1.0625rem!important}.u-padding-bottom-34{padding-bottom:1.0625rem!important}.u-margin-35,.u-m-35{margin:1.09375rem!important}.u-padding-35,.u-p-35{padding:1.09375rem!important}.u-m-l-35{margin-left:1.09375rem!important}.u-p-l-35{padding-left:1.09375rem!important}.u-margin-left-35{margin-left:1.09375rem!important}.u-padding-left-35{padding-left:1.09375rem!important}.u-m-t-35{margin-top:1.09375rem!important}.u-p-t-35{padding-top:1.09375rem!important}.u-margin-top-35{margin-top:1.09375rem!important}.u-padding-top-35{padding-top:1.09375rem!important}.u-m-r-35{margin-right:1.09375rem!important}.u-p-r-35{padding-right:1.09375rem!important}.u-margin-right-35{margin-right:1.09375rem!important}.u-padding-right-35{padding-right:1.09375rem!important}.u-m-b-35{margin-bottom:1.09375rem!important}.u-p-b-35{padding-bottom:1.09375rem!important}.u-margin-bottom-35{margin-bottom:1.09375rem!important}.u-padding-bottom-35{padding-bottom:1.09375rem!important}.u-margin-36,.u-m-36{margin:1.125rem!important}.u-padding-36,.u-p-36{padding:1.125rem!important}.u-m-l-36{margin-left:1.125rem!important}.u-p-l-36{padding-left:1.125rem!important}.u-margin-left-36{margin-left:1.125rem!important}.u-padding-left-36{padding-left:1.125rem!important}.u-m-t-36{margin-top:1.125rem!important}.u-p-t-36{padding-top:1.125rem!important}.u-margin-top-36{margin-top:1.125rem!important}.u-padding-top-36{padding-top:1.125rem!important}.u-m-r-36{margin-right:1.125rem!important}.u-p-r-36{padding-right:1.125rem!important}.u-margin-right-36{margin-right:1.125rem!important}.u-padding-right-36{padding-right:1.125rem!important}.u-m-b-36{margin-bottom:1.125rem!important}.u-p-b-36{padding-bottom:1.125rem!important}.u-margin-bottom-36{margin-bottom:1.125rem!important}.u-padding-bottom-36{padding-bottom:1.125rem!important}.u-margin-38,.u-m-38{margin:1.1875rem!important}.u-padding-38,.u-p-38{padding:1.1875rem!important}.u-m-l-38{margin-left:1.1875rem!important}.u-p-l-38{padding-left:1.1875rem!important}.u-margin-left-38{margin-left:1.1875rem!important}.u-padding-left-38{padding-left:1.1875rem!important}.u-m-t-38{margin-top:1.1875rem!important}.u-p-t-38{padding-top:1.1875rem!important}.u-margin-top-38{margin-top:1.1875rem!important}.u-padding-top-38{padding-top:1.1875rem!important}.u-m-r-38{margin-right:1.1875rem!important}.u-p-r-38{padding-right:1.1875rem!important}.u-margin-right-38{margin-right:1.1875rem!important}.u-padding-right-38{padding-right:1.1875rem!important}.u-m-b-38{margin-bottom:1.1875rem!important}.u-p-b-38{padding-bottom:1.1875rem!important}.u-margin-bottom-38{margin-bottom:1.1875rem!important}.u-padding-bottom-38{padding-bottom:1.1875rem!important}.u-margin-40,.u-m-40{margin:1.25rem!important}.u-padding-40,.u-p-40{padding:1.25rem!important}.u-m-l-40{margin-left:1.25rem!important}.u-p-l-40{padding-left:1.25rem!important}.u-margin-left-40{margin-left:1.25rem!important}.u-padding-left-40{padding-left:1.25rem!important}.u-m-t-40{margin-top:1.25rem!important}.u-p-t-40{padding-top:1.25rem!important}.u-margin-top-40{margin-top:1.25rem!important}.u-padding-top-40{padding-top:1.25rem!important}.u-m-r-40{margin-right:1.25rem!important}.u-p-r-40{padding-right:1.25rem!important}.u-margin-right-40{margin-right:1.25rem!important}.u-padding-right-40{padding-right:1.25rem!important}.u-m-b-40{margin-bottom:1.25rem!important}.u-p-b-40{padding-bottom:1.25rem!important}.u-margin-bottom-40{margin-bottom:1.25rem!important}.u-padding-bottom-40{padding-bottom:1.25rem!important}.u-margin-42,.u-m-42{margin:1.3125rem!important}.u-padding-42,.u-p-42{padding:1.3125rem!important}.u-m-l-42{margin-left:1.3125rem!important}.u-p-l-42{padding-left:1.3125rem!important}.u-margin-left-42{margin-left:1.3125rem!important}.u-padding-left-42{padding-left:1.3125rem!important}.u-m-t-42{margin-top:1.3125rem!important}.u-p-t-42{padding-top:1.3125rem!important}.u-margin-top-42{margin-top:1.3125rem!important}.u-padding-top-42{padding-top:1.3125rem!important}.u-m-r-42{margin-right:1.3125rem!important}.u-p-r-42{padding-right:1.3125rem!important}.u-margin-right-42{margin-right:1.3125rem!important}.u-padding-right-42{padding-right:1.3125rem!important}.u-m-b-42{margin-bottom:1.3125rem!important}.u-p-b-42{padding-bottom:1.3125rem!important}.u-margin-bottom-42{margin-bottom:1.3125rem!important}.u-padding-bottom-42{padding-bottom:1.3125rem!important}.u-margin-44,.u-m-44{margin:1.375rem!important}.u-padding-44,.u-p-44{padding:1.375rem!important}.u-m-l-44{margin-left:1.375rem!important}.u-p-l-44{padding-left:1.375rem!important}.u-margin-left-44{margin-left:1.375rem!important}.u-padding-left-44{padding-left:1.375rem!important}.u-m-t-44{margin-top:1.375rem!important}.u-p-t-44{padding-top:1.375rem!important}.u-margin-top-44{margin-top:1.375rem!important}.u-padding-top-44{padding-top:1.375rem!important}.u-m-r-44{margin-right:1.375rem!important}.u-p-r-44{padding-right:1.375rem!important}.u-margin-right-44{margin-right:1.375rem!important}.u-padding-right-44{padding-right:1.375rem!important}.u-m-b-44{margin-bottom:1.375rem!important}.u-p-b-44{padding-bottom:1.375rem!important}.u-margin-bottom-44{margin-bottom:1.375rem!important}.u-padding-bottom-44{padding-bottom:1.375rem!important}.u-margin-45,.u-m-45{margin:1.40625rem!important}.u-padding-45,.u-p-45{padding:1.40625rem!important}.u-m-l-45{margin-left:1.40625rem!important}.u-p-l-45{padding-left:1.40625rem!important}.u-margin-left-45{margin-left:1.40625rem!important}.u-padding-left-45{padding-left:1.40625rem!important}.u-m-t-45{margin-top:1.40625rem!important}.u-p-t-45{padding-top:1.40625rem!important}.u-margin-top-45{margin-top:1.40625rem!important}.u-padding-top-45{padding-top:1.40625rem!important}.u-m-r-45{margin-right:1.40625rem!important}.u-p-r-45{padding-right:1.40625rem!important}.u-margin-right-45{margin-right:1.40625rem!important}.u-padding-right-45{padding-right:1.40625rem!important}.u-m-b-45{margin-bottom:1.40625rem!important}.u-p-b-45{padding-bottom:1.40625rem!important}.u-margin-bottom-45{margin-bottom:1.40625rem!important}.u-padding-bottom-45{padding-bottom:1.40625rem!important}.u-margin-46,.u-m-46{margin:1.4375rem!important}.u-padding-46,.u-p-46{padding:1.4375rem!important}.u-m-l-46{margin-left:1.4375rem!important}.u-p-l-46{padding-left:1.4375rem!important}.u-margin-left-46{margin-left:1.4375rem!important}.u-padding-left-46{padding-left:1.4375rem!important}.u-m-t-46{margin-top:1.4375rem!important}.u-p-t-46{padding-top:1.4375rem!important}.u-margin-top-46{margin-top:1.4375rem!important}.u-padding-top-46{padding-top:1.4375rem!important}.u-m-r-46{margin-right:1.4375rem!important}.u-p-r-46{padding-right:1.4375rem!important}.u-margin-right-46{margin-right:1.4375rem!important}.u-padding-right-46{padding-right:1.4375rem!important}.u-m-b-46{margin-bottom:1.4375rem!important}.u-p-b-46{padding-bottom:1.4375rem!important}.u-margin-bottom-46{margin-bottom:1.4375rem!important}.u-padding-bottom-46{padding-bottom:1.4375rem!important}.u-margin-48,.u-m-48{margin:1.5rem!important}.u-padding-48,.u-p-48{padding:1.5rem!important}.u-m-l-48{margin-left:1.5rem!important}.u-p-l-48{padding-left:1.5rem!important}.u-margin-left-48{margin-left:1.5rem!important}.u-padding-left-48{padding-left:1.5rem!important}.u-m-t-48{margin-top:1.5rem!important}.u-p-t-48{padding-top:1.5rem!important}.u-margin-top-48{margin-top:1.5rem!important}.u-padding-top-48{padding-top:1.5rem!important}.u-m-r-48{margin-right:1.5rem!important}.u-p-r-48{padding-right:1.5rem!important}.u-margin-right-48{margin-right:1.5rem!important}.u-padding-right-48{padding-right:1.5rem!important}.u-m-b-48{margin-bottom:1.5rem!important}.u-p-b-48{padding-bottom:1.5rem!important}.u-margin-bottom-48{margin-bottom:1.5rem!important}.u-padding-bottom-48{padding-bottom:1.5rem!important}.u-margin-50,.u-m-50{margin:1.5625rem!important}.u-padding-50,.u-p-50{padding:1.5625rem!important}.u-m-l-50{margin-left:1.5625rem!important}.u-p-l-50{padding-left:1.5625rem!important}.u-margin-left-50{margin-left:1.5625rem!important}.u-padding-left-50{padding-left:1.5625rem!important}.u-m-t-50{margin-top:1.5625rem!important}.u-p-t-50{padding-top:1.5625rem!important}.u-margin-top-50{margin-top:1.5625rem!important}.u-padding-top-50{padding-top:1.5625rem!important}.u-m-r-50{margin-right:1.5625rem!important}.u-p-r-50{padding-right:1.5625rem!important}.u-margin-right-50{margin-right:1.5625rem!important}.u-padding-right-50{padding-right:1.5625rem!important}.u-m-b-50{margin-bottom:1.5625rem!important}.u-p-b-50{padding-bottom:1.5625rem!important}.u-margin-bottom-50{margin-bottom:1.5625rem!important}.u-padding-bottom-50{padding-bottom:1.5625rem!important}.u-margin-52,.u-m-52{margin:1.625rem!important}.u-padding-52,.u-p-52{padding:1.625rem!important}.u-m-l-52{margin-left:1.625rem!important}.u-p-l-52{padding-left:1.625rem!important}.u-margin-left-52{margin-left:1.625rem!important}.u-padding-left-52{padding-left:1.625rem!important}.u-m-t-52{margin-top:1.625rem!important}.u-p-t-52{padding-top:1.625rem!important}.u-margin-top-52{margin-top:1.625rem!important}.u-padding-top-52{padding-top:1.625rem!important}.u-m-r-52{margin-right:1.625rem!important}.u-p-r-52{padding-right:1.625rem!important}.u-margin-right-52{margin-right:1.625rem!important}.u-padding-right-52{padding-right:1.625rem!important}.u-m-b-52{margin-bottom:1.625rem!important}.u-p-b-52{padding-bottom:1.625rem!important}.u-margin-bottom-52{margin-bottom:1.625rem!important}.u-padding-bottom-52{padding-bottom:1.625rem!important}.u-margin-54,.u-m-54{margin:1.6875rem!important}.u-padding-54,.u-p-54{padding:1.6875rem!important}.u-m-l-54{margin-left:1.6875rem!important}.u-p-l-54{padding-left:1.6875rem!important}.u-margin-left-54{margin-left:1.6875rem!important}.u-padding-left-54{padding-left:1.6875rem!important}.u-m-t-54{margin-top:1.6875rem!important}.u-p-t-54{padding-top:1.6875rem!important}.u-margin-top-54{margin-top:1.6875rem!important}.u-padding-top-54{padding-top:1.6875rem!important}.u-m-r-54{margin-right:1.6875rem!important}.u-p-r-54{padding-right:1.6875rem!important}.u-margin-right-54{margin-right:1.6875rem!important}.u-padding-right-54{padding-right:1.6875rem!important}.u-m-b-54{margin-bottom:1.6875rem!important}.u-p-b-54{padding-bottom:1.6875rem!important}.u-margin-bottom-54{margin-bottom:1.6875rem!important}.u-padding-bottom-54{padding-bottom:1.6875rem!important}.u-margin-55,.u-m-55{margin:1.71875rem!important}.u-padding-55,.u-p-55{padding:1.71875rem!important}.u-m-l-55{margin-left:1.71875rem!important}.u-p-l-55{padding-left:1.71875rem!important}.u-margin-left-55{margin-left:1.71875rem!important}.u-padding-left-55{padding-left:1.71875rem!important}.u-m-t-55{margin-top:1.71875rem!important}.u-p-t-55{padding-top:1.71875rem!important}.u-margin-top-55{margin-top:1.71875rem!important}.u-padding-top-55{padding-top:1.71875rem!important}.u-m-r-55{margin-right:1.71875rem!important}.u-p-r-55{padding-right:1.71875rem!important}.u-margin-right-55{margin-right:1.71875rem!important}.u-padding-right-55{padding-right:1.71875rem!important}.u-m-b-55{margin-bottom:1.71875rem!important}.u-p-b-55{padding-bottom:1.71875rem!important}.u-margin-bottom-55{margin-bottom:1.71875rem!important}.u-padding-bottom-55{padding-bottom:1.71875rem!important}.u-margin-56,.u-m-56{margin:1.75rem!important}.u-padding-56,.u-p-56{padding:1.75rem!important}.u-m-l-56{margin-left:1.75rem!important}.u-p-l-56{padding-left:1.75rem!important}.u-margin-left-56{margin-left:1.75rem!important}.u-padding-left-56{padding-left:1.75rem!important}.u-m-t-56{margin-top:1.75rem!important}.u-p-t-56{padding-top:1.75rem!important}.u-margin-top-56{margin-top:1.75rem!important}.u-padding-top-56{padding-top:1.75rem!important}.u-m-r-56{margin-right:1.75rem!important}.u-p-r-56{padding-right:1.75rem!important}.u-margin-right-56{margin-right:1.75rem!important}.u-padding-right-56{padding-right:1.75rem!important}.u-m-b-56{margin-bottom:1.75rem!important}.u-p-b-56{padding-bottom:1.75rem!important}.u-margin-bottom-56{margin-bottom:1.75rem!important}.u-padding-bottom-56{padding-bottom:1.75rem!important}.u-margin-58,.u-m-58{margin:1.8125rem!important}.u-padding-58,.u-p-58{padding:1.8125rem!important}.u-m-l-58{margin-left:1.8125rem!important}.u-p-l-58{padding-left:1.8125rem!important}.u-margin-left-58{margin-left:1.8125rem!important}.u-padding-left-58{padding-left:1.8125rem!important}.u-m-t-58{margin-top:1.8125rem!important}.u-p-t-58{padding-top:1.8125rem!important}.u-margin-top-58{margin-top:1.8125rem!important}.u-padding-top-58{padding-top:1.8125rem!important}.u-m-r-58{margin-right:1.8125rem!important}.u-p-r-58{padding-right:1.8125rem!important}.u-margin-right-58{margin-right:1.8125rem!important}.u-padding-right-58{padding-right:1.8125rem!important}.u-m-b-58{margin-bottom:1.8125rem!important}.u-p-b-58{padding-bottom:1.8125rem!important}.u-margin-bottom-58{margin-bottom:1.8125rem!important}.u-padding-bottom-58{padding-bottom:1.8125rem!important}.u-margin-60,.u-m-60{margin:1.875rem!important}.u-padding-60,.u-p-60{padding:1.875rem!important}.u-m-l-60{margin-left:1.875rem!important}.u-p-l-60{padding-left:1.875rem!important}.u-margin-left-60{margin-left:1.875rem!important}.u-padding-left-60{padding-left:1.875rem!important}.u-m-t-60{margin-top:1.875rem!important}.u-p-t-60{padding-top:1.875rem!important}.u-margin-top-60{margin-top:1.875rem!important}.u-padding-top-60{padding-top:1.875rem!important}.u-m-r-60{margin-right:1.875rem!important}.u-p-r-60{padding-right:1.875rem!important}.u-margin-right-60{margin-right:1.875rem!important}.u-padding-right-60{padding-right:1.875rem!important}.u-m-b-60{margin-bottom:1.875rem!important}.u-p-b-60{padding-bottom:1.875rem!important}.u-margin-bottom-60{margin-bottom:1.875rem!important}.u-padding-bottom-60{padding-bottom:1.875rem!important}.u-margin-62,.u-m-62{margin:1.9375rem!important}.u-padding-62,.u-p-62{padding:1.9375rem!important}.u-m-l-62{margin-left:1.9375rem!important}.u-p-l-62{padding-left:1.9375rem!important}.u-margin-left-62{margin-left:1.9375rem!important}.u-padding-left-62{padding-left:1.9375rem!important}.u-m-t-62{margin-top:1.9375rem!important}.u-p-t-62{padding-top:1.9375rem!important}.u-margin-top-62{margin-top:1.9375rem!important}.u-padding-top-62{padding-top:1.9375rem!important}.u-m-r-62{margin-right:1.9375rem!important}.u-p-r-62{padding-right:1.9375rem!important}.u-margin-right-62{margin-right:1.9375rem!important}.u-padding-right-62{padding-right:1.9375rem!important}.u-m-b-62{margin-bottom:1.9375rem!important}.u-p-b-62{padding-bottom:1.9375rem!important}.u-margin-bottom-62{margin-bottom:1.9375rem!important}.u-padding-bottom-62{padding-bottom:1.9375rem!important}.u-margin-64,.u-m-64{margin:2rem!important}.u-padding-64,.u-p-64{padding:2rem!important}.u-m-l-64{margin-left:2rem!important}.u-p-l-64{padding-left:2rem!important}.u-margin-left-64{margin-left:2rem!important}.u-padding-left-64{padding-left:2rem!important}.u-m-t-64{margin-top:2rem!important}.u-p-t-64{padding-top:2rem!important}.u-margin-top-64{margin-top:2rem!important}.u-padding-top-64{padding-top:2rem!important}.u-m-r-64{margin-right:2rem!important}.u-p-r-64{padding-right:2rem!important}.u-margin-right-64{margin-right:2rem!important}.u-padding-right-64{padding-right:2rem!important}.u-m-b-64{margin-bottom:2rem!important}.u-p-b-64{padding-bottom:2rem!important}.u-margin-bottom-64{margin-bottom:2rem!important}.u-padding-bottom-64{padding-bottom:2rem!important}.u-margin-65,.u-m-65{margin:2.03125rem!important}.u-padding-65,.u-p-65{padding:2.03125rem!important}.u-m-l-65{margin-left:2.03125rem!important}.u-p-l-65{padding-left:2.03125rem!important}.u-margin-left-65{margin-left:2.03125rem!important}.u-padding-left-65{padding-left:2.03125rem!important}.u-m-t-65{margin-top:2.03125rem!important}.u-p-t-65{padding-top:2.03125rem!important}.u-margin-top-65{margin-top:2.03125rem!important}.u-padding-top-65{padding-top:2.03125rem!important}.u-m-r-65{margin-right:2.03125rem!important}.u-p-r-65{padding-right:2.03125rem!important}.u-margin-right-65{margin-right:2.03125rem!important}.u-padding-right-65{padding-right:2.03125rem!important}.u-m-b-65{margin-bottom:2.03125rem!important}.u-p-b-65{padding-bottom:2.03125rem!important}.u-margin-bottom-65{margin-bottom:2.03125rem!important}.u-padding-bottom-65{padding-bottom:2.03125rem!important}.u-margin-66,.u-m-66{margin:2.0625rem!important}.u-padding-66,.u-p-66{padding:2.0625rem!important}.u-m-l-66{margin-left:2.0625rem!important}.u-p-l-66{padding-left:2.0625rem!important}.u-margin-left-66{margin-left:2.0625rem!important}.u-padding-left-66{padding-left:2.0625rem!important}.u-m-t-66{margin-top:2.0625rem!important}.u-p-t-66{padding-top:2.0625rem!important}.u-margin-top-66{margin-top:2.0625rem!important}.u-padding-top-66{padding-top:2.0625rem!important}.u-m-r-66{margin-right:2.0625rem!important}.u-p-r-66{padding-right:2.0625rem!important}.u-margin-right-66{margin-right:2.0625rem!important}.u-padding-right-66{padding-right:2.0625rem!important}.u-m-b-66{margin-bottom:2.0625rem!important}.u-p-b-66{padding-bottom:2.0625rem!important}.u-margin-bottom-66{margin-bottom:2.0625rem!important}.u-padding-bottom-66{padding-bottom:2.0625rem!important}.u-margin-68,.u-m-68{margin:2.125rem!important}.u-padding-68,.u-p-68{padding:2.125rem!important}.u-m-l-68{margin-left:2.125rem!important}.u-p-l-68{padding-left:2.125rem!important}.u-margin-left-68{margin-left:2.125rem!important}.u-padding-left-68{padding-left:2.125rem!important}.u-m-t-68{margin-top:2.125rem!important}.u-p-t-68{padding-top:2.125rem!important}.u-margin-top-68{margin-top:2.125rem!important}.u-padding-top-68{padding-top:2.125rem!important}.u-m-r-68{margin-right:2.125rem!important}.u-p-r-68{padding-right:2.125rem!important}.u-margin-right-68{margin-right:2.125rem!important}.u-padding-right-68{padding-right:2.125rem!important}.u-m-b-68{margin-bottom:2.125rem!important}.u-p-b-68{padding-bottom:2.125rem!important}.u-margin-bottom-68{margin-bottom:2.125rem!important}.u-padding-bottom-68{padding-bottom:2.125rem!important}.u-margin-70,.u-m-70{margin:2.1875rem!important}.u-padding-70,.u-p-70{padding:2.1875rem!important}.u-m-l-70{margin-left:2.1875rem!important}.u-p-l-70{padding-left:2.1875rem!important}.u-margin-left-70{margin-left:2.1875rem!important}.u-padding-left-70{padding-left:2.1875rem!important}.u-m-t-70{margin-top:2.1875rem!important}.u-p-t-70{padding-top:2.1875rem!important}.u-margin-top-70{margin-top:2.1875rem!important}.u-padding-top-70{padding-top:2.1875rem!important}.u-m-r-70{margin-right:2.1875rem!important}.u-p-r-70{padding-right:2.1875rem!important}.u-margin-right-70{margin-right:2.1875rem!important}.u-padding-right-70{padding-right:2.1875rem!important}.u-m-b-70{margin-bottom:2.1875rem!important}.u-p-b-70{padding-bottom:2.1875rem!important}.u-margin-bottom-70{margin-bottom:2.1875rem!important}.u-padding-bottom-70{padding-bottom:2.1875rem!important}.u-margin-72,.u-m-72{margin:2.25rem!important}.u-padding-72,.u-p-72{padding:2.25rem!important}.u-m-l-72{margin-left:2.25rem!important}.u-p-l-72{padding-left:2.25rem!important}.u-margin-left-72{margin-left:2.25rem!important}.u-padding-left-72{padding-left:2.25rem!important}.u-m-t-72{margin-top:2.25rem!important}.u-p-t-72{padding-top:2.25rem!important}.u-margin-top-72{margin-top:2.25rem!important}.u-padding-top-72{padding-top:2.25rem!important}.u-m-r-72{margin-right:2.25rem!important}.u-p-r-72{padding-right:2.25rem!important}.u-margin-right-72{margin-right:2.25rem!important}.u-padding-right-72{padding-right:2.25rem!important}.u-m-b-72{margin-bottom:2.25rem!important}.u-p-b-72{padding-bottom:2.25rem!important}.u-margin-bottom-72{margin-bottom:2.25rem!important}.u-padding-bottom-72{padding-bottom:2.25rem!important}.u-margin-74,.u-m-74{margin:2.3125rem!important}.u-padding-74,.u-p-74{padding:2.3125rem!important}.u-m-l-74{margin-left:2.3125rem!important}.u-p-l-74{padding-left:2.3125rem!important}.u-margin-left-74{margin-left:2.3125rem!important}.u-padding-left-74{padding-left:2.3125rem!important}.u-m-t-74{margin-top:2.3125rem!important}.u-p-t-74{padding-top:2.3125rem!important}.u-margin-top-74{margin-top:2.3125rem!important}.u-padding-top-74{padding-top:2.3125rem!important}.u-m-r-74{margin-right:2.3125rem!important}.u-p-r-74{padding-right:2.3125rem!important}.u-margin-right-74{margin-right:2.3125rem!important}.u-padding-right-74{padding-right:2.3125rem!important}.u-m-b-74{margin-bottom:2.3125rem!important}.u-p-b-74{padding-bottom:2.3125rem!important}.u-margin-bottom-74{margin-bottom:2.3125rem!important}.u-padding-bottom-74{padding-bottom:2.3125rem!important}.u-margin-75,.u-m-75{margin:2.34375rem!important}.u-padding-75,.u-p-75{padding:2.34375rem!important}.u-m-l-75{margin-left:2.34375rem!important}.u-p-l-75{padding-left:2.34375rem!important}.u-margin-left-75{margin-left:2.34375rem!important}.u-padding-left-75{padding-left:2.34375rem!important}.u-m-t-75{margin-top:2.34375rem!important}.u-p-t-75{padding-top:2.34375rem!important}.u-margin-top-75{margin-top:2.34375rem!important}.u-padding-top-75{padding-top:2.34375rem!important}.u-m-r-75{margin-right:2.34375rem!important}.u-p-r-75{padding-right:2.34375rem!important}.u-margin-right-75{margin-right:2.34375rem!important}.u-padding-right-75{padding-right:2.34375rem!important}.u-m-b-75{margin-bottom:2.34375rem!important}.u-p-b-75{padding-bottom:2.34375rem!important}.u-margin-bottom-75{margin-bottom:2.34375rem!important}.u-padding-bottom-75{padding-bottom:2.34375rem!important}.u-margin-76,.u-m-76{margin:2.375rem!important}.u-padding-76,.u-p-76{padding:2.375rem!important}.u-m-l-76{margin-left:2.375rem!important}.u-p-l-76{padding-left:2.375rem!important}.u-margin-left-76{margin-left:2.375rem!important}.u-padding-left-76{padding-left:2.375rem!important}.u-m-t-76{margin-top:2.375rem!important}.u-p-t-76{padding-top:2.375rem!important}.u-margin-top-76{margin-top:2.375rem!important}.u-padding-top-76{padding-top:2.375rem!important}.u-m-r-76{margin-right:2.375rem!important}.u-p-r-76{padding-right:2.375rem!important}.u-margin-right-76{margin-right:2.375rem!important}.u-padding-right-76{padding-right:2.375rem!important}.u-m-b-76{margin-bottom:2.375rem!important}.u-p-b-76{padding-bottom:2.375rem!important}.u-margin-bottom-76{margin-bottom:2.375rem!important}.u-padding-bottom-76{padding-bottom:2.375rem!important}.u-margin-78,.u-m-78{margin:2.4375rem!important}.u-padding-78,.u-p-78{padding:2.4375rem!important}.u-m-l-78{margin-left:2.4375rem!important}.u-p-l-78{padding-left:2.4375rem!important}.u-margin-left-78{margin-left:2.4375rem!important}.u-padding-left-78{padding-left:2.4375rem!important}.u-m-t-78{margin-top:2.4375rem!important}.u-p-t-78{padding-top:2.4375rem!important}.u-margin-top-78{margin-top:2.4375rem!important}.u-padding-top-78{padding-top:2.4375rem!important}.u-m-r-78{margin-right:2.4375rem!important}.u-p-r-78{padding-right:2.4375rem!important}.u-margin-right-78{margin-right:2.4375rem!important}.u-padding-right-78{padding-right:2.4375rem!important}.u-m-b-78{margin-bottom:2.4375rem!important}.u-p-b-78{padding-bottom:2.4375rem!important}.u-margin-bottom-78{margin-bottom:2.4375rem!important}.u-padding-bottom-78{padding-bottom:2.4375rem!important}.u-margin-80,.u-m-80{margin:2.5rem!important}.u-padding-80,.u-p-80{padding:2.5rem!important}.u-m-l-80{margin-left:2.5rem!important}.u-p-l-80{padding-left:2.5rem!important}.u-margin-left-80{margin-left:2.5rem!important}.u-padding-left-80{padding-left:2.5rem!important}.u-m-t-80{margin-top:2.5rem!important}.u-p-t-80{padding-top:2.5rem!important}.u-margin-top-80{margin-top:2.5rem!important}.u-padding-top-80{padding-top:2.5rem!important}.u-m-r-80{margin-right:2.5rem!important}.u-p-r-80{padding-right:2.5rem!important}.u-margin-right-80{margin-right:2.5rem!important}.u-padding-right-80{padding-right:2.5rem!important}.u-m-b-80{margin-bottom:2.5rem!important}.u-p-b-80{padding-bottom:2.5rem!important}.u-margin-bottom-80{margin-bottom:2.5rem!important}.u-padding-bottom-80{padding-bottom:2.5rem!important}.u-primary-light{color:var(--primary-color-light)}.u-warning-light{color:#fdf6ec}.u-success-light{color:#f5fff0}.u-error-light{color:#fef0f0}.u-info-light{color:#f4f4f5}.u-primary-light-bg{background-color:var(--primary-color-light)}.u-warning-light-bg{background-color:#fdf6ec}.u-success-light-bg{background-color:#f5fff0}.u-error-light-bg{background-color:#fef0f0}.u-info-light-bg{background-color:#f4f4f5}.u-primary-dark{color:var(--primary-color-dark)}.u-warning-dark{color:#f1a532}.u-success-dark{color:#53c21d}.u-error-dark{color:#e45656}.u-info-dark{color:#767a82}.u-primary-dark-bg{background-color:var(--primary-color-dark)}.u-warning-dark-bg{background-color:#f1a532}.u-success-dark-bg{background-color:#53c21d}.u-error-dark-bg{background-color:#e45656}.u-info-dark-bg{background-color:#767a82}.u-primary-disabled{color:var(--primary-color-disabled)}.u-warning-disabled{color:#f9d39b}.u-success-disabled{color:#a9e08f}.u-error-disabled{color:#f7b2b2}.u-info-disabled{color:#c4c6c9}.u-primary{color:var(--primary-color)}.u-warning{color:#f9ae3d}.u-success{color:#5ac725}.u-error{color:#f56c6c}.u-info{color:#909399}.u-primary-bg{background-color:var(--primary-color)}.u-warning-bg{background-color:#f9ae3d}.u-success-bg{background-color:#5ac725}.u-error-bg{background-color:#f56c6c}.u-info-bg{background-color:#909399}.u-main-color{color:#303133}.u-content-color{color:#606266}.u-tips-color{color:#909193}.u-light-color{color:#c0c4cc}.u-safe-area-inset-top{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}uni-toast{z-index:10090}uni-toast .uni-toast{z-index:10090}::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}:root,uni-page-body{--primary-color: #007aff;--primary-color-dark: #398ade;--primary-color-disabled: #9acafc;--primary-color-light: #ecf5ff;--page-bg-color: #f7f7f7}.multi-hidden{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}*{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}::moz-focus-inner{border-style:none;padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body{margin:0;font-family:inherit;line-height:inherit}uni-button,uni-input{font-family:inherit;font-size:100%;line-height:1.15;margin:0;padding:0;line-height:inherit;color:inherit}uni-button{text-transform:none;background-color:transparent;background-image:none}uni-button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}uni-button,[role=button]{cursor:pointer}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}uni-input::placeholder{opacity:1;color:#9ca3af}uni-input::webkit-input-placeholder{opacity:1;color:#9ca3af}uni-input::-moz-placeholder{opacity:1;color:#9ca3af}uni-input:-ms-input-placeholder{opacity:1;color:#9ca3af}uni-input::-ms-input-placeholder{opacity:1;color:#9ca3af}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.bg-white{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-\[\#424040\]{--tw-bg-opacity: 1;background-color:rgba(66,64,64,var(--tw-bg-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgba(229,231,235,var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.border-\[\#eee\]{--tw-border-opacity: 1;border-color:rgba(238,238,238,var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgba(156,163,175,var(--tw-border-opacity))}.rounded-md{border-radius:.375rem}.rounded-\[24rpx\]{border-radius:.75rem}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-bl-none{border-bottom-left-radius:0}.border-solid{border-style:solid}.border-0{border-width:0px}.border-1{border-width:1px}.border-t-0{border-top-width:0px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-l{border-left-width:1px}.border-b-0{border-bottom-width:0px}.border-r-\[2px\]{border-right-width:2px}.border-b-\[2rpx\]{border-bottom-width:.0625rem}.border-b-\[1px\]{border-bottom-width:1px}.box-border{box-sizing:border-box}.cursor-move{cursor:move}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.font-bold{font-weight:700}.h-10{height:2.5rem}.h-full{height:100%}.h-screen{height:100vh}.h-\[60rpx\]{height:1.875rem}.h-\[140rpx\]{height:4.375rem}.h-\[100rpx\]{height:3.125rem}.h-\[48rpx\]{height:1.5rem}.h-\[20rpx\]{height:.625rem}.h-\[30rpx\]{height:.9375rem}.h-\[70rpx\]{height:2.1875rem}.h-\[40rpx\]{height:1.25rem}.h-\[200rpx\]{height:6.25rem}.h-\[75vh\]{height:75vh}.h-\[76rpx\]{height:2.375rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-\[30rpx\]{font-size:.9375rem;line-height:1}.text-\[26rpx\]{font-size:.8125rem;line-height:1}.text-\[24rpx\]{font-size:.75rem;line-height:1}.text-\[1\.6rem\]{font-size:1.6rem;line-height:1}.text-\[80rpx\]{font-size:2.5rem;line-height:1}.text-\[60rpx\]{font-size:1.875rem;line-height:1}.text-\[28rpx\]{font-size:.875rem;line-height:1}.text-\[70rpx\]{font-size:2.1875rem;line-height:1}.text-\[40rpx\]{font-size:1.25rem;line-height:1}.text-\[14px\]{font-size:14px;line-height:1}.text-\[12px\]{font-size:12px;line-height:1}.text-\[32rpx\]{font-size:1rem;line-height:1}.leading-\[1\.3\]{line-height:1.3}.leading-\[1\.6\]{line-height:1.6}.leading-normal{line-height:1.5}.leading-0{line-height:0rem}.leading-none{line-height:1}.leading-\[70rpx\]{line-height:2.1875rem}.leading-8{line-height:2rem}.m-\[30rpx\]{margin:.9375rem}.m-0{margin:0}.mx-\[30rpx\]{margin-left:.9375rem;margin-right:.9375rem}.my-\[10rpx\]{margin-top:.3125rem;margin-bottom:.3125rem}.mx-\[32rpx\]{margin-left:1rem;margin-right:1rem}.my-\[20rpx\]{margin-top:.625rem;margin-bottom:.625rem}.mx-\[24rpx\]{margin-left:.75rem;margin-right:.75rem}.mb-\[20rpx\]{margin-bottom:.625rem}.ml-\[20rpx\]{margin-left:.625rem}.mt-\[8rpx\]{margin-top:.25rem}.mr-\[4rpx\]{margin-right:.125rem}.mr-\[20rpx\]{margin-right:.625rem}.ml-\[32rpx\]{margin-left:1rem}.mr-\[52rpx\]{margin-right:1.625rem}.ml-\[22rpx\]{margin-left:.6875rem}.mt-\[10rpx\]{margin-top:.3125rem}.ml-\[10rpx\]{margin-left:.3125rem}.mb-0{margin-bottom:0}.ml-\[16rpx\]{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-\[8rpx\]{margin-right:.25rem}.mt-\[18rpx\]{margin-top:.5625rem}.mt-\[20rpx\]{margin-top:.625rem}.mb-\[100rpx\]{margin-bottom:3.125rem}.mt-\[40rpx\]{margin-top:1.25rem}.mt-\[30rpx\]{margin-top:.9375rem}.mt-\[60rpx\]{margin-top:1.875rem}.mb-\[50rpx\]{margin-bottom:1.5625rem}.mt-\[80rpx\]{margin-top:2.5rem}.mb-\[80rpx\]{margin-bottom:2.5rem}.mb-\[40rpx\]{margin-bottom:1.25rem}.mb-\[10rpx\]{margin-bottom:.3125rem}.mr-\[10rpx\]{margin-right:.3125rem}.mt-\[50rpx\]{margin-top:1.5625rem}.mt-\[100rpx\]{margin-top:3.125rem}.mt-\[16rpx\]{margin-top:.5rem}.mr-1{margin-right:.25rem}.mt-\[10px\]{margin-top:10px}.mt-\[22rpx\]{margin-top:.6875rem}.mt-3{margin-top:.75rem}.mt-2{margin-top:.5rem}.mt-5{margin-top:1.25rem}.max-h-\[36rpx\]{max-height:1.125rem}.max-h-\[88rpx\]{max-height:2.75rem}.max-w-\[200rpx\]{max-width:6.25rem}.max-w-\[300rpx\]{max-width:9.375rem}.max-w-\[36rpx\]{max-width:1.125rem}.max-w-\[144rpx\]{max-width:4.5rem}.min-h-\[100vh\]{min-height:100vh}.overflow-hidden{overflow:hidden}.p-\[20rpx\]{padding:.625rem}.p-2{padding:.5rem}.p-0{padding:0}.p-\[30rpx\]{padding:.9375rem}.p-\[10px\]{padding:10px}.py-\[30rpx\]{padding-top:.9375rem;padding-bottom:.9375rem}.px-\[32rpx\]{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-\[60rpx\]{padding-left:1.875rem;padding-right:1.875rem}.py-\[50rpx\]{padding-top:1.5625rem;padding-bottom:1.5625rem}.py-\[20rpx\]{padding-top:.625rem;padding-bottom:.625rem}.px-\[30rpx\]{padding-left:.9375rem;padding-right:.9375rem}.px-\[20rpx\]{padding-left:.625rem;padding-right:.625rem}.py-\[10rpx\]{padding-top:.3125rem;padding-bottom:.3125rem}.py-\[26rpx\]{padding-top:.8125rem;padding-bottom:.8125rem}.py-\[18rpx\]{padding-top:.5625rem;padding-bottom:.5625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.pt-1\.5{padding-top:.375rem}.pt-\[20rpx\]{padding-top:.625rem}.pt-\[34rpx\]{padding-top:1.0625rem}.pb-\[20rpx\]{padding-bottom:.625rem}.pt-\[40rpx\]{padding-top:1.25rem}.pt-\[100rpx\]{padding-top:3.125rem}.pl-\[10rpx\]{padding-left:.3125rem}.pt-\[30rpx\]{padding-top:.9375rem}.pr-\[30rpx\]{padding-right:.9375rem}.pb-\[80rpx\]{padding-bottom:2.5rem}.pl-\[30rpx\]{padding-left:.9375rem}.pb-4{padding-bottom:1rem}.pt-7{padding-top:1.75rem}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-top-\[10rpx\]{top:-.3125rem}.-right-\[24rpx\]{right:-.75rem}.right-0{right:0px}.top-2{top:.5rem}.top-\[50\%\]{top:50%}.right-\[10px\]{right:10px}.right-3{right:.75rem}.top-11{top:2.75rem}.text-center{text-align:center}.text-right{text-align:right}.text-\[\#999\]{--tw-text-opacity: 1;color:rgba(153,153,153,var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-\[\#222222\]{--tw-text-opacity: 1;color:rgba(34,34,34,var(--tw-text-opacity))}.text-\[\#696B70\]{--tw-text-opacity: 1;color:rgba(105,107,112,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgba(209,213,219,var(--tw-text-opacity))}.text-\[\#188dfb\]{--tw-text-opacity: 1;color:rgba(24,141,251,var(--tw-text-opacity))}.text-\[\#43c93e\]{--tw-text-opacity: 1;color:rgba(67,201,62,var(--tw-text-opacity))}.text-\[\#bbb\]{--tw-text-opacity: 1;color:rgba(187,187,187,var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}.text-\[\#FF4646\]{--tw-text-opacity: 1;color:rgba(255,70,70,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgba(107,114,128,var(--tw-text-opacity))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-10{width:2.5rem}.w-full{width:100%}.w-screen{width:100vw}.w-\[430rpx\]{width:13.4375rem}.w-\[140rpx\]{width:4.375rem}.w-\[100rpx\]{width:3.125rem}.w-\[80rpx\]{width:2.5rem}.w-\[40rpx\]{width:1.25rem}.w-\[70rpx\]{width:2.1875rem}.w-\[60rpx\]{width:1.875rem}.w-\[240rpx\]{width:7.5rem}.w-22{width:5.5rem}.transform{--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-rotate: 0;--tw-rotate-x: 0;--tw-rotate-y: 0;--tw-rotate-z: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;transform:translate(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotate(var(--tw-rotate-z)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z))}.scale-80{--tw-scale-x: .8;--tw-scale-y: .8;--tw-scale-z: .8}.-translate-y-\[50\%\]{--tw-translate-y: -50%}.transition,.transition\(\){transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.blur{--tw-blur: blur(8px)} diff --git a/niucloud/public/wap/assets/index-8e8df8ed.css b/niucloud/public/wap/assets/index-d17912db.css similarity index 54% rename from niucloud/public/wap/assets/index-8e8df8ed.css rename to niucloud/public/wap/assets/index-d17912db.css index f98dfe441..ef1bad669 100644 --- a/niucloud/public/wap/assets/index-8e8df8ed.css +++ b/niucloud/public/wap/assets/index-d17912db.css @@ -1 +1 @@ -.bg-index[data-v-e6c97636]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important} +.bg-index[data-v-e52d8d91]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important} diff --git a/niucloud/public/wap/assets/index-d9dd80ae.css b/niucloud/public/wap/assets/index-d9dd80ae.css new file mode 100644 index 000000000..18d623021 --- /dev/null +++ b/niucloud/public/wap/assets/index-d9dd80ae.css @@ -0,0 +1 @@ +uni-page-body[data-v-edddd92e]{background:var(--page-bg-color)}body[data-v-edddd92e]{background:var(--page-bg-color)}[data-v-edddd92e] .u-cell-group__wrapper .u-cell__body{padding-left:0;padding-right:0}[data-v-edddd92e] .u-cell-group__wrapper .u-cell:last-child .u-line{display:none} diff --git a/niucloud/public/wap/assets/index-da921c04.css b/niucloud/public/wap/assets/index-ebb0cdf9.css similarity index 54% rename from niucloud/public/wap/assets/index-da921c04.css rename to niucloud/public/wap/assets/index-ebb0cdf9.css index e67342fb2..884e3aa06 100644 --- a/niucloud/public/wap/assets/index-da921c04.css +++ b/niucloud/public/wap/assets/index-ebb0cdf9.css @@ -1 +1 @@ -.bg-index[data-v-1c8f71ff]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important} +.bg-index[data-v-55de07b8]{width:100%;height:100%;box-sizing:border-box;background-size:100%!important;background-repeat:no-repeat!important} diff --git a/niucloud/public/wap/assets/index.1798b78b.js b/niucloud/public/wap/assets/index.1798b78b.js deleted file mode 100644 index 80ceb2c03..000000000 --- a/niucloud/public/wap/assets/index.1798b78b.js +++ /dev/null @@ -1,8 +0,0 @@ -import{_ as e}from"./u-icon.f5369555.js";import{d as t,u as o,r,c as n,an as a,p as i,q as l,h as s,i as d,w as u,M as c,O as p,N as h,F as m,n as g,l as f,x as v,j as b,m as y,D as x,E as w,R as _,t as S,H as D,K as E,a1 as R,aG as C,aH as k,S as T,U as I,aI as N,am as O,aJ as W,aq as A,J as M,X as H,aK as P,aL as B,aM as j}from"./index-15eacd31.js";import{_ as z,a as F}from"./tabbar.e67e4875.js";import{c as X}from"./article.0307362e.js";import{_ as Y}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as G}from"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import{_ as U}from"./u-avatar.ddef1faa.js";const L=Y(t({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const E=t,R=o(),C=r([]),k=n((()=>"decorate"==R.mode?R.value[E.index]:E.component)),T=n((()=>{var e="";return k.value.componentBgColor&&(e+="background-color:"+k.value.componentBgColor+";"),k.value.topRounded&&(e+="border-top-left-radius:"+2*k.value.topRounded+"rpx;"),k.value.topRounded&&(e+="border-top-right-radius:"+2*k.value.topRounded+"rpx;"),k.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*k.value.bottomRounded+"rpx;"),k.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*k.value.bottomRounded+"rpx;"),e})),I=n((()=>{var e="";return k.value.elementBgColor&&(e+="background-color:"+k.value.elementBgColor+";"),k.value.topElementRounded&&(e+="border-top-left-radius:"+2*k.value.topElementRounded+"rpx;"),k.value.topElementRounded&&(e+="border-top-right-radius:"+2*k.value.topElementRounded+"rpx;"),k.value.bottomElementRounded&&(e+="border-bottom-left-radius:"+2*k.value.bottomElementRounded+"rpx;"),k.value.bottomElementRounded&&(e+="border-bottom-right-radius:"+2*k.value.bottomElementRounded+"rpx;"),e}));a((()=>E.pullDownRefresh),((e,t)=>{}));(()=>{if("decorate"==R.mode){let e={image:"",summary:"文章摘要",title:"文章标题",create_time:"2023-03-28 09:00:00"};C.value.push(e),C.value.push(e)}else(()=>{let e={};"diy"==k.value.sources?e.ids=k.value.articleIds:e.limit=k.value.count,X(e).then((e=>{C.value=e.data}))})()})();return(t,o)=>{const r=i(l("u-icon"),e),n=i(l("u--image"),z),a=S,E=D;return s(),d(a,{style:g(f(T))},{default:u((()=>[(s(!0),c(p,null,h(C.value,((e,t)=>(s(),d(a,{key:e.id,class:m(["item flex align-center p-[20rpx]",{"border-solid border-t-0 border-l-0 border-r-0 border-b border-gray-200 mb-[20rpx]":C.value.length-1!==t}]),onClick:t=>{return o=e.id,void _({url:"/pages/article/detail",param:{id:o}});var o},style:g(f(I))},{default:u((()=>[e.image?(s(),d(n,{key:0,width:"260rpx",height:"200rpx",src:f(v)(e.image),model:"aspectFill"},{error:u((()=>[b(r,{name:"photo",color:"#999",size:"50"})])),_:2},1032,["src"])):y("",!0),b(a,{class:"flex-1 flex flex-col justify-between ml-[20rpx]"},{default:u((()=>[b(a,{class:"text-[32rpx] leading-[1.3] multi-hidden mt-[4rpx]"},{default:u((()=>[x(w(e.title),1)])),_:2},1024),b(a,{class:"text-[28rpx] using-hidden mb-[auto] mt-[20rpx] text-gray-500"},{default:u((()=>[x(w(e.summary),1)])),_:2},1024),b(a,{class:"text-[24rpx] text-gray-400 flex justify-between mt-[10rpx]"},{default:u((()=>[b(E,null,{default:u((()=>[x(w(e.create_time),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick","style"])))),128))])),_:1},8,["style"])}}}),[["__scopeId","data-v-e40f9828"]]),q=Y(t({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const _=t,I=o(),N=n((()=>"decorate"==I.mode?I.value[_.index]:_.component)),O=n((()=>{var e="";return N.value.componentBgColor&&(e+="background-color:"+N.value.componentBgColor+";"),N.value.topRounded&&(e+="border-top-left-radius:"+2*N.value.topRounded+"rpx;"),N.value.topRounded&&(e+="border-top-right-radius:"+2*N.value.topRounded+"rpx;"),N.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*N.value.bottomRounded+"rpx;"),N.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*N.value.bottomRounded+"rpx;"),e}));a((()=>_.pullDownRefresh),((e,t)=>{}));const W=r(0),A=e=>{W.value=e.detail.current},M=(e,t)=>{let o=N.value.pageCount*N.value.rowCount,r=!0;return r=e>=[(t-1)*o]&&e<[t*o],r},H=r("");E((()=>{P(),"decorate"==I.mode&&a((()=>N.value),((e,t)=>{e&&"GraphicNav"==e.componentName&&P()}))}));const P=()=>{var e;"decorate"==I.mode&&N.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png")})),e=0,"graphic"==N.value.mode?e=(49+N.value.imageSize)*N.value.pageCount:"img"==N.value.mode?e=(22+N.value.imageSize)*N.value.pageCount:"text"==N.value.mode&&(e=43*N.value.pageCount),H.value=2*e+"rpx"};return(t,o)=>{const r=R,n=D,a=S,_=i(l("u-icon"),e),E=i(l("app-link"),G),I=C,W=k,P=T;return s(),d(a,{style:g(f(O))},{default:u((()=>[f(N).navTitle?(s(),c("div",{key:0,class:"py-[30rpx] px-[32rpx] text-[30rpx]",style:g({fontWeight:f(N).font.weight,color:f(N).font.color})},w(f(N).navTitle),5)):y("",!0),"vertical"==f(N).layout?(s(),d(a,{key:1,class:"graphic-nav"},{default:u((()=>[(s(!0),c(p,null,h(f(N).list,((e,t)=>(s(),d(a,{class:"graphic-nav-item",key:e.id},{default:u((()=>[b(E,{data:e.link,class:m(["flex items-center justify-between py-[30rpx] px-[32rpx]",[0==t?"border-t-0":"border-t"]])},{default:u((()=>["text"!=f(N).mode?(s(),d(a,{key:0,class:"graphic-img relative flex items-center w-10 h-10 mr-[20rpx]",style:g({width:2*f(N).imageSize+"rpx",height:2*f(N).imageSize+"rpx"})},{default:u((()=>[b(r,{src:f(v)(e.imageUrl),mode:"aspectFill",style:g({maxWidth:2*f(N).imageSize+"rpx",maxHeight:2*f(N).imageSize+"rpx",borderRadius:2*f(N).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(s(),d(n,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:g({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:u((()=>[x(w(e.label.text),1)])),_:2},1032,["style"])):y("",!0)])),_:2},1032,["style"])):y("",!0),"img"!=f(N).mode?(s(),d(n,{key:1,class:"graphic-text w-full truncate leading-normal",style:g({fontSize:2*f(N).font.size+"rpx",fontWeight:f(N).font.weight,color:f(N).font.color})},{default:u((()=>[x(w(e.title),1)])),_:2},1032,["style"])):y("",!0),b(_,{name:"arrow-right",color:"#CACACA"})])),_:2},1032,["data","class"])])),_:2},1024)))),128))])),_:1})):"horizontal"==f(N).layout&&"pageSlide"==f(N).showStyle?(s(),d(W,{key:2,class:"graphic-nav p-2 box-border relative",circular:"","indicator-dots":!1,style:g({height:H.value}),onChange:A},{default:u((()=>[(s(!0),c(p,null,h(Math.ceil(f(N).list.length/(f(N).pageCount*f(N).rowCount)),((e,t)=>(s(),d(I,{class:"graphic-nav-wrap flex flex-wrap"},{default:u((()=>[(s(!0),c(p,null,h(f(N).list,((t,o)=>(s(),c(p,null,[M(o,e)?(s(),d(a,{class:m(["graphic-nav-item",[f(N).mode]]),key:t.id,style:g({width:100/f(N).rowCount+"%"})},{default:u((()=>[b(E,{data:t.link,class:"flex flex-col items-center box-border py-2"},{default:u((()=>["text"!=f(N).mode?(s(),d(a,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:g({width:2*f(N).imageSize+"rpx",height:2*f(N).imageSize+"rpx"})},{default:u((()=>[b(r,{src:f(v)(t.imageUrl),mode:"aspectFill",style:g({maxWidth:2*f(N).imageSize+"rpx",maxHeight:2*f(N).imageSize+"rpx",borderRadius:2*f(N).aroundRadius+"rpx"})},null,8,["src","style"]),t.label.control?(s(),d(n,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:g({color:t.label.textColor,backgroundImage:"linear-gradient("+t.label.bgColorStart+","+t.label.bgColorEnd+")"})},{default:u((()=>[x(w(t.label.text),1)])),_:2},1032,["style"])):y("",!0)])),_:2},1032,["style"])):y("",!0),"img"!=f(N).mode?(s(),d(n,{key:1,class:m(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=f(N).mode}]),style:g({fontSize:2*f(N).font.size+"rpx",fontWeight:f(N).font.weight,color:f(N).font.color})},{default:u((()=>[x(w(t.title),1)])),_:2},1032,["class","style"])):y("",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])):y("",!0)],64)))),256))])),_:2},1024)))),256))])),_:1},8,["style"])):(s(),d(P,{key:3,"scroll-x":"singleSlide"==f(N).showStyle,class:m(["graphic-nav","graphic-nav-"+f(N).showStyle])},{default:u((()=>[(s(!0),c(p,null,h(f(N).list,((e,t)=>(s(),d(a,{class:m(["graphic-nav-item",{"flex-shrink-0":"singleSlide"==f(N).showStyle}]),key:e.id,style:g({width:100/f(N).rowCount+"%"})},{default:u((()=>[b(E,{data:e.link,class:"flex flex-col items-center box-border py-2"},{default:u((()=>["text"!=f(N).mode?(s(),d(a,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:g({width:2*f(N).imageSize+"rpx",height:2*f(N).imageSize+"rpx"})},{default:u((()=>[b(r,{src:f(v)(e.imageUrl),mode:"aspectFill",style:g({maxWidth:2*f(N).imageSize+"rpx",maxHeight:2*f(N).imageSize+"rpx",borderRadius:2*f(N).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(s(),d(n,{key:0,class:m(["tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs"]),style:g({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:u((()=>[x(w(e.label.text),1)])),_:2},1032,["style"])):y("",!0)])),_:2},1032,["style"])):y("",!0),"img"!=f(N).mode?(s(),d(n,{key:1,class:m(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=f(N).mode}]),style:g({fontSize:2*f(N).font.size+"rpx",fontWeight:f(N).font.weight,color:f(N).font.color})},{default:u((()=>[x(w(e.title),1)])),_:2},1032,["class","style"])):y("",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])))),128))])),_:1},8,["scroll-x","class"]))])),_:1},8,["style"])}}}),[["__scopeId","data-v-b36514a1"]]),$=t({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,r=o(),i=n((()=>"decorate"==r.mode?r.value[t.index]:t.component)),l=n((()=>{var e="";return e+="height:"+2*i.value.height+"rpx;",i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),e}));return a((()=>t.pullDownRefresh),((e,t)=>{})),(e,t)=>{const o=S;return s(),d(o,{style:g(f(l))},null,8,["style"])}}}),V=t({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,m=o(),y=n((()=>"decorate"==m.mode?m.value[t.index]:t.component)),x=n((()=>{var e="";return y.value.componentBgColor&&(e+="background-color:"+y.value.componentBgColor+";"),e})),w=n((()=>{var e="";return y.value.topRounded&&(e+="border-top-left-radius:"+2*y.value.topRounded+"rpx;"),y.value.topRounded&&(e+="border-top-right-radius:"+2*y.value.topRounded+"rpx;"),y.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*y.value.bottomRounded+"rpx;"),y.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*y.value.bottomRounded+"rpx;"),e}));a((()=>t.pullDownRefresh),((e,t)=>{}));const _=n((()=>2*y.value.imageHeight+"rpx")),D=r(0),T=e=>{D.value=e.detail.current};E((()=>{I(),"decorate"==m.mode&&a((()=>y.value),((e,t)=>{e&&"ImageAds"==e.componentName&&I()}))}));const I=()=>{"decorate"==m.mode&&y.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)}))};return(e,t)=>{const o=R,r=i(l("app-link"),G),n=S,a=C,m=k;return s(),d(n,{class:"image-ads",style:g(f(x))},{default:u((()=>[1==f(y).list.length?(s(),d(n,{key:0,class:"leading-0 overflow-hidden",style:g(f(w))},{default:u((()=>[b(r,{data:f(y).list[0].link},{default:u((()=>[b(o,{src:f(v)(f(y).list[0].imageUrl),style:g({height:f(_)}),mode:"heightFix",class:"w-full","show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data"])])),_:1},8,["style"])):(s(),d(m,{key:1,class:"swiper",style:g({height:f(_)}),autoplay:"true",circular:"true",onChange:T},{default:u((()=>[(s(!0),c(p,null,h(f(y).list,(e=>(s(),d(a,{class:"swiper-item",key:e.id,style:g(f(w))},{default:u((()=>[b(r,{data:e.link},{default:u((()=>[b(n,{class:"item",style:g({height:f(_)})},{default:u((()=>[b(o,{src:f(v)(e.imageUrl),mode:"scaleToFill",class:"w-full h-full","show-menu-by-longpress":!0},null,8,["src"])])),_:2},1032,["style"])])),_:2},1032,["data"])])),_:2},1032,["style"])))),128))])),_:1},8,["style"]))])),_:1},8,["style"])}}}),K=Y(t({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,c=o(),p=n((()=>"decorate"==c.mode?c.value[t.index]:t.component)),h=n((()=>{var e="";return p.value.componentBgColor&&(e+="background-color:"+p.value.componentBgColor+";"),p.value.bgUrl&&(e+="background-image:url("+v(p.value.bgUrl)+");",e+="background-size: 100%;",e+="background-repeat: no-repeat;"),p.value.topRounded&&(e+="border-top-left-radius:"+2*p.value.topRounded+"rpx;"),p.value.topRounded&&(e+="border-top-right-radius:"+2*p.value.topRounded+"rpx;"),p.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*p.value.bottomRounded+"rpx;"),p.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*p.value.bottomRounded+"rpx;"),e}));a((()=>t.pullDownRefresh),((e,t)=>{}));const m=I(),{query:y}=N(location.href);y.code&&O()&&W({code:y.code}).then((e=>{m.getMemberInfo()}));const E=n((()=>"decorate"==c.mode?{headimg:"",nickname:"昵称",balance:0,point:0,money:0,member_no:"NIU0000021"}:m.info)),R=n((()=>{if(E.value){let e=parseFloat(E.value.balance)+parseFloat(E.value.money);return A(e.toString())}return 0})),C=()=>{H().setLoginBack({url:"/pages/member/index"})};r(!1);const k=()=>{O()?H().getAuthCode("snsapi_userinfo"):_({url:"/pages/member/personal"})};return(e,t)=>{const o=i(l("u-avatar"),U),r=S,n=D,a=i(l("app-link"),G);return s(),d(r,{style:g(f(h))},{default:u((()=>[b(r,{class:"pt-[34rpx] member-info"},{default:u((()=>[f(E)?(s(),d(r,{key:0,class:"flex ml-[32rpx] mr-[52rpx] items-center relative"},{default:u((()=>[b(o,{src:f(v)(f(E).headimg),size:"55",leftIcon:"none",onClick:k},null,8,["src"]),b(r,{class:"ml-[22rpx]"},{default:u((()=>[b(r,{class:"text-[#222222] truncate w-[430rpx] font-bold text-lg",style:g({color:f(p).textColor})},{default:u((()=>[x(w(f(E).nickname),1)])),_:1},8,["style"]),b(r,{class:"text-[#696B70] text-[24rpx] mt-[10rpx]",style:g({color:f(p).textColor})},{default:u((()=>[x(" UID:"+w(f(E).member_no),1)])),_:1},8,["style"])])),_:1}),b(r,{class:"set-icon flex items-center absolute right-0 top-2"},{default:u((()=>[b(a,{url:"/pages/setting/index"},{default:u((()=>[b(n,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:g({color:f(p).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})):(s(),d(r,{key:1,class:"flex ml-[32rpx] mr-[52rpx] items-center relative",onClick:C},{default:u((()=>[b(o,{src:"",size:"55"}),b(r,{class:"ml-[22rpx]"},{default:u((()=>[b(r,{class:"text-[#222222] font-bold text-lg",style:g({color:f(p).textColor})},{default:u((()=>[x(w(f(M)("login"))+"/"+w(f(M)("register")),1)])),_:1},8,["style"])])),_:1}),b(r,{class:"set-icon flex items-center absolute right-0 top-2"},{default:u((()=>[b(a,{url:"/pages/setting/index"},{default:u((()=>[b(n,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:g({color:f(p).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})),b(r,{class:"flex m-[30rpx] mb-0 py-[30rpx] items-center"},{default:u((()=>[b(r,{class:"flex-1 text-center"},{default:u((()=>[b(r,{class:"font-bold"},{default:u((()=>[b(a,{url:f(E)?"/pages/member/balance":"",style:g({color:f(p).textColor})},{default:u((()=>[x(w(f(R)),1)])),_:1},8,["url","style"])])),_:1}),b(r,{class:"text-sm mt-[10rpx]"},{default:u((()=>[b(a,{url:f(E)?"/pages/member/balance":"",style:g({color:f(p).textColor})},{default:u((()=>[x(w(f(M)("balance")),1)])),_:1},8,["url","style"])])),_:1})])),_:1}),b(r,{class:"border-solid border-white border-l border-b-0 border-t-0 border-r-0 h-[60rpx]"}),b(r,{class:"flex-1 text-center"},{default:u((()=>[b(r,{class:"font-bold"},{default:u((()=>[b(a,{url:f(E)?"/pages/member/point":"",style:g({color:f(p).textColor})},{default:u((()=>{var e;return[x(w(parseInt(null==(e=f(E))?void 0:e.point)||0),1)]})),_:1},8,["url","style"])])),_:1}),b(r,{class:"text-sm mt-[10rpx]"},{default:u((()=>[b(a,{url:f(E)?"/pages/member/point":"",style:g({color:f(p).textColor})},{default:u((()=>[x(w(f(M)("point")),1)])),_:1},8,["url","style"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"])}}}),[["__scopeId","data-v-1e679529"]]),J=Y(t({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const r=t,c=o(),p=n((()=>"decorate"==c.mode?c.value[r.index]:r.component)),h=n((()=>{var e="";return p.value.componentBgColor&&(e+="background-color:"+p.value.componentBgColor+";"),p.value.topRounded&&(e+="border-top-left-radius:"+2*p.value.topRounded+"rpx;"),p.value.topRounded&&(e+="border-top-right-radius:"+2*p.value.topRounded+"rpx;"),p.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*p.value.bottomRounded+"rpx;"),p.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*p.value.bottomRounded+"rpx;"),e}));return a((()=>r.pullDownRefresh),((e,t)=>{})),(t,o)=>{const r=S,n=i(l("app-link"),G),a=D,c=i(l("u-icon"),e);return s(),d(r,{class:"diy-text",style:g(f(h))},{default:u((()=>["style-1"==f(p).style?(s(),d(r,{key:0,class:"p-[20rpx]"},{default:u((()=>[b(n,{data:f(p).link},{default:u((()=>[b(r,{style:g({fontSize:2*f(p).fontSize+"rpx",color:f(p).textColor,fontWeight:f(p).fontWeight,textAlign:f(p).textAlign})},{default:u((()=>[x(w(f(p).text),1)])),_:1},8,["style"])])),_:1},8,["data"])])),_:1})):y("",!0),"style-2"==f(p).style?(s(),d(r,{key:1,class:"p-[20rpx] flex items-center"},{default:u((()=>[b(n,{data:f(p).link},{default:u((()=>[b(r,{class:"max-w-[200rpx] truncate",style:g({fontSize:2*f(p).fontSize+"rpx",color:f(p).textColor,fontWeight:f(p).fontWeight})},{default:u((()=>[x(w(f(p).text),1)])),_:1},8,["style"])])),_:1},8,["data"]),b(a,{class:"ml-[16rpx] max-w-[300rpx] truncate",style:g({color:f(p).subTitle.color,fontSize:2*f(p).subTitle.fontSize+"rpx"})},{default:u((()=>[x(w(f(p).subTitle.text),1)])),_:1},8,["style"]),f(p).more.isShow?(s(),d(r,{key:0,class:"ml-auto text-right",style:g({color:f(p).more.color})},{default:u((()=>[b(n,{data:f(p).more.link,class:"flex items-center"},{default:u((()=>[b(a,{class:"max-w-[200rpx] truncate text-[24rpx] mr-[8rpx]"},{default:u((()=>[x(w(f(p).more.text),1)])),_:1}),b(c,{name:"arrow-right",size:"12",style:g({color:f(p).more.color})},null,8,["style"])])),_:1},8,["data"])])),_:1},8,["style"])):y("",!0)])),_:1})):y("",!0)])),_:1},8,["style"])}}}),[["__scopeId","data-v-7fc5a7a3"]]),Z=Y(t({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,r=o(),x=n((()=>"decorate"==r.mode?r.value[t.index]:t.component)),w=n((()=>{var e="";return x.value.componentBgColor&&(e+="background-color:"+x.value.componentBgColor+";"),x.value.topRounded&&(e+="border-top-left-radius:"+2*x.value.topRounded+"rpx;"),x.value.topRounded&&(e+="border-top-right-radius:"+2*x.value.topRounded+"rpx;"),x.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*x.value.bottomRounded+"rpx;"),x.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*x.value.bottomRounded+"rpx;"),e}));a((()=>t.pullDownRefresh),((e,t)=>{})),E((()=>{_(),a((()=>x.value),((e,t)=>{e&&"RubikCube"==e.componentName&&_()}))}));const _=()=>{"decorate"==r.mode&&x.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)})),D()},D=()=>{var e={"row1-of2":{ratio:2,width:"calc((100% - "+P(2*x.value.imageGap)+"px) / 2)"},"row1-of3":{ratio:3,width:"calc((100% - "+P(4*x.value.imageGap)+"px) / 3)"},"row1-of4":{ratio:4,width:"calc((100% - "+P(6*x.value.imageGap)+"px) / 4)"}};x.value.list.forEach(((e,t)=>{e.pageItemStyle=((e,t)=>{var o="";return"right"==x.value.elementAngle||{"row1-lt-of2-rt":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-lt-of1-tp-of2-bm":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-tp-of2-bm":[["border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row2-lt-of2-rt":[["border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-of4":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of3":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of2":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius"]]}[e][t].forEach(((e,t)=>{o+="border-top-left-radius:"+2*x.value.topElementRounded+"rpx;",o+="border-top-right-radius:"+2*x.value.topElementRounded+"rpx;",o+="border-bottom-left-radius:"+2*x.value.bottomElementRounded+"rpx;",o+="border-bottom-right-radius:"+2*x.value.bottomElementRounded+"rpx;"})),o})(x.value.mode,t)})),e[x.value.mode]?C(e[x.value.mode]):"row2-lt-of2-rt"==x.value.mode?k():"row1-lt-of2-rt"==x.value.mode?T():"row1-tp-of2-bm"==x.value.mode?I():"row1-lt-of1-tp-of2-bm"==x.value.mode&&N()},C=e=>{B({success:t=>{let o=0;x.value.list.forEach(((r,n)=>{var a=r.imgHeight/r.imgWidth;let i=t.windowWidth-P(2*x.value.margin.both);x.value.imageGap>0&&(i-=P(e.ratio*x.value.imageGap*2)),r.imgWidth=i/e.ratio,r.imgHeight=r.imgWidth*a,(0==o||o{t.widthStyle=e.width,t.imgHeight=o}))}})},k=()=>{B({success:e=>{let t=0,o=0;x.value.list.forEach(((r,n)=>{var a=r.imgHeight/r.imgWidth;r.imgWidth=e.windowWidth,r.imgWidth-=P(4*x.value.margin.both),x.value.imageGap>0&&(r.imgWidth-=P(2*x.value.imageGap)),r.imgWidth=r.imgWidth/2,r.imgHeight=r.imgWidth*a,n<=1?(0==t||t1&&(0==o||o{e.imgWidth="calc((100% - "+P(2*x.value.imageGap)+"px) / 2)",e.widthStyle=e.imgWidth,r<=1?e.imgHeight=t:r>1&&(e.imgHeight=o)}))}})},T=()=>{let e=0;x.value.list[1].imgWidth,x.value.list[2].imgWidth,B({success:t=>{x.value.list.forEach(((o,r)=>{if(0==r){var n=o.imgHeight/o.imgWidth;o.imgWidth=t.windowWidth-P(4*x.value.margin.both)-P(2*x.value.imageGap),o.imgWidth=o.imgWidth/2,o.imgHeight=o.imgWidth*n,e=(o.imgHeight-P(2*x.value.imageGap))/2,o.imgWidth+="px"}else o.imgWidth=x.value.list[0].imgWidth,o.imgHeight=e}))}})},I=()=>{var e=0;B({success:t=>{x.value.list.forEach(((o,r)=>{var n=o.imgHeight/o.imgWidth;0==r?o.imgWidth=t.windowWidth-P(4*x.value.margin.both):r>0&&(o.imgWidth=t.windowWidth-P(4*x.value.margin.both)-P(2*x.value.imageGap),o.imgWidth=o.imgWidth/2),o.imgHeight=o.imgWidth*n,r>0&&(0==e||e{t.imgWidth+="px",t.widthStyle=t.imgWidth,o>0&&(t.imgHeight=e)}))}})},N=()=>{B({success:e=>{x.value.list.forEach(((t,o)=>{if(0==o){var r=t.imgHeight/t.imgWidth;t.imgWidth=e.windowWidth-P(4*x.value.margin.both)-P(2*x.value.imageGap),t.imgWidth=t.imgWidth/2,t.imgHeight=t.imgWidth*r}else 1==o?(t.imgWidth=x.value.list[0].imgWidth,t.imgHeight=(x.value.list[0].imgHeight-P(2*x.value.imageGap))/2):o>1&&(t.imgWidth=(x.value.list[0].imgWidth-P(2*x.value.imageGap))/2,t.imgHeight=x.value.list[1].imgHeight)})),x.value.list.forEach(((e,t)=>{e.imgWidth+="px",e.imgHeight}))}})};return(e,t)=>{const o=R,n=i(l("app-link"),G),a=S;return s(),d(a,{class:m(["rubik-cube",f(r).mode]),style:g(f(w))},{default:u((()=>["row1-lt-of2-rt"==f(x).mode?(s(),c(p,{key:0},[b(a,{class:"template-left"},{default:u((()=>[b(n,{data:f(x).list[0].link,class:m(["item",f(x).mode]),style:g({marginRight:2*f(x).imageGap+"rpx",width:f(x).list[0].imgWidth,height:f(x).list[0].imgHeight+"px"})},{default:u((()=>[b(o,{src:f(v)(f(x).list[0].imageUrl),mode:"scaleToFill",style:g(f(x).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),b(a,{class:"template-right"},{default:u((()=>[(s(!0),c(p,null,h(f(x).list,((e,t)=>(s(),c(p,{key:t},[t>0?(s(),d(n,{key:0,data:e.link,class:m(["item",f(x).mode]),style:g({marginBottom:2*f(x).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:u((()=>[b(o,{src:f(v)(e.imageUrl),mode:"scaleToFill",style:g(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):y("",!0)],64)))),128))])),_:1})],64)):"row1-lt-of1-tp-of2-bm"==f(x).mode?(s(),c(p,{key:1},[b(a,{class:"template-left"},{default:u((()=>[b(n,{data:f(x).list[0].link,class:m(["item",f(x).mode]),style:g({marginRight:2*f(x).imageGap+"rpx",width:f(x).list[0].imgWidth,height:f(x).list[0].imgHeight+"px"})},{default:u((()=>[b(o,{src:f(v)(f(x).list[0].imageUrl),mode:"scaleToFill",style:g(f(x).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),b(a,{class:"template-right"},{default:u((()=>[b(n,{data:f(x).list[1].link,class:m(["item",f(x).mode]),style:g({marginBottom:2*f(x).imageGap+"rpx",width:f(x).list[1].imgWidth,height:f(x).list[1].imgHeight+"px"})},{default:u((()=>[b(o,{src:f(v)(f(x).list[1].imageUrl),mode:"scaleToFill",style:g(f(x).list[1].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"]),b(a,{class:"template-bottom"},{default:u((()=>[(s(!0),c(p,null,h(f(x).list,((e,t)=>(s(),c(p,{key:t},[t>1?(s(),d(n,{key:0,data:e.link,class:m(["item",f(x).mode]),style:g({marginRight:2*f(x).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:u((()=>[b(o,{src:f(v)(e.imageUrl),mode:"scaleToFill",style:g(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):y("",!0)],64)))),128))])),_:1})])),_:1})],64)):(s(!0),c(p,{key:2},h(f(x).list,((e,t)=>(s(),d(n,{class:m(["item",f(x).mode]),key:t,data:e.link,style:g({marginRight:2*f(x).imageGap+"rpx",marginBottom:2*f(x).imageGap+"rpx",width:e.widthStyle,height:e.imgHeight+"px"})},{default:u((()=>[b(o,{src:f(v)(e.imageUrl),mode:"scaleToFill",style:g(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["class","data","style"])))),128))])),_:1},8,["class","style"])}}}),[["__scopeId","data-v-5d671723"]]),Q=t({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,r=o(),m=n((()=>"decorate"==r.mode?r.value[t.index]:t.component)),x=n((()=>{var e="";return m.value.componentBgColor&&(e+="background-color:"+m.value.componentBgColor+";"),m.value.topRounded&&(e+="border-top-left-radius:"+2*m.value.topRounded+"rpx;"),m.value.topRounded&&(e+="border-top-right-radius:"+2*m.value.topRounded+"rpx;"),m.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*m.value.bottomRounded+"rpx;"),m.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*m.value.bottomRounded+"rpx;"),e}));E((()=>{w(),a((()=>m.value),((e,t)=>{e&&"HotArea"==e.componentName&&w()}))}));const w=()=>{"decorate"==r.mode&&""==m.value.imageUrl&&(m.value.imageUrl="static/resource/images/diy/figure.png",m.value.imgWidth=690,m.value.imgHeight=330)};return a((()=>t.pullDownRefresh),((e,t)=>{})),(e,t)=>{const o=R,n=i(l("app-link"),G),a=S;return s(),d(a,{style:g(f(x))},{default:u((()=>[b(a,{class:"simple-graph-wrap overflow-hidden relative leading-0"},{default:u((()=>[b(o,{style:g({height:f(m).imgHeight}),src:f(v)(f(m).imageUrl),mode:"widthFix","show-menu-by-longpress":!0,class:"w-full"},null,8,["style","src"]),"decorate"!=f(r).mode?(s(!0),c(p,{key:0},h(f(m).heatMapData,((e,t)=>(s(),d(n,{data:e.link,class:"absolute",key:t,style:g({width:e.width+"%",height:e.height+"%",left:e.left+"%",top:e.top+"%"})},null,8,["data","style"])))),128)):y("",!0)])),_:1})])),_:1},8,["style"])}}}); -/**! - * Sortable 1.15.0 - * @author RubaXa - * @author owenm - * @license MIT - */ -function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function te(e){for(var t=1;t=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function ie(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var le=ie(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),se=ie(/Edge/i),de=ie(/firefox/i),ue=ie(/safari/i)&&!ie(/chrome/i)&&!ie(/android/i),ce=ie(/iP(ad|od|hone)/i),pe=ie(/chrome/i)&&ie(/android/i),he={capture:!1,passive:!1};function me(e,t,o){e.addEventListener(t,o,!le&&he)}function ge(e,t,o){e.removeEventListener(t,o,!le&&he)}function fe(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(o){return!1}return!1}}function ve(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function be(e,t,o,r){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&fe(e,t):fe(e,t))||r&&e===o)return e;if(e===o)break}while(e=ve(e))}return null}var ye,xe=/\s+/g;function we(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(xe," ").replace(" "+t+" "," ");e.className=(r+(o?" "+t:"")).replace(xe," ")}}function _e(e,t,o){var r=e&&e.style;if(r){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=o+("string"==typeof o?"":"px")}}function Se(e,t){var o="";if("string"==typeof e)o=e;else do{var r=_e(e,"transform");r&&"none"!==r&&(o=r+" "+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function De(e,t,o){if(e){var r=e.getElementsByTagName(t),n=0,a=r.length;if(o)for(;n=a:n<=a))return r;if(r===Ee())break;r=Oe(r,!1)}return!1}function ke(e,t,o,r){for(var n=0,a=0,i=e.children;a2&&void 0!==arguments[2]?arguments[2]:{},r=o.evt,n=ae(o,Xe);Fe.pluginEvent.bind(Mt)(e,t,te({dragEl:Ue,parentEl:Le,ghostEl:qe,rootEl:$e,nextEl:Ve,lastDownEl:Ke,cloneEl:Je,cloneHidden:Ze,dragStarted:ct,putSortable:nt,activeSortable:Mt.active,originalEvent:r,oldIndex:Qe,oldDraggableIndex:tt,newIndex:et,newDraggableIndex:ot,hideGhostForTarget:Nt,unhideGhostForTarget:Ot,cloneNowHidden:function(){Ze=!0},cloneNowShown:function(){Ze=!1},dispatchSortableEvent:function(e){Ge({sortable:t,name:e,originalEvent:r})}},n))};function Ge(e){!function(e){var t=e.sortable,o=e.rootEl,r=e.name,n=e.targetEl,a=e.cloneEl,i=e.toEl,l=e.fromEl,s=e.oldIndex,d=e.newIndex,u=e.oldDraggableIndex,c=e.newDraggableIndex,p=e.originalEvent,h=e.putSortable,m=e.extraEventProperties;if(t=t||o&&o[Pe]){var g,f=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||le||se?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=i||o,g.from=l||o,g.item=n||o,g.clone=a,g.oldIndex=s,g.newIndex=d,g.oldDraggableIndex=u,g.newDraggableIndex=c,g.originalEvent=p,g.pullMode=h?h.lastPutMode:void 0;var b=te(te({},m),Fe.getEventProperties(r,t));for(var y in b)g[y]=b[y];o&&o.dispatchEvent(g),f[v]&&f[v].call(t,g)}}(te({putSortable:nt,cloneEl:Je,targetEl:Ue,rootEl:$e,oldIndex:Qe,oldDraggableIndex:tt,newIndex:et,newDraggableIndex:ot},e))}var Ue,Le,qe,$e,Ve,Ke,Je,Ze,Qe,et,tt,ot,rt,nt,at,it,lt,st,dt,ut,ct,pt,ht,mt,gt,ft=!1,vt=!1,bt=[],yt=!1,xt=!1,wt=[],_t=!1,St=[],Dt="undefined"!=typeof document,Et=ce,Rt=se||le?"cssFloat":"float",Ct=Dt&&!pe&&!ce&&"draggable"in document.createElement("div"),kt=function(){if(Dt){if(le)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Tt=function(e,t){var o=_e(e),r=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),n=ke(e,0,t),a=ke(e,1,t),i=n&&_e(n),l=a&&_e(a),s=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Re(n).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Re(a).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&i.float&&"none"!==i.float){var u="left"===i.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return n&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||s>=r&&"none"===o[Rt]||a&&"none"===o[Rt]&&s+d>r)?"vertical":"horizontal"},It=function(e){function t(e,o){return function(r,n,a,i){var l=r.options.group.name&&n.options.group.name&&r.options.group.name===n.options.group.name;if(null==e&&(o||l))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(r,n,a,i),o)(r,n,a,i);var s=(o?r:n).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var o={},r=e.group;r&&"object"==oe(r)||(r={name:r}),o.name=r.name,o.checkPull=t(r.pull,!0),o.checkPut=t(r.put),o.revertClone=r.revertClone,e.group=o},Nt=function(){!kt&&qe&&_e(qe,"display","none")},Ot=function(){!kt&&qe&&_e(qe,"display","")};Dt&&!pe&&document.addEventListener("click",(function(e){if(vt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),vt=!1,!1}),!0);var Wt=function(e){if(Ue){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,a=e.clientY,bt.some((function(e){var t=e[Pe].options.emptyInsertThreshold;if(t&&!Te(e)){var o=Re(e),r=n>=o.left-t&&n<=o.right+t,l=a>=o.top-t&&a<=o.bottom+t;return r&&l?i=e:void 0}})),i);if(t){var o={};for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[Pe]._onDragOver(o)}}var n,a,i},At=function(e){Ue&&Ue.parentNode[Pe]._isOutsideThisEl(e.target)};function Mt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=ne({},t),e[Pe]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Tt(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Mt.supportPointer&&"PointerEvent"in window&&!ue,emptyInsertThreshold:5};for(var r in Fe.initializePlugins(this,e,o),o)!(r in t)&&(t[r]=o[r]);for(var n in It(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Ct,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?me(e,"pointerdown",this._onTapStart):(me(e,"mousedown",this._onTapStart),me(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(me(e,"dragover",this),me(e,"dragenter",this)),bt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),ne(this,Be())}function Ht(e,t,o,r,n,a,i,l){var s,d,u=e[Pe],c=u.options.onMove;return!window.CustomEvent||le||se?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=o,s.draggedRect=r,s.related=n||t,s.relatedRect=a||Re(t),s.willInsertAfter=l,s.originalEvent=i,e.dispatchEvent(s),c&&(d=c.call(u,s,i)),d}function Pt(e){e.draggable=!1}function Bt(){_t=!1}function jt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,r=0;o--;)r+=t.charCodeAt(o);return r.toString(36)}function zt(e){return setTimeout(e,0)}function Ft(e){return clearTimeout(e)}Mt.prototype={constructor:Mt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(pt=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Ue):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,r=this.options,n=r.preventOnFilter,a=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(i||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,d=r.filter;if(function(e){St.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var r=t[o];r.checked&&St.push(r)}}(o),!Ue&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||r.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!ue||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=be(l,r.draggable,o,!1))&&l.animated||Ke===l)){if(Qe=Ie(l),tt=Ie(l,r.draggable),"function"==typeof d){if(d.call(this,e,l,this))return Ge({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:o,fromEl:o}),Ye("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(d&&(d=d.split(",").some((function(r){if(r=be(s,r.trim(),o,!1))return Ge({sortable:t,rootEl:r,name:"filter",targetEl:l,fromEl:o,toEl:o}),Ye("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());r.handle&&!be(s,r.handle,o,!1)||this._prepareDragStart(e,i,l)}}},_prepareDragStart:function(e,t,o){var r,n=this,a=n.el,i=n.options,l=a.ownerDocument;if(o&&!Ue&&o.parentNode===a){var s=Re(o);if($e=a,Le=(Ue=o).parentNode,Ve=Ue.nextSibling,Ke=o,rt=i.group,Mt.dragged=Ue,at={target:Ue,clientX:(t||e).clientX,clientY:(t||e).clientY},dt=at.clientX-s.left,ut=at.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Ue.style["will-change"]="all",r=function(){Ye("delayEnded",n,{evt:e}),Mt.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!de&&n.nativeDraggable&&(Ue.draggable=!0),n._triggerDragStart(e,t),Ge({sortable:n,name:"choose",originalEvent:e}),we(Ue,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){De(Ue,e.trim(),Pt)})),me(l,"dragover",Wt),me(l,"mousemove",Wt),me(l,"touchmove",Wt),me(l,"mouseup",n._onDrop),me(l,"touchend",n._onDrop),me(l,"touchcancel",n._onDrop),de&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ue.draggable=!0),Ye("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(se||le))r();else{if(Mt.eventCanceled)return void this._onDrop();me(l,"mouseup",n._disableDelayedDrag),me(l,"touchend",n._disableDelayedDrag),me(l,"touchcancel",n._disableDelayedDrag),me(l,"mousemove",n._delayedDragTouchMoveHandler),me(l,"touchmove",n._delayedDragTouchMoveHandler),i.supportPointer&&me(l,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Ue&&Pt(Ue),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;ge(e,"mouseup",this._disableDelayedDrag),ge(e,"touchend",this._disableDelayedDrag),ge(e,"touchcancel",this._disableDelayedDrag),ge(e,"mousemove",this._delayedDragTouchMoveHandler),ge(e,"touchmove",this._delayedDragTouchMoveHandler),ge(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?me(document,"pointermove",this._onTouchMove):me(document,t?"touchmove":"mousemove",this._onTouchMove):(me(Ue,"dragend",this),me($e,"dragstart",this._onDragStart));try{document.selection?zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(o){}},_dragStarted:function(e,t){if(ft=!1,$e&&Ue){Ye("dragStarted",this,{evt:t}),this.nativeDraggable&&me(document,"dragover",At);var o=this.options;!e&&we(Ue,o.dragClass,!1),we(Ue,o.ghostClass,!0),Mt.active=this,e&&this._appendGhost(),Ge({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(it){this._lastX=it.clientX,this._lastY=it.clientY,Nt();for(var e=document.elementFromPoint(it.clientX,it.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(it.clientX,it.clientY))!==t;)t=e;if(Ue.parentNode[Pe]._isOutsideThisEl(e),t)do{if(t[Pe]){if(t[Pe]._onDragOver({clientX:it.clientX,clientY:it.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ot()}},_onTouchMove:function(e){if(at){var t=this.options,o=t.fallbackTolerance,r=t.fallbackOffset,n=e.touches?e.touches[0]:e,a=qe&&Se(qe,!0),i=qe&&a&&a.a,l=qe&&a&&a.d,s=Et&>&&Ne(gt),d=(n.clientX-at.clientX+r.x)/(i||1)+(s?s[0]-wt[0]:0)/(i||1),u=(n.clientY-at.clientY+r.y)/(l||1)+(s?s[1]-wt[1]:0)/(l||1);if(!Mt.active&&!ft){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))r.right+n||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+n}(e,n,this)&&!g.animated){if(g===Ue)return N(!1);if(g&&a===e.target&&(i=g),i&&(o=Re(i)),!1!==Ht($e,a,Ue,t,i,o,e,!!i))return I(),g&&g.nextSibling?a.insertBefore(Ue,g.nextSibling):a.appendChild(Ue),Le=a,O(),N(!0)}else if(g&&function(e,t,o){var r=Re(ke(o.el,0,o.options,!0)),n=10;return t?e.clientXu+d*a/2:sc-mt)return-ht}else if(s>u+d*(1-n)/2&&sc-d*a/2))return s>u+d/2?1:-1;return 0}(e,i,o,n,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,xt,pt===i),0!==v){var E=Ie(Ue);do{E-=v,y=Le.children[E]}while(y&&("none"===_e(y,"display")||y===qe))}if(0===v||y===i)return N(!1);pt=i,ht=v;var R=i.nextElementSibling,C=!1,k=Ht($e,a,Ue,t,i,o,e,C=1===v);if(!1!==k)return 1!==k&&-1!==k||(C=1===k),_t=!0,setTimeout(Bt,30),I(),C&&!R?a.appendChild(Ue):i.parentNode.insertBefore(Ue,C?R:i),S&&Me(S,0,D-S.scrollTop),Le=Ue.parentNode,void 0===b||xt||(mt=Math.abs(b-Re(i)[_])),O(),N(!0)}if(a.contains(Ue))return N(!1)}return!1}function T(l,s){Ye(l,h,te({evt:e,isOwner:u,axis:n?"vertical":"horizontal",revert:r,dragRect:t,targetRect:o,canSort:c,fromSortable:p,target:i,completed:N,onMove:function(o,r){return Ht($e,a,Ue,t,o,Re(o),e,r)},changed:O},s))}function I(){T("dragOverAnimationCapture"),h.captureAnimationState(),h!==p&&p.captureAnimationState()}function N(t){return T("dragOverCompleted",{insertion:t}),t&&(u?d._hideClone():d._showClone(h),h!==p&&(we(Ue,nt?nt.options.ghostClass:d.options.ghostClass,!1),we(Ue,l.ghostClass,!0)),nt!==h&&h!==Mt.active?nt=h:h===Mt.active&&nt&&(nt=null),p===h&&(h._ignoreWhileAnimating=i),h.animateAll((function(){T("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(i===Ue&&!Ue.animated||i===a&&!i.animated)&&(pt=null),l.dragoverBubble||e.rootEl||i===document||(Ue.parentNode[Pe]._isOutsideThisEl(e.target),!t&&Wt(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function O(){et=Ie(Ue),ot=Ie(Ue,l.draggable),Ge({sortable:h,name:"change",toEl:a,newIndex:et,newDraggableIndex:ot,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){ge(document,"mousemove",this._onTouchMove),ge(document,"touchmove",this._onTouchMove),ge(document,"pointermove",this._onTouchMove),ge(document,"dragover",Wt),ge(document,"mousemove",Wt),ge(document,"touchmove",Wt)},_offUpEvents:function(){var e=this.el.ownerDocument;ge(e,"mouseup",this._onDrop),ge(e,"touchend",this._onDrop),ge(e,"pointerup",this._onDrop),ge(e,"touchcancel",this._onDrop),ge(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;et=Ie(Ue),ot=Ie(Ue,o.draggable),Ye("drop",this,{evt:e}),Le=Ue&&Ue.parentNode,et=Ie(Ue),ot=Ie(Ue,o.draggable),Mt.eventCanceled||(ft=!1,xt=!1,yt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ft(this.cloneId),Ft(this._dragStartId),this.nativeDraggable&&(ge(document,"drop",this),ge(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ue&&_e(document.body,"user-select",""),_e(Ue,"transform",""),e&&(ct&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),qe&&qe.parentNode&&qe.parentNode.removeChild(qe),($e===Le||nt&&"clone"!==nt.lastPutMode)&&Je&&Je.parentNode&&Je.parentNode.removeChild(Je),Ue&&(this.nativeDraggable&&ge(Ue,"dragend",this),Pt(Ue),Ue.style["will-change"]="",ct&&!ft&&we(Ue,nt?nt.options.ghostClass:this.options.ghostClass,!1),we(Ue,this.options.chosenClass,!1),Ge({sortable:this,name:"unchoose",toEl:Le,newIndex:null,newDraggableIndex:null,originalEvent:e}),$e!==Le?(et>=0&&(Ge({rootEl:Le,name:"add",toEl:Le,fromEl:$e,originalEvent:e}),Ge({sortable:this,name:"remove",toEl:Le,originalEvent:e}),Ge({rootEl:Le,name:"sort",toEl:Le,fromEl:$e,originalEvent:e}),Ge({sortable:this,name:"sort",toEl:Le,originalEvent:e})),nt&&nt.save()):et!==Qe&&et>=0&&(Ge({sortable:this,name:"update",toEl:Le,originalEvent:e}),Ge({sortable:this,name:"sort",toEl:Le,originalEvent:e})),Mt.active&&(null!=et&&-1!==et||(et=Qe,ot=tt),Ge({sortable:this,name:"end",toEl:Le,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Ye("nulling",this),$e=Ue=Le=qe=Ve=Je=Ke=Ze=at=it=ct=et=ot=Qe=tt=pt=ht=nt=rt=Mt.dragged=Mt.ghost=Mt.clone=Mt.active=null,St.forEach((function(e){e.checked=!0})),St.length=lt=st=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Ue&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,r=0,n=o.length,a=this.options;r-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){if(!fo(e))return!1;var t=po(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(e)}function Eo(e,t,o){if(!fo(o))return!1;var r=typeof t;return!!("number"==r?Do(o)&&function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&So.test(e))&&e>-1&&e%1==0&&e"decorate"==r.mode?r:t.data));return E((()=>{if("decorate"==r.mode){var e=document.getElementById("componentList");const t=Mt.create(e,{group:"draggable-element",animation:200,onEnd:e=>{let o=r.value[e.oldIndex];r.value.splice(e.oldIndex,1),r.value.splice(e.newIndex,0,o),j((()=>{t.sort(Io(r.value.length).map((e=>e.toString()))),r.postMessage(e.newIndex,r.value[e.newIndex])}))}})}})),(e,o)=>{const n=i(l("diy-article"),L),v=i(l("diy-graphic-nav"),q),x=i(l("diy-horz-blank"),$),w=i(l("diy-image-ads"),V),_=i(l("diy-member-info"),K),D=i(l("diy-text"),J),E=i(l("diy-rubik-cube"),Z),R=i(l("diy-hot-area"),Q),C=S,k=i(l("tabbar"),F);return s(),d(C,{class:"diy-group",id:"componentList"},{default:u((()=>[(s(!0),c(p,null,h(f(a).value,((e,o)=>(s(),d(C,{key:e.id,onClick:t=>f(r).changeCurrentIndex(o,e),class:m(["draggable-element relative cursor-move",{selected:f(r).currentIndex==o,decorate:"decorate"==f(r).mode}]),style:g(e.pageStyle)},{default:u((()=>["Article"==e.componentName?(s(),d(n,{key:0,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"GraphicNav"==e.componentName?(s(),d(v,{key:1,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"HorzBlank"==e.componentName?(s(),d(x,{key:2,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"ImageAds"==e.componentName?(s(),d(w,{key:3,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"MemberInfo"==e.componentName?(s(),d(_,{key:4,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"Text"==e.componentName?(s(),d(D,{key:5,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"RubikCube"==e.componentName?(s(),d(E,{key:6,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0),"HotArea"==e.componentName?(s(),d(R,{key:7,component:e,index:o,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):y("",!0)])),_:2},1032,["onClick","class","style"])))),128)),"decorate"!=f(r).mode&&f(a).global.bottomTabBarSwitch?(s(),c(p,{key:0},[b(C,{class:"pt-[20rpx]"}),b(k)],64)):y("",!0)])),_:1})}}}),[["__scopeId","data-v-26c6536e"]]),Oo=t({__name:"index",props:["data","pullDownRefresh"],setup(e){const t=e;return(e,o)=>{const r=i(l("diy-group"),No),n=S;return s(),d(n,null,{default:u((()=>[x(" 固定模板示例,我也可以装修 "),b(r,{data:t.data,pullDownRefresh:t.pullDownRefresh},null,8,["data","pullDownRefresh"])])),_:1})}}}),Wo=Y(t({__name:"index",props:["data","pullDownRefresh"],setup(e){const t=e;return(e,o)=>{const r=i(l("fixed-demo-index"),Oo),n=S;return s(),d(n,{class:"fixed-group"},{default:u((()=>["demo-index"==t.data.global.component?(s(),d(r,{key:0,data:t.data,pullDownRefresh:t.pullDownRefresh},null,8,["data","pullDownRefresh"])):y("",!0)])),_:1})}}}),[["__scopeId","data-v-3b1723ce"]]);export{No as _,Wo as a}; diff --git a/niucloud/public/wap/assets/index.3ac4c3b4.js b/niucloud/public/wap/assets/index.3ac4c3b4.js new file mode 100644 index 000000000..2812472a0 --- /dev/null +++ b/niucloud/public/wap/assets/index.3ac4c3b4.js @@ -0,0 +1,8 @@ +import{_ as e}from"./u-icon.4046c188.js";import{W as t,X as o,E as r,i as a,j as n,w as i,T as l,d as s,u as d,c as u,r as c,ag as p,aB as h,aC as m,q as f,t as g,F as v,G as b,H as y,I as x,n as w,y as _,k as S,m as D,K as C,L as k,p as E,h as R,x as T,N as I,M as N,aD as O,aE as A,ap as W,Y as H,aF as M,af as P,aG as B,ak as z,Z as j,a0 as F,aH as X,aI as Y,V as L,J as G,a1 as U,ab as $,aJ as V}from"./index-59b72094.js";import{p as Z,_ as q}from"./u-image.480f9d13.js";import{_ as J}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as K}from"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import{_ as Q}from"./u-avatar.45f327ca.js";import{_ as ee}from"./u-safe-bottom.1b1ffd7b.js";const te=J({name:"u--image",mixins:[t,Z,o],components:{uvImage:q},emits:["click","error","load"]},[["render",function(e,t,o,s,d,u){const c=r("uvImage");return a(),n(c,{src:e.src,mode:e.mode,width:e.width,height:e.height,shape:e.shape,radius:e.radius,lazyLoad:e.lazyLoad,showMenuByLongpress:e.showMenuByLongpress,loadingIcon:e.loadingIcon,errorIcon:e.errorIcon,showLoading:e.showLoading,showError:e.showError,fade:e.fade,webp:e.webp,duration:e.duration,bgColor:e.bgColor,customStyle:e.customStyle,onClick:t[0]||(t[0]=t=>e.$emit("click")),onError:t[1]||(t[1]=t=>e.$emit("error")),onLoad:t[2]||(t[2]=t=>e.$emit("load"))},{loading:i((()=>[l(e.$slots,"loading")])),error:i((()=>[l(e.$slots,"error")])),_:3},8,["src","mode","width","height","shape","radius","lazyLoad","showMenuByLongpress","loadingIcon","errorIcon","showLoading","showError","fade","webp","duration","bgColor","customStyle"])}]]),oe=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const o=t,r=d(),l=u((()=>"decorate"==r.mode?r.value[o.index]:o.component)),s=u((()=>{var e="";return l.value.componentBgColor&&(e+="background-color:"+l.value.componentBgColor+";"),l.value.topRounded&&(e+="border-top-left-radius:"+2*l.value.topRounded+"rpx;"),l.value.topRounded&&(e+="border-top-right-radius:"+2*l.value.topRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*l.value.bottomRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*l.value.bottomRounded+"rpx;"),e})),I=c([]);p((()=>o.pullDownRefresh),((e,t)=>{})),h((()=>{N(),"decorate"==r.mode&&p((()=>l.value),((e,t)=>{e&&"AddonList"==e.componentName&&N()}))}));const N=()=>{"decorate"==r.mode&&l.value.list.forEach(((e,t)=>{""==e.icon&&(e.icon="static/resource/images/diy/figure.png"),""==e.title&&(e.title="应用名称")})),0==l.value.list.length?m().then((e=>{I.value=e.data})):I.value=l.value.list};return(t,o)=>{const r=f(g("u-icon"),e),l=f(g("u--image"),te),d=T;return a(),n(d,{style:E(w(s))},{default:i((()=>[(a(!0),v(b,null,y(I.value,((e,t)=>(a(),n(d,{key:e.id,class:x(["item flex align-center p-[20rpx] mb-[20rpx]",{"border-solid border-t-0 border-l-0 border-r-0 border-b border-gray-200":I.value.length-1!==t}]),onClick:t=>{return o=e.url,void R({url:o});var o}},{default:i((()=>[e.icon?(a(),n(l,{key:0,width:"120rpx",height:"120rpx",src:w(_)(e.icon),class:"rounded-md overflow-hidden",model:"aspectFill"},{error:i((()=>[S(r,{name:"photo",color:"#999",size:"60"})])),_:2},1032,["src"])):D("v-if",!0),S(d,{class:"flex-1 flex flex-col justify-center ml-[20rpx]"},{default:i((()=>[S(d,{class:"text-sm leading-[1.3] using-hidden"},{default:i((()=>[C(k(e.title),1)])),_:2},1024),S(d,{class:"text-xs text-[#999] mt-[8rpx] leading-[1.6] multi-hidden"},{default:i((()=>[C(k(e.desc),1)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1},8,["style"])}}}),[["__scopeId","data-v-98d5b8e8"]]),re=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const o=t,r=d(),l=u((()=>"decorate"==r.mode?r.value[o.index]:o.component)),s=u((()=>{var e="";return l.value.componentBgColor&&(e+="background-color:"+l.value.componentBgColor+";"),l.value.topRounded&&(e+="border-top-left-radius:"+2*l.value.topRounded+"rpx;"),l.value.topRounded&&(e+="border-top-right-radius:"+2*l.value.topRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*l.value.bottomRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*l.value.bottomRounded+"rpx;"),e}));p((()=>o.pullDownRefresh),((e,t)=>{}));const m=c(0),R=e=>{m.value=e.detail.current},H=(e,t)=>{let o=l.value.pageCount*l.value.rowCount,r=!0;return r=e>=[(t-1)*o]&&e<[t*o],r},M=c("");h((()=>{P(),"decorate"==r.mode&&p((()=>l.value),((e,t)=>{e&&"GraphicNav"==e.componentName&&P()}))}));const P=()=>{var e;"decorate"==r.mode&&l.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png")})),e=0,"graphic"==l.value.mode?e=(49+l.value.imageSize)*l.value.pageCount:"img"==l.value.mode?e=(22+l.value.imageSize)*l.value.pageCount:"text"==l.value.mode&&(e=43*l.value.pageCount),M.value=2*e+"rpx"};return(t,o)=>{const r=T,d=I,u=f(g("app-link"),K),c=N,p=f(g("u-icon"),e),h=O,m=A,P=W;return a(),n(r,{style:E(w(s))},{default:i((()=>[S(r,{class:"flex items-center justify-between py-[30rpx] px-[32rpx]"},{default:i((()=>[w(l).navTitle?(a(),n(r,{key:0,class:"text-[30rpx]",style:E({fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(w(l).navTitle),1)])),_:1},8,["style"])):D("v-if",!0),w(l).subNavTitle?(a(),n(u,{key:1,data:w(l).subNavTitleLink,class:"flex items-baseline",style:E({color:w(l).subNavColor})},{default:i((()=>[S(d,{class:"text-[26rpx] mr-[4rpx]"},{default:i((()=>[C(k(w(l).subNavTitle),1)])),_:1}),S(d,{class:"text-sm iconfont iconxiangyoujiantou"})])),_:1},8,["data","style"])):D("v-if",!0)])),_:1}),"vertical"==w(l).layout?(a(),n(r,{key:0,class:"graphic-nav"},{default:i((()=>[(a(!0),v(b,null,y(w(l).list,((e,t)=>(a(),n(r,{class:"graphic-nav-item",key:e.id},{default:i((()=>[S(u,{data:e.link,class:x(["flex items-center justify-between py-[30rpx] px-[32rpx]",[0==t?"border-t-0":"border-t"]])},{default:i((()=>["text"!=w(l).mode?(a(),n(r,{key:0,class:"graphic-img relative flex items-center w-10 h-10 mr-[20rpx]",style:E({width:2*w(l).imageSize+"rpx",height:2*w(l).imageSize+"rpx"})},{default:i((()=>[S(c,{src:w(_)(e.imageUrl),mode:"aspectFill",style:E({maxWidth:2*w(l).imageSize+"rpx",maxHeight:2*w(l).imageSize+"rpx",borderRadius:2*w(l).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(a(),n(d,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:E({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:i((()=>[C(k(e.label.text),1)])),_:2},1032,["style"])):D("v-if",!0)])),_:2},1032,["style"])):D("v-if",!0),"img"!=w(l).mode?(a(),n(d,{key:1,class:"graphic-text w-full truncate leading-normal",style:E({fontSize:2*w(l).font.size+"rpx",fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(e.title),1)])),_:2},1032,["style"])):D("v-if",!0),S(p,{name:"arrow-right",color:"#CACACA"})])),_:2},1032,["data","class"])])),_:2},1024)))),128))])),_:1})):"horizontal"==w(l).layout&&"pageSlide"==w(l).showStyle?(a(),n(m,{key:1,class:"graphic-nav p-2 box-border relative",circular:"","indicator-dots":!1,style:E({height:M.value}),onChange:R},{default:i((()=>[(a(!0),v(b,null,y(Math.ceil(w(l).list.length/(w(l).pageCount*w(l).rowCount)),((e,t)=>(a(),n(h,{class:"graphic-nav-wrap flex flex-wrap"},{default:i((()=>[(a(!0),v(b,null,y(w(l).list,((t,o)=>(a(),v(b,null,[H(o,e)?(a(),n(r,{class:x(["graphic-nav-item",[w(l).mode]]),key:t.id,style:E({width:100/w(l).rowCount+"%"})},{default:i((()=>[S(u,{data:t.link,class:"flex flex-col items-center box-border py-2"},{default:i((()=>["text"!=w(l).mode?(a(),n(r,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:E({width:2*w(l).imageSize+"rpx",height:2*w(l).imageSize+"rpx"})},{default:i((()=>[S(c,{src:w(_)(t.imageUrl),mode:"aspectFill",style:E({maxWidth:2*w(l).imageSize+"rpx",maxHeight:2*w(l).imageSize+"rpx",borderRadius:2*w(l).aroundRadius+"rpx"})},null,8,["src","style"]),t.label.control?(a(),n(d,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:E({color:t.label.textColor,backgroundImage:"linear-gradient("+t.label.bgColorStart+","+t.label.bgColorEnd+")"})},{default:i((()=>[C(k(t.label.text),1)])),_:2},1032,["style"])):D("v-if",!0)])),_:2},1032,["style"])):D("v-if",!0),"img"!=w(l).mode?(a(),n(d,{key:1,class:x(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=w(l).mode}]),style:E({fontSize:2*w(l).font.size+"rpx",fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(t.title),1)])),_:2},1032,["class","style"])):D("v-if",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])):D("v-if",!0)],64)))),256))])),_:2},1024)))),256))])),_:1},8,["style"])):(a(),n(P,{key:2,"scroll-x":"singleSlide"==w(l).showStyle,class:x(["graphic-nav","graphic-nav-"+w(l).showStyle])},{default:i((()=>[(a(!0),v(b,null,y(w(l).list,((e,t)=>(a(),n(r,{class:x(["graphic-nav-item",{"flex-shrink-0":"singleSlide"==w(l).showStyle}]),key:e.id,style:E({width:100/w(l).rowCount+"%"})},{default:i((()=>[S(u,{data:e.link,class:"flex flex-col items-center box-border py-2"},{default:i((()=>["text"!=w(l).mode?(a(),n(r,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:E({width:2*w(l).imageSize+"rpx",height:2*w(l).imageSize+"rpx"})},{default:i((()=>[S(c,{src:w(_)(e.imageUrl),mode:"aspectFill",style:E({maxWidth:2*w(l).imageSize+"rpx",maxHeight:2*w(l).imageSize+"rpx",borderRadius:2*w(l).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(a(),n(d,{key:0,class:x(["tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs"]),style:E({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:i((()=>[C(k(e.label.text),1)])),_:2},1032,["style"])):D("v-if",!0)])),_:2},1032,["style"])):D("v-if",!0),"img"!=w(l).mode?(a(),n(d,{key:1,class:x(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=w(l).mode}]),style:E({fontSize:2*w(l).font.size+"rpx",fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(e.title),1)])),_:2},1032,["class","style"])):D("v-if",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])))),128))])),_:1},8,["scroll-x","class"]))])),_:1},8,["style"])}}}),[["__scopeId","data-v-e99afb33"]]),ae=s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),i=u((()=>{var e="";return e+="height:"+2*r.value.height+"rpx;",r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),e}));return p((()=>t.pullDownRefresh),((e,t)=>{})),(e,t)=>{const o=T;return a(),n(o,{style:E(w(i))},null,8,["style"])}}}),ne=s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));h((()=>{s(),p((()=>r.value),((e,t)=>{e&&"HotArea"==e.componentName&&s()}))}));const s=()=>{"decorate"==o.mode&&""==r.value.imageUrl&&(r.value.imageUrl="static/resource/images/diy/figure.png",r.value.imgWidth=690,r.value.imgHeight=330)};return p((()=>t.pullDownRefresh),((e,t)=>{})),(e,t)=>{const s=N,d=f(g("app-link"),K),u=T;return a(),n(u,{style:E(w(l))},{default:i((()=>[S(u,{class:"simple-graph-wrap overflow-hidden relative leading-0"},{default:i((()=>[S(s,{style:E({height:w(r).imgHeight}),src:w(_)(w(r).imageUrl),mode:"widthFix","show-menu-by-longpress":!0,class:"w-full"},null,8,["style","src"]),"decorate"!=w(o).mode?(a(),v(b,{key:0},[D(" 热区功能 "),(a(!0),v(b,null,y(w(r).heatMapData,((e,t)=>(a(),n(d,{data:e.link,class:"absolute",key:t,style:E({width:e.width+"%",height:e.height+"%",left:e.left+"%",top:e.top+"%"})},null,8,["data","style"])))),128))],64)):D("v-if",!0)])),_:1})])),_:1},8,["style"])}}}),ie=s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),e})),s=u((()=>{var e="";return r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));p((()=>t.pullDownRefresh),((e,t)=>{}));const m=u((()=>2*r.value.imageHeight+"rpx")),x=c(0),D=e=>{x.value=e.detail.current};h((()=>{C(),"decorate"==o.mode&&p((()=>r.value),((e,t)=>{e&&"ImageAds"==e.componentName&&C()}))}));const C=()=>{"decorate"==o.mode&&r.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)}))};return(e,t)=>{const o=N,d=f(g("app-link"),K),u=T,c=O,p=A;return a(),n(u,{class:"image-ads",style:E(w(l))},{default:i((()=>[1==w(r).list.length?(a(),n(u,{key:0,class:"leading-0 overflow-hidden",style:E(w(s))},{default:i((()=>[S(d,{data:w(r).list[0].link},{default:i((()=>[S(o,{src:w(_)(w(r).list[0].imageUrl),style:E({height:w(m)}),mode:"heightFix",class:"w-full","show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data"])])),_:1},8,["style"])):(a(),n(p,{key:1,class:"swiper",style:E({height:w(m)}),autoplay:"true",circular:"true",onChange:D},{default:i((()=>[(a(!0),v(b,null,y(w(r).list,(e=>(a(),n(c,{class:"swiper-item",key:e.id,style:E(w(s))},{default:i((()=>[S(d,{data:e.link},{default:i((()=>[S(u,{class:"item",style:E({height:w(m)})},{default:i((()=>[S(o,{src:w(_)(e.imageUrl),mode:"scaleToFill",class:"w-full h-full","show-menu-by-longpress":!0},null,8,["src"])])),_:2},1032,["style"])])),_:2},1032,["data"])])),_:2},1032,["style"])))),128))])),_:1},8,["style"]))])),_:1},8,["style"])}}}),le=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),r.value.bgUrl&&(e+="background-image:url("+_(r.value.bgUrl)+");",e+="background-size: cover;",e+="background-repeat: no-repeat;"),r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));p((()=>t.pullDownRefresh),((e,t)=>{}));const s=H(),{query:h}=M(location.href);h.code&&P()&&B({code:h.code}).then((e=>{s.getMemberInfo()}));const m=u((()=>"decorate"==o.mode?{headimg:"",nickname:"昵称",balance:0,point:0,money:0,member_no:"NIU0000021"}:s.info)),v=u((()=>{if(m.value){let e=parseFloat(m.value.balance)+parseFloat(m.value.money);return z(e.toString())}return 0})),b=()=>{F().setLoginBack({url:"/app/pages/member/index"})};c(!1);const y=()=>{P()?F().getAuthCode("snsapi_userinfo"):R({url:"/app/pages/member/personal"})};return(e,t)=>{const o=f(g("u-avatar"),Q),s=T,d=I,u=f(g("app-link"),K);return a(),n(s,{style:E(w(l))},{default:i((()=>[S(s,{class:"pt-[34rpx] member-info"},{default:i((()=>[w(m)?(a(),n(s,{key:0,class:"flex ml-[32rpx] mr-[52rpx] items-center relative"},{default:i((()=>[D(" 唤起获取微信 "),S(o,{src:w(_)(w(m).headimg),size:"55",leftIcon:"none",onClick:y},null,8,["src"]),S(s,{class:"ml-[22rpx]"},{default:i((()=>[S(s,{class:"text-[#222222] truncate w-[430rpx] font-bold text-lg",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(m).nickname),1)])),_:1},8,["style"]),S(s,{class:"text-[#696B70] text-[24rpx] mt-[10rpx]",style:E({color:w(r).textColor})},{default:i((()=>[C(" UID:"+k(w(m).member_no),1)])),_:1},8,["style"])])),_:1}),S(s,{class:"set-icon flex items-center absolute right-0 top-2"},{default:i((()=>[S(u,{url:"/app/pages/setting/index"},{default:i((()=>[S(d,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:E({color:w(r).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})):(a(),n(s,{key:1,class:"flex ml-[32rpx] mr-[52rpx] items-center relative",onClick:b},{default:i((()=>[S(o,{src:"",size:"55"}),S(s,{class:"ml-[22rpx]"},{default:i((()=>[S(s,{class:"text-[#222222] font-bold text-lg",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(j)("login"))+"/"+k(w(j)("register")),1)])),_:1},8,["style"])])),_:1}),S(s,{class:"set-icon flex items-center absolute right-0 top-2"},{default:i((()=>[S(u,{url:"/app/pages/setting/index"},{default:i((()=>[S(d,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:E({color:w(r).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})),S(s,{class:"flex m-[30rpx] mb-0 py-[30rpx] items-center"},{default:i((()=>[S(s,{class:"flex-1 text-center"},{default:i((()=>[S(s,{class:"font-bold"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/balance":"",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(v)),1)])),_:1},8,["url","style"])])),_:1}),S(s,{class:"text-sm mt-[10rpx]"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/balance":"",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(j)("balance")),1)])),_:1},8,["url","style"])])),_:1})])),_:1}),S(s,{class:"border-solid border-white border-l border-b-0 border-t-0 border-r-0 h-[60rpx]"}),S(s,{class:"flex-1 text-center"},{default:i((()=>[S(s,{class:"font-bold"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/point":"",style:E({color:w(r).textColor})},{default:i((()=>{var e;return[C(k(parseInt(null==(e=w(m))?void 0:e.point)||0),1)]})),_:1},8,["url","style"])])),_:1}),S(s,{class:"text-sm mt-[10rpx]"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/point":"",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(j)("point")),1)])),_:1},8,["url","style"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"])}}}),[["__scopeId","data-v-18027378"]]),se=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));p((()=>t.pullDownRefresh),((e,t)=>{})),h((()=>{s(),p((()=>r.value),((e,t)=>{e&&"RubikCube"==e.componentName&&s()}))}));const s=()=>{"decorate"==o.mode&&r.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)})),c()},c=()=>{var e={"row1-of2":{ratio:2,width:"calc((100% - "+X(2*r.value.imageGap)+"px) / 2)"},"row1-of3":{ratio:3,width:"calc((100% - "+X(4*r.value.imageGap)+"px) / 3)"},"row1-of4":{ratio:4,width:"calc((100% - "+X(6*r.value.imageGap)+"px) / 4)"}};r.value.list.forEach(((e,t)=>{e.pageItemStyle=((e,t)=>{var o="";return"right"==r.value.elementAngle||{"row1-lt-of2-rt":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-lt-of1-tp-of2-bm":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-tp-of2-bm":[["border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row2-lt-of2-rt":[["border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-of4":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of3":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of2":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius"]]}[e][t].forEach(((e,t)=>{o+="border-top-left-radius:"+2*r.value.topElementRounded+"rpx;",o+="border-top-right-radius:"+2*r.value.topElementRounded+"rpx;",o+="border-bottom-left-radius:"+2*r.value.bottomElementRounded+"rpx;",o+="border-bottom-right-radius:"+2*r.value.bottomElementRounded+"rpx;"})),o})(r.value.mode,t)})),e[r.value.mode]?m(e[r.value.mode]):"row2-lt-of2-rt"==r.value.mode?C():"row1-lt-of2-rt"==r.value.mode?k():"row1-tp-of2-bm"==r.value.mode?R():"row1-lt-of1-tp-of2-bm"==r.value.mode&&I()},m=e=>{Y({success:t=>{let o=0;r.value.list.forEach(((a,n)=>{var i=a.imgHeight/a.imgWidth;let l=t.windowWidth-X(2*r.value.margin.both);r.value.imageGap>0&&(l-=X(e.ratio*r.value.imageGap*2)),a.imgWidth=l/e.ratio,a.imgHeight=a.imgWidth*i,(0==o||o{t.widthStyle=e.width,t.imgHeight=o}))}})},C=()=>{Y({success:e=>{let t=0,o=0;r.value.list.forEach(((a,n)=>{var i=a.imgHeight/a.imgWidth;a.imgWidth=e.windowWidth,a.imgWidth-=X(4*r.value.margin.both),r.value.imageGap>0&&(a.imgWidth-=X(2*r.value.imageGap)),a.imgWidth=a.imgWidth/2,a.imgHeight=a.imgWidth*i,n<=1?(0==t||t1&&(0==o||o{e.imgWidth="calc((100% - "+X(2*r.value.imageGap)+"px) / 2)",e.widthStyle=e.imgWidth,a<=1?e.imgHeight=t:a>1&&(e.imgHeight=o)}))}})},k=()=>{let e=0;r.value.list[1].imgWidth,r.value.list[2].imgWidth,Y({success:t=>{r.value.list.forEach(((o,a)=>{if(0==a){var n=o.imgHeight/o.imgWidth;o.imgWidth=t.windowWidth-X(4*r.value.margin.both)-X(2*r.value.imageGap),o.imgWidth=o.imgWidth/2,o.imgHeight=o.imgWidth*n,e=(o.imgHeight-X(2*r.value.imageGap))/2,o.imgWidth+="px"}else o.imgWidth=r.value.list[0].imgWidth,o.imgHeight=e}))}})},R=()=>{var e=0;Y({success:t=>{r.value.list.forEach(((o,a)=>{var n=o.imgHeight/o.imgWidth;0==a?o.imgWidth=t.windowWidth-X(4*r.value.margin.both):a>0&&(o.imgWidth=t.windowWidth-X(4*r.value.margin.both)-X(2*r.value.imageGap),o.imgWidth=o.imgWidth/2),o.imgHeight=o.imgWidth*n,a>0&&(0==e||e{t.imgWidth+="px",t.widthStyle=t.imgWidth,o>0&&(t.imgHeight=e)}))}})},I=()=>{Y({success:e=>{r.value.list.forEach(((t,o)=>{if(0==o){var a=t.imgHeight/t.imgWidth;t.imgWidth=e.windowWidth-X(4*r.value.margin.both)-X(2*r.value.imageGap),t.imgWidth=t.imgWidth/2,t.imgHeight=t.imgWidth*a}else 1==o?(t.imgWidth=r.value.list[0].imgWidth,t.imgHeight=(r.value.list[0].imgHeight-X(2*r.value.imageGap))/2):o>1&&(t.imgWidth=(r.value.list[0].imgWidth-X(2*r.value.imageGap))/2,t.imgHeight=r.value.list[1].imgHeight)})),r.value.list.forEach(((e,t)=>{e.imgWidth+="px",e.imgHeight}))}})};return(e,t)=>{const s=N,d=f(g("app-link"),K),u=T;return a(),n(u,{class:x(["rubik-cube",w(o).mode]),style:E(w(l))},{default:i((()=>[D(" 1左2右 "),"row1-lt-of2-rt"==w(r).mode?(a(),v(b,{key:0},[S(u,{class:"template-left"},{default:i((()=>[S(d,{data:w(r).list[0].link,class:x(["item",w(r).mode]),style:E({width:w(r).list[0].imgWidth,height:w(r).list[0].imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(w(r).list[0].imageUrl),mode:"scaleToFill",style:E(w(r).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),S(u,{class:"template-right"},{default:i((()=>[(a(!0),v(b,null,y(w(r).list,((e,t)=>(a(),v(b,{key:t},[t>0?(a(),n(d,{key:0,data:e.link,class:x(["item",w(r).mode]),style:E({marginBottom:2*w(r).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(e.imageUrl),mode:"scaleToFill",style:E(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):D("v-if",!0)],64)))),128))])),_:1})],64)):"row1-lt-of1-tp-of2-bm"==w(r).mode?(a(),v(b,{key:1},[D(" 1左3右 "),S(u,{class:"template-left"},{default:i((()=>[S(d,{data:w(r).list[0].link,class:x(["item",w(r).mode]),style:E({marginRight:2*w(r).imageGap+"rpx",width:w(r).list[0].imgWidth,height:w(r).list[0].imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(w(r).list[0].imageUrl),mode:"scaleToFill",style:E(w(r).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),S(u,{class:"template-right"},{default:i((()=>[S(d,{data:w(r).list[1].link,class:x(["item",w(r).mode]),style:E({marginBottom:2*w(r).imageGap+"rpx",width:w(r).list[1].imgWidth,height:w(r).list[1].imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(w(r).list[1].imageUrl),mode:"scaleToFill",style:E(w(r).list[1].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"]),S(u,{class:"template-bottom"},{default:i((()=>[(a(!0),v(b,null,y(w(r).list,((e,t)=>(a(),v(b,{key:t},[t>1?(a(),n(d,{key:0,data:e.link,class:x(["item",w(r).mode]),style:E({marginRight:2*w(r).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(e.imageUrl),mode:"scaleToFill",style:E(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):D("v-if",!0)],64)))),128))])),_:1})])),_:1})],64)):(a(!0),v(b,{key:2},y(w(r).list,((e,t)=>(a(),n(d,{class:x(["item",w(r).mode]),key:t,data:e.link,style:E({marginRight:2*w(r).imageGap+"rpx",marginBottom:2*w(r).imageGap+"rpx",width:e.widthStyle,height:e.imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(e.imageUrl),mode:"scaleToFill",style:E(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["class","data","style"])))),128))])),_:1},8,["class","style"])}}}),[["__scopeId","data-v-dba01295"]]),de=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const o=t,r=d(),l=u((()=>"decorate"==r.mode?r.value[o.index]:o.component)),s=u((()=>{var e="";return l.value.componentBgColor&&(e+="background-color:"+l.value.componentBgColor+";"),l.value.topRounded&&(e+="border-top-left-radius:"+2*l.value.topRounded+"rpx;"),l.value.topRounded&&(e+="border-top-right-radius:"+2*l.value.topRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*l.value.bottomRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*l.value.bottomRounded+"rpx;"),e}));return p((()=>o.pullDownRefresh),((e,t)=>{})),(t,o)=>{const r=T,d=f(g("app-link"),K),u=I,c=f(g("u-icon"),e);return a(),n(r,{class:"diy-text",style:E(w(s))},{default:i((()=>["style-1"==w(l).style?(a(),n(r,{key:0,class:"p-[20rpx]"},{default:i((()=>[S(d,{data:w(l).link},{default:i((()=>[S(r,{style:E({fontSize:2*w(l).fontSize+"rpx",color:w(l).textColor,fontWeight:w(l).fontWeight,textAlign:w(l).textAlign})},{default:i((()=>[C(k(w(l).text),1)])),_:1},8,["style"])])),_:1},8,["data"])])),_:1})):D("v-if",!0),"style-2"==w(l).style?(a(),n(r,{key:1,class:"p-[20rpx] flex items-center"},{default:i((()=>[S(d,{data:w(l).link},{default:i((()=>[S(r,{class:"max-w-[200rpx] truncate",style:E({fontSize:2*w(l).fontSize+"rpx",color:w(l).textColor,fontWeight:w(l).fontWeight})},{default:i((()=>[C(k(w(l).text),1)])),_:1},8,["style"])])),_:1},8,["data"]),S(u,{class:"ml-[16rpx] max-w-[300rpx] truncate",style:E({color:w(l).subTitle.color,fontSize:2*w(l).subTitle.fontSize+"rpx"})},{default:i((()=>[C(k(w(l).subTitle.text),1)])),_:1},8,["style"]),w(l).more.isShow?(a(),n(r,{key:0,class:"ml-auto text-right",style:E({color:w(l).more.color})},{default:i((()=>[S(d,{data:w(l).more.link,class:"flex items-center"},{default:i((()=>[S(u,{class:"max-w-[200rpx] truncate text-[24rpx] mr-[8rpx]"},{default:i((()=>[C(k(w(l).more.text),1)])),_:1}),S(c,{name:"arrow-right",size:"12",style:E({color:w(l).more.color})},null,8,["style"])])),_:1},8,["data"])])),_:1},8,["style"])):D("v-if",!0)])),_:1})):D("v-if",!0)])),_:1},8,["style"])}}}),[["__scopeId","data-v-b04aeffc"]]);const ue=J({name:"u-badge",mixins:[t,{props:{isDot:{type:Boolean,default:L.badge.isDot},value:{type:[Number,String],default:L.badge.value},modelValue:{type:[Number,String],default:L.badge.modelValue},show:{type:Boolean,default:L.badge.show},max:{type:[Number,String],default:L.badge.max},type:{type:String,default:L.badge.type},showZero:{type:Boolean,default:L.badge.showZero},bgColor:{type:[String,null],default:L.badge.bgColor},color:{type:[String,null],default:L.badge.color},shape:{type:String,default:L.badge.shape},numberType:{type:String,default:L.badge.numberType},offset:{type:Array,default:L.badge.offset},inverted:{type:Boolean,default:L.badge.inverted},absolute:{type:Boolean,default:L.badge.absolute}}},o],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],o=this.offset[1]||t;e.top=uni.$u.addUnit(t),e.right=uni.$u.addUnit(o)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}}},[["render",function(e,t,o,r,l,s){const d=I;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?(a(),n(d,{key:0,class:x([[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn",`u-badge--${e.type}${e.inverted?"--inverted":""}`],"u-badge"]),style:E([e.$u.addStyle(e.customStyle),s.badgeStyle])},{default:i((()=>[C(k(e.isDot?"":s.showValue),1)])),_:1},8,["class","style"])):D("v-if",!0)}],["__scopeId","data-v-99cd5b85"]]);const ce=J({name:"u-tabbar-item",mixins:[t,o,{props:{name:{type:[String,Number,null],default:L.tabbarItem.name},icon:{icon:String,default:L.tabbarItem.icon},badge:{type:[String,Number,null],default:L.tabbarItem.badge},dot:{type:Boolean,default:L.tabbarItem.dot},text:{type:String,default:L.tabbarItem.text},badgeStyle:{type:[Object,String],default:L.tabbarItem.badgeStyle}}}],data:()=>({isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}),options:{virtualHost:!0},created(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-tabbar-item必须搭配u-tabbar组件使用");const e=this.parent.children.indexOf(this);this.isActive=(this.name||e)===this.parentData.value},updateParentData(){this.getParentData("u-tabbar")},updateFromParent(){this.init()},clickHandler(){this.$nextTick((()=>{const e=this.parent.children.indexOf(this),t=this.name||e;t!==this.parent.value&&this.parent.$emit("change",t),this.$emit("click",t)}))}}},[["render",function(t,o,r,s,d,u){const c=f(g("u-icon"),e),p=f(g("u-badge"),ue),h=T,m=I;return a(),n(h,{class:"u-tabbar-item",style:E([t.$u.addStyle(t.customStyle)]),onClick:u.clickHandler},{default:i((()=>[S(h,{class:"u-tabbar-item__icon"},{default:i((()=>[t.icon?(a(),n(c,{key:0,name:t.icon,color:d.isActive?d.parentData.activeColor:d.parentData.inactiveColor,size:20},null,8,["name","color"])):(a(),v(b,{key:1},[d.isActive?l(t.$slots,"active-icon",{key:0},void 0,!0):l(t.$slots,"inactive-icon",{key:1},void 0,!0)],64)),S(p,{absolute:"",offset:[0,t.dot?"34rpx":t.badge>9?"14rpx":"20rpx"],customStyle:t.badgeStyle,isDot:t.dot,value:t.badge||(t.dot?1:null),show:t.dot||t.badge>0},null,8,["offset","customStyle","isDot","value","show"])])),_:3}),l(t.$slots,"text",{},(()=>[S(m,{class:"u-tabbar-item__text",style:E({color:d.isActive?d.parentData.activeColor:d.parentData.inactiveColor})},{default:i((()=>[C(k(t.text),1)])),_:1},8,["style"])]),!0)])),_:3},8,["style","onClick"])}],["__scopeId","data-v-b5faebd4"]]);const pe=J({name:"u-tabbar",mixins:[t,o,{props:{value:{type:[String,Number,null],default:L.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:L.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:L.tabbar.border},zIndex:{type:[String,Number],default:L.tabbar.zIndex},activeColor:{type:String,default:L.tabbar.activeColor},inactiveColor:{type:String,default:L.tabbar.inactiveColor},fixed:{type:Boolean,default:L.tabbar.fixed},placeholder:{type:Boolean,default:L.tabbar.placeholder}}}],data:()=>({placeholderHeight:0}),computed:{tabbarStyle(){const e={zIndex:this.zIndex};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))},updateChild(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder(){return[this.fixed,this.placeholder]}},watch:{updateChild(){this.updateChildren()},updatePlaceholder(){this.setPlaceholderHeight()}},created(){this.children=[]},mounted(){this.setPlaceholderHeight()},methods:{updateChildren(){this.children.length&&this.children.map((e=>e.updateFromParent()))},async setPlaceholderHeight(){this.fixed&&this.placeholder&&(await uni.$u.sleep(20),this.$uGetRect(".u-tabbar__content").then((({height:e=50})=>{this.placeholderHeight=e})))}}},[["render",function(e,t,o,r,s,d){const u=T,c=f(g("u-safe-bottom"),ee);return a(),n(u,{class:"u-tabbar"},{default:i((()=>[S(u,{class:x(["u-tabbar__content",[e.border&&"u-border-top",e.fixed&&"u-tabbar--fixed"]]),ref:"u-tabbar__content",onTouchmove:G(e.noop,["stop","prevent"]),style:E([d.tabbarStyle])},{default:i((()=>[S(u,{class:"u-tabbar__content__item-wrapper"},{default:i((()=>[l(e.$slots,"default",{},void 0,!0)])),_:3}),e.safeAreaInsetBottom?(a(),n(c,{key:0})):D("v-if",!0)])),_:3},8,["onTouchmove","class","style"]),e.placeholder?(a(),n(u,{key:0,class:"u-tabbar__placeholder",style:E({height:s.placeholderHeight+"px"})},null,8,["style"])):D("v-if",!0)])),_:3})}],["__scopeId","data-v-b564ac71"]]),he=J(s({__name:"tabbar",setup(e){const t=u((()=>U().tabbar)),o=u((()=>"/"+$())),r=e=>{R({url:`${e}`})};return(e,l)=>{const s=f(g("u-tabbar-item"),ce),d=f(g("u-tabbar"),pe),u=T;return a(),v(b,null,[w(t)?(a(),n(d,{key:0,value:w(o),onChange:r,zIndex:"9999",fixed:!0,placeholder:!0,safeAreaInsetBottom:!0,"inactive-color":w(t).textColor,"active-color":w(t).textHoverColor},{default:i((()=>[(a(!0),v(b,null,y(w(t).list,(e=>(a(),v(b,null,[1==w(t).type?(a(),n(s,{key:0,style:E({"background-color":w(t).backgroundColor}),text:e.text,icon:w(_)(w(o)==e.link.url?e.iconSelectPath:e.iconPath),name:e.link.url},null,8,["style","text","icon","name"])):D("v-if",!0),2==w(t).type?(a(),n(s,{key:1,style:E({"background-color":w(t).backgroundColor}),icon:w(_)(w(o)==e.link.url?e.iconSelectPath:e.iconPath),name:e.link.url},null,8,["style","icon","name"])):D("v-if",!0),3==w(t).type?(a(),n(s,{key:2,style:E({"background-color":w(t).backgroundColor}),text:e.text,name:e.link.url},null,8,["style","text","name"])):D("v-if",!0)],64)))),256))])),_:1},8,["value","inactive-color","active-color"])):D("v-if",!0),S(u,{class:"tab-bar-placeholder"})],64)}}}),[["__scopeId","data-v-a6cbc50b"]]); +/**! + * Sortable 1.15.0 + * @author RubaXa + * @author owenm + * @license MIT + */ +function me(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function fe(e){for(var t=1;t=0||(a[o]=e[o]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(a[o]=e[o])}return a}function xe(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var we=xe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_e=xe(/Edge/i),Se=xe(/firefox/i),De=xe(/safari/i)&&!xe(/chrome/i)&&!xe(/android/i),Ce=xe(/iP(ad|od|hone)/i),ke=xe(/chrome/i)&&xe(/android/i),Ee={capture:!1,passive:!1};function Re(e,t,o){e.addEventListener(t,o,!we&&Ee)}function Te(e,t,o){e.removeEventListener(t,o,!we&&Ee)}function Ie(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(o){return!1}return!1}}function Ne(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Oe(e,t,o,r){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&Ie(e,t):Ie(e,t))||r&&e===o)return e;if(e===o)break}while(e=Ne(e))}return null}var Ae,We=/\s+/g;function He(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(We," ").replace(" "+t+" "," ");e.className=(r+(o?" "+t:"")).replace(We," ")}}function Me(e,t,o){var r=e&&e.style;if(r){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=o+("string"==typeof o?"":"px")}}function Pe(e,t){var o="";if("string"==typeof e)o=e;else do{var r=Me(e,"transform");r&&"none"!==r&&(o=r+" "+o)}while(!t&&(e=e.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(o)}function Be(e,t,o){if(e){var r=e.getElementsByTagName(t),a=0,n=r.length;if(o)for(;a=n:a<=n))return r;if(r===ze())break;r=Ue(r,!1)}return!1}function Xe(e,t,o,r){for(var a=0,n=0,i=e.children;n2&&void 0!==arguments[2]?arguments[2]:{},r=o.evt,a=ye(o,ot);tt.pluginEvent.bind(Zt)(e,t,fe({dragEl:nt,parentEl:it,ghostEl:lt,rootEl:st,nextEl:dt,lastDownEl:ut,cloneEl:ct,cloneHidden:pt,dragStarted:Ct,putSortable:bt,activeSortable:Zt.active,originalEvent:r,oldIndex:ht,oldDraggableIndex:ft,newIndex:mt,newDraggableIndex:gt,hideGhostForTarget:Gt,unhideGhostForTarget:Ut,cloneNowHidden:function(){pt=!0},cloneNowShown:function(){pt=!1},dispatchSortableEvent:function(e){at({sortable:t,name:e,originalEvent:r})}},a))};function at(e){!function(e){var t=e.sortable,o=e.rootEl,r=e.name,a=e.targetEl,n=e.cloneEl,i=e.toEl,l=e.fromEl,s=e.oldIndex,d=e.newIndex,u=e.oldDraggableIndex,c=e.newDraggableIndex,p=e.originalEvent,h=e.putSortable,m=e.extraEventProperties;if(t=t||o&&o[Je]){var f,g=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||we||_e?(f=document.createEvent("Event")).initEvent(r,!0,!0):f=new CustomEvent(r,{bubbles:!0,cancelable:!0}),f.to=i||o,f.from=l||o,f.item=a||o,f.clone=n,f.oldIndex=s,f.newIndex=d,f.oldDraggableIndex=u,f.newDraggableIndex=c,f.originalEvent=p,f.pullMode=h?h.lastPutMode:void 0;var b=fe(fe({},m),tt.getEventProperties(r,t));for(var y in b)f[y]=b[y];o&&o.dispatchEvent(f),g[v]&&g[v].call(t,f)}}(fe({putSortable:bt,cloneEl:ct,targetEl:nt,rootEl:st,oldIndex:ht,oldDraggableIndex:ft,newIndex:mt,newDraggableIndex:gt},e))}var nt,it,lt,st,dt,ut,ct,pt,ht,mt,ft,gt,vt,bt,yt,xt,wt,_t,St,Dt,Ct,kt,Et,Rt,Tt,It=!1,Nt=!1,Ot=[],At=!1,Wt=!1,Ht=[],Mt=!1,Pt=[],Bt="undefined"!=typeof document,zt=Ce,jt=_e||we?"cssFloat":"float",Ft=Bt&&!ke&&!Ce&&"draggable"in document.createElement("div"),Xt=function(){if(Bt){if(we)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Yt=function(e,t){var o=Me(e),r=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),a=Xe(e,0,t),n=Xe(e,1,t),i=a&&Me(a),l=n&&Me(n),s=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+je(a).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+je(n).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&i.float&&"none"!==i.float){var u="left"===i.float?"left":"right";return!n||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return a&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||s>=r&&"none"===o[jt]||n&&"none"===o[jt]&&s+d>r)?"vertical":"horizontal"},Lt=function(e){function t(e,o){return function(r,a,n,i){var l=r.options.group.name&&a.options.group.name&&r.options.group.name===a.options.group.name;if(null==e&&(o||l))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(r,a,n,i),o)(r,a,n,i);var s=(o?r:a).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var o={},r=e.group;r&&"object"==ge(r)||(r={name:r}),o.name=r.name,o.checkPull=t(r.pull,!0),o.checkPut=t(r.put),o.revertClone=r.revertClone,e.group=o},Gt=function(){!Xt&<&&Me(lt,"display","none")},Ut=function(){!Xt&<&&Me(lt,"display","")};Bt&&!ke&&document.addEventListener("click",(function(e){if(Nt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Nt=!1,!1}),!0);var $t=function(e){if(nt){e=e.touches?e.touches[0]:e;var t=(a=e.clientX,n=e.clientY,Ot.some((function(e){var t=e[Je].options.emptyInsertThreshold;if(t&&!Ye(e)){var o=je(e),r=a>=o.left-t&&a<=o.right+t,l=n>=o.top-t&&n<=o.bottom+t;return r&&l?i=e:void 0}})),i);if(t){var o={};for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[Je]._onDragOver(o)}}var a,n,i},Vt=function(e){nt&&nt.parentNode[Je]._isOutsideThisEl(e.target)};function Zt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=be({},t),e[Je]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Yt(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window&&!De,emptyInsertThreshold:5};for(var r in tt.initializePlugins(this,e,o),o)!(r in t)&&(t[r]=o[r]);for(var a in Lt(t),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&Ft,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Re(e,"pointerdown",this._onTapStart):(Re(e,"mousedown",this._onTapStart),Re(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Re(e,"dragover",this),Re(e,"dragenter",this)),Ot.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),be(this,Ke())}function qt(e,t,o,r,a,n,i,l){var s,d,u=e[Je],c=u.options.onMove;return!window.CustomEvent||we||_e?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=o,s.draggedRect=r,s.related=a||t,s.relatedRect=n||je(t),s.willInsertAfter=l,s.originalEvent=i,e.dispatchEvent(s),c&&(d=c.call(u,s,i)),d}function Jt(e){e.draggable=!1}function Kt(){Mt=!1}function Qt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,r=0;o--;)r+=t.charCodeAt(o);return r.toString(36)}function eo(e){return setTimeout(e,0)}function to(e){return clearTimeout(e)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(kt=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,nt):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,r=this.options,a=r.preventOnFilter,n=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(i||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,d=r.filter;if(function(e){Pt.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var r=t[o];r.checked&&Pt.push(r)}}(o),!nt&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||r.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!De||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=Oe(l,r.draggable,o,!1))&&l.animated||ut===l)){if(ht=Le(l),ft=Le(l,r.draggable),"function"==typeof d){if(d.call(this,e,l,this))return at({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:o,fromEl:o}),rt("filter",t,{evt:e}),void(a&&e.cancelable&&e.preventDefault())}else if(d&&(d=d.split(",").some((function(r){if(r=Oe(s,r.trim(),o,!1))return at({sortable:t,rootEl:r,name:"filter",targetEl:l,fromEl:o,toEl:o}),rt("filter",t,{evt:e}),!0}))))return void(a&&e.cancelable&&e.preventDefault());r.handle&&!Oe(s,r.handle,o,!1)||this._prepareDragStart(e,i,l)}}},_prepareDragStart:function(e,t,o){var r,a=this,n=a.el,i=a.options,l=n.ownerDocument;if(o&&!nt&&o.parentNode===n){var s=je(o);if(st=n,it=(nt=o).parentNode,dt=nt.nextSibling,ut=o,vt=i.group,Zt.dragged=nt,yt={target:nt,clientX:(t||e).clientX,clientY:(t||e).clientY},St=yt.clientX-s.left,Dt=yt.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,nt.style["will-change"]="all",r=function(){rt("delayEnded",a,{evt:e}),Zt.eventCanceled?a._onDrop():(a._disableDelayedDragEvents(),!Se&&a.nativeDraggable&&(nt.draggable=!0),a._triggerDragStart(e,t),at({sortable:a,name:"choose",originalEvent:e}),He(nt,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){Be(nt,e.trim(),Jt)})),Re(l,"dragover",$t),Re(l,"mousemove",$t),Re(l,"touchmove",$t),Re(l,"mouseup",a._onDrop),Re(l,"touchend",a._onDrop),Re(l,"touchcancel",a._onDrop),Se&&this.nativeDraggable&&(this.options.touchStartThreshold=4,nt.draggable=!0),rt("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(_e||we))r();else{if(Zt.eventCanceled)return void this._onDrop();Re(l,"mouseup",a._disableDelayedDrag),Re(l,"touchend",a._disableDelayedDrag),Re(l,"touchcancel",a._disableDelayedDrag),Re(l,"mousemove",a._delayedDragTouchMoveHandler),Re(l,"touchmove",a._delayedDragTouchMoveHandler),i.supportPointer&&Re(l,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(r,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){nt&&Jt(nt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Te(e,"mouseup",this._disableDelayedDrag),Te(e,"touchend",this._disableDelayedDrag),Te(e,"touchcancel",this._disableDelayedDrag),Te(e,"mousemove",this._delayedDragTouchMoveHandler),Te(e,"touchmove",this._delayedDragTouchMoveHandler),Te(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Re(document,"pointermove",this._onTouchMove):Re(document,t?"touchmove":"mousemove",this._onTouchMove):(Re(nt,"dragend",this),Re(st,"dragstart",this._onDragStart));try{document.selection?eo((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(o){}},_dragStarted:function(e,t){if(It=!1,st&&nt){rt("dragStarted",this,{evt:t}),this.nativeDraggable&&Re(document,"dragover",Vt);var o=this.options;!e&&He(nt,o.dragClass,!1),He(nt,o.ghostClass,!0),Zt.active=this,e&&this._appendGhost(),at({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(xt){this._lastX=xt.clientX,this._lastY=xt.clientY,Gt();for(var e=document.elementFromPoint(xt.clientX,xt.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(xt.clientX,xt.clientY))!==t;)t=e;if(nt.parentNode[Je]._isOutsideThisEl(e),t)do{if(t[Je]){if(t[Je]._onDragOver({clientX:xt.clientX,clientY:xt.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ut()}},_onTouchMove:function(e){if(yt){var t=this.options,o=t.fallbackTolerance,r=t.fallbackOffset,a=e.touches?e.touches[0]:e,n=lt&&Pe(lt,!0),i=lt&&n&&n.a,l=lt&&n&&n.d,s=zt&&Tt&&Ge(Tt),d=(a.clientX-yt.clientX+r.x)/(i||1)+(s?s[0]-Ht[0]:0)/(i||1),u=(a.clientY-yt.clientY+r.y)/(l||1)+(s?s[1]-Ht[1]:0)/(l||1);if(!Zt.active&&!It){if(o&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))r.right+a||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+a}(e,a,this)&&!f.animated){if(f===nt)return N(!1);if(f&&n===e.target&&(i=f),i&&(o=je(i)),!1!==qt(st,n,nt,t,i,o,e,!!i))return I(),f&&f.nextSibling?n.insertBefore(nt,f.nextSibling):n.appendChild(nt),it=n,O(),N(!0)}else if(f&&function(e,t,o){var r=je(Xe(o.el,0,o.options,!0)),a=10;return t?e.clientXu+d*n/2:sc-Rt)return-Et}else if(s>u+d*(1-a)/2&&sc-d*n/2))return s>u+d/2?1:-1;return 0}(e,i,o,a,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Wt,kt===i),0!==v){var C=Le(nt);do{C-=v,y=it.children[C]}while(y&&("none"===Me(y,"display")||y===lt))}if(0===v||y===i)return N(!1);kt=i,Et=v;var k=i.nextElementSibling,E=!1,R=qt(st,n,nt,t,i,o,e,E=1===v);if(!1!==R)return 1!==R&&-1!==R||(E=1===R),Mt=!0,setTimeout(Kt,30),I(),E&&!k?n.appendChild(nt):i.parentNode.insertBefore(nt,E?k:i),S&&Ze(S,0,D-S.scrollTop),it=nt.parentNode,void 0===b||Wt||(Rt=Math.abs(b-je(i)[_])),O(),N(!0)}if(n.contains(nt))return N(!1)}return!1}function T(l,s){rt(l,h,fe({evt:e,isOwner:u,axis:a?"vertical":"horizontal",revert:r,dragRect:t,targetRect:o,canSort:c,fromSortable:p,target:i,completed:N,onMove:function(o,r){return qt(st,n,nt,t,o,je(o),e,r)},changed:O},s))}function I(){T("dragOverAnimationCapture"),h.captureAnimationState(),h!==p&&p.captureAnimationState()}function N(t){return T("dragOverCompleted",{insertion:t}),t&&(u?d._hideClone():d._showClone(h),h!==p&&(He(nt,bt?bt.options.ghostClass:d.options.ghostClass,!1),He(nt,l.ghostClass,!0)),bt!==h&&h!==Zt.active?bt=h:h===Zt.active&&bt&&(bt=null),p===h&&(h._ignoreWhileAnimating=i),h.animateAll((function(){T("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(i===nt&&!nt.animated||i===n&&!i.animated)&&(kt=null),l.dragoverBubble||e.rootEl||i===document||(nt.parentNode[Je]._isOutsideThisEl(e.target),!t&&$t(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function O(){mt=Le(nt),gt=Le(nt,l.draggable),at({sortable:h,name:"change",toEl:n,newIndex:mt,newDraggableIndex:gt,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Te(document,"mousemove",this._onTouchMove),Te(document,"touchmove",this._onTouchMove),Te(document,"pointermove",this._onTouchMove),Te(document,"dragover",$t),Te(document,"mousemove",$t),Te(document,"touchmove",$t)},_offUpEvents:function(){var e=this.el.ownerDocument;Te(e,"mouseup",this._onDrop),Te(e,"touchend",this._onDrop),Te(e,"pointerup",this._onDrop),Te(e,"touchcancel",this._onDrop),Te(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;mt=Le(nt),gt=Le(nt,o.draggable),rt("drop",this,{evt:e}),it=nt&&nt.parentNode,mt=Le(nt),gt=Le(nt,o.draggable),Zt.eventCanceled||(It=!1,Wt=!1,At=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),to(this.cloneId),to(this._dragStartId),this.nativeDraggable&&(Te(document,"drop",this),Te(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),De&&Me(document.body,"user-select",""),Me(nt,"transform",""),e&&(Ct&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),lt&<.parentNode&<.parentNode.removeChild(lt),(st===it||bt&&"clone"!==bt.lastPutMode)&&ct&&ct.parentNode&&ct.parentNode.removeChild(ct),nt&&(this.nativeDraggable&&Te(nt,"dragend",this),Jt(nt),nt.style["will-change"]="",Ct&&!It&&He(nt,bt?bt.options.ghostClass:this.options.ghostClass,!1),He(nt,this.options.chosenClass,!1),at({sortable:this,name:"unchoose",toEl:it,newIndex:null,newDraggableIndex:null,originalEvent:e}),st!==it?(mt>=0&&(at({rootEl:it,name:"add",toEl:it,fromEl:st,originalEvent:e}),at({sortable:this,name:"remove",toEl:it,originalEvent:e}),at({rootEl:it,name:"sort",toEl:it,fromEl:st,originalEvent:e}),at({sortable:this,name:"sort",toEl:it,originalEvent:e})),bt&&bt.save()):mt!==ht&&mt>=0&&(at({sortable:this,name:"update",toEl:it,originalEvent:e}),at({sortable:this,name:"sort",toEl:it,originalEvent:e})),Zt.active&&(null!=mt&&-1!==mt||(mt=ht,gt=ft),at({sortable:this,name:"end",toEl:it,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),st=nt=it=lt=dt=ct=ut=pt=yt=xt=Ct=mt=gt=ht=ft=kt=Et=bt=vt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Pt.forEach((function(e){e.checked=!0})),Pt.length=wt=_t=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":nt&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,r=0,a=o.length,n=this.options;r-1&&e%1==0&&e<=Zo}(e.length)&&!function(e){if(!Ao(e))return!1;var t=Ro(e);return t==Lo||t==Go||t==Yo||t==Uo}(e)}function Jo(e,t,o){if(!Ao(o))return!1;var r=typeof t;return!!("number"==r?qo(o)&&function(e,t){var o=typeof e;return!!(t=null==t?$o:t)&&("number"==o||"symbol"!=o&&Vo.test(e))&&e>-1&&e%1==0&&e"decorate"==o.mode?o:t.data));return h((()=>{if("decorate"==o.mode){var e=document.getElementById("componentList");const t=Zt.create(e,{group:"draggable-element",animation:200,onEnd:e=>{let r=o.value[e.oldIndex];o.value.splice(e.oldIndex,1),o.value.splice(e.newIndex,0,r),V((()=>{t.sort(or(o.value.length).map((e=>e.toString()))),o.postMessage(e.newIndex,o.value[e.newIndex])}))}})}})),(e,l)=>{const s=f(g("diy-addon-list"),oe),d=f(g("diy-graphic-nav"),re),u=f(g("diy-horz-blank"),ae),c=f(g("diy-hot-area"),ne),p=f(g("diy-image-ads"),ie),h=f(g("diy-member-info"),le),m=f(g("diy-rubik-cube"),se),_=f(g("diy-text"),de),C=T,k=f(g("tabbar"),he);return a(),n(C,{class:"diy-group",id:"componentList"},{default:i((()=>[(a(!0),v(b,null,y(w(r).value,((e,r)=>(a(),n(C,{key:e.id,onClick:t=>w(o).changeCurrentIndex(r,e),class:x(["draggable-element relative cursor-move",{selected:w(o).currentIndex==r,decorate:"decorate"==w(o).mode}]),style:E(e.pageStyle)},{default:i((()=>["AddonList"==e.componentName?(a(),n(s,{key:0,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"GraphicNav"==e.componentName?(a(),n(d,{key:1,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"HorzBlank"==e.componentName?(a(),n(u,{key:2,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"HotArea"==e.componentName?(a(),n(c,{key:3,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"ImageAds"==e.componentName?(a(),n(p,{key:4,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"MemberInfo"==e.componentName?(a(),n(h,{key:5,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"RubikCube"==e.componentName?(a(),n(m,{key:6,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"Text"==e.componentName?(a(),n(_,{key:7,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0)])),_:2},1032,["onClick","class","style"])))),128)),""==w(o).mode&&w(r).global.bottomTabBarSwitch?(a(),v(b,{key:0},[S(C,{class:"pt-[20rpx]"}),S(k)],64)):D("v-if",!0)])),_:1})}}}),[["__scopeId","data-v-53e18a04"]]),ar=s({__name:"index",props:["data","pullDownRefresh"],setup(e){const t=e;return(e,o)=>{const r=f(g("diy-group"),rr),l=T;return a(),n(l,null,{default:i((()=>[C(" 固定模板示例,我也可以装修 "),D(" 自定义模板渲染 "),S(r,{data:t.data,pullDownRefresh:t.pullDownRefresh},null,8,["data","pullDownRefresh"])])),_:1})}}}),nr=J(s({__name:"index",props:["data","pullDownRefresh"],setup(e){const t=e;return(e,o)=>{const r=f(g("fixed-demo-index"),ar),l=T;return a(),n(l,{class:"fixed-group"},{default:i((()=>["demo-index"==t.data.global.component?(a(),n(r,{key:0,data:t.data,pullDownRefresh:t.pullDownRefresh},null,8,["data","pullDownRefresh"])):D("v-if",!0)])),_:1})}}}),[["__scopeId","data-v-f957fab9"]]);export{rr as _,nr as a}; diff --git a/niucloud/public/wap/assets/list-c9622c2a.css b/niucloud/public/wap/assets/list-c9622c2a.css deleted file mode 100644 index 0c86977e8..000000000 --- a/niucloud/public/wap/assets/list-c9622c2a.css +++ /dev/null @@ -1 +0,0 @@ -uni-view[data-v-7ec77839],uni-scroll-view[data-v-7ec77839],uni-swiper-item[data-v-7ec77839]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[type=search][data-v-7ec77839]::-webkit-search-decoration{display:none}.u-search[data-v-7ec77839]{display:flex;flex-direction:row;align-items:center;flex:1}.u-search__content[data-v-7ec77839]{display:flex;flex-direction:row;align-items:center;padding:0 10px;flex:1;justify-content:space-between;border-width:1px;border-color:transparent;border-style:solid;overflow:hidden}.u-search__content__icon[data-v-7ec77839]{display:flex;flex-direction:row;align-items:center}.u-search__content__label[data-v-7ec77839]{color:#303133;font-size:14px;margin:0 4px}.u-search__content__close[data-v-7ec77839]{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82)}.u-search__content__input[data-v-7ec77839]{flex:1;font-size:14px;line-height:1;margin:0 5px;color:#303133}.u-search__content__input--placeholder[data-v-7ec77839]{color:#909193}.u-search__action[data-v-7ec77839]{font-size:14px;color:#303133;width:0;overflow:hidden;transition-property:width;transition-duration:.3s;white-space:nowrap;text-align:center}.u-search__action--active[data-v-7ec77839]{width:40px;margin-left:5px}.nav-item.active[data-v-ace1db76]{color:var(--primary-color)}.scroll-view-wrap[data-v-ace1db76]{word-break:keep-all}.using-hidden[data-v-ace1db76]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:break-spaces}.multi-hidden[data-v-ace1db76]{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical} diff --git a/niucloud/public/wap/assets/locale-en-pages.setting.index.b1f97200.js b/niucloud/public/wap/assets/locale-en-pages.setting.index.b1f97200.js deleted file mode 100644 index e21eca4ed..000000000 --- a/niucloud/public/wap/assets/locale-en-pages.setting.index.b1f97200.js +++ /dev/null @@ -1 +0,0 @@ -const t="Personal settings",o="Switch language",s="Version",e="Log out",n={personalSettings:"Personal settings",switchLang:"Switch language",version:"Version",logout:"Log out"};export{n as default,e as logout,t as personalSettings,o as switchLang,s as version}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.article.detail.0050a1c5.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.article.detail.0050a1c5.js deleted file mode 100644 index 5e532a56c..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.article.detail.0050a1c5.js +++ /dev/null @@ -1 +0,0 @@ -const t="文章详情",a="摘要",e="正在加载",d={detail:"文章详情",abstract:"摘要",loadingText:"正在加载"};export{a as abstract,d as default,t as detail,e as loadingText}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.article.list.5ad66381.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.article.list.5ad66381.js deleted file mode 100644 index 1244816d1..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.article.list.5ad66381.js +++ /dev/null @@ -1 +0,0 @@ -const a="文章列表",e="~ 暂无数据 ~",l="全部",t="-- 到底了 --",o="请输入搜索关键词",s={list:"文章列表",noData:"~ 暂无数据 ~",all:"全部",end:"-- 到底了 --",searchPlaceholder:"请输入搜索关键词"};export{l as all,s as default,t as end,a as list,e as noData,o as searchPlaceholder}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.bind.52381448.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.bind.52381448.js deleted file mode 100644 index c021de353..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.bind.52381448.js +++ /dev/null @@ -1 +0,0 @@ -const e="绑定手机号",i="绑定",l="绑定中",d="请阅读并同意",o="请勾选已阅读并同意",a="请输入手机号",n="请输入验证码",r="微信用户一键绑定",b={bindMobile:"绑定手机号",bind:"绑定",binding:"绑定中",agreeTips:"请阅读并同意",pleaceAgree:"请勾选已阅读并同意",mobilePlaceholder:"请输入手机号",codePlaceholder:"请输入验证码",weixinUserAuth:"微信用户一键绑定"};export{d as agreeTips,i as bind,e as bindMobile,l as binding,n as codePlaceholder,b as default,a as mobilePlaceholder,o as pleaceAgree,r as weixinUserAuth}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.login.fece8bf2.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.login.fece8bf2.js deleted file mode 100644 index e7d07e736..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.login.fece8bf2.js +++ /dev/null @@ -1 +0,0 @@ -const e="登录中",o="请输入账号",a="请输入密码",l="忘记密码",n="还没有账号",r="去注册",s="和",i="登录代表您同意",d="密码登录",t="验证码登录",c="请输入手机号",g={logining:"登录中",usernamePlaceholder:"请输入账号",passwordPlaceholder:"请输入密码",resetpwd:"忘记密码",noAccount:"还没有账号",toRegister:"去注册",and:"和",agreeTips:"登录代表您同意",usernameLogin:"密码登录",mobileLogin:"验证码登录",mobilePlaceholder:"请输入手机号"};export{i as agreeTips,s as and,g as default,e as logining,t as mobileLogin,c as mobilePlaceholder,n as noAccount,a as passwordPlaceholder,l as resetpwd,r as toRegister,d as usernameLogin,o as usernamePlaceholder}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.register.08253b92.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.register.08253b92.js deleted file mode 100644 index 882877b49..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.register.08253b92.js +++ /dev/null @@ -1 +0,0 @@ -const e="注册中",r="请输入账号",o="请输入密码",s="请再次确认密码",a="两次输入的密码不一致",i="忘记密码",l="已有账号",d="去登录",t="和",c="注册代表您同意",n="账号注册",g="手机号注册",m="请输入手机号",P={registering:"注册中",usernamePlaceholder:"请输入账号",passwordPlaceholder:"请输入密码",confirmPasswordPlaceholder:"请再次确认密码",confirmPasswordError:"两次输入的密码不一致",resetpwd:"忘记密码",haveAccount:"已有账号",toLogin:"去登录",and:"和",registerAgreeTips:"注册代表您同意",usernameRegister:"账号注册",mobileRegister:"手机号注册",mobilePlaceholder:"请输入手机号"};export{t as and,a as confirmPasswordError,s as confirmPasswordPlaceholder,P as default,l as haveAccount,m as mobilePlaceholder,g as mobileRegister,o as passwordPlaceholder,c as registerAgreeTips,e as registering,i as resetpwd,d as toLogin,r as usernamePlaceholder,n as usernameRegister}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.resetpwd.50c84166.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.resetpwd.50c84166.js deleted file mode 100644 index 4e9188e1a..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.auth.resetpwd.50c84166.js +++ /dev/null @@ -1 +0,0 @@ -const r="找回密码",o="请输入密码",s="请再次确认密码",a="两次输入的密码不一致",d={findPassword:"找回密码",passwordPlaceholder:"请输入密码",confirmPasswordPlaceholder:"请再次确认密码",confirmPasswordError:"两次输入的密码不一致"};export{a as confirmPasswordError,s as confirmPasswordPlaceholder,d as default,r as findPassword,o as passwordPlaceholder}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.index.develop.e1f957b5.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.index.develop.e1f957b5.js deleted file mode 100644 index 8658f0226..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.index.develop.e1f957b5.js +++ /dev/null @@ -1 +0,0 @@ -const e="开发环境配置",I="API请求地址",l="图片服务器地址",t="站点ID(VITE_SITE_ID)",a="请输入站点ID",d="请输入数字",r="最大不能超过",s={developTitle:"开发环境配置",baseUrl:"API请求地址",imgUrl:"图片服务器地址",siteId:"站点ID(VITE_SITE_ID)",siteIdPlaceholder:"请输入站点ID",pleaseEnterNumber:"请输入数字",maximumCannotExceed:"最大不能超过"};export{I as baseUrl,s as default,e as developTitle,l as imgUrl,r as maximumCannotExceed,d as pleaseEnterNumber,t as siteId,a as siteIdPlaceholder}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.account.92769559.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.account.92769559.js deleted file mode 100644 index 9ed478163..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.account.92769559.js +++ /dev/null @@ -1 +0,0 @@ -const a="支付宝账号",d="添加银行卡",n="添加支付宝账号",c="尾号",o="银行卡",t={alipayAccountNo:"支付宝账号",addBankCard:"添加银行卡",addAlipayAccount:"添加支付宝账号",endNumber:"尾号",bankCard:"银行卡"};export{n as addAlipayAccount,d as addBankCard,a as alipayAccountNo,o as bankCard,t as default,c as endNumber}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.account_edit.aa4db7d8.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.account_edit.aa4db7d8.js deleted file mode 100644 index 22ab409a8..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.account_edit.aa4db7d8.js +++ /dev/null @@ -1 +0,0 @@ -const a="添加银行卡",e="请添加持卡人本人的银行卡",l="添加支付宝账号",n="请添加已实名的支付宝账号",c="持卡人姓名",o="请输入持卡人姓名",d="银行名称",t="请输入银行名称",i="银行卡号",p="请输入银行卡号",r="真实姓名",k="请输入真实姓名",A="支付宝账号",m="请输入支付宝账号",u="确定要删除该账号吗?",b={addBankCard:"添加银行卡",addBankCardTips:"请添加持卡人本人的银行卡",addAlipayAccount:"添加支付宝账号",addAlipayAccountTips:"请添加已实名的支付宝账号",bankRealname:"持卡人姓名",bankRealnamePlaceholder:"请输入持卡人姓名",bankName:"银行名称",bankNamePlaceholder:"请输入银行名称",bankAccountNo:"银行卡号",bankAccountNoPlaceholder:"请输入银行卡号",alipayRealname:"真实姓名",alipayRealnamePlaceholder:"请输入真实姓名",alipayAccountNo:"支付宝账号",alipayAccountNoPlaceholder:"请输入支付宝账号",deleteConfirm:"确定要删除该账号吗?"};export{l as addAlipayAccount,n as addAlipayAccountTips,a as addBankCard,e as addBankCardTips,A as alipayAccountNo,m as alipayAccountNoPlaceholder,r as alipayRealname,k as alipayRealnamePlaceholder,i as bankAccountNo,p as bankAccountNoPlaceholder,d as bankName,t as bankNamePlaceholder,c as bankRealname,o as bankRealnamePlaceholder,b as default,u as deleteConfirm}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.apply_cash_out.39ef1862.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.apply_cash_out.39ef1862.js deleted file mode 100644 index 7094543a6..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.apply_cash_out.39ef1862.js +++ /dev/null @@ -1 +0,0 @@ -const a="提现",o="余额明细",e="提现到",t="请选择提现方式",c="微信默认钱包",l="提现金额",s="可提现余额",p="全部提现",h="最小提现金额为",i="手续费为",n="提现记录",y="提现至微信",T="提现至微信零钱",u="提现至支付宝",O="请先添加支付宝账号",r="提现至银行卡",d="请先添加银行卡",m="支付宝账号",A="储蓄卡",b="异常操作",M="没有可用的提现方式",w="请输入提现金额",x="提现金额格式错误",B="提现金额超出可提现金额",W="提现金额小于最低提现金额",f="更换",k="去添加",C={cashOut:"提现",balanceDetail:"余额明细",cashOutTo:"提现到",cashOutTypePlaceholder:"请选择提现方式",wechatpay:"微信默认钱包",cashOutMoneyTip:"提现金额",money:"可提现余额",allTx:"全部提现",minWithdrawal:"最小提现金额为",commissionTo:"手续费为",cashOutList:"提现记录",cashOutToWechat:"提现至微信",cashOutToWechatTips:"提现至微信零钱",cashOutToAlipay:"提现至支付宝",cashOutToAlipayTips:"请先添加支付宝账号",cashOutToBank:"提现至银行卡",cashOutToBankTips:"请先添加银行卡",alipayAccountNo:"支付宝账号",debitCard:"储蓄卡",abnormalOperation:"异常操作",noAvailableCashOutType:"没有可用的提现方式",applyMoneyPlaceholder:"请输入提现金额",moneyformatError:"提现金额格式错误",applyMoneyExceed:"提现金额超出可提现金额",applyMoneyBelow:"提现金额小于最低提现金额",replace:"更换",toAdd:"去添加"};export{b as abnormalOperation,m as alipayAccountNo,p as allTx,W as applyMoneyBelow,B as applyMoneyExceed,w as applyMoneyPlaceholder,o as balanceDetail,a as cashOut,n as cashOutList,l as cashOutMoneyTip,e as cashOutTo,u as cashOutToAlipay,O as cashOutToAlipayTips,r as cashOutToBank,d as cashOutToBankTips,y as cashOutToWechat,T as cashOutToWechatTips,t as cashOutTypePlaceholder,i as commissionTo,A as debitCard,C as default,h as minWithdrawal,s as money,x as moneyformatError,M as noAvailableCashOutType,f as replace,k as toAdd,c as wechatpay}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.balance.83d25bfd.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.balance.83d25bfd.js deleted file mode 100644 index 6144e1280..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.balance.83d25bfd.js +++ /dev/null @@ -1 +0,0 @@ -const a="我的余额",e="充值",c="提现",r="余额明细",l="账户余额(元)",n="余额(元)",o="可提现余额(元)",t="可用余额",h="充值金额错误",u="立即充值",g="请输入充值金额",b="元",d="充值记录",i={balanceInfo:"我的余额",recharge:"充值",cashOut:"提现",balanceDetail:"余额明细",accountBalance:"账户余额(元)",balance:"余额(元)",money:"可提现余额(元)",availableBalance:"可用余额",rechargeAmountError:"充值金额错误",clickRecharge:"立即充值",rechargeAmountPlaceholder:"请输入充值金额",yuan:"元",rechargeRecord:"充值记录"};export{l as accountBalance,t as availableBalance,n as balance,r as balanceDetail,a as balanceInfo,c as cashOut,u as clickRecharge,i as default,o as money,e as recharge,h as rechargeAmountError,g as rechargeAmountPlaceholder,d as rechargeRecord,b as yuan}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.cash_out.ef838d77.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.cash_out.ef838d77.js deleted file mode 100644 index ae8191c7a..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.cash_out.ef838d77.js +++ /dev/null @@ -1 +0,0 @@ -const e="申请时间",a="官方正在审核,请耐心等待",t="官方正在转账,请耐心等待",i="官方已转账,请及时查收",p="申请已取消",s="余额记录",l="佣金记录",m="暂无余额记录",o="暂无佣金记录",c={applyTime:"申请时间",toBeReviewed:"官方正在审核,请耐心等待",toBeTransfer:"官方正在转账,请耐心等待",transfer:"官方已转账,请及时查收",cancelApply:"申请已取消",balanceDetail:"余额记录",commissionDetail:"佣金记录",emptyTip:"暂无余额记录",commissemptyTip:"暂无佣金记录"};export{e as applyTime,s as balanceDetail,p as cancelApply,o as commissemptyTip,l as commissionDetail,c as default,m as emptyTip,a as toBeReviewed,t as toBeTransfer,i as transfer}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.cash_out_detail.41b725ee.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.cash_out_detail.41b725ee.js deleted file mode 100644 index f4569c19f..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.cash_out_detail.41b725ee.js +++ /dev/null @@ -1 +0,0 @@ -const e="当前状态",a="交易号",t="手续费",r="申请时间",s="审核时间",n="银行名称",c="收款账号",f="拒绝理由",o="转账方式名称",u="转账时间",i={statusName:"当前状态",cashOutNo:"交易号",serviceMoney:"手续费",createTime:"申请时间",auditTime:"审核时间",transferBank:"银行名称",transferAccount:"收款账号",refuseReason:"拒绝理由",transferTypeName:"转账方式名称",transferTime:"转账时间"};export{s as auditTime,a as cashOutNo,r as createTime,i as default,f as refuseReason,t as serviceMoney,e as statusName,c as transferAccount,n as transferBank,u as transferTime,o as transferTypeName}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.commission.f9e3b120.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.commission.f9e3b120.js deleted file mode 100644 index 2ca6bbbea..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.commission.f9e3b120.js +++ /dev/null @@ -1 +0,0 @@ -const o="充值",e="提现",a="佣金明细",c="账户佣金(元)",i="累计佣金(元)",m="提现中佣金(元)",s="可用佣金",n="充值金额错误",r="立即充值",t="请输入充值金额",l="元",h="我的佣金",u={recharge:"充值",cashOut:"提现",commissionDetail:"佣金明细",accountCommission:"账户佣金(元)",commission:"累计佣金(元)",money:"提现中佣金(元)",availableCommission:"可用佣金",rechargeAmountError:"充值金额错误",clickRecharge:"立即充值",rechargeAmountPlaceholder:"请输入充值金额",yuan:"元",commissionInfo:"我的佣金"};export{c as accountCommission,s as availableCommission,e as cashOut,r as clickRecharge,i as commission,a as commissionDetail,h as commissionInfo,u as default,m as money,o as recharge,n as rechargeAmountError,t as rechargeAmountPlaceholder,l as yuan}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.detailed_account.f295af98.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.detailed_account.f295af98.js deleted file mode 100644 index 4a0e386de..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.detailed_account.f295af98.js +++ /dev/null @@ -1 +0,0 @@ -const e="余额明细",i="佣金明细",t="暂无余额明细",a="暂无佣金明细",m={balanceDetail:"余额明细",commissionDetail:"佣金明细",emptyTip:"暂无余额明细",commissemptyTip:"暂无佣金明细"};export{e as balanceDetail,a as commissemptyTip,i as commissionDetail,m as default,t as emptyTip}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.personal.2e77eb9b.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.personal.2e77eb9b.js deleted file mode 100644 index fd09cf5a4..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.personal.2e77eb9b.js +++ /dev/null @@ -1 +0,0 @@ -const a="昵称",e="性别",n="手机号",i="生日",d="未知",m="更换头像",o="修改昵称",t="男",b="女",u="绑定手机",c={nickname:"昵称",sex:"性别",mobile:"手机号",birthday:"生日",unknown:"未知",updateHeadimg:"更换头像",updateNickname:"修改昵称",man:"男",woman:"女",bindMobile:"绑定手机"};export{u as bindMobile,i as birthday,c as default,t as man,n as mobile,a as nickname,e as sex,d as unknown,m as updateHeadimg,o as updateNickname,b as woman}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.recharge_record.18b1a5e3.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.recharge_record.18b1a5e3.js deleted file mode 100644 index 639013785..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.recharge_record.18b1a5e3.js +++ /dev/null @@ -1 +0,0 @@ -const e="充值记录",r="暂无充值记录",t={rechargeRecord:"充值记录",emptyTip:"暂无充值记录"};export{t as default,r as emptyTip,e as rechargeRecord}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.recharge_record_detail.2677f474.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.recharge_record_detail.2677f474.js deleted file mode 100644 index 1f62bc929..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.recharge_record_detail.2677f474.js +++ /dev/null @@ -1 +0,0 @@ -const e="订单编号",o="创建时间",r={orderNo:"订单编号",createTime:"创建时间"};export{o as createTime,r as default,e as orderNo}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.withdrawal_detail.9c1200d4.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.member.withdrawal_detail.9c1200d4.js deleted file mode 100644 index a0d005424..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.member.withdrawal_detail.9c1200d4.js +++ /dev/null @@ -1 +0,0 @@ -const a="充值",e="提现",c="余额明细",r="账户余额(元)",l="余额(元)",n="可提现余额(元)",o="可用余额",t="充值金额错误",h="立即充值",u="请输入充值金额",g="元",b={recharge:"充值",cashOut:"提现",balanceDetail:"余额明细",accountBalance:"账户余额(元)",balance:"余额(元)",money:"可提现余额(元)",availableBalance:"可用余额",rechargeAmountError:"充值金额错误",clickRecharge:"立即充值",rechargeAmountPlaceholder:"请输入充值金额",yuan:"元"};export{r as accountBalance,o as availableBalance,l as balance,c as balanceDetail,e as cashOut,h as clickRecharge,b as default,n as money,a as recharge,t as rechargeAmountError,u as rechargeAmountPlaceholder,g as yuan}; diff --git a/niucloud/public/wap/assets/locale-zh-Hans-pages.setting.index.bb67e7cc.js b/niucloud/public/wap/assets/locale-zh-Hans-pages.setting.index.bb67e7cc.js deleted file mode 100644 index b2d6648fa..000000000 --- a/niucloud/public/wap/assets/locale-zh-Hans-pages.setting.index.bb67e7cc.js +++ /dev/null @@ -1 +0,0 @@ -const t="个人设置",o="切换语言",s="版本号",e="退出登录",n={personalSettings:"个人设置",switchLang:"切换语言",version:"版本号",logout:"退出登录"};export{n as default,e as logout,t as personalSettings,o as switchLang,s as version}; diff --git a/niucloud/public/wap/assets/mescroll-empty-40916e41.css b/niucloud/public/wap/assets/mescroll-empty-40916e41.css deleted file mode 100644 index 343d2138d..000000000 --- a/niucloud/public/wap/assets/mescroll-empty-40916e41.css +++ /dev/null @@ -1 +0,0 @@ -.mescroll-empty[data-v-438f1a76]{box-sizing:border-box;width:100%;padding:3.125rem 1.5625rem;text-align:center}.mescroll-empty.empty-fixed[data-v-438f1a76]{z-index:99;position:absolute;top:3.125rem;left:0}.mescroll-empty .empty-icon[data-v-438f1a76]{width:8.75rem;height:8.75rem}.mescroll-empty .empty-tip[data-v-438f1a76]{margin-top:.625rem;font-size:.75rem;color:gray}.mescroll-empty .empty-btn[data-v-438f1a76]{display:inline-block;margin-top:1.25rem;min-width:6.25rem;padding:.5625rem;font-size:.875rem;border:.03125rem solid #e04b28;border-radius:1.875rem;color:#e04b28}.mescroll-empty .empty-btn[data-v-438f1a76]:active{opacity:.75} diff --git a/niucloud/public/wap/assets/mescroll-empty-9f5c0b8e.css b/niucloud/public/wap/assets/mescroll-empty-9f5c0b8e.css new file mode 100644 index 000000000..85ef780fc --- /dev/null +++ b/niucloud/public/wap/assets/mescroll-empty-9f5c0b8e.css @@ -0,0 +1 @@ +.mescroll-empty[data-v-16920704]{box-sizing:border-box;width:100%;padding:3.125rem 1.5625rem;text-align:center}.mescroll-empty.empty-fixed[data-v-16920704]{z-index:99;position:absolute;top:3.125rem;left:0}.mescroll-empty .empty-icon[data-v-16920704]{width:8.75rem;height:8.75rem}.mescroll-empty .empty-tip[data-v-16920704]{margin-top:.625rem;font-size:.75rem;color:gray}.mescroll-empty .empty-btn[data-v-16920704]{display:inline-block;margin-top:1.25rem;min-width:6.25rem;padding:.5625rem;font-size:.875rem;border:.03125rem solid #e04b28;border-radius:1.875rem;color:#e04b28}.mescroll-empty .empty-btn[data-v-16920704]:active{opacity:.75} diff --git a/niucloud/public/wap/assets/mescroll-empty.22c37416.js b/niucloud/public/wap/assets/mescroll-empty.22c37416.js deleted file mode 100644 index 9998bfbbb..000000000 --- a/niucloud/public/wap/assets/mescroll-empty.22c37416.js +++ /dev/null @@ -1 +0,0 @@ -import{h as t,i,w as e,j as n,m as o,D as p,E as s,F as l,n as c,a1 as r,t as a}from"./index-15eacd31.js";import{m,G as u}from"./useMescroll.fbb7af33.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const d=y({props:{option:{type:Object,default:()=>({})}},computed:{icon(){if(null!=this.option.icon)return this.option.icon;{let t=m.getType();return this.option.i18n?this.option.i18n[t].icon:u.i18n[t].up.empty.icon||u.up.empty.icon}},tip(){if(null!=this.option.tip)return this.option.tip;{let t=m.getType();return this.option.i18n?this.option.i18n[t].tip:u.i18n[t].up.empty.tip||u.up.empty.tip}},btnText(){if(this.option.i18n){let t=m.getType();return this.option.i18n[t].btnText}return this.option.btnText}},methods:{emptyClick(){this.$emit("emptyclick")}}},[["render",function(m,u,y,d,h,f){const x=r,T=a;return t(),i(T,{class:l(["mescroll-empty",{"empty-fixed":y.option.fixed}]),style:c({"z-index":y.option.zIndex,top:y.option.top})},{default:e((()=>[n(T,null,{default:e((()=>[f.icon?(t(),i(x,{key:0,class:"empty-icon",src:f.icon,mode:"widthFix"},null,8,["src"])):o("",!0)])),_:1}),f.tip?(t(),i(T,{key:0,class:"empty-tip"},{default:e((()=>[p(s(f.tip),1)])),_:1})):o("",!0),f.btnText?(t(),i(T,{key:1,class:"empty-btn",onClick:f.emptyClick},{default:e((()=>[p(s(f.btnText),1)])),_:1},8,["onClick"])):o("",!0)])),_:1},8,["class","style"])}],["__scopeId","data-v-438f1a76"]]);export{d as M}; diff --git a/niucloud/public/wap/assets/mescroll-empty.8fa55762.js b/niucloud/public/wap/assets/mescroll-empty.8fa55762.js new file mode 100644 index 000000000..5caee06d5 --- /dev/null +++ b/niucloud/public/wap/assets/mescroll-empty.8fa55762.js @@ -0,0 +1 @@ +import{i as t,j as i,w as e,k as o,m as n,K as p,L as s,I as l,p as c,M as r,x as a}from"./index-59b72094.js";import{m,G as u}from"./useMescroll.3e6a9ffa.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const d=y({props:{option:{type:Object,default:()=>({})}},computed:{icon(){if(null!=this.option.icon)return this.option.icon;{let t=m.getType();return this.option.i18n?this.option.i18n[t].icon:u.i18n[t].up.empty.icon||u.up.empty.icon}},tip(){if(null!=this.option.tip)return this.option.tip;{let t=m.getType();return this.option.i18n?this.option.i18n[t].tip:u.i18n[t].up.empty.tip||u.up.empty.tip}},btnText(){if(this.option.i18n){let t=m.getType();return this.option.i18n[t].btnText}return this.option.btnText}},methods:{emptyClick(){this.$emit("emptyclick")}}},[["render",function(m,u,y,d,f,h){const x=r,k=a;return t(),i(k,{class:l(["mescroll-empty",{"empty-fixed":y.option.fixed}]),style:c({"z-index":y.option.zIndex,top:y.option.top})},{default:e((()=>[o(k,null,{default:e((()=>[h.icon?(t(),i(x,{key:0,class:"empty-icon",src:h.icon,mode:"widthFix"},null,8,["src"])):n("v-if",!0)])),_:1}),h.tip?(t(),i(k,{key:0,class:"empty-tip"},{default:e((()=>[p(s(h.tip),1)])),_:1})):n("v-if",!0),h.btnText?(t(),i(k,{key:1,class:"empty-btn",onClick:h.emptyClick},{default:e((()=>[p(s(h.btnText),1)])),_:1},8,["onClick"])):n("v-if",!0)])),_:1},8,["class","style"])}],["__scopeId","data-v-16920704"]]);export{d as M}; diff --git a/niucloud/public/wap/assets/pages-article-detail.27a94da1.js b/niucloud/public/wap/assets/pages-article-detail.27a94da1.js deleted file mode 100644 index 8ca752e0a..000000000 --- a/niucloud/public/wap/assets/pages-article-detail.27a94da1.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,o as t,f as s,h as l,i as r,w as o,l as i,M as n,j as p,D as u,E as d,O as m,m as g,t as x,H as c,p as f,q as b,J as _}from"./index-15eacd31.js";import{_ as h}from"./u-parse.403d1985.js";import{_ as j}from"./u-loading-page.925a187b.js";import{b as y}from"./article.0307362e.js";import{u as v}from"./useShare.3d08f2fc.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.ea8c9ece.js";import"./u-transition.a952a64b.js";import"./wechat.56b0d350.js";const S=e({__name:"detail",setup(e){const{setShare:S,onShareAppMessage:w,onShareTimeline:T}=v();w(),T();let M=a([]),k=a(!0),q={h2:"margin-bottom: 15px;",p:"margin-bottom: 10px;line-height: 1.5;",img:"margin: 10px 0;"};return t((e=>{k.value=!0,y(e.id).then((e=>{M.value=e.data,k.value=!1;let a={title:M.value.title,desc:M.value.intro,url:M.value.image};s({title:M.value.title}),S({wechat:{...a},weapp:{...a}})}))})),(e,a)=>{const t=x,s=c,y=f(b("u-parse"),h),v=f(b("u-loading-page"),j);return l(),r(t,{class:"bg-white"},{default:o((()=>[i(k)?g("",!0):(l(),n(m,{key:0},[p(t,{class:"border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200 p-[10px]"},{default:o((()=>[p(t,{class:"text-[16px]"},{default:o((()=>[u(d(i(M).title),1)])),_:1}),p(t,{class:"flex align-center justify-between text-[12px] text-gray-400 mt-[15px]"},{default:o((()=>[p(s,null,{default:o((()=>[u(d(i(M).create_time),1)])),_:1})])),_:1})])),_:1}),p(t,{class:"mx-[10px] my-[10px] bg-gray-100 p-[8px] text-[14px] rounded-[5px] leading-[1.3]"},{default:o((()=>[u(d(i(_)("abstract"))+":"+d(i(M).summary),1)])),_:1}),p(t,{class:"px-[10px] pd-[10px]"},{default:o((()=>[p(y,{content:i(M).content,tagStyle:i(q)},null,8,["content","tagStyle"])])),_:1})],64)),p(v,{"bg-color":"rgb(248,248,248)",loading:i(k),fontSize:"16",color:"#333",loadingText:i(_)("loadingText")},null,8,["loading","loadingText"])])),_:1})}}});export{S as default}; diff --git a/niucloud/public/wap/assets/pages-article-list.8dce3d3e.js b/niucloud/public/wap/assets/pages-article-list.8dce3d3e.js deleted file mode 100644 index a372f07bd..000000000 --- a/niucloud/public/wap/assets/pages-article-list.8dce3d3e.js +++ /dev/null @@ -1 +0,0 @@ -import{y as e,z as a,A as t,B as l,p as o,q as r,h as s,i as c,w as i,j as n,n as u,C as d,D as h,E as p,m,F as f,G as y,H as g,t as b,I as _,d as x,r as k,o as S,J as w,K as C,l as v,L as I,M as j,N as $,O as A,P as z,Q as B,S as T,x as V,R as M}from"./index-15eacd31.js";import{_ as F}from"./u-icon.f5369555.js";import{_ as N}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as U,a as D}from"./tabbar.e67e4875.js";import{g as H,a as O}from"./article.0307362e.js";import{u as R,M as E}from"./useMescroll.fbb7af33.js";import{M as P}from"./mescroll-empty.22c37416.js";import{u as q}from"./useShare.3d08f2fc.js";import"./u-image.b892f6c4.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";import"./wechat.56b0d350.js";const G=N({name:"u-search",mixins:[a,t,{props:{shape:{type:String,default:e.search.shape},bgColor:{type:String,default:e.search.bgColor},placeholder:{type:String,default:e.search.placeholder},clearabled:{type:Boolean,default:e.search.clearabled},focus:{type:Boolean,default:e.search.focus},showAction:{type:Boolean,default:e.search.showAction},actionStyle:{type:Object,default:e.search.actionStyle},actionText:{type:String,default:e.search.actionText},inputAlign:{type:String,default:e.search.inputAlign},inputStyle:{type:Object,default:e.search.inputStyle},disabled:{type:Boolean,default:e.search.disabled},borderColor:{type:String,default:e.search.borderColor},searchIconColor:{type:String,default:e.search.searchIconColor},color:{type:String,default:e.search.color},placeholderColor:{type:String,default:e.search.placeholderColor},searchIcon:{type:String,default:e.search.searchIcon},searchIconSize:{type:[Number,String],default:e.search.searchIconSize},margin:{type:String,default:e.search.margin},animation:{type:Boolean,default:e.search.animation},modelValue:{type:String,default:e.search.value},value:{type:String,default:e.search.value},maxlength:{type:[String,Number],default:e.search.maxlength},height:{type:[String,Number],default:e.search.height},label:{type:[String,Number,null],default:e.search.label}}}],data(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword(e){this.$emit("update:modelValue",e),this.$emit("change",e)},modelValue:{immediate:!0,handler(e){this.keyword=e}}},computed:{showActionBtn(){return!this.animation&&this.showAction}},emits:["clear","search","custom","focus","blur","click","clickIcon","update:modelValue","change"],methods:{inputChange(e){this.keyword=e.detail.value},clear(){this.keyword="",this.$nextTick((()=>{this.$emit("clear")}))},search(e){this.$emit("search",e.detail.value);try{l()}catch(a){}},custom(){this.$emit("custom",this.keyword);try{l()}catch(e){}},getFocus(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur(){setTimeout((()=>{this.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler(){this.disabled&&this.$emit("click")},clickIcon(){this.$emit("clickIcon")}}},[["render",function(e,a,t,l,x,k){const S=g,w=o(r("u-icon"),F),C=b,v=_;return s(),c(C,{class:"u-search",onClick:k.clickHandler,style:u([{margin:e.margin},e.$u.addStyle(e.customStyle)])},{default:i((()=>[n(C,{class:"u-search__content",style:u({backgroundColor:e.bgColor,borderRadius:"round"==e.shape?"100px":"4px",borderColor:e.borderColor})},{default:i((()=>[e.$slots.label||null!==e.label?d(e.$slots,"label",{key:0},(()=>[n(S,{class:"u-search__content__label"},{default:i((()=>[h(p(e.label),1)])),_:1})]),!0):m("",!0),n(C,{class:"u-search__content__icon"},{default:i((()=>[n(w,{onClick:k.clickIcon,size:e.searchIconSize,name:e.searchIcon,color:e.searchIconColor?e.searchIconColor:e.color},null,8,["onClick","size","name","color"])])),_:1}),n(v,{"confirm-type":"search",onBlur:k.blur,value:x.keyword,onConfirm:k.search,onInput:k.inputChange,disabled:e.disabled,onFocus:k.getFocus,focus:e.focus,maxlength:e.maxlength,"placeholder-class":"u-search__content__input--placeholder",placeholder:e.placeholder,"placeholder-style":`color: ${e.placeholderColor}`,class:"u-search__content__input",type:"text",style:u([{textAlign:e.inputAlign,color:e.color,backgroundColor:e.bgColor,height:e.$u.addUnit(e.height)},e.inputStyle])},null,8,["onBlur","value","onConfirm","onInput","disabled","onFocus","focus","maxlength","placeholder","placeholder-style","style"]),x.keyword&&e.clearabled&&x.focused?(s(),c(C,{key:1,class:"u-search__content__icon u-search__content__close",onClick:k.clear},{default:i((()=>[n(w,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})])),_:1},8,["onClick"])):m("",!0)])),_:3},8,["style"]),n(S,{style:u([e.actionStyle]),class:f(["u-search__action",[(k.showActionBtn||x.show)&&"u-search__action--active"]]),onClick:y(k.custom,["stop","prevent"])},{default:i((()=>[h(p(e.actionText),1)])),_:1},8,["style","class","onClick"])])),_:3},8,["onClick","style"])}],["__scopeId","data-v-7ec77839"]]),J=N(x({__name:"list",setup(e){const{mescrollInit:a,downCallback:t,getMescroll:l}=R(B,z),{setShare:u,onShareAppMessage:d,onShareTimeline:y}=q();u(),d(),y();let _=k([]),x=k([]),N=k(""),J=k(""),K=k(null),L=k(!1);S((async()=>{await H().then((e=>{const a={name:w("all"),category_id:""};_.value.push(a),_.value=_.value.concat(e.data.data)}))}));const Q=e=>{L.value=!1;let a={category_id:N.value,title:J.value,page:e.num,limit:e.size};O(a).then((a=>{let t=a.data.data;1==e.num&&(x.value=[]),x.value=x.value.concat(t),e.endSuccess(t.length),L.value=!0})).catch((()=>{L.value=!0,e.endErr()}))},W=()=>{l().resetUpScroll()};return C((()=>{setTimeout((()=>{l().optUp.textNoMore=w("end")}),500)})),(e,u)=>{const d=o(r("u-search"),G),y=b,k=T,S=o(r("u-icon"),F),C=o(r("u--image"),U),z=g,B=o(r("tabbar"),D);return s(),c(y,{class:"bg-gray-100 min-h-[100vh]"},{default:i((()=>[n(y,{class:"fixed top-0 inset-x-0 z-10"},{default:i((()=>[n(y,{class:"p-[10px] bg-white border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200"},{default:i((()=>[n(d,{placeholder:v(w)("searchPlaceholder"),actionText:"",actionStyle:{width:0,margin:0},modelValue:v(J),"onUpdate:modelValue":u[0]||(u[0]=e=>I(J)?J.value=e:J=e),onClickIcon:W},null,8,["placeholder","modelValue"])])),_:1}),n(k,{"scroll-x":!0,"enable-flex":!0,class:"nav-list bg-white align-center px-[10px] box-border"},{default:i((()=>[n(y,{class:"flex scroll-view-wrap"},{default:i((()=>[(s(!0),j(A,null,$(v(_),((e,a)=>(s(),c(y,{class:f(["nav-item text-[14px] mx-[5px] h-[30px] leading-[30px] my-[5px] border-t-0 border-l-0 border-r-0",{"border-solid border-b-[2px] active":v(N)==e.category_id}]),onClick:a=>{return t=e.category_id,N.value=t,void l().resetUpScroll();var t},key:e.category_id},{default:i((()=>[h(p(e.name),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1}),n(E,{ref_key:"mescrollRef",ref:K,onInit:v(a),top:"220rpx",onDown:v(t),onUp:Q},{default:i((()=>[(s(!0),j(A,null,$(v(x),((e,a)=>(s(),c(y,{key:e.id,class:f(["bg-white flex align-center p-[10px]",{"border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200":v(x).length-1!==a}]),onClick:a=>{return t=e.id,void M({url:"/pages/article/detail",param:{id:t}});var t}},{default:i((()=>[e.image?(s(),c(C,{key:0,width:"260rpx",height:"200rpx",src:v(V)(e.image),model:"aspectFill"},{error:i((()=>[n(S,{name:"photo",color:"#999",size:"50"})])),_:2},1032,["src"])):m("",!0),n(y,{class:"flex-1 flex flex-col justify-between ml-[10px]"},{default:i((()=>[n(y,{class:"text-[16px] leading-[1.3] multi-hidden mt-[2px]"},{default:i((()=>[h(p(e.title),1)])),_:2},1024),n(y,{class:"text-[14px] using-hidden mb-[auto] mt-[10px] text-gray-500"},{default:i((()=>[h(p(e.summary),1)])),_:2},1024),n(y,{class:"text-[12px] text-gray-400 flex justify-between mb-[5px]"},{default:i((()=>[n(z,{class:""},{default:i((()=>[h(p(e.create_time),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128)),!v(x).length&&v(L)?(s(),c(P,{key:0})):m("",!0)])),_:1},8,["onInit","onDown"]),n(B)])),_:1})}}}),[["__scopeId","data-v-ace1db76"]]);export{J as default}; diff --git a/niucloud/public/wap/assets/pages-auth-agreement.016f9147.js b/niucloud/public/wap/assets/pages-auth-agreement.016f9147.js deleted file mode 100644 index f049c68ab..000000000 --- a/niucloud/public/wap/assets/pages-auth-agreement.016f9147.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,o as t,T as s,f as n,h as r,i as l,w as o,j as u,m as p,p as i,q as m,t as c}from"./index-15eacd31.js";import{_ as d}from"./u-parse.403d1985.js";import"./_plugin-vue_export-helper.1b428a4d.js";const _=a({__name:"agreement",setup(a){const _=e(null);return t((a=>{s(a.key).then((a=>{_.value=a.data,n({title:a.data.title})}))})),(a,e)=>{const t=i(m("u-parse"),d),s=c;return _.value?(r(),l(s,{key:0,class:"p-[30rpx]"},{default:o((()=>[u(t,{content:_.value.content},null,8,["content"])])),_:1})):p("",!0)}}});export{_ as default}; diff --git a/niucloud/public/wap/assets/pages-auth-bind.c0b8d2eb.js b/niucloud/public/wap/assets/pages-auth-bind.c0b8d2eb.js deleted file mode 100644 index a74a4b216..000000000 --- a/niucloud/public/wap/assets/pages-auth-bind.c0b8d2eb.js +++ /dev/null @@ -1 +0,0 @@ -import{y as e,z as t,A as a,p as l,q as o,h as i,i as r,w as s,j as n,F as c,G as u,n as h,C as d,D as p,E as b,t as m,H as f,d as k,U as C,c as g,r as x,a as _,J as y,l as S,m as D,V as v,W as z,R as V,X as $,Y as w}from"./index-15eacd31.js";import{_ as B}from"./u-input.4212a359.js";import{_ as G,a as j}from"./u-form.84a1fd52.js";import{_ as P}from"./sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js";import{_ as I}from"./u-icon.f5369555.js";import{_ as H}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as T}from"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import{_ as L}from"./u-button.5c85e6cc.js";import"./u-line.bb8d1497.js";import"./u-modal.755a4b61.js";import"./u-loading-icon.ea8c9ece.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const N=H({name:"u-checkbox",mixins:[t,a,{props:{name:{type:[String,Number,Boolean],default:e.checkbox.name},shape:{type:String,default:e.checkbox.shape},size:{type:[String,Number],default:e.checkbox.size},checked:{type:Boolean,default:e.checkbox.checked},disabled:{type:[String,Boolean],default:e.checkbox.disabled},activeColor:{type:String,default:e.checkbox.activeColor},inactiveColor:{type:String,default:e.checkbox.inactiveColor},iconSize:{type:[String,Number],default:e.checkbox.iconSize},iconColor:{type:String,default:e.checkbox.iconColor},label:{type:[String,Number],default:e.checkbox.label},labelSize:{type:[String,Number],default:e.checkbox.labelSize},labelColor:{type:String,default:e.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:e.checkbox.labelDisabled}}}],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return uni.$u.addUnit(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=uni.$u.addUnit(this.elSize),e.height=uni.$u.addUnit(this.elSize),"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle(){const e={};return this.parentData.borderBottom&&"row"===this.parentData.placement&&uni.$u.error("检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效"),this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px"),uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},mounted(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-checkbox必须搭配u-checkbox-group组件使用");const e=this.parentData.modelValue;this.checked?this.isChecked=!0:uni.$u.test.array(e)&&(this.isChecked=e.some((e=>e===this.name)))},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){"right"===this.parentData.iconPlacement&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked),this.$nextTick((()=>{uni.$u.formValidate(this,"change")}))},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(){this.isChecked=this.checked}}},[["render",function(e,t,a,k,C,g){const x=l(o("u-icon"),I),_=m,y=f;return i(),r(_,{class:c(["u-checkbox",[`u-checkbox-label--${C.parentData.iconPlacement}`,C.parentData.borderBottom&&"column"===C.parentData.placement&&"u-border-bottom"]]),style:h([g.checkboxStyle]),onClick:u(g.wrapperClickHandler,["stop"])},{default:s((()=>[n(_,{class:c(["u-checkbox__icon-wrap",g.iconClasses]),onClick:u(g.iconClickHandler,["stop"]),style:h([g.iconWrapStyle])},{default:s((()=>[d(e.$slots,"icon",{},(()=>[n(x,{class:"u-checkbox__icon-wrap__icon",name:"checkbox-mark",size:g.elIconSize,color:g.elIconColor},null,8,["size","color"])]),!0)])),_:3},8,["onClick","class","style"]),n(y,{onClick:u(g.labelClickHandler,["stop"]),style:h({color:g.elDisabled?g.elInactiveColor:g.elLabelColor,fontSize:g.elLabelSize,lineHeight:g.elLabelSize})},{default:s((()=>[p(b(e.label),1)])),_:1},8,["onClick","style"])])),_:3},8,["style","onClick","class"])}],["__scopeId","data-v-fb07f37a"]]);const U=H({name:"u-checkbox-group",mixins:[t,a,{props:{name:{type:String,default:e.checkboxGroup.name},modelValue:{type:Array,default:e.checkboxGroup.value},shape:{type:String,default:e.checkboxGroup.shape},disabled:{type:Boolean,default:e.checkboxGroup.disabled},activeColor:{type:String,default:e.checkboxGroup.activeColor},inactiveColor:{type:String,default:e.checkboxGroup.inactiveColor},size:{type:[String,Number],default:e.checkboxGroup.size},placement:{type:String,default:e.checkboxGroup.placement},labelSize:{type:[String,Number],default:e.checkboxGroup.labelSize},labelColor:{type:[String],default:e.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:e.checkboxGroup.labelDisabled},iconColor:{type:String,default:e.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:e.checkboxGroup.iconSize},iconPlacement:{type:String,default:e.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:e.checkboxGroup.borderBottom}}}],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const t=[];this.children.map((e=>{e.isChecked&&t.push(e.name)})),this.$emit("change",t),this.$emit("update:modelValue",t)}}},[["render",function(e,t,a,l,o,n){const u=m;return i(),r(u,{class:c(["u-checkbox-group",n.bemClass])},{default:s((()=>[d(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"])}],["__scopeId","data-v-f5bb36e2"]]),A=k({__name:"bind",setup(e){const t=C(),a=g((()=>t.info)),c=g((()=>w().login)),u=x(!1),h=x(!1),d=_({mobile:"",mobile_code:"",mobile_key:"",openid:uni.getStorageSync("openid")}),k={mobile:[{type:"string",required:!0,message:y("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,t)=>uni.$u.test.mobile(t),message:y("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:!0,message:y("codePlaceholder"),trigger:["blur","change"]}},I=()=>{h.value=!h.value},H=x(null),A=()=>{H.value.validate().then((()=>{if(u.value)return;u.value=!0;(a.value?v:z)(d).then((e=>{a.value?(t.getMemberInfo(),V({url:"/pages/member/personal",mode:"redirectTo"})):(t.setToken(e.data.token),$().handleLoginBack())})).catch((()=>{u.value=!1}))}))};return(e,t)=>{const C=m,g=l(o("u-input"),B),x=l(o("u-form-item"),G),_=l(o("sms-code"),P),v=l(o("u-checkbox"),N),z=l(o("u-checkbox-group"),U),V=f,$=l(o("app-link"),T),w=l(o("u-button"),L),E=l(o("u-form"),j);return i(),r(C,{class:"w-screen h-screen flex flex-col"},{default:s((()=>[n(C,{class:"flex-1"},{default:s((()=>[n(C,{class:"h-[100rpx]"}),n(C,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:s((()=>[n(C,{class:"font-bold text-lg"},{default:s((()=>[p(b(S(y)("bindMobile")),1)])),_:1})])),_:1}),n(C,{class:"px-[60rpx]"},{default:s((()=>[n(E,{labelPosition:"left",model:d,errorType:"toast",rules:k,ref_key:"formRef",ref:H},{default:s((()=>[n(x,{label:"",prop:"mobile","border-bottom":!0},{default:s((()=>[n(g,{modelValue:d.mobile,"onUpdate:modelValue":t[0]||(t[0]=e=>d.mobile=e),border:"none",clearable:"",placeholder:S(y)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),n(C,{class:"mt-[40rpx]"},{default:s((()=>[n(x,{label:"",prop:"mobile_code","border-bottom":!0},{default:s((()=>[n(g,{modelValue:d.mobile_code,"onUpdate:modelValue":t[2]||(t[2]=e=>d.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:S(y)("codePlaceholder")},{suffix:s((()=>[n(_,{mobile:d.mobile,type:"bind_mobile",modelValue:d.mobile_key,"onUpdate:modelValue":t[1]||(t[1]=e=>d.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1}),!S(a)&&S(c).agreement_show?(i(),r(C,{key:0,class:"flex items-start mt-[30rpx]"},{default:s((()=>[n(z,null,{default:s((()=>[n(v,{checked:h.value,shape:"shape",size:"14",onChange:I,customStyle:{marginTop:"4rpx"}},null,8,["checked"])])),_:1}),n(C,{class:"text-xs text-gray-400 flex flex-wrap"},{default:s((()=>[p(b(S(y)("agreeTips"))+" ",1),n($,{url:"/pages/auth/agreement?key=service"},{default:s((()=>[n(V,{class:"text-primary"},{default:s((()=>[p("《"+b(S(y)("userAgreement"))+"》",1)])),_:1})])),_:1}),n($,{url:"/pages/auth/agreement?key=privacy"},{default:s((()=>[n(V,{class:"text-primary"},{default:s((()=>[p("《"+b(S(y)("privacyAgreement"))+"》",1)])),_:1})])),_:1})])),_:1})])),_:1})):D("",!0),n(C,{class:"mt-[60rpx]"},{default:s((()=>[n(w,{type:"primary",loading:u.value,loadingText:S(y)("logining"),onClick:A},{default:s((()=>[p(b(S(y)("bind")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model"])])),_:1})])),_:1})])),_:1})}}});export{A as default}; diff --git a/niucloud/public/wap/assets/pages-auth-login.bfe761f1.js b/niucloud/public/wap/assets/pages-auth-login.bfe761f1.js deleted file mode 100644 index 7a0bb8e3d..000000000 --- a/niucloud/public/wap/assets/pages-auth-login.bfe761f1.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a as l,U as a,Y as r,r as o,c as t,h as s,i as u,w as n,j as d,D as i,E as p,l as m,M as c,N as b,O as g,m as _,k as f,v as x,Z as y,_ as h,X as v,t as j,p as k,q as w,H as V,J as P,F as U}from"./index-15eacd31.js";import{_ as T}from"./u-input.4212a359.js";import{_ as q,a as S}from"./u-form.84a1fd52.js";import{_ as A}from"./sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js";import{_ as C}from"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import{_ as L}from"./u-button.5c85e6cc.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.bb8d1497.js";import"./u-modal.755a4b61.js";import"./u-loading-icon.ea8c9ece.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const E=e({__name:"login",setup(e){const E=l({username:"",password:"",mobile:"",mobile_code:"",mobile_key:""});uni.getStorageSync("openid")&&Object.assign(E,{openid:uni.getStorageSync("openid")});const O=a(),R=r(),Z=o(!1),$=o(""),B=t((()=>{const e=[];return R.login.is_username&&e.push({type:"username",title:P("usernameLogin")}),R.login.is_mobile&&e.push({type:"mobile",title:P("mobileLogin")}),$.value=e[0]?e[0].type:"",e})),D=t((()=>({username:{type:"string",required:"username"==$.value,message:P("usernamePlaceholder"),trigger:["blur","change"]},password:{type:"string",required:"username"==$.value,message:P("passwordPlaceholder"),trigger:["blur","change"]},mobile:[{type:"string",required:"mobile"==$.value,message:P("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>"mobile"!=$.value||uni.$u.test.mobile(l),message:P("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:"mobile"==$.value,message:P("codePlaceholder"),trigger:["blur","change"]}}))),F=o(null),H=()=>{F.value.validate().then((()=>{if(Z.value)return;Z.value=!0;("username"==$.value?y:h)(E).then((e=>{O.setToken(e.data.token),v().handleLoginBack()})).catch((()=>{Z.value=!1}))}))};return(e,l)=>{const a=j,r=k(w("u-input"),T),o=k(w("u-form-item"),q),t=k(w("sms-code"),A),y=V,h=k(w("app-link"),C),v=k(w("u-button"),L),O=k(w("u-form"),S);return s(),u(a,{class:"w-screen h-screen flex flex-col"},{default:n((()=>[d(a,{class:"flex-1"},{default:n((()=>[d(a,{class:"h-[100rpx]"}),d(a,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:n((()=>[d(a,{class:"font-bold text-xl"},{default:n((()=>[i(p(m(P)("login")),1)])),_:1})])),_:1}),m(B).length>1?(s(),u(a,{key:0,class:"px-[60rpx] text-sm flex mb-[50rpx] font-bold leading-none"},{default:n((()=>[(s(!0),c(g,null,b(m(B),((e,l)=>(s(),c(g,null,[d(a,{class:U({"text-gray-300":e.type!=$.value}),onClick:l=>$.value=e.type},{default:n((()=>[i(p(e.title),1)])),_:2},1032,["class","onClick"]),f(d(a,{class:"mx-[30rpx] border-solid border-0 border-r-[2px] border-gray-300"},null,512),[[x,0==l]])],64)))),256))])),_:1})):_("",!0),d(a,{class:"px-[60rpx]"},{default:n((()=>[d(O,{labelPosition:"left",model:E,errorType:"toast",rules:m(D),ref_key:"formRef",ref:F},{default:n((()=>[f(d(a,null,{default:n((()=>[d(o,{label:"",prop:"username","border-bottom":!0},{default:n((()=>[d(r,{modelValue:E.username,"onUpdate:modelValue":l[0]||(l[0]=e=>E.username=e),border:"none",clearable:"",placeholder:m(P)("usernamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),d(a,{class:"mt-[40rpx]"},{default:n((()=>[d(o,{label:"",prop:"password","border-bottom":!0},{default:n((()=>[d(r,{modelValue:E.password,"onUpdate:modelValue":l[1]||(l[1]=e=>E.password=e),border:"none",type:"password",clearable:"",placeholder:m(P)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[x,"username"==$.value]]),f(d(a,null,{default:n((()=>[d(o,{label:"",prop:"mobile","border-bottom":!0},{default:n((()=>[d(r,{modelValue:E.mobile,"onUpdate:modelValue":l[2]||(l[2]=e=>E.mobile=e),border:"none",clearable:"",placeholder:m(P)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),d(a,{class:"mt-[40rpx]"},{default:n((()=>[d(o,{label:"",prop:"mobile_code","border-bottom":!0},{default:n((()=>[d(r,{modelValue:E.mobile_code,"onUpdate:modelValue":l[4]||(l[4]=e=>E.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:m(P)("codePlaceholder")},{suffix:n((()=>[d(t,{mobile:E.mobile,type:"login",modelValue:E.mobile_key,"onUpdate:modelValue":l[3]||(l[3]=e=>E.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[x,"mobile"==$.value]]),d(a,{class:"flex text-xs justify-between mt-[20rpx] text-gray-400"},{default:n((()=>[d(h,{url:"/pages/auth/register"},{default:n((()=>[i(p(m(P)("noAccount"))+" ",1),d(y,{class:"text-primary"},{default:n((()=>[i(p(m(P)("toRegister")),1)])),_:1})])),_:1}),d(h,{url:"/pages/auth/resetpwd"},{default:n((()=>[i(p(m(P)("resetpwd")),1)])),_:1})])),_:1}),d(a,{class:"mt-[80rpx]"},{default:n((()=>[d(v,{type:"primary",loading:Z.value,loadingText:m(P)("logining"),onClick:H},{default:n((()=>[i(p(m(P)("login")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1}),m(R).login.agreement_show?(s(),u(a,{key:0,class:"text-xs py-[50rpx] flex justify-center w-full"},{default:n((()=>[i(p(m(P)("agreeTips"))+" ",1),d(h,{url:"/pages/auth/agreement?key=service"},{default:n((()=>[d(y,{class:"text-primary"},{default:n((()=>[i(p(m(P)("userAgreement")),1)])),_:1})])),_:1}),i(" "+p(m(P)("and"))+" ",1),d(h,{url:"/pages/auth/agreement?key=privacy"},{default:n((()=>[d(y,{class:"text-primary"},{default:n((()=>[i(p(m(P)("privacyAgreement")),1)])),_:1})])),_:1})])),_:1})):_("",!0)])),_:1})}}});export{E as default}; diff --git a/niucloud/public/wap/assets/pages-auth-register.525a8a97.js b/niucloud/public/wap/assets/pages-auth-register.525a8a97.js deleted file mode 100644 index f5b21fa2d..000000000 --- a/niucloud/public/wap/assets/pages-auth-register.525a8a97.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a as l,U as a,Y as r,r as o,c as s,h as t,i as u,w as d,j as i,D as n,E as m,l as p,M as c,N as b,O as _,m as g,k as f,v as h,$ as x,a0 as y,X as v,t as w,p as V,q as k,a1 as j,H as P,J as U,F as q}from"./index-15eacd31.js";import{_ as T}from"./u-input.4212a359.js";import{_ as A,a as C}from"./u-form.84a1fd52.js";import{u as S,_ as E}from"./sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js";import{_ as R}from"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import{_ as $}from"./u-button.5c85e6cc.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.bb8d1497.js";import"./u-modal.755a4b61.js";import"./u-loading-icon.ea8c9ece.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const F=e({__name:"register",setup(e){const F=l({username:"",password:"",confirm_password:"",mobile:"",mobile_code:"",mobile_key:"",captcha_key:"",captcha_code:""});uni.getStorageSync("openid")&&Object.assign(F,{openid:uni.getStorageSync("openid")});const L=S(F);L.refresh();const O=a(),B=r(),D=o(!1),H=o(""),J=s((()=>{const e=[];return B.login.is_username&&e.push({type:"username",title:U("usernameRegister")}),B.login.is_mobile&&!B.login.is_bind_mobile&&e.push({type:"mobile",title:U("mobileRegister")}),H.value=e[0]?e[0].type:"",e})),M=s((()=>({username:{type:"string",required:"username"==H.value,message:U("usernamePlaceholder"),trigger:["blur","change"]},password:{type:"string",required:"username"==H.value,message:U("passwordPlaceholder"),trigger:["blur","change"]},confirm_password:[{type:"string",required:"username"==H.value,message:U("confirmPasswordPlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>l==F.password,message:U("confirmPasswordError"),trigger:["change","blur"]}],mobile:[{type:"string",required:"mobile"==H.value||B.login.is_bind_mobile,message:U("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,l)=>"mobile"!=H.value&&!B.login.is_bind_mobile||uni.$u.test.mobile(l),message:U("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:"mobile"==H.value||B.login.is_bind_mobile,message:U("codePlaceholder"),trigger:["blur","change"]},captcha_code:{type:"string",required:"username"==H.value,message:U("captchaPlaceholder"),trigger:["blur","change"]}}))),N=o(null),W=()=>{N.value.validate().then((()=>{if(D.value)return;D.value=!0;("username"==H.value?x:y)(F).then((e=>{O.setToken(e.data.token),v().handleLoginBack()})).catch((()=>{D.value=!1,L.refresh()}))}))};return(e,l)=>{const a=w,r=V(k("u-input"),T),o=V(k("u-form-item"),A),s=V(k("sms-code"),E),x=j,y=P,v=V(k("app-link"),R),S=V(k("u-button"),$),O=V(k("u-form"),C);return t(),u(a,{class:"w-screen h-screen flex flex-col"},{default:d((()=>[i(a,{class:"flex-1"},{default:d((()=>[i(a,{class:"h-[100rpx]"}),i(a,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:d((()=>[i(a,{class:"font-bold text-xl"},{default:d((()=>[n(m(p(U)("register")),1)])),_:1})])),_:1}),p(J).length>1?(t(),u(a,{key:0,class:"px-[60rpx] text-sm flex mb-[50rpx] font-bold leading-none"},{default:d((()=>[(t(!0),c(_,null,b(p(J),((e,l)=>(t(),c(_,null,[i(a,{class:q({"text-gray-300":e.type!=H.value}),onClick:l=>H.value=e.type},{default:d((()=>[n(m(e.title),1)])),_:2},1032,["class","onClick"]),f(i(a,{class:"mx-[30rpx] border-solid border-0 border-r-[2px] border-gray-300"},null,512),[[h,0==l]])],64)))),256))])),_:1})):g("",!0),i(a,{class:"px-[60rpx]"},{default:d((()=>[i(O,{labelPosition:"left",model:F,errorType:"toast",rules:p(M),ref_key:"formRef",ref:N},{default:d((()=>[f(i(a,null,{default:d((()=>[i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"username","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.username,"onUpdate:modelValue":l[0]||(l[0]=e=>F.username=e),border:"none",clearable:"",placeholder:p(U)("usernamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"password","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.password,"onUpdate:modelValue":l[1]||(l[1]=e=>F.password=e),border:"none",type:"password",clearable:"",placeholder:p(U)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"confirm_password","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.confirm_password,"onUpdate:modelValue":l[2]||(l[2]=e=>F.confirm_password=e),border:"none",type:"password",clearable:"",placeholder:p(U)("confirmPasswordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[h,"username"==H.value]]),f(i(a,null,{default:d((()=>[i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"mobile","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.mobile,"onUpdate:modelValue":l[3]||(l[3]=e=>F.mobile=e),border:"none",clearable:"",placeholder:p(U)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"code","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.mobile_code,"onUpdate:modelValue":l[5]||(l[5]=e=>F.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:p(U)("codePlaceholder")},{suffix:d((()=>[i(s,{mobile:F.mobile,type:"register",modelValue:F.mobile_key,"onUpdate:modelValue":l[4]||(l[4]=e=>F.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[h,"mobile"==H.value||p(B).login.is_bind_mobile]]),f(i(a,null,{default:d((()=>[i(a,{class:"mt-[30rpx]"},{default:d((()=>[i(o,{label:"",prop:"captcha_code","border-bottom":!0},{default:d((()=>[i(r,{modelValue:F.captcha_code,"onUpdate:modelValue":l[7]||(l[7]=e=>F.captcha_code=e),border:"none",clearable:"",placeholder:p(U)("captchaPlaceholder")},{suffix:d((()=>[i(x,{src:p(L).image.value,class:"h-[48rpx] ml-[20rpx]",mode:"heightFix",onClick:l[6]||(l[6]=e=>p(L).refresh())},null,8,["src"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1})])),_:1},512),[[h,"username"==H.value]]),i(a,{class:"flex text-xs justify-between mt-[20rpx] text-gray-400"},{default:d((()=>[i(v,{url:"/pages/auth/login"},{default:d((()=>[n(m(p(U)("haveAccount"))+",",1),i(y,{class:"text-primary"},{default:d((()=>[n(m(p(U)("toLogin")),1)])),_:1})])),_:1})])),_:1}),i(a,{class:"mt-[80rpx]"},{default:d((()=>[i(S,{type:"primary",loading:D.value,loadingText:p(U)("registering"),onClick:W},{default:d((()=>[n(m(p(U)("register")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model","rules"])])),_:1})])),_:1}),p(B).login.agreement_show?(t(),u(a,{key:0,class:"text-xs py-[50rpx] flex justify-center w-full"},{default:d((()=>[n(m(p(U)("registerAgreeTips"))+" ",1),i(v,{url:"/pages/auth/agreement?key=service"},{default:d((()=>[i(y,{class:"text-primary"},{default:d((()=>[n(m(p(U)("userAgreement")),1)])),_:1})])),_:1}),n(" "+m(p(U)("and"))+" ",1),i(v,{url:"/pages/auth/agreement?key=privacy"},{default:d((()=>[i(y,{class:"text-primary"},{default:d((()=>[n(m(p(U)("privacyAgreement")),1)])),_:1})])),_:1})])),_:1})):g("",!0)])),_:1})}}});export{F as default}; diff --git a/niucloud/public/wap/assets/pages-auth-resetpwd.2e039795.js b/niucloud/public/wap/assets/pages-auth-resetpwd.2e039795.js deleted file mode 100644 index f01145de3..000000000 --- a/niucloud/public/wap/assets/pages-auth-resetpwd.2e039795.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a as o,r as l,J as r,h as a,i as s,w as d,j as t,D as m,E as p,l as i,a2 as u,R as n,t as c,p as b,q as f}from"./index-15eacd31.js";import{_}from"./u-input.4212a359.js";import{_ as g,a as h}from"./u-form.84a1fd52.js";import{_ as w}from"./sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js";import{_ as x}from"./u-button.5c85e6cc.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.bb8d1497.js";import"./u-modal.755a4b61.js";import"./u-loading-icon.ea8c9ece.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const y=e({__name:"resetpwd",setup(e){const y=o({mobile:"",mobile_code:"",mobile_key:"",password:"",confirm_password:""}),V=l(!1),j=l(null),P={password:{type:"string",required:!0,message:r("passwordPlaceholder"),trigger:["blur","change"]},confirm_password:[{type:"string",required:!0,message:r("confirmPasswordPlaceholder"),trigger:["blur","change"]},{validator:(e,o)=>o==y.password,message:r("confirmPasswordError"),trigger:["change","blur"]}],mobile:[{type:"string",required:!0,message:r("mobilePlaceholder"),trigger:["blur","change"]},{validator:(e,o)=>uni.$u.test.mobile(o),message:r("mobileError"),trigger:["change","blur"]}],mobile_code:{type:"string",required:!0,message:r("codePlaceholder"),trigger:["blur","change"]}},v=()=>{j.value.validate().then((()=>{V.value||(V.value=!0,u(y).then((e=>{n({url:"/pages/auth/login",mode:"redirectTo"})})).catch((()=>{V.value=!1})))}))};return(e,o)=>{const l=c,u=b(f("u-input"),_),n=b(f("u-form-item"),g),U=b(f("sms-code"),w),k=b(f("u-button"),x),q=b(f("u-form"),h);return a(),s(l,{class:"w-screen h-screen flex flex-col"},{default:d((()=>[t(l,{class:"flex-1"},{default:d((()=>[t(l,{class:"h-[100rpx]"}),t(l,{class:"px-[60rpx] pt-[100rpx] mb-[100rpx]"},{default:d((()=>[t(l,{class:"font-bold text-xl"},{default:d((()=>[m(p(i(r)("findPassword")),1)])),_:1})])),_:1}),t(l,{class:"px-[60rpx]"},{default:d((()=>[t(q,{labelPosition:"left",model:y,errorType:"toast",rules:P,ref_key:"formRef",ref:j},{default:d((()=>[t(l,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"mobile","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.mobile,"onUpdate:modelValue":o[0]||(o[0]=e=>y.mobile=e),border:"none",clearable:"",placeholder:i(r)("mobilePlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),t(l,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"code","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.mobile_code,"onUpdate:modelValue":o[2]||(o[2]=e=>y.mobile_code=e),border:"none",type:"password",clearable:"",placeholder:i(r)("codePlaceholder")},{suffix:d((()=>[t(U,{mobile:y.mobile,type:"find_pass",modelValue:y.mobile_key,"onUpdate:modelValue":o[1]||(o[1]=e=>y.mobile_key=e)},null,8,["mobile","modelValue"])])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1}),t(l,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"password","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.password,"onUpdate:modelValue":o[3]||(o[3]=e=>y.password=e),border:"none",type:"password",clearable:"",placeholder:i(r)("passwordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),t(l,{class:"mt-[30rpx]"},{default:d((()=>[t(n,{label:"",prop:"confirm_password","border-bottom":!0},{default:d((()=>[t(u,{modelValue:y.confirm_password,"onUpdate:modelValue":o[4]||(o[4]=e=>y.confirm_password=e),border:"none",type:"password",clearable:"",placeholder:i(r)("confirmPasswordPlaceholder")},null,8,["modelValue","placeholder"])])),_:1})])),_:1}),t(l,{class:"mt-[80rpx]"},{default:d((()=>[t(k,{type:"primary",loading:V.value,loadingText:i(r)("confirm"),onClick:v},{default:d((()=>[m(p(i(r)("confirm")),1)])),_:1},8,["loading","loadingText"])])),_:1})])),_:1},8,["model"])])),_:1})])),_:1})])),_:1})}}});export{y as default}; diff --git a/niucloud/public/wap/assets/pages-index-close.88941b42.js b/niucloud/public/wap/assets/pages-index-close.88941b42.js deleted file mode 100644 index ffe86db4e..000000000 --- a/niucloud/public/wap/assets/pages-index-close.88941b42.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./u-empty.317e751c.js";import{d as s,h as t,i as a,w as o,j as r,l as c,p as i,q as n,t as l,x as p,J as u}from"./index-15eacd31.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";const m=s({__name:"close",setup:s=>(s,m)=>{const x=i(n("u-empty"),e),f=l;return t(),a(f,{class:"w-screen h-screen flex flex-col items-center justify-center"},{default:o((()=>[r(x,{icon:c(p)("static/resource/images/site/close.png"),text:c(u)("siteClose")},null,8,["icon","text"])])),_:1})}});export{m as default}; diff --git a/niucloud/public/wap/assets/pages-index-develop.31f84e01.js b/niucloud/public/wap/assets/pages-index-develop.31f84e01.js deleted file mode 100644 index 055609a21..000000000 --- a/niucloud/public/wap/assets/pages-index-develop.31f84e01.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a as l,h as t,i as a,w as s,j as o,D as r,E as i,l as d,a5 as n,J as p,b9 as u,t as c,H as m,p as x,q as f}from"./index-15eacd31.js";import{_}from"./u-input.4212a359.js";import{_ as b}from"./u-button.5c85e6cc.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.ea8c9ece.js";const g=e({__name:"develop",setup(e){const g=l({siteId:"",baseUrl:`${location.origin}/api/`,imgUrl:""}),h=()=>{if(0==g.siteId.length)return void n({title:p("siteIdPlaceholder"),icon:"none"});if(!/^[0-9]+$/.test(g.siteId))return void n({title:p("pleaseEnterNumber"),icon:"none"});uni.setStorageSync("wap_site_id",g.siteId);let e=uni.getStorageSync("develop_before_path")||"/pages/index/index";"/pages/index/develop"==e&&(e="/pages/index/index"),e=e.replace("/",""),uni.removeStorageSync("develop_before_path"),location.href=`${location.origin}${u.h5.router.base}${e}`};return(e,l)=>{const n=c,u=m,v=x(f("u-input"),_),I=x(f("u-button"),b);return t(),a(n,{class:"mt-[80rpx] px-[60rpx]"},{default:s((()=>[o(n,{class:"font-bold text-xl mb-[80rpx]"},{default:s((()=>[r(i(d(p)("developTitle")),1)])),_:1}),o(n,{class:"mb-[40rpx] flex flex-col"},{default:s((()=>[o(u,{class:"mb-[10rpx]"},{default:s((()=>[r(i(d(p)("baseUrl")),1)])),_:1}),o(u,{class:"text-sm"},{default:s((()=>[r(i(g.baseUrl),1)])),_:1})])),_:1}),o(n,{class:"mb-[40rpx] flex flex-col"},{default:s((()=>[o(u,{class:"mb-[10rpx]"},{default:s((()=>[r(i(d(p)("imgUrl")),1)])),_:1}),o(u,{class:"text-sm"},{default:s((()=>[r(i(g.imgUrl),1)])),_:1})])),_:1}),o(n,{class:"mb-[40rpx] flex flex-col"},{default:s((()=>[o(u,{class:"mb-[20rpx]"},{default:s((()=>[r(i(d(p)("siteId")),1)])),_:1}),o(v,{modelValue:g.siteId,"onUpdate:modelValue":l[0]||(l[0]=e=>g.siteId=e),clearable:"",placeholder:d(p)("siteIdPlaceholder")},null,8,["modelValue","placeholder"])])),_:1}),o(I,{type:"primary",onClick:h,class:"mt-[80rpx]"},{default:s((()=>[r(i(d(p)("confirm")),1)])),_:1})])),_:1})}}});export{g as default}; diff --git a/niucloud/public/wap/assets/pages-index-diy.0d2bc949.js b/niucloud/public/wap/assets/pages-index-diy.0d2bc949.js deleted file mode 100644 index 04a9c47d6..000000000 --- a/niucloud/public/wap/assets/pages-index-diy.0d2bc949.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,u as l,a as t,c as o,o as r,b as s,s as p,e as i,g as d,f as u,h as g,i as n,w as m,j as f,k as c,v,l as b,n as h,m as _,p as j,q as x,t as y,x as S}from"./index-15eacd31.js";import{_ as w}from"./u-loading-page.925a187b.js";import{_ as k,a as M}from"./index.1798b78b.js";import{u as R}from"./useShare.3d08f2fc.js";import{_ as C}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.ea8c9ece.js";import"./u-transition.a952a64b.js";import"./u-icon.f5369555.js";import"./tabbar.e67e4875.js";import"./u-image.b892f6c4.js";import"./u-safe-bottom.593b5cec.js";import"./article.0307362e.js";import"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import"./u-avatar.ddef1faa.js";import"./wechat.56b0d350.js";const D=C(a({__name:"diy",setup(a){const{setShare:C,onShareAppMessage:D,onShareTimeline:B}=R();D(),B();const T=e(!0),U=l(),I=e(0),J=t({pageMode:"diy",title:"",global:{},value:[]}),N=o((()=>"decorate"==U.mode?U:J)),O=e(0),q=e("");return r((a=>{U.mode=a.mode||"","decorate"==U.mode&&(T.value=!1),O.value=a.id||"",q.value=a.name||""})),s((()=>{I.value++,p()})),i((()=>{"decorate"==U.mode?U.init():d({id:O.value,name:q.value}).then((a=>{if(a.data.value){let e=a.data;J.pageMode=e.mode,J.title=e.title;let l=JSON.parse(e.value);J.global=l.global,J.value=l.value,J.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),u({title:J.title})}let e=a.data.share?JSON.parse(a.data.share):null;C(e),T.value=!1}))})),(a,e)=>{const l=j(x("u-loading-page"),w),t=j(x("diy-group"),k),o=y,r=j(x("fixed-group"),M);return g(),n(o,null,{default:m((()=>[f(l,{loading:T.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),c(f(o,null,{default:m((()=>["fixed"!=b(N).pageMode?(g(),n(o,{key:0,class:"diy-template-wrap bg-index",style:h({backgroundColor:b(N).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:b(N).global.bgUrl?"url("+b(S)(b(N).global.bgUrl)+")":""})},{default:m((()=>[f(t,{data:b(N),pullDownRefresh:I.value},null,8,["data","pullDownRefresh"])])),_:1},8,["style"])):_("",!0),"fixed"==b(N).pageMode?(g(),n(o,{key:1,class:"fixed-template-wrap"},{default:m((()=>[f(r,{data:b(N),pullDownRefresh:I.value},null,8,["data","pullDownRefresh"])])),_:1})):_("",!0)])),_:1},512),[[v,!T.value]])])),_:1})}}}),[["__scopeId","data-v-56539ac1"]]);export{D as default}; diff --git a/niucloud/public/wap/assets/pages-index-index.9dccf8c4.js b/niucloud/public/wap/assets/pages-index-index.9dccf8c4.js deleted file mode 100644 index df537d52e..000000000 --- a/niucloud/public/wap/assets/pages-index-index.9dccf8c4.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,u as l,a as t,c as o,o as r,b as s,s as p,e as i,g,f as d,h as n,i as u,w as m,j as f,k as c,v as b,l as _,n as v,m as h,p as x,q as j,t as y,x as S}from"./index-15eacd31.js";import{_ as w}from"./u-loading-page.925a187b.js";import{_ as k,a as D}from"./index.1798b78b.js";import{u as M}from"./useShare.3d08f2fc.js";import{_ as R}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.ea8c9ece.js";import"./u-transition.a952a64b.js";import"./u-icon.f5369555.js";import"./tabbar.e67e4875.js";import"./u-image.b892f6c4.js";import"./u-safe-bottom.593b5cec.js";import"./article.0307362e.js";import"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import"./u-avatar.ddef1faa.js";import"./wechat.56b0d350.js";const C=R(a({__name:"index",setup(a){const{setShare:R,onShareAppMessage:C,onShareTimeline:I}=M();R(),C(),I();const B=e(!0),T=l(),U=e(0),E=t({pageMode:"diy",title:"",global:{},value:[]}),N=o((()=>"decorate"==T.mode?T:E));return r((a=>{T.mode=a.mode||"","decorate"==T.mode&&(B.value=!1)})),s((()=>{U.value++,p()})),i((()=>{"decorate"==T.mode?T.init():g({name:"DIY_INDEX"}).then((a=>{if(a.data.value){let e=a.data;E.pageMode=e.mode,E.title=e.title;let l=JSON.parse(e.value);E.global=l.global,E.value=l.value,E.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),d({title:E.title})}B.value=!1}))})),(a,e)=>{const l=x(j("u-loading-page"),w),t=x(j("diy-group"),k),o=y,r=x(j("fixed-group"),D);return n(),u(o,null,{default:m((()=>[f(l,{loading:B.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),c(f(o,null,{default:m((()=>["fixed"!=_(N).pageMode?(n(),u(o,{key:0,class:"diy-template-wrap bg-index",style:v({backgroundColor:_(N).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:_(N).global.bgUrl?"url("+_(S)(_(N).global.bgUrl)+")":""})},{default:m((()=>[f(t,{data:_(N),pullDownRefresh:U.value},null,8,["data","pullDownRefresh"])])),_:1},8,["style"])):h("",!0),"fixed"==_(N).pageMode?(n(),u(o,{key:1,class:"fixed-template-wrap"},{default:m((()=>[f(r,{data:_(N),pullDownRefresh:U.value},null,8,["data","pullDownRefresh"])])),_:1})):h("",!0)])),_:1},512),[[b,!B.value]])])),_:1})}}}),[["__scopeId","data-v-e6c97636"]]);export{C as default}; diff --git a/niucloud/public/wap/assets/pages-index-nosite.d52e22d1.js b/niucloud/public/wap/assets/pages-index-nosite.d52e22d1.js deleted file mode 100644 index 25c87f4b4..000000000 --- a/niucloud/public/wap/assets/pages-index-nosite.d52e22d1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./u-empty.317e751c.js";import{d as s,h as t,i as a,w as o,j as i,l as n,p as r,q as c,t as p,x as l,J as u}from"./index-15eacd31.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";const m=s({__name:"nosite",setup:s=>(s,m)=>{const x=r(c("u-empty"),e),f=p;return t(),a(f,{class:"w-screen h-screen flex flex-col items-center justify-center"},{default:o((()=>[i(x,{icon:n(l)("static/resource/images/site/close.png"),text:n(u)("noSite")},null,8,["icon","text"])])),_:1})}});export{m as default}; diff --git a/niucloud/public/wap/assets/pages-member-account.1645a99d.js b/niucloud/public/wap/assets/pages-member-account.1645a99d.js deleted file mode 100644 index 9f4341dc9..000000000 --- a/niucloud/public/wap/assets/pages-member-account.1645a99d.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,o as t,h as A,i as s,w as u,j as l,M as o,N as n,O as r,l as i,D as c,E as d,P as g,Q as p,a$ as m,t as f,H as x,p as B,q as G,J as Q,R as y,a1 as h}from"./index-15eacd31.js";import{_ as b}from"./u-icon.f5369555.js";import{u as v,M as T}from"./useMescroll.fbb7af33.js";import"./_plugin-vue_export-helper.1b428a4d.js";const P=a({__name:"account",setup(a){const{mescrollInit:P,downCallback:M,getMescroll:O}=v(p,g),U=e([]),w=e(!1),k=e("bank"),S=e(null),F=e("get");t((a=>{a.type&&(k.value=a.type),a.mode&&(F.value=a.mode)}));const Y=a=>{w.value=!1;let e={page:a.num,limit:a.size,account_type:k.value};m(e).then((e=>{const t=e.data.data;1==a.num&&(U.value=[]),U.value=U.value.concat(t),a.endSuccess(t.length),w.value=!0})).catch((()=>{w.value=!0,a.endErr()}))};return(a,e)=>{const t=f,g=h,p=x,m=B(G("u-icon"),b);return A(),s(t,{class:"w-screen h-screen bg-page"},{default:u((()=>[l(T,{ref_key:"mescrollRef",ref:S,onInit:i(P),onDown:i(M),onUp:Y},{default:u((()=>[l(t,{class:"h-[20rpx]"}),(A(!0),o(r,null,n(U.value,((a,e)=>(A(),s(t,{class:"p-[30rpx] bg-white mx-[32rpx] my-[20rpx] rounded flex",key:e,onClick:e=>{return t=a,void("get"==F.value?y({url:"/pages/member/account_edit",param:{id:t.account_id,type:k.value,mode:F.value}}):y({url:"/pages/member/apply_cash_out",param:{account_id:t.account_id,type:k.value}}));var t}},{default:u((()=>[l(t,{class:"w-[100rpx] h-[100rpx] flex items-center justify-center mr-[10rpx]"},{default:u((()=>["bank"==a.account_type?(A(),s(g,{key:0,src:"data:image/png;base64,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",mode:"widthFix",class:"w-[80rpx]"})):(A(),s(p,{key:1,class:"iconfont iconzhifubaoxuanzhong text-[#188dfb] text-[80rpx]"}))])),_:2},1024),l(t,null,{default:u((()=>[l(t,null,{default:u((()=>[c(d("bank"==a.account_type?a.bank_name:i(Q)("alipayAccountNo")),1)])),_:2},1024),"bank"==a.account_type?(A(),s(t,{key:0,class:"text-sm text-gray-subtitle mt-[10rpx]"},{default:u((()=>[c(d(i(Q)("endNumber"))+" "+d(a.account_no.substring(a.account_no.length-4))+d(i(Q)("bankCard")),1)])),_:2},1024)):(A(),s(t,{key:1,class:"text-sm text-gray-subtitle mt-[10rpx]"},{default:u((()=>[c(d(a.account_no),1)])),_:2},1024))])),_:2},1024)])),_:2},1032,["onClick"])))),128)),l(t,{class:"p-[30rpx] bg-white mx-[32rpx] my-[20rpx] rounded flex",onClick:e[0]||(e[0]=a=>i(y)({url:"/pages/member/account_edit",param:{type:k.value,mode:F.value}}))},{default:u((()=>[l(m,{name:"plus",color:"#333",size:"16"}),l(p,{class:"text-sm ml-[10rpx] flex-1"},{default:u((()=>[c(d("bank"==k.value?i(Q)("addBankCard"):i(Q)("addAlipayAccount")),1)])),_:1}),l(m,{name:"arrow-right",color:"#333",size:"14"})])),_:1})])),_:1},8,["onInit","onDown"])])),_:1})}}});export{P as default}; diff --git a/niucloud/public/wap/assets/pages-member-account_edit.142797b5.js b/niucloud/public/wap/assets/pages-member-account_edit.142797b5.js deleted file mode 100644 index 09e0b2914..000000000 --- a/niucloud/public/wap/assets/pages-member-account_edit.142797b5.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,a as l,c as t,o,as as n,h as r,M as c,j as u,w as d,O as s,D as m,E as p,l as i,m as b,i as _,b2 as f,b3 as h,R as y,b4 as x,t as g,p as k,q as V,S as v,J as j}from"./index-15eacd31.js";import{_ as P}from"./u-input.4212a359.js";import{_ as A,a as T}from"./u-form.84a1fd52.js";import{_ as N}from"./u-button.5c85e6cc.js";import{_ as R}from"./u-modal.755a4b61.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.bb8d1497.js";import"./u-loading-icon.ea8c9ece.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const C=e({__name:"account_edit",setup(e){const C=a(!1),w=a(null),U=a("get"),q=a(!1),B=l({account_id:0,account_type:"bank",bank_name:"",realname:"",account_no:""}),W=t((()=>({realname:{type:"string",required:!0,message:"bank"==B.account_type?j("bankRealnamePlaceholder"):j("alipayRealnamePlaceholder"),trigger:["blur","change"]},bank_name:{type:"string",required:"bank"==B.account_type,message:j("bankNamePlaceholder"),trigger:["blur","change"]},account_no:{type:"string",required:!0,message:"bank"==B.account_type?j("bankAccountNoPlaceholder"):j("alipayAccountNoPlaceholder"),trigger:["blur","change"]}})));o((e=>{e.type&&(B.account_type=e.type),e.mode&&(U.value=e.mode),e.id&&(B.account_id=e.id,n({account_id:e.id}).then((e=>{e.data&&Object.keys(B).forEach((a=>{null!=e.data[a]&&(B[a]=e.data[a])}))})))}));const E=()=>{const e=B.account_id?f:h;w.value.validate().then((()=>{C.value||(C.value=!0,e(B).then((e=>{"get"==U.value?y({url:"/pages/member/account",param:{type:B.account_type,mode:U.value}}):y({url:"/pages/member/apply_cash_out",param:{account_id:e.data,type:B.account_type}})})).catch((()=>{C.value=!1})))}))},O=()=>{x(B.account_id).then((()=>{y({url:"/pages/member/account",mode:"redirectTo"})}))};return(e,a)=>{const l=g,t=k(V("u-input"),P),o=k(V("u-form-item"),A),n=k(V("u-form"),T),f=k(V("u-button"),N),h=v,y=k(V("u-modal"),R);return r(),c(s,null,[u(h,{"scroll-y":"true",class:"w-screen h-screen bg-page"},{default:d((()=>[u(l,{class:"h-[30rpx]"}),u(l,{class:"p-[30rpx] bg-white mx-[32rpx] rounded"},{default:d((()=>["bank"==B.account_type?(r(),c(s,{key:0},[u(l,{class:"text-center text-base font-bold mt-[50rpx]"},{default:d((()=>[m(p(i(j)("addBankCard")),1)])),_:1}),u(l,{class:"text-center text-sm mt-[10rpx]"},{default:d((()=>[m(p(i(j)("addBankCardTips")),1)])),_:1}),u(l,{class:"mt-[50rpx]"},{default:d((()=>[u(n,{labelPosition:"left",model:B,labelWidth:"200rpx",errorType:"toast",rules:i(W),ref_key:"formRef",ref:w},{default:d((()=>[u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("bankRealname"),prop:"realname","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.realname,"onUpdate:modelValue":a[0]||(a[0]=e=>B.realname=e),border:"none",clearable:"",placeholder:i(j)("bankRealnamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("bankName"),prop:"bank_name","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.bank_name,"onUpdate:modelValue":a[1]||(a[1]=e=>B.bank_name=e),border:"none",clearable:"",placeholder:i(j)("bankNamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("bankAccountNo"),prop:"account_no","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.account_no,"onUpdate:modelValue":a[2]||(a[2]=e=>B.account_no=e),border:"none",clearable:"",placeholder:i(j)("bankAccountNoPlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1})])),_:1},8,["model","rules"])])),_:1})],64)):b("",!0),"alipay"==B.account_type?(r(),c(s,{key:1},[u(l,{class:"text-center text-base font-bold mt-[50rpx]"},{default:d((()=>[m(p(i(j)("addAlipayAccount")),1)])),_:1}),u(l,{class:"text-center text-sm mt-[10rpx]"},{default:d((()=>[m(p(i(j)("addAlipayAccountTips")),1)])),_:1}),u(l,{class:"mt-[50rpx]"},{default:d((()=>[u(n,{labelPosition:"left",model:B,labelWidth:"200rpx",errorType:"toast",rules:i(W),ref_key:"formRef",ref:w},{default:d((()=>[u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("alipayRealname"),prop:"realname","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.realname,"onUpdate:modelValue":a[3]||(a[3]=e=>B.realname=e),border:"none",clearable:"",placeholder:i(j)("alipayRealnamePlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),u(l,{class:"mt-[10rpx]"},{default:d((()=>[u(o,{label:i(j)("alipayAccountNo"),prop:"account_no","border-bottom":!0},{default:d((()=>[u(t,{modelValue:B.account_no,"onUpdate:modelValue":a[4]||(a[4]=e=>B.account_no=e),border:"none",clearable:"",placeholder:i(j)("alipayAccountNoPlaceholder")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1})])),_:1},8,["model","rules"])])),_:1})],64)):b("",!0),u(l,{class:"mt-[100rpx]"},{default:d((()=>[u(f,{text:i(j)("save"),type:"primary",shape:"circle",loading:C.value,onClick:E},null,8,["text","loading"]),B.account_id?(r(),_(l,{key:0,class:"mt-[30rpx]"},{default:d((()=>[u(f,{text:i(j)("delete"),type:"primary",shape:"circle",plain:!0,loading:C.value,onClick:a[5]||(a[5]=e=>q.value=!0)},null,8,["text","loading"])])),_:1})):b("",!0)])),_:1})])),_:1})])),_:1}),u(y,{show:q.value,content:i(j)("deleteConfirm"),confirmText:i(j)("confirm"),cancelText:i(j)("cancel"),showCancelButton:!0,onConfirm:O,onCancel:a[6]||(a[6]=e=>q.value=!1)},null,8,["show","content","confirmText","cancelText"])],64)}}});export{C as default}; diff --git a/niucloud/public/wap/assets/pages-member-apply_cash_out.f6ab459d.js b/niucloud/public/wap/assets/pages-member-apply_cash_out.f6ab459d.js deleted file mode 100644 index 05da58e5b..000000000 --- a/niucloud/public/wap/assets/pages-member-apply_cash_out.f6ab459d.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,U as t,a as l,c as n,an as s,o,a5 as c,J as p,ao as i,ap as u,h as r,M as d,i as y,w as x,j as f,D as A,E as m,l as g,m as _,O as b,aq as h,ar as k,as as T,at as B,R as O,t as w,H as G,I as Q,a1 as v,p as U,q as C,S as F,x as M}from"./index-15eacd31.js";import{_ as P}from"./u-button.5c85e6cc.js";import{_ as S}from"./u-loading-page.925a187b.js";import"./u-loading-icon.ea8c9ece.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.f5369555.js";import"./u-transition.a952a64b.js";const Y=e({__name:"apply_cash_out",setup(e){const Y=a(!0),Z=a(!1),j=t(),E=l({apply_money:"",transfer_type:"",account_type:"money",account_id:0}),H=n((()=>j.info?j.info[E.account_type]:0));s((()=>E.transfer_type),(e=>{switch(e){case"bank":E.account_id=z.value?z.value.account_id:0;break;case"alipay":E.account_id=R.value?R.value.account_id:0;break;default:E.account_id=0}}),{immediate:!0});const V=l({is_auto_transfer:0,is_auto_verify:0,is_open:0,min:0,rate:0,transfer_type:[]});let I={};o((async e=>{I=e,uni.getStorageSync("cashOutAccountType")&&(E.account_type=uni.getStorageSync("cashOutAccountType")),["money","commission"].includes(E.account_type)?await u().then((e=>{for(let a in e.data)V[a]=e.data[a];V.transfer_type.includes("wechat")&&j.info&&!j.info.wx_openid&&!j.info.weapp_openid&&V.transfer_type.splice(0,1),V.transfer_type.includes("bank")&&D(),V.transfer_type.includes("alipay")&&X(),E.transfer_type=V.transfer_type[0],Y.value=!1})):c({title:p("abnormalOperation"),icon:"none",success(){setTimeout((()=>{i({delta:1})}),1500)}})}));const L=()=>{E.apply_money=h(H)},N=()=>{E.apply_money=""},R=a(null),X=()=>{const e={account_type:"alipay",account_id:0};let a=k;I.type&&"alipay"==I.type&&I.account_id&&(a=T,e.account_id=I.account_id),a(e).then((e=>{e.data&&e.data.account_id&&(R.value=e.data)}))},z=a(null),D=()=>{const e={account_type:"bank",account_id:0};let a=k;I.type&&"bank"==I.type&&I.account_id&&(a=T,e.account_id=I.account_id),a(e).then((e=>{e.data&&e.data.account_id&&(z.value=e.data)}))},W=()=>{if(E.transfer_type?uni.$u.test.isEmpty(E.apply_money)?(c({title:p("applyMoneyPlaceholder"),icon:"none"}),0):uni.$u.test.amount(E.apply_money)?parseFloat(E.apply_money)>parseFloat(H.value)?(c({title:p("applyMoneyExceed"),icon:"none"}),0):!(parseFloat(E.apply_money){O({url:"/pages/member/cash_out"})})).catch((()=>{Z.value=!1}))}};return(e,a)=>{const t=w,l=G,n=Q,s=v,o=U(C("u-button"),P),c=F,i=U(C("u-loading-page"),S);return r(),d(b,null,[Y.value?_("",!0):(r(),y(c,{key:0,"scroll-y":"true",class:"w-screen h-screen bg-page"},{default:x((()=>[f(t,null,{default:x((()=>[f(t,{class:"p-[30rpx] bg-white"},{default:x((()=>[f(t,null,{default:x((()=>[A(m(g(p)("cashOutMoneyTip")),1)])),_:1}),f(t,{class:"flex py-[20rpx] items-baseline border-0 border-b-[2rpx] border-solid border-gray-200"},{default:x((()=>[f(l,{class:"text-[60rpx]"},{default:x((()=>[A(m(g(p)("currency")),1)])),_:1}),f(n,{type:"digit",class:"h-[70rpx] leading-[70rpx] pl-[10rpx] flex-1 font-bold text-[60rpx]",modelValue:E.apply_money,"onUpdate:modelValue":a[0]||(a[0]=e=>E.apply_money=e)},null,8,["modelValue"]),E.apply_money?(r(),y(s,{key:0,onClick:N,src:g(M)("static/resource/images/member/apply_withdrawal/close.png"),class:"w-[40rpx] h-[40rpx]",mode:"widthFix"},null,8,["src"])):_("",!0)])),_:1}),f(t,{class:"pt-[20rpx]"},{default:x((()=>[f(l,{class:"text-gray-400 text-[28rpx]"},{default:x((()=>[A(m(g(p)("money"))+":"+m(g(p)("currency"))+m(g(h)(g(H))),1)])),_:1}),f(l,{class:"pl-[10rpx] text-[28rpx] text-primary",onClick:L},{default:x((()=>[A(m(g(p)("allTx")),1)])),_:1})])),_:1}),f(t,null,{default:x((()=>[f(l,{class:"text-[24rpx] text-gray-400"},{default:x((()=>[A(m(g(p)("minWithdrawal"))+m(g(p)("currency"))+m(g(h)(V.min)),1)])),_:1}),f(l,{class:"text-[24rpx] text-gray-400"},{default:x((()=>[A(","+m(g(p)("commissionTo"))+m(V.rate+"%"),1)])),_:1})])),_:1})])),_:1}),f(t,{class:"px-[30rpx] bg-white mt-[30rpx]"},{default:x((()=>[V.transfer_type.includes("wechat")&&g(j).info&&(g(j).info.wx_openid||g(j).info.weapp_openid)?(r(),y(t,{key:0,class:"py-[30rpx] flex"},{default:x((()=>[f(t,null,{default:x((()=>[f(l,{class:"iconfont iconweixin1 text-[#43c93e] text-[70rpx]"})])),_:1}),f(t,{class:"flex-1 px-[20rpx]"},{default:x((()=>[f(t,null,{default:x((()=>[A(m(g(p)("cashOutToWechat")),1)])),_:1}),f(t,{class:"text-[#bbb] text-[26rpx] mt-[16rpx]"},{default:x((()=>[A(m(g(p)("cashOutToWechatTips")),1)])),_:1})])),_:1}),f(t,{class:"flex items-center",onClick:a[1]||(a[1]=e=>E.transfer_type="wechat")},{default:x((()=>["wechat"==E.transfer_type?(r(),y(l,{key:0,class:"iconfont iconduigou text-[40rpx] text-primary"})):(r(),y(l,{key:1,class:"iconfont iconcheckbox_nol text-[40rpx] text-[#bbb]"}))])),_:1})])),_:1})):_("",!0),V.transfer_type.includes("alipay")?(r(),y(t,{key:1,class:"py-[30rpx] flex"},{default:x((()=>[f(t,null,{default:x((()=>[f(l,{class:"iconfont iconzhifubaoxuanzhong text-[#188dfb] text-[70rpx]"})])),_:1}),f(t,{class:"flex-1 px-[20rpx]"},{default:x((()=>[f(t,null,{default:x((()=>[A(m(g(p)("cashOutToAlipay")),1)])),_:1}),f(t,{class:"text-[#bbb] text-[26rpx] mt-[16rpx]"},{default:x((()=>[R.value?(r(),y(t,{key:0},{default:x((()=>[A(m(g(p)("cashOutTo"))+m(g(p)("alipayAccountNo"))+m(R.value.account_no)+" ",1),f(l,{class:"text-black",onClick:a[2]||(a[2]=e=>g(O)({url:"/pages/member/account",param:{type:"alipay",mode:"select"}}))},{default:x((()=>[A(m(g(p)("replace")),1)])),_:1})])),_:1})):(r(),y(t,{key:1},{default:x((()=>[A(m(g(p)("cashOutToAlipayTips")),1)])),_:1}))])),_:1})])),_:1}),f(t,{class:"flex items-center"},{default:x((()=>[R.value?(r(),y(t,{key:1,onClick:a[4]||(a[4]=e=>E.transfer_type="alipay")},{default:x((()=>["alipay"==E.transfer_type?(r(),y(l,{key:0,class:"iconfont iconduigou text-[40rpx] text-primary"})):(r(),y(l,{key:1,class:"iconfont iconcheckbox_nol text-[40rpx] text-[#bbb]"}))])),_:1})):(r(),y(o,{key:0,plain:!0,type:"primary",shape:"circle","custom-style":{height:"56rpx"},onClick:a[3]||(a[3]=e=>g(O)({url:"/pages/member/account",param:{type:"alipay",mode:"select"}}))},{default:x((()=>[A(m(g(p)("toAdd")),1)])),_:1}))])),_:1})])),_:1})):_("",!0),V.transfer_type.includes("bank")?(r(),y(t,{key:2,class:"py-[30rpx] flex"},{default:x((()=>[f(t,{class:"w-[70rpx] flex justify-center"},{default:x((()=>[f(s,{src:"data:image/png;base64,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",mode:"widthFix",class:"w-[60rpx]"})])),_:1}),f(t,{class:"flex-1 px-[20rpx]"},{default:x((()=>[f(t,null,{default:x((()=>[A(m(g(p)("cashOutToBank")),1)])),_:1}),f(t,{class:"text-[#bbb] text-[26rpx] mt-[16rpx]"},{default:x((()=>[z.value?(r(),y(t,{key:0},{default:x((()=>[A(m(g(p)("cashOutTo"))+m(z.value.bank_name)+m(g(p)("debitCard"))+m(z.value.account_no.substring(z.value.account_no.length-4))+" ",1),f(l,{class:"text-black",onClick:a[5]||(a[5]=e=>g(O)({url:"/pages/member/account",param:{type:"bank",mode:"select"}}))},{default:x((()=>[A(m(g(p)("replace")),1)])),_:1})])),_:1})):(r(),y(t,{key:1},{default:x((()=>[A(m(g(p)("cashOutToBankTips")),1)])),_:1}))])),_:1})])),_:1}),f(t,{class:"flex items-center"},{default:x((()=>[z.value?(r(),y(t,{key:1,onClick:a[7]||(a[7]=e=>E.transfer_type="bank")},{default:x((()=>["bank"==E.transfer_type?(r(),y(l,{key:0,class:"iconfont iconduigou text-[40rpx] text-primary"})):(r(),y(l,{key:1,class:"iconfont iconcheckbox_nol text-[40rpx] text-[#bbb]"}))])),_:1})):(r(),y(o,{key:0,plain:!0,type:"primary",shape:"circle","custom-style":{height:"56rpx"},onClick:a[6]||(a[6]=e=>g(O)({url:"/pages/member/account",param:{type:"bank",mode:"select"}}))},{default:x((()=>[A(m(g(p)("toAdd")),1)])),_:1}))])),_:1})])),_:1})):_("",!0)])),_:1}),f(t,{class:"px-[32rpx]"},{default:x((()=>[f(o,{type:"primary",shape:"circle",text:g(p)("cashOut"),class:"mt-[60rpx] mb-[40rpx]",disabled:""==E.apply_money||0==E.apply_money,loading:Z.value,onClick:W},null,8,["text","disabled","loading"])])),_:1}),f(t,{class:"mt-[40rpx] text-center text-sm",onClick:a[8]||(a[8]=e=>g(O)({url:"/pages/member/cash_out"}))},{default:x((()=>[A(m(g(p)("cashOutList")),1)])),_:1})])),_:1})])),_:1})),f(i,{loading:Y.value,"bg-color":"#e8e8e8","loading-text":""},null,8,["loading"])],64)}}});export{Y as default}; diff --git a/niucloud/public/wap/assets/pages-member-balance.c8e952bc.js b/niucloud/public/wap/assets/pages-member-balance.c8e952bc.js deleted file mode 100644 index dc504d7aa..000000000 --- a/niucloud/public/wap/assets/pages-member-balance.c8e952bc.js +++ /dev/null @@ -1 +0,0 @@ -import{z as e,A as a,ab as t,h as l,i as o,w as r,C as s,d as n,am as u,r as i,av as c,R as d,p,q as m,j as y,D as f,E as _,l as x,J as g,aq as v,M as b,O as h,N as S,x as k,m as w,a5 as C,t as I,S as E,U as j,a as P,e as T,aw as A,ap as F,k as R,v as V,n as $,au as H,ax as O,H as U,F as z}from"./index-15eacd31.js";import{_ as D}from"./u-loading-page.925a187b.js";import{_ as B}from"./u-button.5c85e6cc.js";import{p as W,_ as K}from"./u-input.4212a359.js";import{_ as L}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as q}from"./u-popup.8a491625.js";import{_ as J}from"./u-image.b892f6c4.js";import{_ as M}from"./u-icon.f5369555.js";import{p as N,g as Q}from"./pay.422381f0.js";import{w as Y}from"./wechat.56b0d350.js";import"./u-loading-icon.ea8c9ece.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const Z=L({name:"u--input",mixins:[e,W,a],components:{uvInput:K}},[["render",function(e,a,n,u,i,c){const d=t("uvInput");return l(),o(d,{modelValue:e.modelValue,"onUpdate:modelValue":a[0]||(a[0]=a=>e.$emit("update:modelValue",a)),type:e.type,fixed:e.fixed,disabled:e.disabled,disabledColor:e.disabledColor,clearable:e.clearable,password:e.password,maxlength:e.maxlength,placeholder:e.placeholder,placeholderClass:e.placeholderClass,placeholderStyle:e.placeholderStyle,showWordLimit:e.showWordLimit,confirmType:e.confirmType,confirmHold:e.confirmHold,holdKeyboard:e.holdKeyboard,focus:e.focus,autoBlur:e.autoBlur,disableDefaultPadding:e.disableDefaultPadding,cursor:e.cursor,cursorSpacing:e.cursorSpacing,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,inputAlign:e.inputAlign,fontSize:e.fontSize,color:e.color,prefixIcon:e.prefixIcon,suffixIcon:e.suffixIcon,suffixIconStyle:e.suffixIconStyle,prefixIconStyle:e.prefixIconStyle,border:e.border,readonly:e.readonly,shape:e.shape,customStyle:e.customStyle,formatter:e.formatter,ignoreCompositionEvent:e.ignoreCompositionEvent},{default:r((()=>[s(e.$slots,"prefix",{slot:"prefix"}),s(e.$slots,"suffix",{slot:"suffix"})])),_:3},8,["modelValue","type","fixed","disabled","disabledColor","clearable","password","maxlength","placeholder","placeholderClass","placeholderStyle","showWordLimit","confirmType","confirmHold","holdKeyboard","focus","autoBlur","disableDefaultPadding","cursor","cursorSpacing","selectionStart","selectionEnd","adjustPosition","inputAlign","fontSize","color","prefixIcon","suffixIcon","suffixIconStyle","prefixIconStyle","border","readonly","shape","customStyle","formatter","ignoreCompositionEvent"])}]]),G=L(n({__name:"pay",emits:["close"],setup(e,{expose:a,emit:t}){u()&&Y.init();const s=i(!1),n=i(!1),j=i(null),P=i(""),T=()=>{var e,a;uni.$u.test.isEmpty(P.value)?C({title:g("pay.notHavePayType"),icon:"none"}):n.value||(n.value=!0,N({trade_type:null==(e=j.value)?void 0:e.trade_type,trade_id:null==(a=j.value)?void 0:a.trade_id,type:P.value}).then((e=>{var a,t,l,o,r,s;switch(P.value){case"wechatpay":u()?(e.data.timestamp=e.data.timeStamp,delete e.data.timeStamp,Y.pay({...e.data,success:()=>{A()},cancel:()=>{n.value=!1}})):(uni.setStorageSync("paymenting",{trade_type:null==(a=j.value)?void 0:a.trade_type,trade_id:null==(t=j.value)?void 0:t.trade_id}),location.href=e.data.h5_url);break;case"alipay":u()?d({url:"/pages/pay/browser",param:{trade_type:null==(l=j.value)?void 0:l.trade_type,trade_id:null==(o=j.value)?void 0:o.trade_id,alipay:encodeURIComponent(e.data.url)},mode:"redirectTo"}):(uni.setStorageSync("paymenting",{trade_type:null==(r=j.value)?void 0:r.trade_type,trade_id:null==(s=j.value)?void 0:s.trade_id}),location.href=e.data.url);break;default:A()}})).catch((()=>{n.value=!1})))};c("checkIsReturnAfterPayment",(()=>{const e=uni.getStorageSync("paymenting");uni.getStorageSync("paymenting")&&d({url:"/pages/pay/result",param:{trade_type:e.trade_type,trade_id:e.trade_id},mode:"redirectTo",success(){uni.removeStorageSync("paymenting")}})}));const A=()=>{var e,a;d({url:"/pages/pay/result",param:{trade_type:null==(e=j.value)?void 0:e.trade_type,trade_id:null==(a=j.value)?void 0:a.trade_id},mode:"redirectTo"})},F=()=>{uni.removeStorageSync("paymenting"),s.value=!1,t("close")};return a({open:(e,a,t="")=>{uni.setStorageSync("payReturn",encodeURIComponent(t)),Q(e,a).then((e=>{let{data:a}=e;j.value=a,uni.$u.test.isEmpty(a)?C({title:g("pay.notObtainedInfo"),icon:"none"}):0!=a.money?0==a.status?(P.value=a.pay_type_list[0]?a.pay_type_list[0].key:"",s.value=!0):C({title:g("pay.paymentDocuments")+a.status_name,icon:"none"}):A()})).catch((()=>{}))}}),(e,a)=>{const t=I,u=p(m("u-image"),J),i=p(m("u-icon"),M),c=E,d=p(m("u-button"),B),C=p(m("u-popup"),q);return l(),o(C,{show:s.value,round:10,onClose:F,closeable:!0,bgColor:"#fff",zIndex:"10081",closeOnClickOverlay:!1},{default:r((()=>[j.value?(l(),o(t,{key:0,class:"flex flex-col h-[75vh]"},{default:r((()=>[y(t,{class:"head"},{default:r((()=>[y(t,{class:"text-center py-[26rpx]"},{default:r((()=>[f(_(x(g)("pay.payTitle")),1)])),_:1}),y(t,{class:"flex items-end justify-center w-full text-xl font-bold py-[20rpx]"},{default:r((()=>[y(t,{class:"text-base mr-[4rpx]"},{default:r((()=>[f(_(x(g)("currency")),1)])),_:1}),f(" "+_(x(v)(j.value.money)),1)])),_:1})])),_:1}),y(c,{"scroll-y":"true",class:"flex-1 pt-[20rpx]"},{default:r((()=>[y(t,{class:"flex text-sm px-[30rpx] py-[20rpx]"},{default:r((()=>[y(t,{class:"text-gray-500"},{default:r((()=>[f(_(x(g)("pay.orderInfo")),1)])),_:1}),y(t,{class:"text-right flex-1 pl-[30rpx] truncate"},{default:r((()=>[f(_(j.value.body),1)])),_:1})])),_:1}),y(t,{class:"mx-[30rpx] py-[10rpx] px-[30rpx] bg-white rounded-md bg-page"},{default:r((()=>[j.value.pay_type_list.length?(l(!0),b(h,{key:0},S(j.value.pay_type_list,((e,a)=>(l(),o(t,{class:"pay-item py-[18rpx] flex items-center border-0 border-b border-solid border-[#eee]",key:a,onClick:a=>P.value=e.key},{default:r((()=>[y(u,{src:x(k)(e.icon),width:"50rpx",height:"50rpx"},null,8,["src"]),y(t,{class:"flex-1 px-[20rpx] text-sm font-bold"},{default:r((()=>[f(_(e.name),1)])),_:2},1024),e.key==P.value?(l(),o(i,{key:0,name:"checkbox-mark",color:"var(--primary-color)"})):w("",!0)])),_:2},1032,["onClick"])))),128)):(l(),o(t,{key:1,class:"py-[20rpx] text-center text-sm text-gray-subtitle"},{default:r((()=>[f(_(x(g)("pay.notHavePayType")),1)])),_:1}))])),_:1})])),_:1}),y(t,{class:"p-[30rpx]"},{default:r((()=>[y(d,{type:"primary",loading:n.value,text:x(g)("pay.confirmPay"),shape:"circle",onClick:T},null,8,["loading","text"])])),_:1})])),_:1})):w("",!0)])),_:1},8,["show"])}}}),[["__scopeId","data-v-3a12120a"]]),X=L(n({__name:"balance",setup(e){const a=j(),t=i(!1),s=()=>{t.value=!0},n=()=>{t.value=!1},u=i([20,30,50,100,200,300]),c=i(""),E=i(!1),W=i(null),K=P({is_auto_transfer:0,is_auto_verify:0,is_open:0,min:0,rate:0,transfer_type:[]}),L=i(!0);T((()=>{A("checkIsReturnAfterPayment"),F().then((e=>{for(let a in e.data)K[a]=e.data[a];L.value=!1}))}));const J=()=>{uni.$u.test.isEmpty(c.value)?C({title:g("rechargeAmountPlaceholder"),icon:"none"}):!uni.$u.test.amount(c.value)||c.value<=0?C({title:g("rechargeAmountError"),icon:"none"}):E.value||(E.value=!0,O({recharge_money:c.value}).then((e=>{var a;null==(a=W.value)||a.open(e.data.trade_type,e.data.trade_id)})).catch((()=>{E.value=!1})))},M=()=>{uni.setStorageSync("cashOutAccountType","money"),d({url:"/pages/member/apply_cash_out"})};return(e,i)=>{const C=p(m("u-loading-page"),D),j=I,P=U,T=p(m("u-button"),B),A=p(m("u--input"),Z),F=p(m("u-popup"),q),O=p(m("pay"),G);return l(),b(h,null,[y(C,{loading:L.value,loadingText:""},null,8,["loading"]),R(y(j,{class:"account-info-wrap"},{default:r((()=>[y(j,{class:"account-info-head",style:$({background:"url("+x(k)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:r((()=>[y(j,{class:"name"},{default:r((()=>[f(_(x(g)("balanceInfo")),1)])),_:1}),y(j,{class:"content"},{default:r((()=>[y(j,{class:"money"},{default:r((()=>[f(_(x(a).info?x(v)((parseFloat(x(a).info.balance)+parseFloat(x(a).info.money)).toString()):"0.00"),1)])),_:1}),y(j,{class:"text"},{default:r((()=>[f(_(x(g)("accountBalance")),1)])),_:1}),y(j,{class:"money-wrap"},{default:r((()=>[y(j,{class:"money-item",onClick:i[0]||(i[0]=e=>x(d)({url:"/pages/member/detailed_account",param:{type:"balance"}}))},{default:r((()=>[y(j,{class:"money"},{default:r((()=>{var e;return[f(_(x(v)(null==(e=x(a).info)?void 0:e.balance)||"0.00"),1)]})),_:1}),y(j,{class:"text leading-none"},{default:r((()=>[f(_(x(g)("balance")),1)])),_:1})])),_:1}),y(j,{class:"money-item",onClick:i[1]||(i[1]=e=>x(d)({url:"/pages/member/detailed_account",param:{type:"money"}}))},{default:r((()=>[y(j,{class:"money"},{default:r((()=>{var e;return[f(_(x(v)(null==(e=x(a).info)?void 0:e.money)||"0.00"),1)]})),_:1}),y(j,{class:"text leading-none"},{default:r((()=>[f(_(x(g)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),y(j,{class:"account-info-btn"},{default:r((()=>[y(T,{type:"primary",shape:"circle",class:"btn",customStyle:{backgroundColor:"#FE4E50",color:"#fff",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:s},{default:r((()=>[H("img",{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:x(k)("static/resource/images/member/reset.png"),alt:""},null,8,["src"]),y(P,null,{default:r((()=>[f(_(x(g)("recharge")),1)])),_:1})])),_:1},8,["customStyle"]),1==K.is_open?(l(),o(T,{key:0,type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:M},{default:r((()=>[H("img",{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:x(k)("static/resource/images/member/withdraw_deposit.png"),alt:""},null,8,["src"]),y(P,null,{default:r((()=>[f(_(x(g)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])):w("",!0)])),_:1}),y(F,{show:t.value,mode:"center",round:10,onClose:n,closeable:!0},{default:r((()=>[y(j,{class:"w-80 px-3 pb-4 pt-7 box-border"},{default:r((()=>[y(A,{placeholder:x(g)("rechargeAmountPlaceholder"),modelValue:c.value,"onUpdate:modelValue":i[2]||(i[2]=e=>c.value=e),border:"bottom",type:"number",clearable:""},null,8,["placeholder","modelValue"]),y(j,{class:"top-up-wrap flex flex-wrap justify-around mt-3"},{default:r((()=>[(l(!0),b(h,null,S(u.value,((e,a)=>(l(),o(j,{key:a,class:z(["top-up-item w-22 box-border border-1 text-center rounded mt-2 py-3 px-4 border-gray-400 border-solid",{"border-primary text-primary":c.value==e}]),onClick:a=>c.value=e},{default:r((()=>[y(P,null,{default:r((()=>[f(_(e)+_(x(g)("yuan")),1)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1}),y(j,{class:"mt-5 px-2"},{default:r((()=>[y(T,{type:"primary",shape:"circle",loading:E.value,text:x(g)("clickRecharge"),onClick:J},null,8,["loading","text"])])),_:1}),y(j,{class:"mt-[20rpx] text-center text-sm",onClick:i[3]||(i[3]=e=>x(d)({url:"/pages/member/recharge_record"}))},{default:r((()=>[f(_(x(g)("rechargeRecord")),1)])),_:1})])),_:1})])),_:1},8,["show"]),y(O,{ref_key:"payRef",ref:W,onClose:i[4]||(i[4]=e=>E.value=!1)},null,512)])),_:1},512),[[V,!L.value]])],64)}}}),[["__scopeId","data-v-1c825d43"]]);export{X as default}; diff --git a/niucloud/public/wap/assets/pages-member-cash_out.57f0f96a.js b/niucloud/public/wap/assets/pages-member-cash_out.57f0f96a.js deleted file mode 100644 index af22e7b4d..000000000 --- a/niucloud/public/wap/assets/pages-member-cash_out.57f0f96a.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,h as s,i as t,w as l,j as n,M as o,N as r,l as c,O as u,m,P as p,Q as i,aE as _,t as d,D as f,E as y,J as v,F as h,R as g}from"./index-15eacd31.js";import{u as k,M as w}from"./useMescroll.fbb7af33.js";import{M as T}from"./mescroll-empty.22c37416.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";const M=j(e({__name:"cash_out",setup(e){const{mescrollInit:j,downCallback:M,getMescroll:b}=k(i,p);let x=a([]),I=a(null),C=a(!1),D=uni.getStorageSync("cashOutAccountType");const E=e=>{switch(e){case 1:return v("toBeReviewed");case 2:return v("toBeTransfer");case 3:return v("transfer");case-2:return v("cancelApply")}},R=e=>{let s=a({});C.value=!1,s.value.page=e.num,s.value.page_size=e.size,s.value.account_type=D,_(s.value).then((a=>{let s=a.data.data;e.endSuccess(s.length),1==e.num&&(x.value=[]),x.value=x.value.concat(s),C.value=!0})).catch((()=>{C.value=!0,e.endErr()}))};return(e,a)=>{const p=d;return s(),t(p,{class:"member-record-list"},{default:l((()=>[n(w,{ref_key:"mescrollRef",ref:I,onInit:c(j),onDown:c(M),onUp:R},{default:l((()=>[(s(!0),o(u,null,r(c(x),((e,a)=>(s(),t(p,{key:e.id,class:"member-record-item",onClick:a=>{g({url:"/pages/member/cash_out_detail",param:{id:e.id}})}},{default:l((()=>[n(p,{class:"name"},{default:l((()=>[f(y(e.transfer_type_name),1)])),_:2},1024),n(p,{class:"desc"},{default:l((()=>[f(y(c(v)("applyTime"))+": "+y(e.create_time),1)])),_:2},1024),n(p,{class:"desc"},{default:l((()=>[f(y(-1!=e.status?E(e.status):e.refuse_reason),1)])),_:2},1024),n(p,{class:h(["money",e.apply_money>0?"text-active":""])},{default:l((()=>[f(y(e.apply_money>0?"+"+e.apply_money:e.apply_money),1)])),_:2},1032,["class"]),n(p,{class:"state"},{default:l((()=>[f(y(e.status_name),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128)),!c(x).length&&c(C)?(s(),t(T,{key:0,option:{tip:"commission"==c(D)?c(v)("commissemptyTip"):c(v)("emptyTip")}},null,8,["option"])):m("",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-84fd62a2"]]);export{M as default}; diff --git a/niucloud/public/wap/assets/pages-member-cash_out_detail.ccd37d79.js b/niucloud/public/wap/assets/pages-member-cash_out_detail.ccd37d79.js deleted file mode 100644 index 2d3f2811f..000000000 --- a/niucloud/public/wap/assets/pages-member-cash_out_detail.ccd37d79.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,o as l,aF as s,h as t,i as u,w as _,j as r,D as c,E as f,l as d,m as n,H as i,t as o,J as p}from"./index-15eacd31.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";const v=m(a({__name:"cash_out_detail",setup(a){let m=e({}),v=e(!1);l((a=>{let e=a.id||"";b(e)}));const b=a=>{v.value=!1,s(a).then((a=>{m.value=a.data,v.value=!0})).catch((()=>{v.value=!0}))};return(a,e)=>{const l=i,s=o;return t(),u(s,{class:"member-record-detail"},{default:_((()=>[r(s,{class:"money-wrap"},{default:_((()=>[r(l,null,{default:_((()=>[c("-"+f(d(m).apply_money),1)])),_:1}),r(l,null,{default:_((()=>[c(f(d(m).status_name),1)])),_:1})])),_:1}),r(s,{class:"item"},{default:_((()=>[r(s,{class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("cashOutNo")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).cash_out_no),1)])),_:1})])),_:1}),r(s,{class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("serviceMoney")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c("¥"+f(d(m).service_money),1)])),_:1})])),_:1}),r(s,{class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("createTime")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).create_time),1)])),_:1})])),_:1}),d(m).status?(t(),u(s,{key:0,class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("auditTime")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).audit_time),1)])),_:1})])),_:1})):n("",!0),d(m).transfer_bank?(t(),u(s,{key:1,class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("transferBank")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).transfer_bank),1)])),_:1})])),_:1})):n("",!0),r(s,{class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("transferAccount")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).transfer_account),1)])),_:1})])),_:1}),-1==d(m).status&&d(m).refuse_reason?(t(),u(s,{key:2,class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("refuseReason")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).refuse_reason),1)])),_:1})])),_:1})):n("",!0),2==d(m).status?(t(),u(s,{key:3,class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("transferTypeName")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).transfer_type_name),1)])),_:1})])),_:1})):n("",!0),2==d(m).status?(t(),u(s,{key:4,class:"line-wrap"},{default:_((()=>[r(l,{class:"label"},{default:_((()=>[c(f(d(p)("transferTime")),1)])),_:1}),r(l,{class:"value"},{default:_((()=>[c(f(d(m).transfer_time),1)])),_:1})])),_:1})):n("",!0)])),_:1})])),_:1})}}}),[["__scopeId","data-v-49c455c6"]]);export{v as default}; diff --git a/niucloud/public/wap/assets/pages-member-commission.2562b979.js b/niucloud/public/wap/assets/pages-member-commission.2562b979.js deleted file mode 100644 index 6c98a5825..000000000 --- a/niucloud/public/wap/assets/pages-member-commission.2562b979.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,U as s,h as e,i as o,w as t,j as c,D as n,E as l,l as i,n as m,au as r,R as u,t as d,H as p,p as _,q as f,x as g,J as y,aq as b}from"./index-15eacd31.js";import{_ as x}from"./u-button.5c85e6cc.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.ea8c9ece.js";import"./u-icon.f5369555.js";const w=h(a({__name:"commission",setup(a){const h=s(),w=()=>{uni.setStorageSync("cashOutAccountType","commission"),u({url:"/pages/member/apply_cash_out"})};return(a,s)=>{const v=d,j=p,C=_(f("u-button"),x);return e(),o(v,{class:"account-info-wrap"},{default:t((()=>[c(v,{class:"account-info-head",style:m({background:"url("+i(g)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:t((()=>[c(v,{class:"name"},{default:t((()=>[n(l(i(y)("commissionInfo")),1)])),_:1}),c(v,{class:"content"},{default:t((()=>[c(v,{class:"money",onClick:s[0]||(s[0]=a=>i(u)({url:"/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[n(l(i(h).info?i(b)(i(h).info.commission):0),1)])),_:1}),c(v,{class:"text",onClick:s[1]||(s[1]=a=>i(u)({url:"/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[n(l(i(y)("accountCommission")),1)])),_:1}),c(v,{class:"money-wrap"},{default:t((()=>[c(v,{class:"money-item"},{default:t((()=>[c(v,{class:"money"},{default:t((()=>{var a;return[n(l(i(b)(null==(a=i(h).info)?void 0:a.commission_get)||"0.00"),1)]})),_:1}),c(v,{class:"text"},{default:t((()=>[n(l(i(y)("commission")),1)])),_:1})])),_:1}),c(v,{class:"money-item"},{default:t((()=>[c(v,{class:"money"},{default:t((()=>{var a;return[n(l(i(b)(null==(a=i(h).info)?void 0:a.commission_cash_outing)||"0.00"),1)]})),_:1}),c(v,{class:"text"},{default:t((()=>[n(l(i(y)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),c(v,{class:"account-info-btn"},{default:t((()=>[c(C,{type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:w},{default:t((()=>[r("img",{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:i(g)("static/resource/images/member/withdraw_deposit.png"),alt:""},null,8,["src"]),c(j,null,{default:t((()=>[n(l(i(y)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-a04a90cc"]]);export{w as default}; diff --git a/niucloud/public/wap/assets/pages-member-detailed_account.dfe0ec43.js b/niucloud/public/wap/assets/pages-member-detailed_account.dfe0ec43.js deleted file mode 100644 index cf4aecf39..000000000 --- a/niucloud/public/wap/assets/pages-member-detailed_account.dfe0ec43.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,o as s,h as t,i as l,w as o,j as c,M as n,N as u,O as m,l as r,m as d,P as i,Q as p,t as _,D as v,E as f,F as y,J as b,aB as g,aC as h,aD as j}from"./index-15eacd31.js";import{u as k,M}from"./useMescroll.fbb7af33.js";import{M as w}from"./mescroll-empty.22c37416.js";import{_ as x}from"./_plugin-vue_export-helper.1b428a4d.js";const D=x(a({__name:"detailed_account",setup(a){const{mescrollInit:x,downCallback:D,getMescroll:I}=k(p,i),T=e("");s((a=>{T.value=a.type||"balance"}));const z=e([]),C=e(!1),E=e(null),B=a=>{C.value=!1;let e={page:a.num,page_size:a.size},s=a=>{};"balance"==T.value?s=g:"money"==T.value?s=h:"commission"==T.value&&(s=j),s(e).then((e=>{let s=e.data.data;a.endSuccess(s.length),1==a.num&&(z.value=[]),z.value=z.value.concat(s),C.value=!0})).catch((()=>{C.value=!0,a.endErr()}))};return(a,e)=>{const s=_;return t(),l(s,{class:"member-record-list"},{default:o((()=>[c(M,{ref_key:"mescrollRef",ref:E,onInit:r(x),onDown:r(D),onUp:B,top:""},{default:o((()=>[(t(!0),n(m,null,u(z.value,((a,e)=>(t(),l(s,{key:a.id,class:"member-record-item"},{default:o((()=>[c(s,{class:"name"},{default:o((()=>[v(f(a.from_type_name),1)])),_:2},1024),a.memo?(t(),l(s,{key:0,class:"desc"},{default:o((()=>[v(f(a.memo),1)])),_:2},1024)):d("",!0),c(s,{class:"desc"},{default:o((()=>[v(f(a.create_time),1)])),_:2},1024),c(s,{class:y(["money",a.account_data>0?"text-active":""])},{default:o((()=>[v(f(a.account_data>0?"+"+a.account_data:a.account_data),1)])),_:2},1032,["class"])])),_:2},1024)))),128)),!z.value.length&&C.value?(t(),l(w,{key:0,option:{tip:"commission"==T.value?r(b)("commissemptyTip"):r(b)("emptyTip")}},null,8,["option"])):d("",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-ba9ac1e5"]]);export{D as default}; diff --git a/niucloud/public/wap/assets/pages-member-index.dbd4736b.js b/niucloud/public/wap/assets/pages-member-index.dbd4736b.js deleted file mode 100644 index 4f7b9a3b3..000000000 --- a/niucloud/public/wap/assets/pages-member-index.dbd4736b.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,u as l,a as t,c as o,o as r,b as s,s as p,e as i,g,f as d,U as u,h as n,i as m,w as f,j as c,k as b,v as _,l as v,n as x,m as j,p as y,q as h,t as k,x as w}from"./index-15eacd31.js";import{_ as M}from"./u-loading-page.925a187b.js";import{_ as S,a as D}from"./index.1798b78b.js";import{_ as R}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.ea8c9ece.js";import"./u-transition.a952a64b.js";import"./u-icon.f5369555.js";import"./tabbar.e67e4875.js";import"./u-image.b892f6c4.js";import"./u-safe-bottom.593b5cec.js";import"./article.0307362e.js";import"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import"./u-avatar.ddef1faa.js";const I=R(a({__name:"index",setup(a){const R=e(!0),I=l(),B=e(0),C=t({pageMode:"diy",title:"",global:{},value:[]}),E=o((()=>"decorate"==I.mode?I:C));return r((a=>{I.mode=a.mode||"","decorate"==I.mode&&(R.value=!1)})),s((()=>{B.value++,p()})),i((()=>{"decorate"==I.mode?I.init():g({name:"DIY_MEMBER_INDEX"}).then((a=>{if(a.data.value){let e=a.data;C.pageMode=e.mode,C.title=e.title;let l=JSON.parse(e.value);C.global=l.global,C.value=l.value,C.value.forEach(((a,e)=>{a.pageStyle="",a.pageBgColor&&(a.pageStyle+="background-color:"+a.pageBgColor+";"),a.margin&&(a.pageStyle+="padding-top:"+2*a.margin.top+"rpx;",a.pageStyle+="padding-bottom:"+2*a.margin.bottom+"rpx;",a.pageStyle+="padding-right:"+2*a.margin.both+"rpx;",a.pageStyle+="padding-left:"+2*a.margin.both+"rpx;")})),d({title:C.title})}R.value=!1})),u().getMemberInfo()})),(a,e)=>{const l=y(h("u-loading-page"),M),t=y(h("diy-group"),S),o=k,r=y(h("fixed-group"),D);return n(),m(o,null,{default:f((()=>[c(l,{loading:R.value,loadingText:"","bg-color":"#f7f7f7"},null,8,["loading"]),b(c(o,null,{default:f((()=>["fixed"!=v(E).pageMode?(n(),m(o,{key:0,class:"diy-template-wrap bg-index",style:x({backgroundColor:v(E).global.pageBgColor,minHeight:"calc(100vh - 50px)",backgroundImage:v(E).global.bgUrl?"url("+v(w)(v(E).global.bgUrl)+")":""})},{default:f((()=>[c(t,{data:v(E),pullDownRefresh:B.value},null,8,["data","pullDownRefresh"])])),_:1},8,["style"])):j("",!0),"fixed"==v(E).pageMode?(n(),m(o,{key:1,class:"fixed-template-wrap"},{default:f((()=>[c(r,{data:v(E),pullDownRefresh:B.value},null,8,["data","pullDownRefresh"])])),_:1})):j("",!0)])),_:1},512),[[_,!R.value]])])),_:1})}}}),[["__scopeId","data-v-1c8f71ff"]]);export{I as default}; diff --git a/niucloud/public/wap/assets/pages-member-personal.66c2c720.js b/niucloud/public/wap/assets/pages-member-personal.66c2c720.js deleted file mode 100644 index 31ba17894..000000000 --- a/niucloud/public/wap/assets/pages-member-personal.66c2c720.js +++ /dev/null @@ -1 +0,0 @@ -import{aO as e,aP as t,aQ as i,y as a,z as n,A as r,a8 as l,p as s,q as o,h as u,i as c,w as d,j as m,M as h,O as f,N as p,n as y,D as g,E as _,m as x,G as $,C as v,F as b,a1 as C,H as k,t as w,aR as I,aS as S,d as D,U as M,c as T,a as O,r as H,l as P,a5 as j,J as V,aT as F,aU as z,I as B,x as N,aV as A}from"./index-15eacd31.js";import{_ as L}from"./u-avatar.ddef1faa.js";import{_ as R}from"./u-icon.f5369555.js";import{_ as U}from"./u-loading-icon.ea8c9ece.js";import{_ as Y}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as W,a as Z,b as J}from"./u-action-sheet.1e4dbfee.js";import{_ as E}from"./u-button.5c85e6cc.js";import{_ as q}from"./app-link.vue_vue_type_script_setup_true_lang.18597de0.js";import{_ as Q}from"./u-modal.755a4b61.js";import{_ as G}from"./u-popup.8a491625.js";import"./u-line.bb8d1497.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function K(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce(((i,a)=>(t.includes(a)||(i[a]=e[a]),i)),{}):{}}function X(e){return e.tempFiles.map((e=>({...K(e,["path"]),url:e.path,size:e.size,name:e.name,type:e.type})))}function ee({accept:a,multiple:n,capture:r,compressed:l,maxDuration:s,sizeType:o,camera:u,maxCount:c}){return new Promise(((d,m)=>{switch(a){case"image":i({count:n?Math.min(c,9):1,sourceType:r,sizeType:o,success:e=>d(function(e){return e.tempFiles.map((e=>({...K(e,["path"]),type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name})))}(e)),fail:m});break;case"video":t({sourceType:r,compressed:l,maxDuration:s,camera:u,success:e=>d(function(e){return[{...K(e,["tempFilePath","thumbTempFilePath","errMsg"]),type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,name:e.name}]}(e)),fail:m});break;case"file":e({count:n?c:1,type:a,success:e=>d(X(e)),fail:m});break;default:e({count:n?c:1,type:"all",success:e=>d(X(e)),fail:m})}}))}const te=Y({name:"u-upload",mixins:[n,r,{watch:{accept:{immediate:!0,handler(e){"all"!==e&&"media"!==e||uni.$u.error("只有微信小程序才支持把accept配置为all、media之一")}}}},{props:{accept:{type:String,default:a.upload.accept},capture:{type:[String,Array],default:a.upload.capture},compressed:{type:Boolean,default:a.upload.compressed},camera:{type:String,default:a.upload.camera},maxDuration:{type:Number,default:a.upload.maxDuration},uploadIcon:{type:String,default:a.upload.uploadIcon},uploadIconColor:{type:String,default:a.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:a.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:a.upload.previewFullImage},maxCount:{type:[String,Number],default:a.upload.maxCount},disabled:{type:Boolean,default:a.upload.disabled},imageMode:{type:String,default:a.upload.imageMode},name:{type:String,default:a.upload.name},sizeType:{type:Array,default:a.upload.sizeType},multiple:{type:Boolean,default:a.upload.multiple},deletable:{type:Boolean,default:a.upload.deletable},maxSize:{type:[String,Number],default:a.upload.maxSize},fileList:{type:Array,default:a.upload.fileList},uploadText:{type:String,default:a.upload.uploadText},width:{type:[String,Number],default:a.upload.width},height:{type:[String,Number],default:a.upload.height},previewImage:{type:Boolean,default:a.upload.previewImage}}}],data:()=>({lists:[],isInCount:!0}),watch:{fileList:{immediate:!0,handler(){this.formatFileList()},immediate:!0,deep:!0}},emits:["error","beforeRead","oversize","afterRead","delete","clickPreview"],methods:{formatFileList(){const{fileList:e=[],maxCount:t}=this,i=e.map((e=>Object.assign(Object.assign({},e),{isImage:"image"===this.accept||uni.$u.test.image(e.url||e.thumb),isVideo:"video"===this.accept||uni.$u.test.video(e.url||e.thumb),deletable:"boolean"==typeof e.deletable?e.deletable:this.deletable})));this.lists=i,this.isInCount=i.length{this.onBeforeRead(t?e:e[0])})).catch((e=>{this.$emit("error",e)}))},onBeforeRead(e){const{beforeRead:t,useBeforeRead:i}=this;let a=!0;uni.$u.test.func(t)&&(a=t(e,this.getDetail())),i&&(a=new Promise(((t,i)=>{this.$emit("beforeRead",Object.assign(Object.assign({file:e},this.getDetail()),{callback:e=>{e?t():i()}}))}))),a&&(uni.$u.test.promise(a)?a.then((t=>this.onAfterRead(t||e))):this.onAfterRead(e))},getDetail(e){return{name:this.name,index:null==e?this.fileList.length:e}},onAfterRead(e){const{maxSize:t,afterRead:i}=this;(Array.isArray(e)?e.some((e=>e.size>t)):e.size>t)?this.$emit("oversize",Object.assign({file:e},this.getDetail())):("function"==typeof i&&i(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail())))},deleteItem(e){this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage(e){e.isImage&&this.previewFullImage&&l({urls:this.lists.filter((e=>"image"===this.accept||uni.$u.test.image(e.url||e.thumb))).map((e=>e.url||e.thumb)),current:e.url||e.thumb,fail(){uni.$u.toast("预览图片失败")}})},onPreviewVideo(e){if(!this.data.previewFullImage)return;const{index:t}=e.currentTarget.dataset,{lists:i}=this.data;wx.previewMedia({sources:i.filter((e=>isVideoFile(e))).map((e=>Object.assign(Object.assign({},e),{type:"video"}))),current:t,fail(){uni.$u.toast("预览视频失败")}})},onClickPreview(e){const{index:t}=e.currentTarget.dataset,i=this.data.lists[t];this.$emit("clickPreview",Object.assign(Object.assign({},i),this.getDetail(t)))}}},[["render",function(e,t,i,a,n,r){const l=C,I=s(o("u-icon"),R),S=k,D=w,M=s(o("u-loading-icon"),U);return u(),c(D,{class:"u-upload",style:y([e.$u.addStyle(e.customStyle)])},{default:d((()=>[m(D,{class:"u-upload__wrap"},{default:d((()=>[e.previewImage?(u(!0),h(f,{key:0},p(n.lists,((t,i)=>(u(),c(D,{class:"u-upload__wrap__preview",key:i},{default:d((()=>[t.isImage||t.type&&"image"===t.type?(u(),c(l,{key:0,src:t.thumb||t.url,mode:e.imageMode,class:"u-upload__wrap__preview__image",onClick:e=>r.onPreviewImage(t),style:y([{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}])},null,8,["src","mode","onClick","style"])):(u(),c(D,{key:1,class:"u-upload__wrap__preview__other"},{default:d((()=>[m(I,{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"},null,8,["name"]),m(S,{class:"u-upload__wrap__preview__other__text"},{default:d((()=>[g(_(t.isVideo||t.type&&"video"===t.type?"视频":"文件"),1)])),_:2},1024)])),_:2},1024)),"uploading"===t.status||"failed"===t.status?(u(),c(D,{key:2,class:"u-upload__status"},{default:d((()=>[m(D,{class:"u-upload__status__icon"},{default:d((()=>["failed"===t.status?(u(),c(I,{key:0,name:"close-circle",color:"#ffffff",size:"25"})):(u(),c(M,{key:1,size:"22",mode:"circle",color:"#ffffff"}))])),_:2},1024),t.message?(u(),c(S,{key:0,class:"u-upload__status__message"},{default:d((()=>[g(_(t.message),1)])),_:2},1024)):x("",!0)])),_:2},1024)):x("",!0),"uploading"!==t.status&&(e.deletable||t.deletable)?(u(),c(D,{key:3,class:"u-upload__deletable",onClick:$((e=>r.deleteItem(i)),["stop"])},{default:d((()=>[m(D,{class:"u-upload__deletable__icon"},{default:d((()=>[m(I,{name:"close",color:"#ffffff",size:"10"})])),_:1})])),_:2},1032,["onClick"])):x("",!0),"success"===t.status?(u(),c(D,{key:4,class:"u-upload__success"},{default:d((()=>[m(D,{class:"u-upload__success__icon"},{default:d((()=>[m(I,{name:"checkmark",color:"#ffffff",size:"12"})])),_:1})])),_:1})):x("",!0)])),_:2},1024)))),128)):x("",!0),n.isInCount?(u(),h(f,{key:1},[e.$slots.default||e.$slots.$default?(u(),c(D,{key:0,onClick:r.chooseFile},{default:d((()=>[v(e.$slots,"default",{},void 0,!0)])),_:3},8,["onClick"])):(u(),c(D,{key:1,class:b(["u-upload__button",[e.disabled&&"u-upload__button--disabled"]]),"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150",onClick:r.chooseFile,style:y([{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}])},{default:d((()=>[m(I,{name:e.uploadIcon,size:"26",color:e.uploadIconColor},null,8,["name","color"]),e.uploadText?(u(),c(S,{key:0,class:"u-upload__button__text"},{default:d((()=>[g(_(e.uploadText),1)])),_:1})):x("",!0)])),_:1},8,["hover-class","onClick","class","style"]))],64)):x("",!0)])),_:3})])),_:3},8,["style"])}],["__scopeId","data-v-9283198f"]]);const ie=Y({name:"u-toolbar",mixins:[n,r,{props:{show:{type:Boolean,default:a.toolbar.show},cancelText:{type:String,default:a.toolbar.cancelText},confirmText:{type:String,default:a.toolbar.confirmText},cancelColor:{type:String,default:a.toolbar.cancelColor},confirmColor:{type:String,default:a.toolbar.confirmColor},title:{type:String,default:a.toolbar.title}}}],methods:{cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm")}}},[["render",function(e,t,i,a,n,r){const l=k,s=w;return e.show?(u(),c(s,{key:0,class:"u-toolbar",onTouchmove:$(e.noop,["stop","prevent"])},{default:d((()=>[m(s,{class:"u-toolbar__cancel__wrapper","hover-class":"u-hover-class"},{default:d((()=>[m(l,{class:"u-toolbar__wrapper__cancel",onClick:r.cancel,style:y({color:e.cancelColor})},{default:d((()=>[g(_(e.cancelText),1)])),_:1},8,["onClick","style"])])),_:1}),e.title?(u(),c(l,{key:0,class:"u-toolbar__title u-line-1"},{default:d((()=>[g(_(e.title),1)])),_:1})):x("",!0),m(s,{class:"u-toolbar__confirm__wrapper","hover-class":"u-hover-class"},{default:d((()=>[m(l,{class:"u-toolbar__wrapper__confirm",onClick:r.confirm,style:y({color:e.confirmColor})},{default:d((()=>[g(_(e.confirmText),1)])),_:1},8,["onClick","style"])])),_:1})])),_:1},8,["onTouchmove"])):x("",!0)}],["__scopeId","data-v-88cf1536"]]);const ae=Y({name:"u-picker",mixins:[n,r,{props:{show:{type:Boolean,default:a.picker.show},showToolbar:{type:Boolean,default:a.picker.showToolbar},title:{type:String,default:a.picker.title},columns:{type:Array,default:a.picker.columns},loading:{type:Boolean,default:a.picker.loading},itemHeight:{type:[String,Number],default:a.picker.itemHeight},cancelText:{type:String,default:a.picker.cancelText},confirmText:{type:String,default:a.picker.confirmText},cancelColor:{type:String,default:a.picker.cancelColor},confirmColor:{type:String,default:a.picker.confirmColor},visibleItemCount:{type:[String,Number],default:a.picker.visibleItemCount},keyName:{type:String,default:a.picker.keyName},closeOnClickOverlay:{type:Boolean,default:a.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:a.picker.defaultIndex},immediateChange:{type:Boolean,default:a.picker.immediateChange}}}],data:()=>({lastIndex:[],innerIndex:[],innerColumns:[],columnIndex:0}),watch:{defaultIndex:{immediate:!0,handler(e){this.setIndexs(e,!0)}},columns:{immediate:!0,deep:!0,handler(e){this.setColumns(e)}}},emits:["close","cancel","confirm","change"],methods:{getItemText(e){return uni.$u.test.object(e)?e[this.keyName]:e},closeHandler(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm",{indexs:this.innerIndex,value:this.innerColumns.map(((e,t)=>e[this.innerIndex[t]])),values:this.innerColumns})},changeHandler(e){const{value:t}=e.detail;let i=0,a=0;for(let r=0;re[t[i]])),index:i,indexs:t,values:n,columnIndex:a})},setIndexs(e,t){this.innerIndex=uni.$u.deepClone(e),t&&this.setLastIndex(e)},setLastIndex(e){this.lastIndex=uni.$u.deepClone(e)},setColumnValues(e,t){this.innerColumns.splice(e,1,t);let i=uni.$u.deepClone(this.innerIndex);for(let a=0;athis.columnIndex&&(i[a]=0);this.setIndexs(i)},getColumnValues(e){return(async()=>{await uni.$u.sleep()})(),this.innerColumns[e]},setColumns(e){console.log(e),this.innerColumns=uni.$u.deepClone(e),0===this.innerIndex.length&&(this.innerIndex=new Array(e.length).fill(0))},getIndexs(){return this.innerIndex},getValues(){return(async()=>{await uni.$u.sleep()})(),this.innerColumns.map(((e,t)=>e[this.innerIndex[t]]))}}},[["render",function(e,t,i,a,n,r){const l=s(o("u-toolbar"),ie),$=k,v=I,b=S,C=s(o("u-loading-icon"),U),D=w,M=s(o("u-popup"),G);return u(),c(M,{show:e.show,onClose:r.closeHandler},{default:d((()=>[m(D,{class:"u-picker"},{default:d((()=>[e.showToolbar?(u(),c(l,{key:0,cancelColor:e.cancelColor,confirmColor:e.confirmColor,cancelText:e.cancelText,confirmText:e.confirmText,title:e.title,onCancel:r.cancel,onConfirm:r.confirm},null,8,["cancelColor","confirmColor","cancelText","confirmText","title","onCancel","onConfirm"])):x("",!0),m(b,{class:"u-picker__view",indicatorStyle:`height: ${e.$u.addUnit(e.itemHeight)}`,value:n.innerIndex,immediateChange:e.immediateChange,style:y({height:`${e.$u.addUnit(e.visibleItemCount*e.itemHeight)}`}),onChange:r.changeHandler},{default:d((()=>[(u(!0),h(f,null,p(n.innerColumns,((t,i)=>(u(),c(v,{key:i,class:"u-picker__view__column"},{default:d((()=>[e.$u.test.array(t)?(u(!0),h(f,{key:0},p(t,((t,a)=>(u(),c($,{class:"u-picker__view__column__item u-line-1",key:a,style:y({height:e.$u.addUnit(e.itemHeight),lineHeight:e.$u.addUnit(e.itemHeight),fontWeight:a===n.innerIndex[i]?"bold":"normal"})},{default:d((()=>[g(_(r.getItemText(t)),1)])),_:2},1032,["style"])))),128)):x("",!0)])),_:2},1024)))),128))])),_:1},8,["indicatorStyle","value","immediateChange","style","onChange"]),e.loading?(u(),c(D,{key:1,class:"u-picker--loading"},{default:d((()=>[m(C,{mode:"circle"})])),_:1})):x("",!0)])),_:1})])),_:1},8,["show","onClose"])}],["__scopeId","data-v-f5929e2b"]]),ne={props:{show:{type:Boolean,default:a.datetimePicker.show},showToolbar:{type:Boolean,default:a.datetimePicker.showToolbar},modelValue:{type:[String,Number],default:a.datetimePicker.value},title:{type:String,default:a.datetimePicker.title},mode:{type:String,default:a.datetimePicker.mode},maxDate:{type:Number,default:a.datetimePicker.maxDate},minDate:{type:Number,default:a.datetimePicker.minDate},minHour:{type:Number,default:a.datetimePicker.minHour},maxHour:{type:Number,default:a.datetimePicker.maxHour},minMinute:{type:Number,default:a.datetimePicker.minMinute},maxMinute:{type:Number,default:a.datetimePicker.maxMinute},filter:{type:[Function,null],default:a.datetimePicker.filter},formatter:{type:[Function,null],default:a.datetimePicker.formatter},loading:{type:Boolean,default:a.datetimePicker.loading},itemHeight:{type:[String,Number],default:a.datetimePicker.itemHeight},cancelText:{type:String,default:a.datetimePicker.cancelText},confirmText:{type:String,default:a.datetimePicker.confirmText},cancelColor:{type:String,default:a.datetimePicker.cancelColor},confirmColor:{type:String,default:a.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:a.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:a.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:a.datetimePicker.defaultIndex}}};var re={};({get exports(){return re},set exports(e){re=e}}).exports=function(){var e=1e3,t=6e4,i=36e5,a="millisecond",n="second",r="minute",l="hour",s="day",o="week",u="month",c="quarter",d="year",m="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}},g=function(e,t,i){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(i)+e},_={s:g,z:function(e){var t=-e.utcOffset(),i=Math.abs(t),a=Math.floor(i/60),n=i%60;return(t<=0?"+":"-")+g(a,2,"0")+":"+g(n,2,"0")},m:function e(t,i){if(t.date()1)return e(l[0])}else{var s=t.name;$[s]=t,n=s}return!a&&n&&(x=n),n||!a&&x},C=function(e,t){if(v(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new w(i)},k=_;k.l=b,k.i=v,k.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function y(e){this.$L=b(e.locale,null,!0),this.parse(e)}var g=y.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(f);if(a){var n=a[2]-1||0,r=(a[7]||"0").substring(0,3);return i?new Date(Date.UTC(a[1],n,a[3]||1,a[4]||0,a[5]||0,a[6]||0,r)):new Date(a[1],n,a[3]||1,a[4]||0,a[5]||0,a[6]||0,r)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var i=C(e);return this.startOf(t)<=i&&i<=this.endOf(t)},g.isAfter=function(e,t){return C(e)({columns:[],innerDefaultIndex:[],innerFormatter:(e,t)=>t}),watch:{show(e,t){e&&this.updateColumnValue(this.innerValue)},propsChange(){this.init()}},computed:{propsChange(){return[this.mode,this.maxDate,this.minDate,this.minHour,this.maxHour,this.minMinute,this.maxMinute,this.filter]}},mounted(){this.init()},emits:["close","cancel","confirm","change"],methods:{init(){this.innerValue=this.correctValue(this.modelValue),this.updateColumnValue(this.innerValue)},setFormatter(e){this.innerFormatter=e},close(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm",{value:this.innerValue,mode:this.mode}),this.$emit("update:modelValue",this.innerValue)},intercept(e,t){let i=e.match(/\d+/g);return i.length>1?(uni.$u.error("请勿在过滤或格式化函数时添加数字"),0):t&&4==i[0].length?i[0]:i[0].length>2?(uni.$u.error("请勿在过滤或格式化函数时添加数字"),0):i[0]},change(e){const{indexs:t,values:i}=e;let a="";if("time"===this.mode)a=`${this.intercept(i[0][t[0]])}:${this.intercept(i[1][t[1]])}`;else{const e=parseInt(this.intercept(i[0][t[0]],"year")),n=parseInt(this.intercept(i[1][t[1]]));let r=parseInt(i[2]?this.intercept(i[2][t[2]]):1),l=0,s=0;const o=le(`${e}-${n}`).daysInMonth();"year-month"===this.mode&&(r=1),r=Math.min(o,r),"datetime"===this.mode&&(l=parseInt(this.intercept(i[3][t[3]])),s=parseInt(this.intercept(i[4][t[4]]))),a=Number(new Date(e,n-1,r,l,s))}a=this.correctValue(a),this.innerValue=a,this.updateColumnValue(a),this.$emit("change",{value:a,picker:this.$refs.picker,mode:this.mode})},updateColumnValue(e){this.innerValue=e,this.updateColumns(),this.updateIndexs(e)},updateIndexs(e){let t=[];const i=this.formatter||this.innerFormatter,a=uni.$u.padZero;if("time"===this.mode){const a=e.split(":");t=[i("hour",a[0]),i("minute",a[1])]}else t=[i("year",`${le(e).year()}`),i("month",a(le(e).month()+1))],"date"===this.mode&&t.push(i("day",a(le(e).date()))),"datetime"===this.mode&&t.push(i("day",a(le(e).date())),i("hour",a(le(e).hour())),i("minute",a(le(e).minute())));const n=this.columns.map(((e,i)=>Math.max(0,e.findIndex((e=>e===t[i])))));this.innerDefaultIndex=n},updateColumns(){const e=this.formatter||this.innerFormatter,t=this.getOriginColumns().map((t=>t.values.map((i=>e(t.type,i)))));this.columns=t},getOriginColumns(){return this.getRanges().map((({type:e,range:t})=>{let i=function(e,t){let i=-1;const a=Array(e<0?0:e);for(;++i{let a=t[0]+i;return a="year"===e?`${a}`:uni.$u.padZero(a),a}));return this.filter&&(i=this.filter(e,i)),{type:e,values:i}}))},generateArray:(e,t)=>Array.from(new Array(t+1).keys()).slice(e),correctValue(e){const t="time"!==this.mode;if(t&&!uni.$u.test.date(e)?e=this.minDate:t||e||(e=`${uni.$u.padZero(this.minHour)}:${uni.$u.padZero(this.minMinute)}`),t)return e=le(e).isBefore(le(this.minDate))?this.minDate:e,e=le(e).isAfter(le(this.maxDate))?this.maxDate:e;{if(-1===String(e).indexOf(":"))return uni.$u.error("时间错误,请传递如12:24的格式");let[t,i]=e.split(":");return t=uni.$u.padZero(uni.$u.range(this.minHour,this.maxHour,Number(t))),i=uni.$u.padZero(uni.$u.range(this.minMinute,this.maxMinute,Number(i))),`${t}:${i}`}},getRanges(){if("time"===this.mode)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];const{maxYear:e,maxDate:t,maxMonth:i,maxHour:a,maxMinute:n}=this.getBoundary("max",this.innerValue),{minYear:r,minDate:l,minMonth:s,minHour:o,minMinute:u}=this.getBoundary("min",this.innerValue),c=[{type:"year",range:[r,e]},{type:"month",range:[s,i]},{type:"day",range:[l,t]},{type:"hour",range:[o,a]},{type:"minute",range:[u,n]}];return"date"===this.mode&&c.splice(3,2),"year-month"===this.mode&&c.splice(2,3),c},getBoundary(e,t){const i=new Date(t),a=new Date(this[`${e}Date`]),n=le(a).year();let r=1,l=1,s=0,o=0;return"max"===e&&(r=12,l=le(i).daysInMonth(),s=23,o=59),le(i).year()===n&&(r=le(a).month()+1,le(i).month()+1===r&&(l=le(a).date(),le(i).date()===l&&(s=le(a).hour(),le(i).hour()===s&&(o=le(a).minute())))),{[`${e}Year`]:n,[`${e}Month`]:r,[`${e}Date`]:l,[`${e}Hour`]:s,[`${e}Minute`]:o}}}},[["render",function(e,t,i,a,n,r){const l=s(o("u-picker"),ae);return u(),c(l,{ref:"picker",show:e.show,closeOnClickOverlay:e.closeOnClickOverlay,columns:n.columns,title:e.title,itemHeight:e.itemHeight,showToolbar:e.showToolbar,visibleItemCount:e.visibleItemCount,defaultIndex:n.innerDefaultIndex,cancelText:e.cancelText,confirmText:e.confirmText,cancelColor:e.cancelColor,confirmColor:e.confirmColor,onClose:r.close,onCancel:r.cancel,onConfirm:r.confirm,onChange:r.change},null,8,["show","closeOnClickOverlay","columns","title","itemHeight","showToolbar","visibleItemCount","defaultIndex","cancelText","confirmText","cancelColor","confirmColor","onClose","onCancel","onConfirm","onChange"])}],["__scopeId","data-v-401e9cf7"]]),oe=Y(D({__name:"personal",setup(e){const t=M(),i=T((()=>t.info)),a=O({modal:!1,value:i.nickname||""}),n=e=>{a.value=e.detail.value},r=()=>{uni.$u.test.isEmpty(a.value)?j({title:V("nicknamePlaceholder"),icon:"none"}):F({field:"nickname",value:a.value}).then((e=>{t.info.nickname=a.value,a.modal=!1}))},l=H(!1),h=T((()=>[{name:V("man"),value:1},{name:V("woman"),value:2}])),f=e=>{F({field:"sex",value:e.value}).then((i=>{t.info.sex_name=e.name}))},p=e=>{z({filePath:e.file.url,name:"file"}).then((e=>{F({field:"headimg",value:e.data.url}).then((()=>{t.info.headimg=e.data.url}))})).catch((()=>{}))},y=H(!1),$=e=>{F({field:"birthday",value:uni.$u.date(e.value,"yyyy-mm-dd")}).then((()=>{t.info.birthday=uni.$u.date(e.value,"yyyy-mm-dd"),y.value=!1}))};return(e,t)=>{const v=s(o("u-avatar"),L),b=w,C=s(o("u-upload"),te),k=s(o("u-cell"),W),I=s(o("u-button"),E),S=s(o("app-link"),q),D=s(o("u-cell-group"),Z),M=B,T=s(o("u-modal"),Q),O=s(o("u-action-sheet"),J),H=s(o("u-datetime-picker"),se);return P(i)?(u(),c(b,{key:0,class:"w-full h-screen bg-page"},{default:d((()=>[m(b,{class:"flex flex-col items-center pt-[30rpx]"},{default:d((()=>[m(C,{onAfterRead:p,maxCount:1},{default:d((()=>[m(v,{src:P(N)(P(i).headimg),size:"60",leftIcon:"none"},null,8,["src"]),m(b,{class:"text-primary text-sm mt-[10rpx]"},{default:d((()=>[g(_(P(V)("updateHeadimg")),1)])),_:1})])),_:1})])),_:1}),m(b,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:d((()=>[m(D,{border:!1},{default:d((()=>[m(k,{title:P(V)("nickname"),"is-link":!0,value:P(i).nickname,onClick:t[0]||(t[0]=e=>a.modal=!0)},null,8,["title","value"]),m(k,{title:P(V)("sex"),"is-link":!0,value:P(i).sex_name||P(V)("unknown"),onClick:t[1]||(t[1]=e=>l.value=!0)},null,8,["title","value"]),m(k,{title:P(V)("mobile")},{value:d((()=>[P(i).mobile?(u(),c(b,{key:0},{default:d((()=>[g(_(P(A)(P(i).mobile)),1)])),_:1})):x("",!0),m(b,null,{default:d((()=>[m(S,{url:"/pages/auth/bind"},{default:d((()=>[m(I,{type:"primary",plain:!0,text:P(V)("bindMobile"),shape:"circle",size:"mini"},null,8,["text"])])),_:1})])),_:1})])),_:1},8,["title"]),m(k,{title:P(V)("birthday"),"is-link":!0,value:P(i).birthday||P(V)("unknown"),onClick:t[2]||(t[2]=e=>y.value=!0)},null,8,["title","value"])])),_:1})])),_:1}),m(T,{show:a.modal,closeOnClickOverlay:!0,onClose:t[4]||(t[4]=e=>a.modal=!1),"show-cancel-button":!0,onCancel:t[5]||(t[5]=e=>a.modal=!1),title:P(V)("updateNickname")},{confirmButton:d((()=>[m(b,{class:"mt-[10rpx]"},{default:d((()=>[m(I,{type:"primary",text:P(V)("confirm"),shape:"circle",onClick:r},null,8,["text"])])),_:1})])),default:d((()=>[m(b,{class:"w-full mt-[20rpx] border-0 border-b border-gray-300 border-solid py-[20rpx]"},{default:d((()=>[m(M,{type:"nickname",modelValue:a.value,"onUpdate:modelValue":t[3]||(t[3]=e=>a.value=e),placeholder:P(V)("nicknamePlaceholder"),onBlur:n},null,8,["modelValue","placeholder"])])),_:1})])),_:1},8,["show","title"]),m(O,{actions:P(h),show:l.value,closeOnClickOverlay:!0,safeAreaInsetBottom:!0,onClose:t[6]||(t[6]=e=>l.value=!1),onSelect:f},null,8,["actions","show"]),m(H,{show:y.value,mode:"date","confirm-text":P(V)("confirm"),maxDate:(new Date).valueOf(),minDate:0,"cancel-text":P(V)("cancel"),onCancel:t[7]||(t[7]=e=>y.value=!1),onConfirm:$},null,8,["show","confirm-text","maxDate","cancel-text"])])),_:1})):x("",!0)}}}),[["__scopeId","data-v-74d0e486"]]);export{oe as default}; diff --git a/niucloud/public/wap/assets/pages-member-point.ff5872df.js b/niucloud/public/wap/assets/pages-member-point.ff5872df.js deleted file mode 100644 index 34e6dd9b6..000000000 --- a/niucloud/public/wap/assets/pages-member-point.ff5872df.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,h as t,i as s,w as l,j as r,M as o,N as n,l as u,O as c,m as p,P as d,Q as m,a_ as i,t as _,F as f,D as x,E as g}from"./index-15eacd31.js";import{u as v,M as b}from"./useMescroll.fbb7af33.js";import{M as h}from"./mescroll-empty.22c37416.js";import"./_plugin-vue_export-helper.1b428a4d.js";const y=e({__name:"point",setup(e){const{mescrollInit:y,downCallback:j,getMescroll:w}=v(m,d);let M=a([]),k=a(null),D=a(!1);const I=e=>{let t=a({});D.value=!1,t.value.page=e.num,t.value.page_size=e.size,i(t.value).then((a=>{let t=a.data.data;e.endSuccess(t.length),1==e.num&&(M.value=[]),M.value=M.value.concat(t),D.value=!0})).catch((()=>{D.value=!0,e.endErr()}))};return(e,a)=>{const d=_;return t(),s(d,{class:"bg-gray-100 min-h-[100vh]"},{default:l((()=>[r(b,{ref_key:"mescrollRef",ref:k,onInit:u(y),onDown:u(j),onUp:I},{default:l((()=>[(t(!0),o(c,null,n(u(M),((e,a)=>(t(),s(d,{key:e.id,class:f(["bg-white relative p-[10px]",{"border-solid border-t-0 border-l-0 border-r-0 border-b-[1px] border-gray-200":u(M).length-1!=a}])},{default:l((()=>[r(d,{class:"text-[14px]"},{default:l((()=>[x(g(e.from_type_name),1)])),_:2},1024),r(d,{class:"text-[12px] text-gray-400 mt-[10px]"},{default:l((()=>[x(g(e.create_time),1)])),_:2},1024),r(d,{class:"text-[14px] absolute top-[50%] transform -translate-y-[50%] right-[10px]"},{default:l((()=>[x(g(e.account_data),1)])),_:2},1024)])),_:2},1032,["class"])))),128)),!u(M).length&&u(D)?(t(),s(h,{key:0})):p("",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}});export{y as default}; diff --git a/niucloud/public/wap/assets/pages-member-recharge_record.e42b3b23.js b/niucloud/public/wap/assets/pages-member-recharge_record.e42b3b23.js deleted file mode 100644 index c2f420311..000000000 --- a/niucloud/public/wap/assets/pages-member-recharge_record.e42b3b23.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,h as s,i as t,w as l,j as r,M as o,N as n,O as u,l as c,m,P as d,Q as i,az as _,t as p,D as f,E as v,J as g,R as h}from"./index-15eacd31.js";import{u as y,M as k}from"./useMescroll.fbb7af33.js";import{M as b}from"./mescroll-empty.22c37416.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";const M=j(e({__name:"recharge_record",setup(e){const{mescrollInit:j,downCallback:M,getMescroll:w}=y(i,d),x=a([]),I=a(!1),z=a(null),C=e=>{I.value=!1;let a={page:e.num,page_size:e.size};_(a).then((a=>{let s=a.data.data;e.endSuccess(s.length),1==e.num&&(x.value=[]),x.value=x.value.concat(s),I.value=!0})).catch((()=>{I.value=!0,e.endErr()}))};return(e,a)=>{const d=p;return s(),t(d,{class:"member-record-list"},{default:l((()=>[r(k,{ref_key:"mescrollRef",ref:z,onInit:c(j),onDown:c(M),onUp:C,top:""},{default:l((()=>[(s(!0),o(u,null,n(x.value,((e,a)=>(s(),t(d,{key:e.order_id,class:"member-record-item",onClick:a=>{h({url:"/pages/member/recharge_record_detail",param:{id:e.order_id}})}},{default:l((()=>[r(d,{class:"name"},{default:l((()=>[f(v(e.item[0].item_name),1)])),_:2},1024),r(d,{class:"desc"},{default:l((()=>[f(v(e.create_time),1)])),_:2},1024),r(d,{class:"money text-active"},{default:l((()=>[f("+"+v(e.order_money),1)])),_:2},1024),e.order_status_info?(s(),t(d,{key:0,class:"status"},{default:l((()=>[f(v(e.order_status_info.name),1)])),_:2},1024)):m("",!0)])),_:2},1032,["onClick"])))),128)),!x.value.length&&I.value?(s(),t(b,{key:0,option:{tip:c(g)("emptyTip")}},null,8,["option"])):m("",!0)])),_:1},8,["onInit","onDown"])])),_:1})}}}),[["__scopeId","data-v-fb39f6a1"]]);export{M as default}; diff --git a/niucloud/public/wap/assets/pages-member-recharge_record_detail.b2e7f0df.js b/niucloud/public/wap/assets/pages-member-recharge_record_detail.b2e7f0df.js deleted file mode 100644 index 93f4621ca..000000000 --- a/niucloud/public/wap/assets/pages-member-recharge_record_detail.b2e7f0df.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,o as s,aA as l,k as t,v as r,l as d,h as _,i as u,w as o,j as c,D as n,E as f,m as i,H as m,t as p,J as v}from"./index-15eacd31.js";import{_ as b}from"./_plugin-vue_export-helper.1b428a4d.js";const h=b(a({__name:"recharge_record_detail",setup(a){let b=e({}),h=e(!1);s((a=>{let e=a.id||"";w(e)}));const w=a=>{h.value=!1,l(a).then((a=>{b.value=a.data,h.value=!0})).catch((()=>{h.value=!0}))};return(a,e)=>{const s=m,l=p;return t((_(),u(l,{class:"member-record-detail"},{default:o((()=>[c(l,{class:"money-wrap"},{default:o((()=>[c(s,null,{default:o((()=>[n("¥"+f(d(b).order_money),1)])),_:1}),d(b).order_status_info?(_(),u(s,{key:0},{default:o((()=>[n(f(d(b).order_status_info.name),1)])),_:1})):i("",!0)])),_:1}),c(l,{class:"item"},{default:o((()=>[d(b).item?(_(),u(l,{key:0,class:"line-wrap"},{default:o((()=>[c(s,{class:"label"},{default:o((()=>[n(f(d(b).item[0].item_name),1)])),_:1}),c(s,{class:"value"},{default:o((()=>[n("¥"+f(d(b).order_money),1)])),_:1})])),_:1})):i("",!0),c(l,{class:"line-wrap"},{default:o((()=>[c(s,{class:"label"},{default:o((()=>[n(f(d(v)("orderNo")),1)])),_:1}),c(s,{class:"value"},{default:o((()=>[n(f(d(b).order_no),1)])),_:1})])),_:1}),c(l,{class:"line-wrap"},{default:o((()=>[c(s,{class:"label"},{default:o((()=>[n(f(d(v)("createTime")),1)])),_:1}),c(s,{class:"value"},{default:o((()=>[n(f(d(b).create_time),1)])),_:1})])),_:1})])),_:1})])),_:1},512)),[[r,d(h)]])}}}),[["__scopeId","data-v-6bd10a7a"]]);export{h as default}; diff --git a/niucloud/public/wap/assets/pages-pay-browser.3e8e32cc.js b/niucloud/public/wap/assets/pages-pay-browser.3e8e32cc.js deleted file mode 100644 index 661716672..000000000 --- a/niucloud/public/wap/assets/pages-pay-browser.3e8e32cc.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,o as e,am as s,h as t,i as r,w as p,j as i,l as n,D as o,a1 as d,t as c,x as l}from"./index-15eacd31.js";const x=a({__name:"browser",setup:a=>(e((a=>{!s()&&a.alipay&&(uni.setStorageSync("paymenting",{trade_type:a.trade_type,trade_id:a.trade_id}),location.href=decodeURIComponent(a.alipay))})),(a,e)=>{const s=d,x=c;return t(),r(x,{class:"w-screen h-screen bg-[#424040] text-right"},{default:p((()=>[i(s,{src:n(l)("static/resource/images/pay/invite_friends_share.png"),mode:"heightFix",class:"pt-[30rpx] pr-[30rpx] h-[200rpx]"},null,8,["src"]),i(x,{class:"text-white font-bold pt-[30rpx] pr-[30rpx]"},{default:p((()=>[o("点击右上角跳转到浏览器打开")])),_:1})])),_:1})})});export{x as default}; diff --git a/niucloud/public/wap/assets/pages-pay-result.8b15506e.js b/niucloud/public/wap/assets/pages-pay-result.8b15506e.js deleted file mode 100644 index 4012fc41c..000000000 --- a/niucloud/public/wap/assets/pages-pay-result.8b15506e.js +++ /dev/null @@ -1 +0,0 @@ -import{d as t,r as a,o as e,f as s,J as l,h as o,M as u,i as r,w as i,j as n,F as c,D as p,E as m,l as d,m as f,O as x,R as y,b5 as _,H as v,t as j,p as h,q as b,aq as g}from"./index-15eacd31.js";import{_ as w}from"./u-button.5c85e6cc.js";import{_ as T}from"./u-loading-icon.ea8c9ece.js";import{_ as C}from"./u-modal.755a4b61.js";import{g as F}from"./pay.422381f0.js";import"./u-icon.f5369555.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-line.bb8d1497.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const S=t({__name:"result",setup(t){const S=a(null),k=a(!1);let q="",z=0,E=0;e((t=>{q=t.trade_type,z=t.trade_id,P()}));const P=()=>{F(q,z).then((t=>{if(!uni.$u.test.isEmpty(t.data)){if(1==t.data.status&&E<5)return k.value=!0,E++,void setTimeout((()=>{P()}),1e3);S.value=t.data,k.value=!1,s({title:2==S.value.status?l("pay.paySuccess"):l("pay.payFail")})}})).catch((()=>{}))},B=()=>{var t;y({url:_(),param:{code:null==(t=S.value)?void 0:t.out_trade_no},mode:"redirectTo"})};return(t,a)=>{const e=v,s=j,y=h(b("u-button"),w),_=h(b("u-loading-icon"),T),F=h(b("u-modal"),C);return o(),u(x,null,[S.value?(o(),r(s,{key:0,class:"w-screen h-screen flex flex-col items-center"},{default:i((()=>[n(s,{class:"flex-1 flex flex-col items-center w-full pt-[100rpx]"},{default:i((()=>[n(e,{class:c(["iconfont text-2xl",2==S.value.status?"text-primary iconduigou":"iconzhifushibai text-red"])},null,8,["class"]),n(s,{class:"text-sm"},{default:i((()=>[p(m(2==S.value.status?d(l)("pay.paySuccess"):d(l)("pay.payFail")),1)])),_:1}),n(s,{class:"text-xl font-bold pt-[30rpx]"},{default:i((()=>[n(e,{class:"text-base"},{default:i((()=>[p(m(d(l)("currency")),1)])),_:1}),n(e,null,{default:i((()=>[p(m(d(g)(S.value.money)),1)])),_:1})])),_:1})])),_:1}),n(s,{class:"pb-[200rpx] w-[240rpx]"},{default:i((()=>[n(y,{type:"primary",text:2==S.value.status?d(l)("complete"):d(l)("close"),plain:!0,onClick:B},null,8,["text"])])),_:1})])),_:1})):f("",!0),n(F,{show:k.value,showCancelButton:!0,confirmText:d(l)("pay.completePay"),cancelText:d(l)("pay.incompletePay"),onCancel:B},{default:i((()=>[n(s,{class:"py-[20rpx]"},{default:i((()=>[n(_,{text:d(l)("pay.getting"),textSize:"16",mode:"circle",vertical:!0},null,8,["text"])])),_:1})])),_:1},8,["show","confirmText","cancelText"])],64)}}});export{S as default}; diff --git a/niucloud/public/wap/assets/pages-setting-index.dc2bbfce.js b/niucloud/public/wap/assets/pages-setting-index.dc2bbfce.js deleted file mode 100644 index e811f84fc..000000000 --- a/niucloud/public/wap/assets/pages-setting-index.dc2bbfce.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,U as a,r as l,a as t,c as s,h as n,i as o,w as r,j as i,l as u,m as p,b6 as d,ai as c,t as m,p as g,q as v,J as h,am as f,b7 as x}from"./index-15eacd31.js";import{_,a as b,b as w}from"./u-action-sheet.1e4dbfee.js";import{_ as j}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.f5369555.js";import"./u-line.bb8d1497.js";import"./u-loading-icon.ea8c9ece.js";import"./u-popup.8a491625.js";import"./u-transition.a952a64b.js";import"./u-safe-bottom.593b5cec.js";const k=j(e({__name:"index",setup(e){const j=a(),k=l("1.0.1"),y=t({"zh-Hans":{name:"简体中文",fontSize:"14",value:"zh-Hans"},en:{name:"English",fontSize:"14",value:"en"}}),z=l(!1),C=s((()=>{const e=x();return y[e].name})),S=e=>{d.loadLocaleMessages("/"+c(),e.value)};return(e,a)=>{const l=m,t=g(v("u-cell"),_),s=g(v("u-cell-group"),b),d=g(v("u-action-sheet"),w);return n(),o(l,{class:"w-full h-screen bg-page"},{default:r((()=>[i(l,{class:"h-[30rpx]"}),i(l,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(t,{title:u(h)("personalSettings"),"is-link":!0,url:"/pages/member/personal"},null,8,["title"]),i(t,{title:u(h)("switchLang"),"is-link":!0,value:u(C),onClick:a[0]||(a[0]=e=>z.value=!0)},null,8,["title","value"]),i(t,{title:u(h)("version"),value:k.value},null,8,["title","value"])])),_:1})])),_:1}),i(l,{class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx] py-[10rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(t,{title:u(h)("userAgreement"),"is-link":!0,url:"/pages/auth/agreement?key=service"},null,8,["title"]),i(t,{title:u(h)("privacyAgreement"),"is-link":!0,url:"/pages/auth/agreement?key=privacy"},null,8,["title"])])),_:1})])),_:1}),u(f)()?p("",!0):(n(),o(l,{key:0,class:"m-[30rpx] bg-white rounded-md overflow-hidden px-[20rpx]"},{default:r((()=>[i(s,{border:!1},{default:r((()=>[i(t,{title:u(h)("logout"),class:"text-center",onClick:a[1]||(a[1]=e=>u(j).logout(!0))},null,8,["title"])])),_:1})])),_:1})),i(d,{actions:y,show:z.value,closeOnClickOverlay:!0,safeAreaInsetBottom:!0,onClose:a[2]||(a[2]=e=>z.value=!1),onSelect:S},null,8,["actions","show"])])),_:1})}}}),[["__scopeId","data-v-dbae4323"]]);export{k as default}; diff --git a/niucloud/public/wap/assets/pages-webview-index.458b13bb.js b/niucloud/public/wap/assets/pages-webview-index.458b13bb.js deleted file mode 100644 index fead0b8e1..000000000 --- a/niucloud/public/wap/assets/pages-webview-index.458b13bb.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as s,o as e,h as o,i as t,w as n,j as r,ao as c,p as l,q as u,b8 as i,t as p}from"./index-15eacd31.js";import{_ as d}from"./u-icon.f5369555.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";const _=m(a({__name:"index",setup(a){const m=s("");e((a=>{m.value=decodeURIComponent(a.src)}));const _=()=>{c({delta:1})};return(a,s)=>{const e=l(u("u-icon"),d),c=i,f=p;return o(),t(f,null,{default:n((()=>[r(e,{name:"arrow-left",class:"navigate-back",onClick:_}),r(c,{src:m.value},null,8,["src"])])),_:1})}}}),[["__scopeId","data-v-679fa1ce"]]);export{_ as default}; diff --git a/niucloud/public/wap/assets/pay.422381f0.js b/niucloud/public/wap/assets/pay.12e83dba.js similarity index 67% rename from niucloud/public/wap/assets/pay.422381f0.js rename to niucloud/public/wap/assets/pay.12e83dba.js index 5263c700d..e209e270a 100644 --- a/niucloud/public/wap/assets/pay.422381f0.js +++ b/niucloud/public/wap/assets/pay.12e83dba.js @@ -1 +1 @@ -import{aN as r}from"./index-15eacd31.js";function o(o){return r.post("pay",o,{showErrorMessage:!0})}function s(o,s){return r.get(`pay/info/${o}/${s}`,{},{showErrorMessage:!0})}export{s as g,o as p}; +import{b2 as r}from"./index-59b72094.js";function o(o){return r.post("pay",o,{showErrorMessage:!0})}function s(o,s){return r.get(`pay/info/${o}/${s}`,{},{showErrorMessage:!0})}export{s as g,o as p}; diff --git a/niucloud/public/wap/assets/personal-7d5bc078.css b/niucloud/public/wap/assets/personal-09dad43c.css similarity index 50% rename from niucloud/public/wap/assets/personal-7d5bc078.css rename to niucloud/public/wap/assets/personal-09dad43c.css index 59adedb8f..729a21325 100644 --- a/niucloud/public/wap/assets/personal-7d5bc078.css +++ b/niucloud/public/wap/assets/personal-09dad43c.css @@ -1 +1 @@ -uni-view[data-v-9283198f],uni-scroll-view[data-v-9283198f],uni-swiper-item[data-v-9283198f]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-upload[data-v-9283198f]{display:flex;flex-direction:column;flex:1}.u-upload__wrap[data-v-9283198f]{display:flex;flex-direction:row;flex-wrap:wrap;flex:1}.u-upload__wrap__preview[data-v-9283198f]{border-radius:2px;margin:0 8px 8px 0;position:relative;overflow:hidden;display:flex;flex-direction:row}.u-upload__wrap__preview__image[data-v-9283198f]{width:80px;height:80px}.u-upload__wrap__preview__other[data-v-9283198f]{width:80px;height:80px;background-color:#f2f2f2;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.u-upload__wrap__preview__other__text[data-v-9283198f]{font-size:11px;color:#909193;margin-top:2px}.u-upload__deletable[data-v-9283198f]{position:absolute;top:0;right:0;background-color:#373737;height:14px;width:14px;display:flex;flex-direction:row;border-bottom-left-radius:100px;align-items:center;justify-content:center;z-index:3}.u-upload__deletable__icon[data-v-9283198f]{position:absolute;transform:scale(.7);top:0px;right:0px;top:1px;right:0}.u-upload__success[data-v-9283198f]{position:absolute;bottom:0;right:0;display:flex;flex-direction:row;border-style:solid;border-top-color:transparent;border-left-color:transparent;border-bottom-color:#5ac725;border-right-color:#5ac725;border-width:9px;align-items:center;justify-content:center}.u-upload__success__icon[data-v-9283198f]{position:absolute;transform:scale(.7);bottom:-10px;right:-10px}.u-upload__status[data-v-9283198f]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;align-items:center;justify-content:center}.u-upload__status__icon[data-v-9283198f]{position:relative;z-index:1}.u-upload__status__message[data-v-9283198f]{font-size:12px;color:#fff;margin-top:5px}.u-upload__button[data-v-9283198f]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;background-color:#f4f5f7;border-radius:2px;margin:0 8px 8px 0;box-sizing:border-box}.u-upload__button__text[data-v-9283198f]{font-size:11px;color:#909193;margin-top:2px}.u-upload__button--hover[data-v-9283198f]{background-color:#e6e7e9}.u-upload__button--disabled[data-v-9283198f]{opacity:.5}uni-view[data-v-88cf1536],uni-scroll-view[data-v-88cf1536],uni-swiper-item[data-v-88cf1536]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-toolbar[data-v-88cf1536]{height:42px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.u-toolbar__wrapper__cancel[data-v-88cf1536]{color:#909193;font-size:15px;padding:0 15px}.u-toolbar__title[data-v-88cf1536]{color:#303133;padding:0 1.875rem;font-size:16px;flex:1;text-align:center}.u-toolbar__wrapper__confirm[data-v-88cf1536]{color:var(--primary-color);font-size:15px;padding:0 15px}uni-view[data-v-f5929e2b],uni-scroll-view[data-v-f5929e2b],uni-swiper-item[data-v-f5929e2b]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-picker[data-v-f5929e2b]{position:relative}.u-picker__view__column[data-v-f5929e2b]{display:flex;flex-direction:row;flex:1;justify-content:center}.u-picker__view__column__item[data-v-f5929e2b]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:16px;text-align:center;display:block;color:#303133}.u-picker__view__column__item--disabled[data-v-f5929e2b]{cursor:not-allowed;opacity:.35}.u-picker--loading[data-v-f5929e2b]{position:absolute;top:0;right:0;left:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:rgba(255,255,255,.87);z-index:1000}uni-view[data-v-401e9cf7],uni-scroll-view[data-v-401e9cf7],uni-swiper-item[data-v-401e9cf7]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}uni-page-body[data-v-74d0e486]{background:var(--page-bg-color)}body[data-v-74d0e486]{background:var(--page-bg-color)}[data-v-74d0e486] .u-cell-group__wrapper .u-cell__body{padding-left:0;padding-right:0}[data-v-74d0e486] .u-cell-group__wrapper .u-cell:last-child .u-line{display:none}[data-v-74d0e486] uni-button{border:none} +uni-view[data-v-1941ac11],uni-scroll-view[data-v-1941ac11],uni-swiper-item[data-v-1941ac11]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-upload[data-v-1941ac11]{display:flex;flex-direction:column;flex:1}.u-upload__wrap[data-v-1941ac11]{display:flex;flex-direction:row;flex-wrap:wrap;flex:1}.u-upload__wrap__preview[data-v-1941ac11]{border-radius:2px;margin:0 8px 8px 0;position:relative;overflow:hidden;display:flex;flex-direction:row}.u-upload__wrap__preview__image[data-v-1941ac11]{width:80px;height:80px}.u-upload__wrap__preview__other[data-v-1941ac11]{width:80px;height:80px;background-color:#f2f2f2;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.u-upload__wrap__preview__other__text[data-v-1941ac11]{font-size:11px;color:#909193;margin-top:2px}.u-upload__deletable[data-v-1941ac11]{position:absolute;top:0;right:0;background-color:#373737;height:14px;width:14px;display:flex;flex-direction:row;border-bottom-left-radius:100px;align-items:center;justify-content:center;z-index:3}.u-upload__deletable__icon[data-v-1941ac11]{position:absolute;transform:scale(.7);top:0px;right:0px;top:1px;right:0}.u-upload__success[data-v-1941ac11]{position:absolute;bottom:0;right:0;display:flex;flex-direction:row;border-style:solid;border-top-color:transparent;border-left-color:transparent;border-bottom-color:#5ac725;border-right-color:#5ac725;border-width:9px;align-items:center;justify-content:center}.u-upload__success__icon[data-v-1941ac11]{position:absolute;transform:scale(.7);bottom:-10px;right:-10px}.u-upload__status[data-v-1941ac11]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;align-items:center;justify-content:center}.u-upload__status__icon[data-v-1941ac11]{position:relative;z-index:1}.u-upload__status__message[data-v-1941ac11]{font-size:12px;color:#fff;margin-top:5px}.u-upload__button[data-v-1941ac11]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;background-color:#f4f5f7;border-radius:2px;margin:0 8px 8px 0;box-sizing:border-box}.u-upload__button__text[data-v-1941ac11]{font-size:11px;color:#909193;margin-top:2px}.u-upload__button--hover[data-v-1941ac11]{background-color:#e6e7e9}.u-upload__button--disabled[data-v-1941ac11]{opacity:.5}uni-view[data-v-88cf1536],uni-scroll-view[data-v-88cf1536],uni-swiper-item[data-v-88cf1536]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-toolbar[data-v-88cf1536]{height:42px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.u-toolbar__wrapper__cancel[data-v-88cf1536]{color:#909193;font-size:15px;padding:0 15px}.u-toolbar__title[data-v-88cf1536]{color:#303133;padding:0 1.875rem;font-size:16px;flex:1;text-align:center}.u-toolbar__wrapper__confirm[data-v-88cf1536]{color:var(--primary-color);font-size:15px;padding:0 15px}uni-view[data-v-6971b6c7],uni-scroll-view[data-v-6971b6c7],uni-swiper-item[data-v-6971b6c7]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-picker[data-v-6971b6c7]{position:relative}.u-picker__view__column[data-v-6971b6c7]{display:flex;flex-direction:row;flex:1;justify-content:center}.u-picker__view__column__item[data-v-6971b6c7]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:16px;text-align:center;display:block;color:#303133}.u-picker__view__column__item--disabled[data-v-6971b6c7]{cursor:not-allowed;opacity:.35}.u-picker--loading[data-v-6971b6c7]{position:absolute;top:0;right:0;left:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:rgba(255,255,255,.87);z-index:1000}uni-view[data-v-e4f68153],uni-scroll-view[data-v-e4f68153],uni-swiper-item[data-v-e4f68153]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}uni-page-body[data-v-dcfc3b6c]{background:var(--page-bg-color)}body[data-v-dcfc3b6c]{background:var(--page-bg-color)}[data-v-dcfc3b6c] .u-cell-group__wrapper .u-cell__body{padding-left:0;padding-right:0}[data-v-dcfc3b6c] .u-cell-group__wrapper .u-cell:last-child .u-line{display:none}[data-v-dcfc3b6c] uni-button{border:none} diff --git a/niucloud/public/wap/assets/recharge-locale-en-pages.setting.index.7f2a9cf4.js b/niucloud/public/wap/assets/recharge-locale-en-pages.setting.index.7f2a9cf4.js new file mode 100644 index 000000000..86aca1821 --- /dev/null +++ b/niucloud/public/wap/assets/recharge-locale-en-pages.setting.index.7f2a9cf4.js @@ -0,0 +1 @@ +const t="Personal settings",o="Switch language",s="Version",e="Log out",n={personalSettings:t,switchLang:o,version:s,logout:e};export{n as default,e as logout,t as personalSettings,o as switchLang,s as version}; diff --git a/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge.3f83cab2.js b/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge.3f83cab2.js new file mode 100644 index 000000000..d143e5b70 --- /dev/null +++ b/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge.3f83cab2.js @@ -0,0 +1 @@ +const a="充值",e="提现",c="余额明细",r="账户余额(元)",l="余额(元)",n="可提现余额(元)",o="可用余额",t="充值金额错误",h="立即充值",u="请输入充值金额",g="元",b="充值记录",d={recharge:"充值",cashOut:"提现",balanceDetail:c,accountBalance:r,balance:l,money:n,availableBalance:o,rechargeAmountError:t,clickRecharge:h,rechargeAmountPlaceholder:u,yuan:"元",rechargeRecord:b};export{r as accountBalance,o as availableBalance,l as balance,c as balanceDetail,e as cashOut,h as clickRecharge,d as default,n as money,a as recharge,t as rechargeAmountError,u as rechargeAmountPlaceholder,b as rechargeRecord,g as yuan}; diff --git a/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge_record.20315090.js b/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge_record.20315090.js new file mode 100644 index 000000000..d3ec2a12a --- /dev/null +++ b/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge_record.20315090.js @@ -0,0 +1 @@ +const e="充值记录",r="暂无充值记录",t={rechargeRecord:e,emptyTip:r};export{t as default,r as emptyTip,e as rechargeRecord}; diff --git a/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge_record_detail.0c628f5f.js b/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge_record_detail.0c628f5f.js new file mode 100644 index 000000000..8ec839453 --- /dev/null +++ b/niucloud/public/wap/assets/recharge-locale-zh-Hans-pages.recharge_record_detail.0c628f5f.js @@ -0,0 +1 @@ +const e="订单编号",o="创建时间",r={orderNo:e,createTime:o};export{o as createTime,r as default,e as orderNo}; diff --git a/niucloud/public/wap/assets/recharge_record-b6711670.css b/niucloud/public/wap/assets/recharge_record-b6711670.css deleted file mode 100644 index fedeadab1..000000000 --- a/niucloud/public/wap/assets/recharge_record-b6711670.css +++ /dev/null @@ -1 +0,0 @@ -.member-record-list[data-v-fb39f6a1]{min-height:100vh}.member-record-list .member-record-item[data-v-fb39f6a1]{--tw-border-opacity: 1;border-color:rgba(236,235,236,var(--tw-border-opacity));border-style:solid;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;margin-left:1rem;margin-right:1rem;padding-top:.75rem;padding-bottom:.75rem;position:relative}.member-record-list .member-record-item .name[data-v-fb39f6a1]{font-size:.875rem;line-height:1.25rem}.member-record-list .member-record-item .desc[data-v-fb39f6a1]{font-size:.75rem;line-height:1rem;margin-top:.25rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity));height:2rem;line-height:2rem}.member-record-list .member-record-item .text-active[data-v-fb39f6a1]{color:#ff0d3e}.member-record-list .member-record-item .money[data-v-fb39f6a1]{font-weight:700;font-size:1rem;line-height:1.5rem;position:absolute;right:.75rem;top:1rem}.member-record-list .member-record-item .state[data-v-fb39f6a1]{font-size:.75rem;line-height:1rem;position:absolute;right:.75rem;top:2.75rem;--tw-text-opacity: 1;color:rgba(141,140,141,var(--tw-text-opacity))}.member-record-list .member-record-item .status[data-v-fb39f6a1]{font-size:.875rem;line-height:1.25rem;position:absolute;right:.75rem;top:2.75rem} diff --git a/niucloud/public/wap/assets/recharge_record_detail-56202dd4.css b/niucloud/public/wap/assets/recharge_record_detail-56202dd4.css deleted file mode 100644 index 2e38ef686..000000000 --- a/niucloud/public/wap/assets/recharge_record_detail-56202dd4.css +++ /dev/null @@ -1 +0,0 @@ -uni-page-body[data-v-6bd10a7a]{background-color:#f5f6fa;padding-top:1rem}body[data-v-6bd10a7a]{background-color:#f5f6fa}.member-record-detail[data-v-6bd10a7a]{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));border-radius:.375rem;margin:1rem;margin-top:0;padding:1.5rem 1rem}.member-record-detail .money-wrap[data-v-6bd10a7a]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;margin-bottom:1.5rem}.member-record-detail .money-wrap uni-text[data-v-6bd10a7a]:first-of-type{font-weight:700;font-size:1.875rem;line-height:2.25rem;margin-top:.25rem}.member-record-detail .money-wrap uni-text[data-v-6bd10a7a]:last-of-type{font-size:.875rem;line-height:1.25rem;margin-top:.75rem}.member-record-detail .line-wrap[data-v-6bd10a7a]{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:.875rem;line-height:1.25rem;margin-top:.75rem}.member-record-detail .line-wrap .label[data-v-6bd10a7a]{--tw-text-opacity: 1;color:rgba(135,135,135,var(--tw-text-opacity))}.member-record-detail .line-wrap .value[data-v-6bd10a7a]{--tw-text-opacity: 1;color:rgba(34,34,34,var(--tw-text-opacity))} diff --git a/niucloud/public/wap/assets/result-15432195.css b/niucloud/public/wap/assets/result-15432195.css new file mode 100644 index 000000000..270210fb4 --- /dev/null +++ b/niucloud/public/wap/assets/result-15432195.css @@ -0,0 +1 @@ +body[data-v-03e1fe0c]{background-color:#f7f7f7} diff --git a/niucloud/public/wap/assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js b/niucloud/public/wap/assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js new file mode 100644 index 000000000..ddfd50f3b --- /dev/null +++ b/niucloud/public/wap/assets/sms-code.vue_vue_type_script_setup_true_lang.8021dd43.js @@ -0,0 +1 @@ +import{V as e,W as t,X as a,i as s,j as n,w as i,m as c,x as o,r,Z as l,c as u,a7 as h,a8 as d,d as m,a as p,q as g,t as f,F as v,k as x,K as y,L as _,n as T,I as C,G as S,a9 as b,M as k}from"./index-59b72094.js";import{_ as N}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as w}from"./u-form.a20c08e5.js";import{_ as E}from"./u-modal.30bfd23d.js";const G=N({name:"u-code",mixins:[t,a,{props:{seconds:{type:[String,Number],default:e.code.seconds},startText:{type:String,default:e.code.startText},changeText:{type:String,default:e.code.changeText},endText:{type:String,default:e.code.endText},keepRunning:{type:Boolean,default:e.code.keepRunning},uniqueKey:{type:String,default:e.code.uniqueKey}}}],data(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler(e){this.secNum=e}}},methods:{checkKeepRunning(){let e=Number(uni.getStorageSync(this.uniqueKey+"_$uCountDownTimestamp"));if(!e)return this.changeEvent(this.startText);let t=Math.floor(+new Date/1e3);this.keepRunning&&e&&e>t?(this.secNum=e-t,uni.removeStorageSync(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start(){this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.setTimeToStorage(),this.timer=setInterval((()=>{--this.secNum?this.changeEvent(this.changeText.replace(/x|X/,this.secNum)):(clearInterval(this.timer),this.timer=null,this.changeEvent(this.endText),this.secNum=this.seconds,this.$emit("end"),this.canGetCode=!0)}),1e3)},reset(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent(e){this.$emit("change",e)},setTimeToStorage(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<=this.seconds){let e=Math.floor(+new Date/1e3);uni.setStorage({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeDestroy(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}},[["render",function(e,t,a,r,l,u){const h=o;return s(),n(h,{class:"u-code"},{default:i((()=>[c(" 此组件功能由js完成,无需写html逻辑 ")])),_:1})}],["__scopeId","data-v-198ccd63"]]);function $(e){const t=r("");return{image:t,refresh:async()=>{try{const a=await d();e.captcha_key=a.data.captcha_key,e.captcha_code="",t.value=a.data.img.replace(/\r\n/g,"")}catch(a){}}}}const K=m({__name:"sms-code",props:{mobile:String,type:String,modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=u({get:()=>a.modelValue,set(e){t("update:modelValue",e)}}),c=r(null),d=function(e){const t=r(l("getSmsCode")),a="X"+l("smsCodeChangeText"),s=u((()=>!e.value||e.value.canGetCode));return{tips:t,seconds:90,canGetCode:s,send:async t=>{if(!s.value)return;e.value.start();let a=!1;return await h(t).then((t=>{1==t.code?a=t.data.key:(e.value.reset(),a=!1)})).catch((t=>{a=!1,e.value.reset()})),a},codeChange:e=>{t.value=e},changeText:a}}(c),m=r(!1),N=p({mobile:"",captcha_code:"",captcha_key:"",type:a.type}),K=$(N),V=async()=>{if(c.value.canGetCode){if(N.mobile=a.mobile,uni.$u.test.isEmpty(N.mobile))return void b({title:l("mobilePlaceholder"),icon:"none"});if(!uni.$u.test.mobile(N.mobile))return void b({title:l("mobileError"),icon:"none"});await K.refresh(),m.value=!0}},R=async()=>{if(uni.$u.test.isEmpty(N.captcha_code))return void b({title:l("captchaPlaceholder"),icon:"none"});const e=await d.send(N);e?(n.value=e,m.value=!1):!1===e&&K.refresh()};return(e,t)=>{const a=o,n=g(f("u-code"),G),r=g(f("u-input"),w),u=k,h=g(f("u-modal"),E);return s(),v(S,null,[x(a,{class:C({"text-primary":T(d).canGetCode.value,"text-gray-300":!T(d).canGetCode.value}),onClick:V},{default:i((()=>[y(_(T(d).tips.value),1)])),_:1},8,["class"]),x(n,{seconds:T(d).seconds,"change-text":T(d).changeText,ref_key:"smsRef",ref:c,onChange:T(d).codeChange},null,8,["seconds","change-text","onChange"]),x(h,{show:m.value,title:T(l)("captchaTitle"),"confirm-text":T(l)("confirm"),"cancel-text":T(l)("cancel"),"show-cancel-button":!0,onCancel:t[2]||(t[2]=e=>m.value=!1),onConfirm:R},{default:i((()=>[x(a,{class:"flex mt-[20rpx]"},{default:i((()=>[x(r,{placeholder:T(l)("captchaPlaceholder"),border:"surround",modelValue:N.captcha_code,"onUpdate:modelValue":t[0]||(t[0]=e=>N.captcha_code=e)},null,8,["placeholder","modelValue"]),x(u,{src:T(K).image.value,class:"h-[76rpx] ml-[20rpx]",mode:"heightFix",onClick:t[1]||(t[1]=e=>T(K).refresh())},null,8,["src"])])),_:1})])),_:1},8,["show","title","confirm-text","cancel-text"])],64)}}});export{K as _,$ as u}; diff --git a/niucloud/public/wap/assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js b/niucloud/public/wap/assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js deleted file mode 100644 index d8fc6857a..000000000 --- a/niucloud/public/wap/assets/sms-code.vue_vue_type_script_setup_true_lang.bcd0d968.js +++ /dev/null @@ -1 +0,0 @@ -import{y as e,z as t,A as a,h as s,i as n,t as i,r as c,J as o,c as r,a3 as u,a4 as l,d as h,a as d,p as m,q as p,M as g,j as f,w as v,D as x,E as y,l as T,F as _,O as C,a5 as S,a1 as b}from"./index-15eacd31.js";import{_ as k}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as w}from"./u-input.4212a359.js";import{_ as N}from"./u-modal.755a4b61.js";const E=k({name:"u-code",mixins:[t,a,{props:{seconds:{type:[String,Number],default:e.code.seconds},startText:{type:String,default:e.code.startText},changeText:{type:String,default:e.code.changeText},endText:{type:String,default:e.code.endText},keepRunning:{type:Boolean,default:e.code.keepRunning},uniqueKey:{type:String,default:e.code.uniqueKey}}}],data(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler(e){this.secNum=e}}},methods:{checkKeepRunning(){let e=Number(uni.getStorageSync(this.uniqueKey+"_$uCountDownTimestamp"));if(!e)return this.changeEvent(this.startText);let t=Math.floor(+new Date/1e3);this.keepRunning&&e&&e>t?(this.secNum=e-t,uni.removeStorageSync(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start(){this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.setTimeToStorage(),this.timer=setInterval((()=>{--this.secNum?this.changeEvent(this.changeText.replace(/x|X/,this.secNum)):(clearInterval(this.timer),this.timer=null,this.changeEvent(this.endText),this.secNum=this.seconds,this.$emit("end"),this.canGetCode=!0)}),1e3)},reset(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent(e){this.$emit("change",e)},setTimeToStorage(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<=this.seconds){let e=Math.floor(+new Date/1e3);uni.setStorage({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeDestroy(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}},[["render",function(e,t,a,c,o,r){const u=i;return s(),n(u,{class:"u-code"})}],["__scopeId","data-v-198ccd63"]]);function G(e){const t=c("");return{image:t,refresh:async()=>{try{const a=await l();e.captcha_key=a.data.captcha_key,e.captcha_code="",t.value=a.data.img.replace(/\r\n/g,"")}catch(a){}}}}const $=h({__name:"sms-code",props:{mobile:String,type:String,modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=r({get:()=>a.modelValue,set(e){t("update:modelValue",e)}}),l=c(null),h=function(e){const t=c(o("getSmsCode")),a="X"+o("smsCodeChangeText"),s=r((()=>!e.value||e.value.canGetCode));return{tips:t,seconds:90,canGetCode:s,send:async t=>{if(!s.value)return;e.value.start();let a=!1;return await u(t).then((t=>{1==t.code?a=t.data.key:(e.value.reset(),a=!1)})).catch((t=>{a=!1,e.value.reset()})),a},codeChange:e=>{t.value=e},changeText:a}}(l),k=c(!1),$=d({mobile:"",captcha_code:"",captcha_key:"",type:a.type}),D=G($),K=async()=>{if(l.value.canGetCode){if($.mobile=a.mobile,uni.$u.test.isEmpty($.mobile))return void S({title:o("mobilePlaceholder"),icon:"none"});if(!uni.$u.test.mobile($.mobile))return void S({title:o("mobileError"),icon:"none"});await D.refresh(),k.value=!0}},R=async()=>{if(uni.$u.test.isEmpty($.captcha_code))return void S({title:o("captchaPlaceholder"),icon:"none"});const e=await h.send($);e?(n.value=e,k.value=!1):!1===e&&D.refresh()};return(e,t)=>{const a=i,n=m(p("u-code"),E),c=m(p("u-input"),w),r=b,u=m(p("u-modal"),N);return s(),g(C,null,[f(a,{class:_({"text-primary":T(h).canGetCode.value,"text-gray-300":!T(h).canGetCode.value}),onClick:K},{default:v((()=>[x(y(T(h).tips.value),1)])),_:1},8,["class"]),f(n,{seconds:T(h).seconds,"change-text":T(h).changeText,ref_key:"smsRef",ref:l,onChange:T(h).codeChange},null,8,["seconds","change-text","onChange"]),f(u,{show:k.value,title:T(o)("captchaTitle"),"confirm-text":T(o)("confirm"),"cancel-text":T(o)("cancel"),"show-cancel-button":!0,onCancel:t[2]||(t[2]=e=>k.value=!1),onConfirm:R},{default:v((()=>[f(a,{class:"flex mt-[20rpx]"},{default:v((()=>[f(c,{placeholder:T(o)("captchaPlaceholder"),border:"surround",modelValue:$.captcha_code,"onUpdate:modelValue":t[0]||(t[0]=e=>$.captcha_code=e)},null,8,["placeholder","modelValue"]),f(r,{src:T(D).image.value,class:"h-[76rpx] ml-[20rpx]",mode:"heightFix",onClick:t[1]||(t[1]=e=>T(D).refresh())},null,8,["src"])])),_:1})])),_:1},8,["show","title","confirm-text","cancel-text"])],64)}}});export{$ as _,G as u}; diff --git a/niucloud/public/wap/assets/tabbar-eb61cd51.css b/niucloud/public/wap/assets/tabbar-eb61cd51.css deleted file mode 100644 index fbd305e8d..000000000 --- a/niucloud/public/wap/assets/tabbar-eb61cd51.css +++ /dev/null @@ -1 +0,0 @@ -uni-view[data-v-99cd5b85],uni-scroll-view[data-v-99cd5b85],uni-swiper-item[data-v-99cd5b85]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge[data-v-99cd5b85]{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot[data-v-99cd5b85]{height:8px;width:8px}.u-badge--inverted[data-v-99cd5b85]{font-size:13px}.u-badge--not-dot[data-v-99cd5b85]{padding:2px 5px}.u-badge--horn[data-v-99cd5b85]{border-bottom-left-radius:0}.u-badge--primary[data-v-99cd5b85]{background-color:var(--primary-color)}.u-badge--primary--inverted[data-v-99cd5b85]{color:var(--primary-color)}.u-badge--error[data-v-99cd5b85]{background-color:#f56c6c}.u-badge--error--inverted[data-v-99cd5b85]{color:#f56c6c}.u-badge--success[data-v-99cd5b85]{background-color:#5ac725}.u-badge--success--inverted[data-v-99cd5b85]{color:#5ac725}.u-badge--info[data-v-99cd5b85]{background-color:#909399}.u-badge--info--inverted[data-v-99cd5b85]{color:#909399}.u-badge--warning[data-v-99cd5b85]{background-color:#f9ae3d}.u-badge--warning--inverted[data-v-99cd5b85]{color:#f9ae3d}uni-view[data-v-b5faebd4],uni-scroll-view[data-v-b5faebd4],uni-swiper-item[data-v-b5faebd4]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabbar-item[data-v-b5faebd4]{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;width:100%;height:100%}.u-tabbar-item__icon[data-v-b5faebd4]{display:flex;flex-direction:row;position:relative;width:4.6875rem;justify-content:center}.u-tabbar-item__text[data-v-b5faebd4]{margin-top:2px;font-size:12px;color:#606266}uni-view[data-v-b564ac71],uni-scroll-view[data-v-b564ac71],uni-swiper-item[data-v-b564ac71]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabbar[data-v-b564ac71]{display:flex;flex-direction:column;flex:1;justify-content:center}.u-tabbar__content[data-v-b564ac71]{display:flex;flex-direction:column;background-color:#fff}.u-tabbar__content__item-wrapper[data-v-b564ac71]{height:50px;display:flex;flex-direction:row;justify-content:space-around}.u-tabbar--fixed[data-v-b564ac71]{position:fixed;bottom:0;left:0;right:0}.tab-bar-placeholder[data-v-cc0d2f65]{padding-bottom:calc(constant(safe-area-inset-bottom) + 3.5rem);padding-bottom:calc(env(safe-area-inset-bottom) + 3.5rem)} diff --git a/niucloud/public/wap/assets/tabbar.e67e4875.js b/niucloud/public/wap/assets/tabbar.e67e4875.js deleted file mode 100644 index 0471c347b..000000000 --- a/niucloud/public/wap/assets/tabbar.e67e4875.js +++ /dev/null @@ -1 +0,0 @@ -import{p as e,_ as t}from"./u-image.b892f6c4.js";import{z as a,A as o,ab as r,h as l,i as s,w as i,C as n,y as u,D as d,E as c,F as b,n as h,m as p,H as m,p as g,q as y,j as f,M as v,O as x,t as _,G as S,d as C,c as k,Y as w,ai as I,l as $,N as B,x as D,R as N}from"./index-15eacd31.js";import{_ as P}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as A}from"./u-icon.f5369555.js";import{_ as H}from"./u-safe-bottom.593b5cec.js";const z=P({name:"u--image",mixins:[a,e,o],components:{uvImage:t},emits:["click","error","load"]},[["render",function(e,t,a,o,u,d){const c=r("uvImage");return l(),s(c,{src:e.src,mode:e.mode,width:e.width,height:e.height,shape:e.shape,radius:e.radius,lazyLoad:e.lazyLoad,showMenuByLongpress:e.showMenuByLongpress,loadingIcon:e.loadingIcon,errorIcon:e.errorIcon,showLoading:e.showLoading,showError:e.showError,fade:e.fade,webp:e.webp,duration:e.duration,bgColor:e.bgColor,customStyle:e.customStyle,onClick:t[0]||(t[0]=t=>e.$emit("click")),onError:t[1]||(t[1]=t=>e.$emit("error")),onLoad:t[2]||(t[2]=t=>e.$emit("load"))},{loading:i((()=>[n(e.$slots,"loading")])),error:i((()=>[n(e.$slots,"error")])),_:3},8,["src","mode","width","height","shape","radius","lazyLoad","showMenuByLongpress","loadingIcon","errorIcon","showLoading","showError","fade","webp","duration","bgColor","customStyle"])}]]);const L=P({name:"u-badge",mixins:[a,{props:{isDot:{type:Boolean,default:u.badge.isDot},value:{type:[Number,String],default:u.badge.value},modelValue:{type:[Number,String],default:u.badge.modelValue},show:{type:Boolean,default:u.badge.show},max:{type:[Number,String],default:u.badge.max},type:{type:String,default:u.badge.type},showZero:{type:Boolean,default:u.badge.showZero},bgColor:{type:[String,null],default:u.badge.bgColor},color:{type:[String,null],default:u.badge.color},shape:{type:String,default:u.badge.shape},numberType:{type:String,default:u.badge.numberType},offset:{type:Array,default:u.badge.offset},inverted:{type:Boolean,default:u.badge.inverted},absolute:{type:Boolean,default:u.badge.absolute}}},o],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],a=this.offset[1]||t;e.top=uni.$u.addUnit(t),e.right=uni.$u.addUnit(a)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}}},[["render",function(e,t,a,o,r,n){const u=m;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?(l(),s(u,{key:0,class:b([[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn",`u-badge--${e.type}${e.inverted?"--inverted":""}`],"u-badge"]),style:h([e.$u.addStyle(e.customStyle),n.badgeStyle])},{default:i((()=>[d(c(e.isDot?"":n.showValue),1)])),_:1},8,["class","style"])):p("",!0)}],["__scopeId","data-v-99cd5b85"]]);const j=P({name:"u-tabbar-item",mixins:[a,o,{props:{name:{type:[String,Number,null],default:u.tabbarItem.name},icon:{icon:String,default:u.tabbarItem.icon},badge:{type:[String,Number,null],default:u.tabbarItem.badge},dot:{type:Boolean,default:u.tabbarItem.dot},text:{type:String,default:u.tabbarItem.text},badgeStyle:{type:[Object,String],default:u.tabbarItem.badgeStyle}}}],data:()=>({isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}),options:{virtualHost:!0},created(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-tabbar-item必须搭配u-tabbar组件使用");const e=this.parent.children.indexOf(this);this.isActive=(this.name||e)===this.parentData.value},updateParentData(){this.getParentData("u-tabbar")},updateFromParent(){this.init()},clickHandler(){this.$nextTick((()=>{const e=this.parent.children.indexOf(this),t=this.name||e;t!==this.parent.value&&this.parent.$emit("change",t),this.$emit("click",t)}))}}},[["render",function(e,t,a,o,r,u){const b=g(y("u-icon"),A),p=g(y("u-badge"),L),S=_,C=m;return l(),s(S,{class:"u-tabbar-item",style:h([e.$u.addStyle(e.customStyle)]),onClick:u.clickHandler},{default:i((()=>[f(S,{class:"u-tabbar-item__icon"},{default:i((()=>[e.icon?(l(),s(b,{key:0,name:e.icon,color:r.isActive?r.parentData.activeColor:r.parentData.inactiveColor,size:20},null,8,["name","color"])):(l(),v(x,{key:1},[r.isActive?n(e.$slots,"active-icon",{key:0},void 0,!0):n(e.$slots,"inactive-icon",{key:1},void 0,!0)],64)),f(p,{absolute:"",offset:[0,e.dot?"34rpx":e.badge>9?"14rpx":"20rpx"],customStyle:e.badgeStyle,isDot:e.dot,value:e.badge||(e.dot?1:null),show:e.dot||e.badge>0},null,8,["offset","customStyle","isDot","value","show"])])),_:3}),n(e.$slots,"text",{},(()=>[f(C,{class:"u-tabbar-item__text",style:h({color:r.isActive?r.parentData.activeColor:r.parentData.inactiveColor})},{default:i((()=>[d(c(e.text),1)])),_:1},8,["style"])]),!0)])),_:3},8,["style","onClick"])}],["__scopeId","data-v-b5faebd4"]]);const M=P({name:"u-tabbar",mixins:[a,o,{props:{value:{type:[String,Number,null],default:u.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:u.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:u.tabbar.border},zIndex:{type:[String,Number],default:u.tabbar.zIndex},activeColor:{type:String,default:u.tabbar.activeColor},inactiveColor:{type:String,default:u.tabbar.inactiveColor},fixed:{type:Boolean,default:u.tabbar.fixed},placeholder:{type:Boolean,default:u.tabbar.placeholder}}}],data:()=>({placeholderHeight:0}),computed:{tabbarStyle(){const e={zIndex:this.zIndex};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))},updateChild(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder(){return[this.fixed,this.placeholder]}},watch:{updateChild(){this.updateChildren()},updatePlaceholder(){this.setPlaceholderHeight()}},created(){this.children=[]},mounted(){this.setPlaceholderHeight()},methods:{updateChildren(){this.children.length&&this.children.map((e=>e.updateFromParent()))},async setPlaceholderHeight(){this.fixed&&this.placeholder&&(await uni.$u.sleep(20),this.$uGetRect(".u-tabbar__content").then((({height:e=50})=>{this.placeholderHeight=e})))}}},[["render",function(e,t,a,o,r,u){const d=_,c=g(y("u-safe-bottom"),H);return l(),s(d,{class:"u-tabbar"},{default:i((()=>[f(d,{class:b(["u-tabbar__content",[e.border&&"u-border-top",e.fixed&&"u-tabbar--fixed"]]),ref:"u-tabbar__content",onTouchmove:S(e.noop,["stop","prevent"]),style:h([u.tabbarStyle])},{default:i((()=>[f(d,{class:"u-tabbar__content__item-wrapper"},{default:i((()=>[n(e.$slots,"default",{},void 0,!0)])),_:3}),e.safeAreaInsetBottom?(l(),s(c,{key:0})):p("",!0)])),_:3},8,["onTouchmove","class","style"]),e.placeholder?(l(),s(d,{key:0,class:"u-tabbar__placeholder",style:h({height:r.placeholderHeight+"px"})},null,8,["style"])):p("",!0)])),_:3})}],["__scopeId","data-v-b564ac71"]]),T=P(C({__name:"tabbar",setup(e){const t=k((()=>w().tabbar)),a=k((()=>"/"+I())),o=e=>{N({url:`${e}`})};return(e,r)=>{const n=g(y("u-tabbar-item"),j),u=g(y("u-tabbar"),M),d=_;return l(),v(x,null,[$(t)?(l(),s(u,{key:0,value:$(a),onChange:o,zIndex:"9999",fixed:!0,placeholder:!0,safeAreaInsetBottom:!0,"inactive-color":$(t).textColor,"active-color":$(t).textHoverColor},{default:i((()=>[(l(!0),v(x,null,B($(t).list,(e=>(l(),v(x,null,[1==$(t).type?(l(),s(n,{key:0,style:h({"background-color":$(t).backgroundColor}),text:e.text,icon:$(D)($(a)==e.link.url?e.iconSelectPath:e.iconPath),name:e.link.url},null,8,["style","text","icon","name"])):p("",!0),2==$(t).type?(l(),s(n,{key:1,style:h({"background-color":$(t).backgroundColor}),icon:$(D)($(a)==e.link.url?e.iconSelectPath:e.iconPath),name:e.link.url},null,8,["style","icon","name"])):p("",!0),3==$(t).type?(l(),s(n,{key:2,style:h({"background-color":$(t).backgroundColor}),text:e.text,name:e.link.url},null,8,["style","text","name"])):p("",!0)],64)))),256))])),_:1},8,["value","inactive-color","active-color"])):p("",!0),f(d,{class:"tab-bar-placeholder"})],64)}}}),[["__scopeId","data-v-cc0d2f65"]]);export{z as _,T as a}; diff --git a/niucloud/public/wap/assets/u-action-sheet.1e4dbfee.js b/niucloud/public/wap/assets/u-action-sheet.1e4dbfee.js deleted file mode 100644 index af3689da9..000000000 --- a/niucloud/public/wap/assets/u-action-sheet.1e4dbfee.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./u-icon.f5369555.js";import{y as t,z as l,A as a,p as s,q as i,h as o,i as n,w as c,j as r,F as u,C as d,m as p,n as m,D as _,E as y,t as g,H as h,G as f,M as S,O as b,N as k}from"./index-15eacd31.js";import{_ as $}from"./u-line.bb8d1497.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as C}from"./u-loading-icon.ea8c9ece.js";import{_ as B}from"./u-popup.8a491625.js";const T={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}},w={props:{openType:String},methods:{onGetUserInfo(e){this.$emit("getuserinfo",e.detail)},onContact(e){this.$emit("contact",e.detail)},onGetPhoneNumber(e){this.$emit("getphonenumber",e.detail)},onError(e){this.$emit("error",e.detail)},onLaunchApp(e){this.$emit("launchapp",e.detail)},onOpenSetting(e){this.$emit("opensetting",e.detail)}}};const x=v({name:"u-cell",data:()=>({}),mixins:[l,a,{props:{title:{type:[String,Number],default:t.cell.title},label:{type:[String,Number],default:t.cell.label},value:{type:[String,Number],default:t.cell.value},icon:{type:String,default:t.cell.icon},disabled:{type:Boolean,default:t.cell.disabled},border:{type:Boolean,default:t.cell.border},center:{type:Boolean,default:t.cell.center},url:{type:String,default:t.cell.url},linkType:{type:String,default:t.cell.linkType},clickable:{type:Boolean,default:t.cell.clickable},isLink:{type:Boolean,default:t.cell.isLink},required:{type:Boolean,default:t.cell.required},rightIcon:{type:String,default:t.cell.rightIcon},arrowDirection:{type:String,default:t.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>uni.$u.props.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>uni.$u.props.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>uni.$u.props.cell.titleStyle},size:{type:String,default:t.cell.size},stop:{type:Boolean,default:t.cell.stop},name:{type:[Number,String],default:t.cell.name}}}],computed:{titleTextStyle(){return uni.$u.addStyle(this.titleStyle)}},emits:["click"],methods:{clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}},[["render",function(t,l,a,f,S,b){const k=s(i("u-icon"),e),v=g,C=h,B=s(i("u-line"),$);return o(),n(v,{class:u(["u-cell",[t.customClass]]),style:m([t.$u.addStyle(t.customStyle)]),"hover-class":t.disabled||!t.clickable&&!t.isLink?"":"u-cell--clickable","hover-stay-time":250,onClick:b.clickHandler},{default:c((()=>[r(v,{class:u(["u-cell__body",[t.center&&"u-cell--center","large"===t.size&&"u-cell__body--large"]])},{default:c((()=>[r(v,{class:"u-cell__body__content"},{default:c((()=>[r(v,{class:"u-cell__left-icon-wrap"},{default:c((()=>[d(t.$slots,"icon",{},(()=>[t.icon?(o(),n(k,{key:0,name:t.icon,"custom-style":t.iconStyle,size:"large"===t.size?22:18},null,8,["name","custom-style","size"])):p("",!0)]),!0)])),_:3}),r(v,{class:"u-cell__title"},{default:c((()=>[d(t.$slots,"title",{},(()=>[t.title?(o(),n(C,{key:0,class:u(["u-cell__title-text",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__title-text--large"]]),style:m([b.titleTextStyle])},{default:c((()=>[_(y(t.title),1)])),_:1},8,["style","class"])):p("",!0)]),!0),d(t.$slots,"label",{},(()=>[t.label?(o(),n(C,{key:0,class:u(["u-cell__label",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__label--large"]])},{default:c((()=>[_(y(t.label),1)])),_:1},8,["class"])):p("",!0)]),!0)])),_:3})])),_:3}),d(t.$slots,"value",{},(()=>[t.$u.test.empty(t.value)?p("",!0):(o(),n(C,{key:0,class:u(["u-cell__value",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__value--large"]])},{default:c((()=>[_(y(t.value),1)])),_:1},8,["class"]))]),!0),r(v,{class:u(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${t.arrowDirection}`]])},{default:c((()=>[d(t.$slots,"right-icon",{},(()=>[t.isLink?(o(),n(k,{key:0,name:t.rightIcon,"custom-style":t.rightIconStyle,color:t.disabled?"#c8c9cc":"info",size:"large"===t.size?18:16},null,8,["name","custom-style","color","size"])):p("",!0)]),!0)])),_:3},8,["class"])])),_:3},8,["class"]),t.border?(o(),n(B,{key:0})):p("",!0)])),_:3},8,["class","style","hover-class","onClick"])}],["__scopeId","data-v-ce3eecec"]]);const z=v({name:"u-cell-group",mixins:[l,a,{props:{title:{type:String,default:t.cellGroup.title},border:{type:Boolean,default:t.cellGroup.border}}}]},[["render",function(e,t,l,a,f,S){const b=h,k=g,v=s(i("u-line"),$);return o(),n(k,{style:m([e.$u.addStyle(e.customStyle)]),class:u([[e.customClass],"u-cell-group"])},{default:c((()=>[e.title?(o(),n(k,{key:0,class:"u-cell-group__title"},{default:c((()=>[d(e.$slots,"title",{},(()=>[r(b,{class:"u-cell-group__title__text"},{default:c((()=>[_(y(e.title),1)])),_:1})]),!0)])),_:3})):p("",!0),r(k,{class:"u-cell-group__wrapper"},{default:c((()=>[e.border?(o(),n(v,{key:0})):p("",!0),d(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["style","class"])}],["__scopeId","data-v-bfc8927a"]]);const I=v({name:"u-gap",mixins:[l,a,{props:{bgColor:{type:String,default:t.gap.bgColor},height:{type:[String,Number],default:t.gap.height},marginTop:{type:[String,Number],default:t.gap.marginTop},marginBottom:{type:[String,Number],default:t.gap.marginBottom}}}],computed:{gapStyle(){const e={backgroundColor:this.bgColor,height:uni.$u.addUnit(this.height),marginTop:uni.$u.addUnit(this.marginTop),marginBottom:uni.$u.addUnit(this.marginBottom)};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}},[["render",function(e,t,l,a,s,i){const c=g;return o(),n(c,{class:"u-gap",style:m([i.gapStyle])},null,8,["style"])}],["__scopeId","data-v-148cef11"]]);const O=v({name:"u-action-sheet",mixins:[w,T,a,{props:{show:{type:Boolean,default:t.actionSheet.show},title:{type:String,default:t.actionSheet.title},description:{type:String,default:t.actionSheet.description},actions:{type:Array,default:t.actionSheet.actions},cancelText:{type:String,default:t.actionSheet.cancelText},closeOnClickAction:{type:Boolean,default:t.actionSheet.closeOnClickAction},safeAreaInsetBottom:{type:Boolean,default:t.actionSheet.safeAreaInsetBottom},openType:{type:String,default:t.actionSheet.openType},closeOnClickOverlay:{type:Boolean,default:t.actionSheet.closeOnClickOverlay},round:{type:[Boolean,String,Number],default:t.actionSheet.round}}}],data:()=>({}),computed:{itemStyle(){return e=>{let t={};return this.actions[e].color&&(t.color=this.actions[e].color),this.actions[e].fontSize&&(t.fontSize=uni.$u.addUnit(this.actions[e].fontSize)),this.actions[e].disabled&&(t.color="#c0c4cc"),t}}},methods:{closeHandler(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("close")},selectHandler(e){const t=this.actions[e];!t||t.disabled||t.loading||(this.$emit("select",t),this.closeOnClickAction&&this.$emit("close"))}}},[["render",function(t,l,a,u,v,T){const w=h,x=s(i("u-icon"),e),z=g,O=s(i("u-line"),$),A=s(i("u-loading-icon"),C),j=s(i("u-gap"),I),N=s(i("u-popup"),B);return o(),n(N,{show:t.show,mode:"bottom",onClose:T.closeHandler,safeAreaInsetBottom:t.safeAreaInsetBottom,round:t.round},{default:c((()=>[r(z,{class:"u-action-sheet"},{default:c((()=>[t.title?(o(),n(z,{key:0,class:"u-action-sheet__header"},{default:c((()=>[r(w,{class:"u-action-sheet__header__title u-line-1"},{default:c((()=>[_(y(t.title),1)])),_:1}),r(z,{class:"u-action-sheet__header__icon-wrap",onClick:f(T.cancel,["stop"])},{default:c((()=>[r(x,{name:"close",size:"17",color:"#c8c9cc",bold:""})])),_:1},8,["onClick"])])),_:1})):p("",!0),t.description?(o(),n(w,{key:1,class:"u-action-sheet__description",style:m([{marginTop:`${t.title&&t.description?0:"18px"}`}])},{default:c((()=>[_(y(t.description),1)])),_:1},8,["style"])):p("",!0),d(t.$slots,"default",{},(()=>[t.description?(o(),n(O,{key:0})):p("",!0),r(z,{class:"u-action-sheet__item-wrap"},{default:c((()=>[(o(!0),S(b,null,k(t.actions,((e,l)=>(o(),n(z,{key:l},{default:c((()=>[r(z,{class:"u-action-sheet__item-wrap__item",onClick:f((e=>T.selectHandler(l)),["stop"]),"hover-class":e.disabled||e.loading?"":"u-action-sheet--hover","hover-stay-time":150},{default:c((()=>[e.loading?(o(),n(A,{key:1,"custom-class":"van-action-sheet__loading",size:"18",mode:"circle"})):(o(),S(b,{key:0},[r(w,{class:"u-action-sheet__item-wrap__item__name",style:m([T.itemStyle(l)])},{default:c((()=>[_(y(e.name),1)])),_:2},1032,["style"]),e.subname?(o(),n(w,{key:0,class:"u-action-sheet__item-wrap__item__subname"},{default:c((()=>[_(y(e.subname),1)])),_:2},1024)):p("",!0)],64))])),_:2},1032,["onClick","hover-class"]),l!==t.actions.length-1?(o(),n(O,{key:0})):p("",!0)])),_:2},1024)))),128))])),_:1})]),!0),t.cancelText?(o(),n(j,{key:2,bgColor:"#eaeaec",height:"6"})):p("",!0),r(z,{"hover-class":"u-action-sheet--hover"},{default:c((()=>[t.cancelText?(o(),n(w,{key:0,onTouchmove:l[0]||(l[0]=f((()=>{}),["stop","prevent"])),"hover-stay-time":150,class:"u-action-sheet__cancel-text",onClick:T.cancel},{default:c((()=>[_(y(t.cancelText),1)])),_:1},8,["onClick"])):p("",!0)])),_:1})])),_:3})])),_:3},8,["show","onClose","safeAreaInsetBottom","round"])}],["__scopeId","data-v-37c6ec45"]]);export{x as _,z as a,O as b}; diff --git a/niucloud/public/wap/assets/u-action-sheet.4f32c162.js b/niucloud/public/wap/assets/u-action-sheet.4f32c162.js new file mode 100644 index 000000000..0861baad7 --- /dev/null +++ b/niucloud/public/wap/assets/u-action-sheet.4f32c162.js @@ -0,0 +1 @@ +import{_ as e}from"./u-icon.4046c188.js";import{V as t,W as l,X as a,q as i,t as s,i as o,j as n,w as c,k as r,I as u,T as d,m as p,p as m,K as _,L as y,x as f,N as g,J as h,F as S,G as b,H as k}from"./index-59b72094.js";import{_ as v}from"./u-line.9ef7233b.js";import{_ as $}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as C}from"./u-loading-icon.85becb71.js";import{_ as B}from"./u-popup.94ffd479.js";const T={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}},x={props:{openType:String},methods:{onGetUserInfo(e){this.$emit("getuserinfo",e.detail)},onContact(e){this.$emit("contact",e.detail)},onGetPhoneNumber(e){this.$emit("getphonenumber",e.detail)},onError(e){this.$emit("error",e.detail)},onLaunchApp(e){this.$emit("launchapp",e.detail)},onOpenSetting(e){this.$emit("opensetting",e.detail)}}};const w=$({name:"u-cell",data:()=>({}),mixins:[l,a,{props:{title:{type:[String,Number],default:t.cell.title},label:{type:[String,Number],default:t.cell.label},value:{type:[String,Number],default:t.cell.value},icon:{type:String,default:t.cell.icon},disabled:{type:Boolean,default:t.cell.disabled},border:{type:Boolean,default:t.cell.border},center:{type:Boolean,default:t.cell.center},url:{type:String,default:t.cell.url},linkType:{type:String,default:t.cell.linkType},clickable:{type:Boolean,default:t.cell.clickable},isLink:{type:Boolean,default:t.cell.isLink},required:{type:Boolean,default:t.cell.required},rightIcon:{type:String,default:t.cell.rightIcon},arrowDirection:{type:String,default:t.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>uni.$u.props.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>uni.$u.props.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>uni.$u.props.cell.titleStyle},size:{type:String,default:t.cell.size},stop:{type:Boolean,default:t.cell.stop},name:{type:[Number,String],default:t.cell.name}}}],computed:{titleTextStyle(){return uni.$u.addStyle(this.titleStyle)}},emits:["click"],methods:{clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}},[["render",function(t,l,a,h,S,b){const k=i(s("u-icon"),e),$=f,C=g,B=i(s("u-line"),v);return o(),n($,{class:u(["u-cell",[t.customClass]]),style:m([t.$u.addStyle(t.customStyle)]),"hover-class":t.disabled||!t.clickable&&!t.isLink?"":"u-cell--clickable","hover-stay-time":250,onClick:b.clickHandler},{default:c((()=>[r($,{class:u(["u-cell__body",[t.center&&"u-cell--center","large"===t.size&&"u-cell__body--large"]])},{default:c((()=>[r($,{class:"u-cell__body__content"},{default:c((()=>[r($,{class:"u-cell__left-icon-wrap"},{default:c((()=>[d(t.$slots,"icon",{},(()=>[t.icon?(o(),n(k,{key:0,name:t.icon,"custom-style":t.iconStyle,size:"large"===t.size?22:18},null,8,["name","custom-style","size"])):p("v-if",!0)]),!0)])),_:3}),r($,{class:"u-cell__title"},{default:c((()=>[d(t.$slots,"title",{},(()=>[t.title?(o(),n(C,{key:0,class:u(["u-cell__title-text",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__title-text--large"]]),style:m([b.titleTextStyle])},{default:c((()=>[_(y(t.title),1)])),_:1},8,["style","class"])):p("v-if",!0)]),!0),d(t.$slots,"label",{},(()=>[t.label?(o(),n(C,{key:0,class:u(["u-cell__label",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__label--large"]])},{default:c((()=>[_(y(t.label),1)])),_:1},8,["class"])):p("v-if",!0)]),!0)])),_:3})])),_:3}),d(t.$slots,"value",{},(()=>[t.$u.test.empty(t.value)?p("v-if",!0):(o(),n(C,{key:0,class:u(["u-cell__value",[t.disabled&&"u-cell--disabled","large"===t.size&&"u-cell__value--large"]])},{default:c((()=>[_(y(t.value),1)])),_:1},8,["class"]))]),!0),r($,{class:u(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${t.arrowDirection}`]])},{default:c((()=>[d(t.$slots,"right-icon",{},(()=>[t.isLink?(o(),n(k,{key:0,name:t.rightIcon,"custom-style":t.rightIconStyle,color:t.disabled?"#c8c9cc":"info",size:"large"===t.size?18:16},null,8,["name","custom-style","color","size"])):p("v-if",!0)]),!0)])),_:3},8,["class"])])),_:3},8,["class"]),t.border?(o(),n(B,{key:0})):p("v-if",!0)])),_:3},8,["class","style","hover-class","onClick"])}],["__scopeId","data-v-ce3eecec"]]);const I=$({name:"u-cell-group",mixins:[l,a,{props:{title:{type:String,default:t.cellGroup.title},border:{type:Boolean,default:t.cellGroup.border}}}]},[["render",function(e,t,l,a,h,S){const b=g,k=f,$=i(s("u-line"),v);return o(),n(k,{style:m([e.$u.addStyle(e.customStyle)]),class:u([[e.customClass],"u-cell-group"])},{default:c((()=>[e.title?(o(),n(k,{key:0,class:"u-cell-group__title"},{default:c((()=>[d(e.$slots,"title",{},(()=>[r(b,{class:"u-cell-group__title__text"},{default:c((()=>[_(y(e.title),1)])),_:1})]),!0)])),_:3})):p("v-if",!0),r(k,{class:"u-cell-group__wrapper"},{default:c((()=>[e.border?(o(),n($,{key:0})):p("v-if",!0),d(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["style","class"])}],["__scopeId","data-v-bfc8927a"]]);const z=$({name:"u-gap",mixins:[l,a,{props:{bgColor:{type:String,default:t.gap.bgColor},height:{type:[String,Number],default:t.gap.height},marginTop:{type:[String,Number],default:t.gap.marginTop},marginBottom:{type:[String,Number],default:t.gap.marginBottom}}}],computed:{gapStyle(){const e={backgroundColor:this.bgColor,height:uni.$u.addUnit(this.height),marginTop:uni.$u.addUnit(this.marginTop),marginBottom:uni.$u.addUnit(this.marginBottom)};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}},[["render",function(e,t,l,a,i,s){const c=f;return o(),n(c,{class:"u-gap",style:m([s.gapStyle])},null,8,["style"])}],["__scopeId","data-v-148cef11"]]);const O=$({name:"u-action-sheet",mixins:[x,T,a,{props:{show:{type:Boolean,default:t.actionSheet.show},title:{type:String,default:t.actionSheet.title},description:{type:String,default:t.actionSheet.description},actions:{type:Array,default:t.actionSheet.actions},cancelText:{type:String,default:t.actionSheet.cancelText},closeOnClickAction:{type:Boolean,default:t.actionSheet.closeOnClickAction},safeAreaInsetBottom:{type:Boolean,default:t.actionSheet.safeAreaInsetBottom},openType:{type:String,default:t.actionSheet.openType},closeOnClickOverlay:{type:Boolean,default:t.actionSheet.closeOnClickOverlay},round:{type:[Boolean,String,Number],default:t.actionSheet.round}}}],data:()=>({}),computed:{itemStyle(){return e=>{let t={};return this.actions[e].color&&(t.color=this.actions[e].color),this.actions[e].fontSize&&(t.fontSize=uni.$u.addUnit(this.actions[e].fontSize)),this.actions[e].disabled&&(t.color="#c0c4cc"),t}}},methods:{closeHandler(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.$emit("close")},selectHandler(e){const t=this.actions[e];!t||t.disabled||t.loading||(this.$emit("select",t),this.closeOnClickAction&&this.$emit("close"))}}},[["render",function(t,l,a,u,$,T){const x=g,w=i(s("u-icon"),e),I=f,O=i(s("u-line"),v),N=i(s("u-loading-icon"),C),j=i(s("u-gap"),z),A=i(s("u-popup"),B);return o(),n(A,{show:t.show,mode:"bottom",onClose:T.closeHandler,safeAreaInsetBottom:t.safeAreaInsetBottom,round:t.round},{default:c((()=>[r(I,{class:"u-action-sheet"},{default:c((()=>[t.title?(o(),n(I,{key:0,class:"u-action-sheet__header"},{default:c((()=>[r(x,{class:"u-action-sheet__header__title u-line-1"},{default:c((()=>[_(y(t.title),1)])),_:1}),r(I,{class:"u-action-sheet__header__icon-wrap",onClick:h(T.cancel,["stop"])},{default:c((()=>[r(w,{name:"close",size:"17",color:"#c8c9cc",bold:""})])),_:1},8,["onClick"])])),_:1})):p("v-if",!0),t.description?(o(),n(x,{key:1,class:"u-action-sheet__description",style:m([{marginTop:`${t.title&&t.description?0:"18px"}`}])},{default:c((()=>[_(y(t.description),1)])),_:1},8,["style"])):p("v-if",!0),d(t.$slots,"default",{},(()=>[t.description?(o(),n(O,{key:0})):p("v-if",!0),r(I,{class:"u-action-sheet__item-wrap"},{default:c((()=>[(o(!0),S(b,null,k(t.actions,((e,l)=>(o(),n(I,{key:l},{default:c((()=>[r(I,{class:"u-action-sheet__item-wrap__item",onClick:h((e=>T.selectHandler(l)),["stop"]),"hover-class":e.disabled||e.loading?"":"u-action-sheet--hover","hover-stay-time":150},{default:c((()=>[e.loading?(o(),n(N,{key:1,"custom-class":"van-action-sheet__loading",size:"18",mode:"circle"})):(o(),S(b,{key:0},[r(x,{class:"u-action-sheet__item-wrap__item__name",style:m([T.itemStyle(l)])},{default:c((()=>[_(y(e.name),1)])),_:2},1032,["style"]),e.subname?(o(),n(x,{key:0,class:"u-action-sheet__item-wrap__item__subname"},{default:c((()=>[_(y(e.subname),1)])),_:2},1024)):p("v-if",!0)],64))])),_:2},1032,["onClick","hover-class"]),l!==t.actions.length-1?(o(),n(O,{key:0})):p("v-if",!0)])),_:2},1024)))),128))])),_:1})]),!0),t.cancelText?(o(),n(j,{key:2,bgColor:"#eaeaec",height:"6"})):p("v-if",!0),r(I,{"hover-class":"u-action-sheet--hover"},{default:c((()=>[t.cancelText?(o(),n(x,{key:0,onTouchmove:l[0]||(l[0]=h((()=>{}),["stop","prevent"])),"hover-stay-time":150,class:"u-action-sheet__cancel-text",onClick:T.cancel},{default:c((()=>[_(y(t.cancelText),1)])),_:1},8,["onClick"])):p("v-if",!0)])),_:1})])),_:3})])),_:3},8,["show","onClose","safeAreaInsetBottom","round"])}],["__scopeId","data-v-37c6ec45"]]);export{w as _,I as a,O as b}; diff --git a/niucloud/public/wap/assets/u-avatar.45f327ca.js b/niucloud/public/wap/assets/u-avatar.45f327ca.js new file mode 100644 index 000000000..1cfb42efe --- /dev/null +++ b/niucloud/public/wap/assets/u-avatar.45f327ca.js @@ -0,0 +1 @@ +import{_ as A}from"./u-icon.4046c188.js";import{V as e,W as t,X as a,i as n,j as i,w as l,K as o,L as r,J as s,p as u,N as c,aS as d,q as f,t as p,I as m,m as y,k as g,x,aT as h,E as S,T as b,F as v,G as k,M as I}from"./index-59b72094.js";import{_ as N}from"./_plugin-vue_export-helper.1b428a4d.js";const R=N({name:"u-link",mixins:[t,a,{props:{color:{type:String,default:e.link.color},fontSize:{type:[String,Number],default:e.link.fontSize},underLine:{type:Boolean,default:e.link.underLine},href:{type:String,default:e.link.href},mpTips:{type:String,default:e.link.mpTips},lineColor:{type:String,default:e.link.lineColor},text:{type:String,default:e.link.text}}}],computed:{linkStyle(){return{color:this.color,fontSize:uni.$u.addUnit(this.fontSize),lineHeight:uni.$u.addUnit(uni.$u.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},methods:{openLink(){window.open(this.href),this.$emit("click")}}},[["render",function(A,e,t,a,d,f){const p=c;return n(),i(p,{class:"u-link",onClick:s(f.openLink,["stop"]),style:u([f.linkStyle,A.$u.addStyle(A.customStyle)])},{default:l((()=>[o(r(A.text),1)])),_:1},8,["onClick","style"])}],["__scopeId","data-v-a339e5f1"]]),B={computed:{value(){const{text:A,mode:e,format:t,href:a}=this;return"price"===e?(/^\d+(\.\d+)?$/.test(A)||uni.$u.error("金额模式下,text参数需要为金额格式"),uni.$u.test.func(t)?t(A):uni.$u.priceFormat(A,2)):"date"===e?(!uni.$u.test.date(A)&&uni.$u.error("日期模式下,text参数需要为日期或时间戳格式"),uni.$u.test.func(t)?t(A):t?uni.$u.timeFormat(A,t):uni.$u.timeFormat(A,"yyyy-mm-dd")):"phone"===e?uni.$u.test.func(t)?t(A):"encrypt"===t?`${A.substr(0,3)}****${A.substr(7)}`:A:"name"===e?("string"!=typeof A&&uni.$u.error("姓名模式下,text参数需要为字符串格式"),uni.$u.test.func(t)?t(A):"encrypt"===t?this.formatName(A):A):"link"===e?(!uni.$u.test.url(a)&&uni.$u.error("超链接模式下,href参数需要为URL格式"),A):A}},methods:{formatName(A){let e="";if(2===A.length)e=A.substr(0,1)+"*";else if(A.length>2){let t="";for(let e=0,a=A.length-2;e!1,isMp:()=>!1},data:()=>({}),methods:{clickHandler(){this.call&&"phone"===this.mode&&d({phoneNumber:this.text}),this.$emit("click")}}},[["render",function(e,t,a,s,d,S){const b=c,v=f(p("u-icon"),A),k=x,I=f(p("u-link"),R),N=h;return e.show?(n(),i(k,{key:0,class:m(["u-text",[]]),style:u({margin:e.margin,justifyContent:"left"===e.align?"flex-start":"center"===e.align?"center":"flex-end"}),onClick:S.clickHandler},{default:l((()=>["price"===e.mode?(n(),i(b,{key:0,class:m(["u-text__price",e.type&&`u-text__value--${e.type}`]),style:u([S.valueStyle])},{default:l((()=>[o("¥")])),_:1},8,["class","style"])):y("v-if",!0),e.prefixIcon?(n(),i(k,{key:1,class:"u-text__prefix-icon"},{default:l((()=>[g(v,{name:e.prefixIcon,customStyle:e.$u.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:1})):y("v-if",!0),"link"===e.mode?(n(),i(I,{key:2,text:e.value,href:e.href,underLine:""},null,8,["text","href"])):e.openType&&S.isMp?(n(),i(N,{key:3,class:"u-reset-button u-text__value",style:u([S.valueStyle]),"data-index":e.index,openType:e.openType,onGetuserinfo:e.onGetUserInfo,onContact:e.onContact,onGetphonenumber:e.onGetPhoneNumber,onError:e.onError,onLaunchapp:e.onLaunchApp,onOpensetting:e.onOpenSetting,lang:e.lang,"session-from":e.sessionFrom,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,"app-parameter":e.appParameter},{default:l((()=>[o(r(e.value),1)])),_:1},8,["style","data-index","openType","onGetuserinfo","onContact","onGetphonenumber","onError","onLaunchapp","onOpensetting","lang","session-from","send-message-title","send-message-path","send-message-img","show-message-card","app-parameter"])):(n(),i(b,{key:4,class:m(["u-text__value",[e.type&&`u-text__value--${e.type}`,e.lines&&`u-line-${e.lines}`]]),style:u([S.valueStyle])},{default:l((()=>[o(r(e.value),1)])),_:1},8,["style","class"])),e.suffixIcon?(n(),i(k,{key:5,class:"u-text__suffix-icon"},{default:l((()=>[g(v,{name:e.suffixIcon,customStyle:e.$u.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:1})):y("v-if",!0)])),_:1},8,["style","onClick"])):y("v-if",!0)}],["__scopeId","data-v-b9da4249"]])}},[["render",function(A,e,t,a,l,o){const r=S("uvText");return n(),i(r,{type:A.type,show:A.show,text:A.text,prefixIcon:A.prefixIcon,suffixIcon:A.suffixIcon,mode:A.mode,href:A.href,format:A.format,call:A.call,openType:A.openType,bold:A.bold,block:A.block,lines:A.lines,color:A.color,decoration:A.decoration,size:A.size,iconStyle:A.iconStyle,margin:A.margin,lineHeight:A.lineHeight,align:A.align,wordWrap:A.wordWrap,customStyle:A.customStyle},null,8,["type","show","text","prefixIcon","suffixIcon","mode","href","format","call","openType","bold","block","lines","color","decoration","size","iconStyle","margin","lineHeight","align","wordWrap","customStyle"])}]]),G={props:{src:{type:String,default:e.avatar.src},shape:{type:String,default:e.avatar.shape},size:{type:[String,Number],default:e.avatar.size},mode:{type:String,default:e.avatar.mode},text:{type:String,default:e.avatar.text},bgColor:{type:String,default:e.avatar.bgColor},color:{type:String,default:e.avatar.color},fontSize:{type:[String,Number],default:e.avatar.fontSize},icon:{type:String,default:e.avatar.icon},mpAvatar:{type:Boolean,default:e.avatar.mpAvatar},randomBgColor:{type:Boolean,default:e.avatar.randomBgColor},defaultUrl:{type:String,default:e.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:A=>uni.$u.test.range(A,[0,19])||""===A,default:e.avatar.colorIndex},name:{type:String,default:e.avatar.name}}};const M=N({name:"u-avatar",mixins:[t,a,G],data(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler(A){this.avatarUrl=A,A||this.errorHandler()}}},computed:{imageStyle:()=>({})},created(){this.init()},methods:{init(){},isImg(){return-1!==this.src.indexOf("/")},errorHandler(){this.avatarUrl=this.defaultUrl||"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYG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"},clickHandler(){this.$emit("click",this.name)}}},[["render",function(e,t,a,o,r,s){const c=f(p("u-icon"),A),d=f(p("u--text"),w),y=I,g=x;return n(),i(g,{class:m(["u-avatar",[`u-avatar--${e.shape}`]]),style:u([{backgroundColor:e.text||e.icon?e.randomBgColor?r.colors[""!==e.colorIndex?e.colorIndex:e.$u.random(0,19)]:e.bgColor:"transparent",width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size)},e.$u.addStyle(e.customStyle)]),onClick:s.clickHandler},{default:l((()=>[b(e.$slots,"default",{},(()=>[e.mpAvatar&&r.allowMp?(n(),v(k,{key:0},[],64)):e.icon?(n(),i(c,{key:1,name:e.icon,size:e.fontSize,color:e.color},null,8,["name","size","color"])):e.text?(n(),i(d,{key:2,text:e.text,size:e.fontSize,color:e.color,align:"center",customStyle:"justify-content: center"},null,8,["text","size","color"])):(n(),i(y,{key:3,class:m(["u-avatar__image",[`u-avatar__image--${e.shape}`]]),src:r.avatarUrl||e.defaultUrl,mode:e.mode,onError:s.errorHandler,style:u([{width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size)}])},null,8,["class","src","mode","onError","style"]))]),!0)])),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-03b4cb4d"]]);export{M as _}; diff --git a/niucloud/public/wap/assets/u-avatar.ddef1faa.js b/niucloud/public/wap/assets/u-avatar.ddef1faa.js deleted file mode 100644 index d68f254c1..000000000 --- a/niucloud/public/wap/assets/u-avatar.ddef1faa.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as A}from"./u-icon.f5369555.js";import{y as e,z as t,A as a,h as n,i as l,w as o,D as i,E as r,G as s,n as u,H as c,aW as d,p as f,q as p,F as m,m as y,j as g,t as x,aX as h,ab as S,C as b,M as v,O as k,a1 as I}from"./index-15eacd31.js";import{_ as H}from"./_plugin-vue_export-helper.1b428a4d.js";const R=H({name:"u-link",mixins:[t,a,{props:{color:{type:String,default:e.link.color},fontSize:{type:[String,Number],default:e.link.fontSize},underLine:{type:Boolean,default:e.link.underLine},href:{type:String,default:e.link.href},mpTips:{type:String,default:e.link.mpTips},lineColor:{type:String,default:e.link.lineColor},text:{type:String,default:e.link.text}}}],computed:{linkStyle(){return{color:this.color,fontSize:uni.$u.addUnit(this.fontSize),lineHeight:uni.$u.addUnit(uni.$u.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},methods:{openLink(){window.open(this.href),this.$emit("click")}}},[["render",function(A,e,t,a,d,f){const p=c;return n(),l(p,{class:"u-link",onClick:s(f.openLink,["stop"]),style:u([f.linkStyle,A.$u.addStyle(A.customStyle)])},{default:o((()=>[i(r(A.text),1)])),_:1},8,["onClick","style"])}],["__scopeId","data-v-a339e5f1"]]),B={computed:{value(){const{text:A,mode:e,format:t,href:a}=this;return"price"===e?(/^\d+(\.\d+)?$/.test(A)||uni.$u.error("金额模式下,text参数需要为金额格式"),uni.$u.test.func(t)?t(A):uni.$u.priceFormat(A,2)):"date"===e?(!uni.$u.test.date(A)&&uni.$u.error("日期模式下,text参数需要为日期或时间戳格式"),uni.$u.test.func(t)?t(A):t?uni.$u.timeFormat(A,t):uni.$u.timeFormat(A,"yyyy-mm-dd")):"phone"===e?uni.$u.test.func(t)?t(A):"encrypt"===t?`${A.substr(0,3)}****${A.substr(7)}`:A:"name"===e?("string"!=typeof A&&uni.$u.error("姓名模式下,text参数需要为字符串格式"),uni.$u.test.func(t)?t(A):"encrypt"===t?this.formatName(A):A):"link"===e?(!uni.$u.test.url(a)&&uni.$u.error("超链接模式下,href参数需要为URL格式"),A):A}},methods:{formatName(A){let e="";if(2===A.length)e=A.substr(0,1)+"*";else if(A.length>2){let t="";for(let e=0,a=A.length-2;e!1,isMp:()=>!1},data:()=>({}),methods:{clickHandler(){this.call&&"phone"===this.mode&&d({phoneNumber:this.text}),this.$emit("click")}}},[["render",function(e,t,a,s,d,S){const b=c,v=f(p("u-icon"),A),k=x,I=f(p("u-link"),R),H=h;return e.show?(n(),l(k,{key:0,class:m(["u-text",[]]),style:u({margin:e.margin,justifyContent:"left"===e.align?"flex-start":"center"===e.align?"center":"flex-end"}),onClick:S.clickHandler},{default:o((()=>["price"===e.mode?(n(),l(b,{key:0,class:m(["u-text__price",e.type&&`u-text__value--${e.type}`]),style:u([S.valueStyle])},{default:o((()=>[i("¥")])),_:1},8,["class","style"])):y("",!0),e.prefixIcon?(n(),l(k,{key:1,class:"u-text__prefix-icon"},{default:o((()=>[g(v,{name:e.prefixIcon,customStyle:e.$u.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:1})):y("",!0),"link"===e.mode?(n(),l(I,{key:2,text:e.value,href:e.href,underLine:""},null,8,["text","href"])):e.openType&&S.isMp?(n(),l(H,{key:3,class:"u-reset-button u-text__value",style:u([S.valueStyle]),"data-index":e.index,openType:e.openType,onGetuserinfo:e.onGetUserInfo,onContact:e.onContact,onGetphonenumber:e.onGetPhoneNumber,onError:e.onError,onLaunchapp:e.onLaunchApp,onOpensetting:e.onOpenSetting,lang:e.lang,"session-from":e.sessionFrom,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,"app-parameter":e.appParameter},{default:o((()=>[i(r(e.value),1)])),_:1},8,["style","data-index","openType","onGetuserinfo","onContact","onGetphonenumber","onError","onLaunchapp","onOpensetting","lang","session-from","send-message-title","send-message-path","send-message-img","show-message-card","app-parameter"])):(n(),l(b,{key:4,class:m(["u-text__value",[e.type&&`u-text__value--${e.type}`,e.lines&&`u-line-${e.lines}`]]),style:u([S.valueStyle])},{default:o((()=>[i(r(e.value),1)])),_:1},8,["style","class"])),e.suffixIcon?(n(),l(k,{key:5,class:"u-text__suffix-icon"},{default:o((()=>[g(v,{name:e.suffixIcon,customStyle:e.$u.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:1})):y("",!0)])),_:1},8,["style","onClick"])):y("",!0)}],["__scopeId","data-v-b9da4249"]])}},[["render",function(A,e,t,a,o,i){const r=S("uvText");return n(),l(r,{type:A.type,show:A.show,text:A.text,prefixIcon:A.prefixIcon,suffixIcon:A.suffixIcon,mode:A.mode,href:A.href,format:A.format,call:A.call,openType:A.openType,bold:A.bold,block:A.block,lines:A.lines,color:A.color,decoration:A.decoration,size:A.size,iconStyle:A.iconStyle,margin:A.margin,lineHeight:A.lineHeight,align:A.align,wordWrap:A.wordWrap,customStyle:A.customStyle},null,8,["type","show","text","prefixIcon","suffixIcon","mode","href","format","call","openType","bold","block","lines","color","decoration","size","iconStyle","margin","lineHeight","align","wordWrap","customStyle"])}]]),G={props:{src:{type:String,default:e.avatar.src},shape:{type:String,default:e.avatar.shape},size:{type:[String,Number],default:e.avatar.size},mode:{type:String,default:e.avatar.mode},text:{type:String,default:e.avatar.text},bgColor:{type:String,default:e.avatar.bgColor},color:{type:String,default:e.avatar.color},fontSize:{type:[String,Number],default:e.avatar.fontSize},icon:{type:String,default:e.avatar.icon},mpAvatar:{type:Boolean,default:e.avatar.mpAvatar},randomBgColor:{type:Boolean,default:e.avatar.randomBgColor},defaultUrl:{type:String,default:e.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:A=>uni.$u.test.range(A,[0,19])||""===A,default:e.avatar.colorIndex},name:{type:String,default:e.avatar.name}}};const M=H({name:"u-avatar",mixins:[t,a,G],data(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler(A){this.avatarUrl=A,A||this.errorHandler()}}},computed:{imageStyle:()=>({})},created(){this.init()},methods:{init(){},isImg(){return-1!==this.src.indexOf("/")},errorHandler(){this.avatarUrl=this.defaultUrl||"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYG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"},clickHandler(){this.$emit("click",this.name)}}},[["render",function(e,t,a,i,r,s){const c=f(p("u-icon"),A),d=f(p("u--text"),w),y=I,g=x;return n(),l(g,{class:m(["u-avatar",[`u-avatar--${e.shape}`]]),style:u([{backgroundColor:e.text||e.icon?e.randomBgColor?r.colors[""!==e.colorIndex?e.colorIndex:e.$u.random(0,19)]:e.bgColor:"transparent",width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size)},e.$u.addStyle(e.customStyle)]),onClick:s.clickHandler},{default:o((()=>[b(e.$slots,"default",{},(()=>[e.mpAvatar&&r.allowMp?(n(),v(k,{key:0},[],64)):e.icon?(n(),l(c,{key:1,name:e.icon,size:e.fontSize,color:e.color},null,8,["name","size","color"])):e.text?(n(),l(d,{key:2,text:e.text,size:e.fontSize,color:e.color,align:"center",customStyle:"justify-content: center"},null,8,["text","size","color"])):(n(),l(y,{key:3,class:m(["u-avatar__image",[`u-avatar__image--${e.shape}`]]),src:r.avatarUrl||e.defaultUrl,mode:e.mode,onError:s.errorHandler,style:u([{width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size)}])},null,8,["class","src","mode","onError","style"]))]),!0)])),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-03b4cb4d"]]);export{M as _}; diff --git a/niucloud/public/wap/assets/u-button.5c85e6cc.js b/niucloud/public/wap/assets/u-button.0f6f73b7.js similarity index 77% rename from niucloud/public/wap/assets/u-button.5c85e6cc.js rename to niucloud/public/wap/assets/u-button.0f6f73b7.js index 80e149778..f0b108d7d 100644 --- a/niucloud/public/wap/assets/u-button.5c85e6cc.js +++ b/niucloud/public/wap/assets/u-button.0f6f73b7.js @@ -1 +1 @@ -import{_ as e}from"./u-loading-icon.ea8c9ece.js";import{y as t,z as o,A as n,p as a,q as i,h as s,i as r,w as l,M as p,O as u,j as d,n as h,D as g,E as m,m as c,C as b,F as y,H as f,aX as S}from"./index-15eacd31.js";import{_ as x}from"./u-icon.f5369555.js";import{_ as T}from"./_plugin-vue_export-helper.1b428a4d.js";const v=T({name:"u-button",mixins:[o,n,{props:{hairline:{type:Boolean,default:t.button.hairline},type:{type:String,default:t.button.type},size:{type:String,default:t.button.size},shape:{type:String,default:t.button.shape},plain:{type:Boolean,default:t.button.plain},disabled:{type:Boolean,default:t.button.disabled},loading:{type:Boolean,default:t.button.loading},loadingText:{type:[String,Number],default:t.button.loadingText},loadingMode:{type:String,default:t.button.loadingMode},loadingSize:{type:[String,Number],default:t.button.loadingSize},openType:{type:String,default:t.button.openType},formType:{type:String,default:t.button.formType},appParameter:{type:String,default:t.button.appParameter},hoverStopPropagation:{type:Boolean,default:t.button.hoverStopPropagation},lang:{type:String,default:t.button.lang},sessionFrom:{type:String,default:t.button.sessionFrom},sendMessageTitle:{type:String,default:t.button.sendMessageTitle},sendMessagePath:{type:String,default:t.button.sendMessagePath},sendMessageImg:{type:String,default:t.button.sendMessageImg},showMessageCard:{type:Boolean,default:t.button.showMessageCard},dataName:{type:String,default:t.button.dataName},throttleTime:{type:[String,Number],default:t.button.throttleTime},hoverStartTime:{type:[String,Number],default:t.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:t.button.hoverStayTime},text:{type:[String,Number],default:t.button.text},icon:{type:String,default:t.button.icon},iconColor:{type:String,default:t.button.icon},color:{type:String,default:t.button.color}}}],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:uni.$u.config.color[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp"],methods:{clickHandler(){this.disabled||this.loading||uni.$u.throttle((()=>{this.$emit("click")}),this.throttleTime)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)}}},[["render",function(t,o,n,T,v,z){const C=a(i("u-loading-icon"),e),M=f,_=a(i("u-icon"),x),k=S;return s(),r(k,{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,onGetphonenumber:z.getphonenumber,onGetuserinfo:z.getuserinfo,onError:z.error,onOpensetting:z.opensetting,onLaunchapp:z.launchapp,"hover-class":t.disabled||t.loading?"":"u-button--active",class:y(["u-button u-reset-button",z.bemClass]),style:h([z.baseColor,t.$u.addStyle(t.customStyle)]),onClick:z.clickHandler},{default:l((()=>[t.loading?(s(),p(u,{key:0},[d(C,{mode:t.loadingMode,size:1.15*t.loadingSize,color:z.loadingColor},null,8,["mode","size","color"]),d(M,{class:"u-button__loading-text",style:h([{fontSize:z.textSize+"px"}])},{default:l((()=>[g(m(t.loadingText||t.text),1)])),_:1},8,["style"])],64)):(s(),p(u,{key:1},[t.icon?(s(),r(_,{key:0,name:t.icon,color:z.iconColorCom,size:1.35*z.textSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):c("",!0),b(t.$slots,"default",{},(()=>[d(M,{class:"u-button__text",style:h([{fontSize:z.textSize+"px"}])},{default:l((()=>[g(m(t.text),1)])),_:1},8,["style"])]),!0)],64))])),_:3},8,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","onGetphonenumber","onGetuserinfo","onError","onOpensetting","onLaunchapp","hover-class","style","onClick","class"])}],["__scopeId","data-v-6b0695bb"]]);export{v as _}; +import{_ as e}from"./u-loading-icon.85becb71.js";import{V as t,W as o,X as n,q as a,t as i,i as s,j as r,w as l,F as p,G as u,k as d,p as g,K as h,L as m,m as c,T as b,I as f,N as y,aT as S}from"./index-59b72094.js";import{_ as x}from"./u-icon.4046c188.js";import{_ as T}from"./_plugin-vue_export-helper.1b428a4d.js";const v=T({name:"u-button",mixins:[o,n,{props:{hairline:{type:Boolean,default:t.button.hairline},type:{type:String,default:t.button.type},size:{type:String,default:t.button.size},shape:{type:String,default:t.button.shape},plain:{type:Boolean,default:t.button.plain},disabled:{type:Boolean,default:t.button.disabled},loading:{type:Boolean,default:t.button.loading},loadingText:{type:[String,Number],default:t.button.loadingText},loadingMode:{type:String,default:t.button.loadingMode},loadingSize:{type:[String,Number],default:t.button.loadingSize},openType:{type:String,default:t.button.openType},formType:{type:String,default:t.button.formType},appParameter:{type:String,default:t.button.appParameter},hoverStopPropagation:{type:Boolean,default:t.button.hoverStopPropagation},lang:{type:String,default:t.button.lang},sessionFrom:{type:String,default:t.button.sessionFrom},sendMessageTitle:{type:String,default:t.button.sendMessageTitle},sendMessagePath:{type:String,default:t.button.sendMessagePath},sendMessageImg:{type:String,default:t.button.sendMessageImg},showMessageCard:{type:Boolean,default:t.button.showMessageCard},dataName:{type:String,default:t.button.dataName},throttleTime:{type:[String,Number],default:t.button.throttleTime},hoverStartTime:{type:[String,Number],default:t.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:t.button.hoverStayTime},text:{type:[String,Number],default:t.button.text},icon:{type:String,default:t.button.icon},iconColor:{type:String,default:t.button.icon},color:{type:String,default:t.button.color}}}],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:uni.$u.config.color[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp"],methods:{clickHandler(){this.disabled||this.loading||uni.$u.throttle((()=>{this.$emit("click")}),this.throttleTime)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)}}},[["render",function(t,o,n,T,v,z){const C=a(i("u-loading-icon"),e),M=y,_=a(i("u-icon"),x),N=S;return s(),r(N,{"hover-start-time":Number(t.hoverStartTime),"hover-stay-time":Number(t.hoverStayTime),"form-type":t.formType,"open-type":t.openType,"app-parameter":t.appParameter,"hover-stop-propagation":t.hoverStopPropagation,"send-message-title":t.sendMessageTitle,"send-message-path":t.sendMessagePath,lang:t.lang,"data-name":t.dataName,"session-from":t.sessionFrom,"send-message-img":t.sendMessageImg,"show-message-card":t.showMessageCard,onGetphonenumber:z.getphonenumber,onGetuserinfo:z.getuserinfo,onError:z.error,onOpensetting:z.opensetting,onLaunchapp:z.launchapp,"hover-class":t.disabled||t.loading?"":"u-button--active",class:f(["u-button u-reset-button",z.bemClass]),style:g([z.baseColor,t.$u.addStyle(t.customStyle)]),onClick:z.clickHandler},{default:l((()=>[t.loading?(s(),p(u,{key:0},[d(C,{mode:t.loadingMode,size:1.15*t.loadingSize,color:z.loadingColor},null,8,["mode","size","color"]),d(M,{class:"u-button__loading-text",style:g([{fontSize:z.textSize+"px"}])},{default:l((()=>[h(m(t.loadingText||t.text),1)])),_:1},8,["style"])],64)):(s(),p(u,{key:1},[t.icon?(s(),r(_,{key:0,name:t.icon,color:z.iconColorCom,size:1.35*z.textSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):c("v-if",!0),b(t.$slots,"default",{},(()=>[d(M,{class:"u-button__text",style:g([{fontSize:z.textSize+"px"}])},{default:l((()=>[h(m(t.text),1)])),_:1},8,["style"])]),!0)],64))])),_:3},8,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","onGetphonenumber","onGetuserinfo","onError","onOpensetting","onLaunchapp","hover-class","style","onClick","class"])}],["__scopeId","data-v-6b0695bb"]]);export{v as _}; diff --git a/niucloud/public/wap/assets/u-empty-5067ac67.css b/niucloud/public/wap/assets/u-empty-5067ac67.css deleted file mode 100644 index 85d406c69..000000000 --- a/niucloud/public/wap/assets/u-empty-5067ac67.css +++ /dev/null @@ -1 +0,0 @@ -uni-view[data-v-bdfabab8],uni-scroll-view[data-v-bdfabab8],uni-swiper-item[data-v-bdfabab8]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-empty[data-v-bdfabab8]{display:flex;flex-direction:row;flex-direction:column;justify-content:center;align-items:center}.u-empty__text[data-v-bdfabab8],.u-slot-wrap[data-v-bdfabab8]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:.625rem} diff --git a/niucloud/public/wap/assets/u-empty.317e751c.js b/niucloud/public/wap/assets/u-empty.317e751c.js deleted file mode 100644 index e7e529981..000000000 --- a/niucloud/public/wap/assets/u-empty.317e751c.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./u-icon.f5369555.js";import{y as e,z as i,A as o,p as s,q as a,h as n,i as r,w as d,n as l,j as m,D as p,E as u,C as y,m as c,a1 as f,H as h,t as S}from"./index-15eacd31.js";import{_ as g}from"./_plugin-vue_export-helper.1b428a4d.js";const x=g({name:"u-empty",mixins:[i,o,{props:{icon:{type:String,default:e.empty.icon},text:{type:String,default:e.empty.text},textColor:{type:String,default:e.empty.textColor},textSize:{type:[String,Number],default:e.empty.textSize},iconColor:{type:String,default:e.empty.iconColor},iconSize:{type:[String,Number],default:e.empty.iconSize},mode:{type:String,default:e.empty.mode},width:{type:[String,Number],default:e.empty.width},height:{type:[String,Number],default:e.empty.height},show:{type:Boolean,default:e.empty.show},marginTop:{type:[String,Number],default:e.empty.marginTop}}}],data:()=>({icons:{car:"购物车为空",page:"页面不存在",search:"没有搜索结果",address:"没有收货地址",wifi:"没有WiFi",order:"订单为空",coupon:"没有优惠券",favor:"暂无收藏",permission:"无权限",history:"无历史记录",news:"无新闻列表",message:"消息列表为空",list:"列表为空",data:"数据为空",comment:"暂无评论"}}),computed:{emptyStyle(){const t={};return t.marginTop=uni.$u.addUnit(this.marginTop),uni.$u.deepMerge(uni.$u.addStyle(this.customStyle),t)},textStyle(){const t={};return t.color=this.textColor,t.fontSize=uni.$u.addUnit(this.textSize),t},isSrc(){return this.icon.indexOf("/")>=0}}},[["render",function(e,i,o,g,x,_){const w=s(a("u-icon"),t),$=f,z=h,b=S;return e.show?(n(),r(b,{key:0,class:"u-empty",style:l([_.emptyStyle])},{default:d((()=>[_.isSrc?(n(),r($,{key:1,style:l({width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}),src:e.icon,mode:"widthFix"},null,8,["style","src"])):(n(),r(w,{key:0,name:"message"===e.mode?"chat":`empty-${e.mode}`,size:e.iconSize,color:e.iconColor,"margin-top":"14"},null,8,["name","size","color"])),m(z,{class:"u-empty__text",style:l([_.textStyle])},{default:d((()=>[p(u(e.text?e.text:x.icons[e.mode]),1)])),_:1},8,["style"]),e.$slots.default||e.$slots.$default?(n(),r(b,{key:2,class:"u-empty__wrap"},{default:d((()=>[y(e.$slots,"default",{},void 0,!0)])),_:3})):c("",!0)])),_:3},8,["style"])):c("",!0)}],["__scopeId","data-v-bdfabab8"]]);export{x as _}; diff --git a/niucloud/public/wap/assets/u-form-7abd9c29.css b/niucloud/public/wap/assets/u-form-7abd9c29.css new file mode 100644 index 000000000..8c2950b45 --- /dev/null +++ b/niucloud/public/wap/assets/u-form-7abd9c29.css @@ -0,0 +1 @@ +uni-view[data-v-afd9dafc],uni-scroll-view[data-v-afd9dafc],uni-swiper-item[data-v-afd9dafc]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-input[data-v-afd9dafc]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:1}.u-input--radius[data-v-afd9dafc],.u-input--square[data-v-afd9dafc]{border-radius:4px}.u-input--no-radius[data-v-afd9dafc]{border-radius:0}.u-input--circle[data-v-afd9dafc]{border-radius:100px}.u-input__content[data-v-afd9dafc]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.u-input__content__field-wrapper[data-v-afd9dafc]{position:relative;display:flex;flex-direction:row;margin:0;flex:1}.u-input__content__field-wrapper__field[data-v-afd9dafc]{line-height:26px;text-align:left;color:#303133;height:24px;font-size:15px;flex:1}.u-input__content__clear[data-v-afd9dafc]{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82);margin-left:4px}.u-input__content__subfix-icon[data-v-afd9dafc]{margin-left:4px}.u-input__content__prefix-icon[data-v-afd9dafc]{margin-right:4px}uni-view[data-v-a180cd81],uni-scroll-view[data-v-a180cd81],uni-swiper-item[data-v-a180cd81]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-form-item[data-v-a180cd81]{display:flex;flex-direction:column;font-size:14px;color:#303133}.u-form-item__body[data-v-a180cd81]{display:flex;flex-direction:row;padding:10px 0}.u-form-item__body__left[data-v-a180cd81]{display:flex;flex-direction:row;align-items:center}.u-form-item__body__left__content[data-v-a180cd81]{position:relative;display:flex;flex-direction:row;align-items:center;padding-right:.3125rem;flex:1}.u-form-item__body__left__content__icon[data-v-a180cd81]{margin-right:.25rem}.u-form-item__body__left__content__required[data-v-a180cd81]{position:absolute;left:-9px;color:#f56c6c;line-height:20px;font-size:20px;top:3px}.u-form-item__body__left__content__label[data-v-a180cd81]{display:flex;flex-direction:row;align-items:center;flex:1;color:#303133;font-size:15px}.u-form-item__body__right[data-v-a180cd81]{flex:1}.u-form-item__body__right__content[data-v-a180cd81]{display:flex;flex-direction:row;align-items:center;flex:1}.u-form-item__body__right__content__slot[data-v-a180cd81]{flex:1;display:flex;flex-direction:row;align-items:center}.u-form-item__body__right__content__icon[data-v-a180cd81]{margin-left:.3125rem;color:#c0c4cc;font-size:.9375rem}.u-form-item__body__right__message[data-v-a180cd81]{font-size:12px;line-height:12px;color:#f56c6c} diff --git a/niucloud/public/wap/assets/u-form-c93addfb.css b/niucloud/public/wap/assets/u-form-c93addfb.css deleted file mode 100644 index 669424e36..000000000 --- a/niucloud/public/wap/assets/u-form-c93addfb.css +++ /dev/null @@ -1 +0,0 @@ -uni-view[data-v-a180cd81],uni-scroll-view[data-v-a180cd81],uni-swiper-item[data-v-a180cd81]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-form-item[data-v-a180cd81]{display:flex;flex-direction:column;font-size:14px;color:#303133}.u-form-item__body[data-v-a180cd81]{display:flex;flex-direction:row;padding:10px 0}.u-form-item__body__left[data-v-a180cd81]{display:flex;flex-direction:row;align-items:center}.u-form-item__body__left__content[data-v-a180cd81]{position:relative;display:flex;flex-direction:row;align-items:center;padding-right:.3125rem;flex:1}.u-form-item__body__left__content__icon[data-v-a180cd81]{margin-right:.25rem}.u-form-item__body__left__content__required[data-v-a180cd81]{position:absolute;left:-9px;color:#f56c6c;line-height:20px;font-size:20px;top:3px}.u-form-item__body__left__content__label[data-v-a180cd81]{display:flex;flex-direction:row;align-items:center;flex:1;color:#303133;font-size:15px}.u-form-item__body__right[data-v-a180cd81]{flex:1}.u-form-item__body__right__content[data-v-a180cd81]{display:flex;flex-direction:row;align-items:center;flex:1}.u-form-item__body__right__content__slot[data-v-a180cd81]{flex:1;display:flex;flex-direction:row;align-items:center}.u-form-item__body__right__content__icon[data-v-a180cd81]{margin-left:.3125rem;color:#c0c4cc;font-size:.9375rem}.u-form-item__body__right__message[data-v-a180cd81]{font-size:12px;line-height:12px;color:#f56c6c} diff --git a/niucloud/public/wap/assets/u-form.84a1fd52.js b/niucloud/public/wap/assets/u-form.84a1fd52.js deleted file mode 100644 index 0fb6464aa..000000000 --- a/niucloud/public/wap/assets/u-form.84a1fd52.js +++ /dev/null @@ -1 +0,0 @@ -import{y as e,z as t,A as r,p as n,q as i,h as s,i as a,w as o,j as l,n as u,C as f,D as d,m as c,E as p,H as m,t as y}from"./index-15eacd31.js";import{_ as h}from"./u-icon.f5369555.js";import{_ as g}from"./u-line.bb8d1497.js";import{_ as b}from"./_plugin-vue_export-helper.1b428a4d.js";const _=b({name:"u-form-item",mixins:[t,r,{props:{label:{type:String,default:e.formItem.label},prop:{type:String,default:e.formItem.prop},borderBottom:{type:[String,Boolean],default:e.formItem.borderBottom},labelWidth:{type:[String,Number],default:e.formItem.labelWidth},rightIcon:{type:String,default:e.formItem.rightIcon},leftIcon:{type:String,default:e.formItem.leftIcon},required:{type:Boolean,default:e.formItem.required},leftIconStyle:{type:[String,Object],default:e.formItem.leftIconStyle}}}],data:()=>({message:"",parentData:{labelPosition:"left",labelAlign:"left",labelStyle:{},labelWidth:45,errorType:"message"}}),computed:{propsLine:()=>uni.$u.props.line},mounted(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-form-item需要结合u-form组件使用")},updateParentData(){this.getParentData("u-form")},clearValidate(){this.message=null},resetField(){const e=uni.$u.getProperty(this.parent.originalModel,this.prop);uni.$u.setProperty(this.parent.model,this.prop,e),this.message=null},clickHandler(){this.$emit("click")}}},[["render",function(e,t,r,b,_,q){const v=m,w=n(i("u-icon"),h),x=y,P=n(i("u-line"),g);return s(),a(x,{class:"u-form-item"},{default:o((()=>[l(x,{class:"u-form-item__body",onClick:q.clickHandler,style:u([e.$u.addStyle(e.customStyle),{flexDirection:"left"===_.parentData.labelPosition?"row":"column"}])},{default:o((()=>[f(e.$slots,"label",{},(()=>[e.required||e.leftIcon||e.label?(s(),a(x,{key:0,class:"u-form-item__body__left",style:u({width:e.$u.addUnit(e.labelWidth||_.parentData.labelWidth),marginBottom:"left"===_.parentData.labelPosition?0:"5px"})},{default:o((()=>[l(x,{class:"u-form-item__body__left__content"},{default:o((()=>[e.required?(s(),a(v,{key:0,class:"u-form-item__body__left__content__required"},{default:o((()=>[d("*")])),_:1})):c("",!0),e.leftIcon?(s(),a(x,{key:1,class:"u-form-item__body__left__content__icon"},{default:o((()=>[l(w,{name:e.leftIcon,"custom-style":e.leftIconStyle},null,8,["name","custom-style"])])),_:1})):c("",!0),l(v,{class:"u-form-item__body__left__content__label",style:u([_.parentData.labelStyle,{justifyContent:"left"===_.parentData.labelAlign?"flex-start":"center"===_.parentData.labelAlign?"center":"flex-end"}])},{default:o((()=>[d(p(e.label),1)])),_:1},8,["style"])])),_:1})])),_:1},8,["style"])):c("",!0)]),!0),l(x,{class:"u-form-item__body__right"},{default:o((()=>[l(x,{class:"u-form-item__body__right__content"},{default:o((()=>[l(x,{class:"u-form-item__body__right__content__slot"},{default:o((()=>[f(e.$slots,"default",{},void 0,!0)])),_:3}),e.$slots.right?(s(),a(x,{key:0,class:"item__body__right__content__icon"},{default:o((()=>[f(e.$slots,"right",{},void 0,!0)])),_:3})):c("",!0)])),_:3})])),_:3})])),_:3},8,["onClick","style"]),f(e.$slots,"error",{},(()=>[_.message&&"message"===_.parentData.errorType?(s(),a(v,{key:0,class:"u-form-item__body__right__message",style:u({marginLeft:e.$u.addUnit("top"===_.parentData.labelPosition?0:e.labelWidth||_.parentData.labelWidth)})},{default:o((()=>[d(p(_.message),1)])),_:1},8,["style"])):c("",!0)]),!0),e.borderBottom?(s(),a(P,{key:0,color:_.message&&"border-bottom"===_.parentData.errorType?e.$u.color.error:q.propsLine.color,customStyle:`margin-top: ${_.message&&"message"===_.parentData.errorType?"5px":0}`},null,8,["color","customStyle"])):c("",!0)])),_:3})}],["__scopeId","data-v-a180cd81"]]),q={props:{model:{type:Object,default:e.form.model},rules:{type:[Object,Function,Array],default:e.form.rules},errorType:{type:String,default:e.form.errorType},borderBottom:{type:Boolean,default:e.form.borderBottom},labelPosition:{type:String,default:e.form.labelPosition},labelWidth:{type:[String,Number],default:e.form.labelWidth},labelAlign:{type:String,default:e.form.labelAlign},labelStyle:{type:Object,default:e.form.labelStyle}}},v=/%[sdj%]/g;let w=function(){};function x(e){if(!e||!e.length)return null;const t={};return e.forEach((e=>{const{field:r}=e;t[r]=t[r]||[],t[r].push(e)})),t}function P(){for(var e=arguments.length,t=new Array(e),r=0;r{if("%%"===e)return"%";if(n>=s)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(r){return"[Circular]"}break;default:return e}}));for(let r=t[n];n{const s=function(e){const t=[];return Object.keys(e).forEach((r=>{t.push.apply(t,e[r])})),t}(e);$(s,r,(function(e){return n(e),e.length?i({errors:e,fields:x(e)}):t()}))}));return t.catch((e=>e)),t}let i=t.firstFields||[];!0===i&&(i=Object.keys(e));const s=Object.keys(e),a=s.length;let o=0;const l=[],u=new Promise(((t,u)=>{const f=function(e){if(l.push.apply(l,e),o++,o===a)return n(l),l.length?u({errors:l,fields:x(l)}):t()};s.length||(n(l),t()),s.forEach((t=>{const n=e[t];-1!==i.indexOf(t)?$(n,r,f):function(e,t,r){const n=[];let i=0;const s=e.length;function a(e){n.push.apply(n,e),i++,i===s&&r(n)}e.forEach((e=>{t(e,a)}))}(n,r,f)}))}));return u.catch((e=>e)),u}function A(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}}function F(e,t){if(t)for(const r in t)if(t.hasOwnProperty(r)){const n=t[r];"object"==typeof n&&"object"==typeof e[r]?e[r]={...e[r],...n}:e[r]=n}return e}function S(e,t,r,n,i,s){!e.required||r.hasOwnProperty(e.field)&&!O(t,s||e.type)||n.push(P(i.messages.required,e.fullField))}"undefined"!=typeof process&&process.env;const D={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i};var k={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof+e},object:function(e){return"object"==typeof e&&!k.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(D.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(D.url)},hex:function(e){return"string"==typeof e&&!!e.match(D.hex)}};const I={required:S,whitespace:function(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(P(i.messages.whitespace,e.fullField))},type:function(e,t,r,n,i){if(e.required&&void 0===t)return void S(e,t,r,n,i);const s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?k[s](t)||n.push(P(i.messages.types[s],e.fullField,e.type)):s&&typeof t!==e.type&&n.push(P(i.messages.types[s],e.fullField,e.type))},range:function(e,t,r,n,i){const s="number"==typeof e.len,a="number"==typeof e.min,o="number"==typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;let u=t,f=null;const d="number"==typeof t,c="string"==typeof t,p=Array.isArray(t);if(d?f="number":c?f="string":p&&(f="array"),!f)return!1;p&&(u=t.length),c&&(u=t.replace(l,"_").length),s?u!==e.len&&n.push(P(i.messages[f].len,e.fullField,e.len)):a&&!o&&ue.max?n.push(P(i.messages[f].max,e.fullField,e.max)):a&&o&&(ue.max)&&n.push(P(i.messages[f].range,e.fullField,e.min,e.max))},enum:function(e,t,r,n,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&n.push(P(i.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,r,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(P(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||n.push(P(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function E(e,t,r,n,i){const s=e.type,a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t,s)&&!e.required)return r();I.required(e,t,n,a,i,s),O(t,s)||I.type(e,t,n,a,i)}r(a)}const T={string:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t,"string")&&!e.required)return r();I.required(e,t,n,s,i,"string"),O(t,"string")||(I.type(e,t,n,s,i),I.range(e,t,n,s,i),I.pattern(e,t,n,s,i),!0===e.whitespace&&I.whitespace(e,t,n,s,i))}r(s)},method:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&I.type(e,t,n,s,i)}r(s)},number:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&(I.type(e,t,n,s,i),I.range(e,t,n,s,i))}r(s)},boolean:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&I.type(e,t,n,s,i)}r(s)},regexp:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),O(t)||I.type(e,t,n,s,i)}r(s)},integer:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&(I.type(e,t,n,s,i),I.range(e,t,n,s,i))}r(s)},float:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&(I.type(e,t,n,s,i),I.range(e,t,n,s,i))}r(s)},array:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t,"array")&&!e.required)return r();I.required(e,t,n,s,i,"array"),O(t,"array")||(I.type(e,t,n,s,i),I.range(e,t,n,s,i))}r(s)},object:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&I.type(e,t,n,s,i)}r(s)},enum:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i),void 0!==t&&I.enum(e,t,n,s,i)}r(s)},pattern:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t,"string")&&!e.required)return r();I.required(e,t,n,s,i),O(t,"string")||I.pattern(e,t,n,s,i)}r(s)},date:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();if(I.required(e,t,n,s,i),!O(t)){let r;r="number"==typeof t?new Date(t):t,I.type(e,r,n,s,i),r&&I.range(e,r.getTime(),n,s,i)}}r(s)},url:E,hex:E,email:E,required:function(e,t,r,n,i){const s=[],a=Array.isArray(t)?"array":typeof t;I.required(e,t,n,s,i,a),r(s)},any:function(e,t,r,n,i){const s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(O(t)&&!e.required)return r();I.required(e,t,n,s,i)}r(s)}};function R(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){const e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}const W=R();function B(e){this.rules=null,this._messages=W,this.define(e)}B.prototype={messages:function(e){return e&&(this._messages=F(R(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");let t,r;for(t in this.rules={},e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e,t,r){const n=this;void 0===t&&(t={}),void 0===r&&(r=function(){});let i,s,a=e,o=t,l=r;if("function"==typeof o&&(l=o,o={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();if(o.messages){let e=this.messages();e===W&&(e=R()),F(e,o.messages),o.messages=e}else o.messages=this.messages();const u={};(o.keys||Object.keys(this.rules)).forEach((t=>{i=n.rules[t],s=a[t],i.forEach((r=>{let i=r;"function"==typeof i.transform&&(a===e&&(a={...a}),s=a[t]=i.transform(s)),i="function"==typeof i?{validator:i}:{...i},i.validator=n.getValidationMethod(i),i.field=t,i.fullField=i.fullField||t,i.type=n.getType(i),i.validator&&(u[t]=u[t]||[],u[t].push({rule:i,value:s,source:a,field:t}))}))}));const f={};return j(u,o,((e,t)=>{const{rule:r}=e;let n,i=!("object"!==r.type&&"array"!==r.type||"object"!=typeof r.fields&&"object"!=typeof r.defaultField);function s(e,t){return{...t,fullField:`${r.fullField}.${e}`}}function a(n){void 0===n&&(n=[]);let a=n;if(Array.isArray(a)||(a=[a]),!o.suppressWarning&&a.length&&B.warning("async-validator:",a),a.length&&r.message&&(a=[].concat(r.message)),a=a.map(A(r)),o.first&&a.length)return f[r.field]=1,t(a);if(i){if(r.required&&!e.value)return a=r.message?[].concat(r.message).map(A(r)):o.error?[o.error(r,P(o.messages.required,r.field))]:[],t(a);let n={};if(r.defaultField)for(const t in e.value)e.value.hasOwnProperty(t)&&(n[t]=r.defaultField);n={...n,...e.rule.fields};for(const e in n)if(n.hasOwnProperty(e)){const t=Array.isArray(n[e])?n[e]:[n[e]];n[e]=t.map(s.bind(null,e))}const i=new B(n);i.messages(o.messages),e.rule.options&&(e.rule.options.messages=o.messages,e.rule.options.error=o.error),i.validate(e.value,e.rule.options||o,(e=>{const r=[];a&&a.length&&r.push.apply(r,a),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(a)}i=i&&(r.required||!r.required&&e.value),r.field=e.field,r.asyncValidator?n=r.asyncValidator(r,e.value,a,e.source,o):r.validator&&(n=r.validator(r,e.value,a,e.source,o),!0===n?a():!1===n?a(r.message||`${r.field} fails`):n instanceof Array?a(n):n instanceof Error&&a(n.message)),n&&n.then&&n.then((()=>a()),(e=>a(e)))}),(e=>{!function(e){let t,r=[],n={};function i(e){if(Array.isArray(e)){let t;r=(t=r).concat.apply(t,e)}else r.push(e)}for(t=0;t({formRules:{},validator:{},originalModel:null}),watch:{rules:{immediate:!0,handler(e){this.setRules(e)}},propsChange(e){var t;(null==(t=this.children)?void 0:t.length)&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))},model:{immediate:!0,handler(e){this.originalModel||(this.originalModel=uni.$u.deepClone(e))}}},computed:{propsChange(){return[this.errorType,this.borderBottom,this.labelPosition,this.labelWidth,this.labelAlign,this.labelStyle]}},created(){this.children=[]},methods:{setRules(e){0!==Object.keys(e).length&&(this.formRules=e,this.validator=new B(e))},resetFields(){this.resetModel()},resetModel(e){this.children.map((e=>{const t=null==e?void 0:e.prop,r=uni.$u.getProperty(this.originalModel,t);uni.$u.setProperty(this.model,t,r)}))},clearValidate(e){e=[].concat(e),this.children.map((t=>{(void 0===e[0]||e.includes(t.prop))&&(t.message=null)}))},async validateField(e,t,r=null){this.$nextTick((()=>{const n=[];e=[].concat(e),this.children.map((t=>{const i=[];if(e.includes(t.prop)){const e=uni.$u.getProperty(this.model,t.prop),s=t.prop.split("."),a=s[s.length-1],o=this.formRules[t.prop];if(!o)return;const l=[].concat(o);for(let u=0;u{var s;uni.$u.test.array(e)&&(n.push(...e),i.push(...e)),t.message=(null==(s=i[0])?void 0:s.message)??null}))}}})),"function"==typeof t&&t(n)}))},validate(e){return new Promise(((e,t)=>{this.$nextTick((()=>{const r=this.children.map((e=>e.prop));this.validateField(r,(r=>{r.length?("toast"===this.errorType&&uni.$u.toast(r[0].message),t(r)):e(!0)}))}))}))}}},[["render",function(e,t,r,n,i,l){const u=y;return s(),a(u,{class:"u-form"},{default:o((()=>[f(e.$slots,"default")])),_:3})}]]);export{_,C as a}; diff --git a/niucloud/public/wap/assets/u-form.a20c08e5.js b/niucloud/public/wap/assets/u-form.a20c08e5.js new file mode 100644 index 000000000..dcb4426a7 --- /dev/null +++ b/niucloud/public/wap/assets/u-form.a20c08e5.js @@ -0,0 +1 @@ +import{_ as e}from"./u-icon.4046c188.js";import{V as t,W as r,X as n,q as i,t as o,i as s,j as a,w as l,k as u,T as d,m as f,p as c,I as p,x as h,ao as m,K as y,L as g,N as b}from"./index-59b72094.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as v}from"./u-line.9ef7233b.js";const x=_({name:"u-input",mixins:[r,n,{props:{modelValue:{type:[String,Number],default:t.input.value},type:{type:String,default:t.input.type},fixed:{type:Boolean,default:t.input.fixed},disabled:{type:Boolean,default:t.input.disabled},disabledColor:{type:String,default:t.input.disabledColor},clearable:{type:Boolean,default:t.input.clearable},password:{type:Boolean,default:t.input.password},maxlength:{type:[String,Number],default:t.input.maxlength},placeholder:{type:String,default:t.input.placeholder},placeholderClass:{type:String,default:t.input.placeholderClass},placeholderStyle:{type:[String,Object],default:t.input.placeholderStyle},showWordLimit:{type:Boolean,default:t.input.showWordLimit},confirmType:{type:String,default:t.input.confirmType},confirmHold:{type:Boolean,default:t.input.confirmHold},holdKeyboard:{type:Boolean,default:t.input.holdKeyboard},focus:{type:Boolean,default:t.input.focus},autoBlur:{type:Boolean,default:t.input.autoBlur},disableDefaultPadding:{type:Boolean,default:t.input.disableDefaultPadding},cursor:{type:[String,Number],default:t.input.cursor},cursorSpacing:{type:[String,Number],default:t.input.cursorSpacing},selectionStart:{type:[String,Number],default:t.input.selectionStart},selectionEnd:{type:[String,Number],default:t.input.selectionEnd},adjustPosition:{type:Boolean,default:t.input.adjustPosition},inputAlign:{type:String,default:t.input.inputAlign},fontSize:{type:[String,Number],default:t.input.fontSize},color:{type:String,default:t.input.color},prefixIcon:{type:String,default:t.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:t.input.prefixIconStyle},suffixIcon:{type:String,default:t.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:t.input.suffixIconStyle},border:{type:String,default:t.input.border},readonly:{type:Boolean,default:t.input.readonly},shape:{type:String,default:t.input.shape},formatter:{type:[Function,null],default:t.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}}],data:()=>({innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),watch:{modelValue:{immediate:!0,handler(e,t){this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner&&this.valueChange(),this.firstChange=!1,this.changeFromInner=!1}}},computed:{isShowClear(){const{clearable:e,readonly:t,focused:r,innerValue:n}=this;return!!e&&!t&&!!r&&""!==n},inputClass(){let e=[],{border:t,disabled:r,shape:n}=this;return"surround"===t&&(e=e.concat(["u-border","u-input--radius"])),e.push(`u-input--${n}`),"bottom"===t&&(e=e.concat(["u-border-bottom","u-input--no-radius"])),e.join(" ")},wrapperStyle(){const e={};return this.disabled&&(e.backgroundColor=this.disabledColor),"none"===this.border?e.padding="0":(e.paddingTop="6px",e.paddingBottom="6px",e.paddingLeft="9px",e.paddingRight="9px"),uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))},inputStyle(){return{color:this.color,fontSize:uni.$u.addUnit(this.fontSize),textAlign:this.inputAlign}}},emits:["update:modelValue","focus","blur","change","confirm","clear","keyboardheightchange"],methods:{setFormatter(e){this.innerFormatter=e},onInput(e){let{value:t=""}=e.detail||{};const r=(this.formatter||this.innerFormatter)(t);this.innerValue=t,this.$nextTick((()=>{this.innerValue=r,this.valueChange()}))},onBlur(e){this.$emit("blur",e.detail.value),uni.$u.sleep(50).then((()=>{this.focused=!1})),uni.$u.formValidate(this,"blur")},onFocus(e){this.focused=!0,this.$emit("focus")},onConfirm(e){this.$emit("confirm",this.innerValue)},onkeyboardheightchange(){this.$emit("keyboardheightchange")},valueChange(){const e=this.innerValue;this.$nextTick((()=>{this.$emit("update:modelValue",e),this.changeFromInner=!0,this.$emit("change",e),uni.$u.formValidate(this,"change")}))},onClear(){this.innerValue="",this.$nextTick((()=>{this.valueChange(),this.$emit("clear")}))},clickHandler(){}}},[["render",function(t,r,n,y,g,b){const _=i(o("u-icon"),e),v=h,x=m;return s(),a(v,{class:p(["u-input",b.inputClass]),style:c([b.wrapperStyle])},{default:l((()=>[u(v,{class:"u-input__content"},{default:l((()=>[t.prefixIcon||t.$slots.prefix?(s(),a(v,{key:0,class:"u-input__content__prefix-icon"},{default:l((()=>[d(t.$slots,"prefix",{},(()=>[u(_,{name:t.prefixIcon,size:"18",customStyle:t.prefixIconStyle},null,8,["name","customStyle"])]),!0)])),_:3})):f("v-if",!0),u(v,{class:"u-input__content__field-wrapper",onClick:b.clickHandler},{default:l((()=>[f(" 根据uni-app的input组件文档,H5和APP中只要声明了password参数(无论true还是false),type均失效,此时\n\t\t\t\t\t为了防止type=number时,又存在password属性,type无效,此时需要设置password为undefined\n\t\t\t\t "),u(x,{class:"u-input__content__field-wrapper__field",style:c([b.inputStyle]),type:t.type,focus:t.focus,cursor:t.cursor,value:g.innerValue,"auto-blur":t.autoBlur,disabled:t.disabled||t.readonly,maxlength:t.maxlength,placeholder:t.placeholder,"placeholder-style":t.placeholderStyle,"placeholder-class":t.placeholderClass,"confirm-type":t.confirmType,"confirm-hold":t.confirmHold,"hold-keyboard":t.holdKeyboard,"cursor-spacing":t.cursorSpacing,"adjust-position":t.adjustPosition,"selection-end":t.selectionEnd,"selection-start":t.selectionStart,password:t.password||"password"===t.type||void 0,ignoreCompositionEvent:t.ignoreCompositionEvent,onInput:b.onInput,onBlur:b.onBlur,onFocus:b.onFocus,onConfirm:b.onConfirm,onKeyboardheightchange:b.onkeyboardheightchange},null,8,["style","type","focus","cursor","value","auto-blur","disabled","maxlength","placeholder","placeholder-style","placeholder-class","confirm-type","confirm-hold","hold-keyboard","cursor-spacing","adjust-position","selection-end","selection-start","password","ignoreCompositionEvent","onInput","onBlur","onFocus","onConfirm","onKeyboardheightchange"])])),_:1},8,["onClick"]),b.isShowClear?(s(),a(v,{key:1,class:"u-input__content__clear",onClick:b.onClear},{default:l((()=>[u(_,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})])),_:1},8,["onClick"])):f("v-if",!0),t.suffixIcon||t.$slots.suffix?(s(),a(v,{key:2,class:"u-input__content__subfix-icon"},{default:l((()=>[d(t.$slots,"suffix",{},(()=>[u(_,{name:t.suffixIcon,size:"18",customStyle:t.suffixIconStyle},null,8,["name","customStyle"])]),!0)])),_:3})):f("v-if",!0)])),_:3})])),_:3},8,["class","style"])}],["__scopeId","data-v-afd9dafc"]]);const S=_({name:"u-form-item",mixins:[r,n,{props:{label:{type:String,default:t.formItem.label},prop:{type:String,default:t.formItem.prop},borderBottom:{type:[String,Boolean],default:t.formItem.borderBottom},labelWidth:{type:[String,Number],default:t.formItem.labelWidth},rightIcon:{type:String,default:t.formItem.rightIcon},leftIcon:{type:String,default:t.formItem.leftIcon},required:{type:Boolean,default:t.formItem.required},leftIconStyle:{type:[String,Object],default:t.formItem.leftIconStyle}}}],data:()=>({message:"",parentData:{labelPosition:"left",labelAlign:"left",labelStyle:{},labelWidth:45,errorType:"message"}}),computed:{propsLine:()=>uni.$u.props.line},mounted(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-form-item需要结合u-form组件使用")},updateParentData(){this.getParentData("u-form")},clearValidate(){this.message=null},resetField(){const e=uni.$u.getProperty(this.parent.originalModel,this.prop);uni.$u.setProperty(this.parent.model,this.prop,e),this.message=null},clickHandler(){this.$emit("click")}}},[["render",function(t,r,n,p,m,_){const x=b,S=i(o("u-icon"),e),q=h,w=i(o("u-line"),v);return s(),a(q,{class:"u-form-item"},{default:l((()=>[u(q,{class:"u-form-item__body",onClick:_.clickHandler,style:c([t.$u.addStyle(t.customStyle),{flexDirection:"left"===m.parentData.labelPosition?"row":"column"}])},{default:l((()=>[f(' 微信小程序中,将一个参数设置空字符串,结果会变成字符串"true" '),d(t.$slots,"label",{},(()=>[f(" {{required}} "),t.required||t.leftIcon||t.label?(s(),a(q,{key:0,class:"u-form-item__body__left",style:c({width:t.$u.addUnit(t.labelWidth||m.parentData.labelWidth),marginBottom:"left"===m.parentData.labelPosition?0:"5px"})},{default:l((()=>[f(" 为了块对齐 "),u(q,{class:"u-form-item__body__left__content"},{default:l((()=>[f(" nvue不支持伪元素before "),t.required?(s(),a(x,{key:0,class:"u-form-item__body__left__content__required"},{default:l((()=>[y("*")])),_:1})):f("v-if",!0),t.leftIcon?(s(),a(q,{key:1,class:"u-form-item__body__left__content__icon"},{default:l((()=>[u(S,{name:t.leftIcon,"custom-style":t.leftIconStyle},null,8,["name","custom-style"])])),_:1})):f("v-if",!0),u(x,{class:"u-form-item__body__left__content__label",style:c([m.parentData.labelStyle,{justifyContent:"left"===m.parentData.labelAlign?"flex-start":"center"===m.parentData.labelAlign?"center":"flex-end"}])},{default:l((()=>[y(g(t.label),1)])),_:1},8,["style"])])),_:1})])),_:1},8,["style"])):f("v-if",!0)]),!0),u(q,{class:"u-form-item__body__right"},{default:l((()=>[u(q,{class:"u-form-item__body__right__content"},{default:l((()=>[u(q,{class:"u-form-item__body__right__content__slot"},{default:l((()=>[d(t.$slots,"default",{},void 0,!0)])),_:3}),t.$slots.right?(s(),a(q,{key:0,class:"item__body__right__content__icon"},{default:l((()=>[d(t.$slots,"right",{},void 0,!0)])),_:3})):f("v-if",!0)])),_:3})])),_:3})])),_:3},8,["onClick","style"]),d(t.$slots,"error",{},(()=>[m.message&&"message"===m.parentData.errorType?(s(),a(x,{key:0,class:"u-form-item__body__right__message",style:c({marginLeft:t.$u.addUnit("top"===m.parentData.labelPosition?0:t.labelWidth||m.parentData.labelWidth)})},{default:l((()=>[y(g(m.message),1)])),_:1},8,["style"])):f("v-if",!0)]),!0),t.borderBottom?(s(),a(w,{key:0,color:m.message&&"border-bottom"===m.parentData.errorType?t.$u.color.error:_.propsLine.color,customStyle:`margin-top: ${m.message&&"message"===m.parentData.errorType?"5px":0}`},null,8,["color","customStyle"])):f("v-if",!0)])),_:3})}],["__scopeId","data-v-a180cd81"]]),q={props:{model:{type:Object,default:t.form.model},rules:{type:[Object,Function,Array],default:t.form.rules},errorType:{type:String,default:t.form.errorType},borderBottom:{type:Boolean,default:t.form.borderBottom},labelPosition:{type:String,default:t.form.labelPosition},labelWidth:{type:[String,Number],default:t.form.labelWidth},labelAlign:{type:String,default:t.form.labelAlign},labelStyle:{type:Object,default:t.form.labelStyle}}},w=/%[sdj%]/g;let $=function(){};function P(e){if(!e||!e.length)return null;const t={};return e.forEach((e=>{const{field:r}=e;t[r]=t[r]||[],t[r].push(e)})),t}function F(){for(var e=arguments.length,t=new Array(e),r=0;r{if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(r){return"[Circular]"}break;default:return e}}));for(let r=t[n];n{const o=function(e){const t=[];return Object.keys(e).forEach((r=>{t.push.apply(t,e[r])})),t}(e);k(o,r,(function(e){return n(e),e.length?i({errors:e,fields:P(e)}):t()}))}));return t.catch((e=>e)),t}let i=t.firstFields||[];!0===i&&(i=Object.keys(e));const o=Object.keys(e),s=o.length;let a=0;const l=[],u=new Promise(((t,u)=>{const d=function(e){if(l.push.apply(l,e),a++,a===s)return n(l),l.length?u({errors:l,fields:P(l)}):t()};o.length||(n(l),t()),o.forEach((t=>{const n=e[t];-1!==i.indexOf(t)?k(n,r,d):function(e,t,r){const n=[];let i=0;const o=e.length;function s(e){n.push.apply(n,e),i++,i===o&&r(n)}e.forEach((e=>{t(e,s)}))}(n,r,d)}))}));return u.catch((e=>e)),u}function j(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}}function O(e,t){if(t)for(const r in t)if(t.hasOwnProperty(r)){const n=t[r];"object"==typeof n&&"object"==typeof e[r]?e[r]={...e[r],...n}:e[r]=n}return e}function A(e,t,r,n,i,o){!e.required||r.hasOwnProperty(e.field)&&!I(t,o||e.type)||n.push(F(i.messages.required,e.fullField))}"undefined"!=typeof process&&process.env;const B={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i};var D={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof+e},object:function(e){return"object"==typeof e&&!D.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(B.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(B.url)},hex:function(e){return"string"==typeof e&&!!e.match(B.hex)}};const E="enum";const T={required:A,whitespace:function(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(F(i.messages.whitespace,e.fullField))},type:function(e,t,r,n,i){if(e.required&&void 0===t)return void A(e,t,r,n,i);const o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?D[o](t)||n.push(F(i.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&n.push(F(i.messages.types[o],e.fullField,e.type))},range:function(e,t,r,n,i){const o="number"==typeof e.len,s="number"==typeof e.min,a="number"==typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;let u=t,d=null;const f="number"==typeof t,c="string"==typeof t,p=Array.isArray(t);if(f?d="number":c?d="string":p&&(d="array"),!d)return!1;p&&(u=t.length),c&&(u=t.replace(l,"_").length),o?u!==e.len&&n.push(F(i.messages[d].len,e.fullField,e.len)):s&&!a&&ue.max?n.push(F(i.messages[d].max,e.fullField,e.max)):s&&a&&(ue.max)&&n.push(F(i.messages[d].range,e.fullField,e.min,e.max))},enum:function(e,t,r,n,i){e[E]=Array.isArray(e[E])?e[E]:[],-1===e[E].indexOf(t)&&n.push(F(i.messages[E],e.fullField,e[E].join(", ")))},pattern:function(e,t,r,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(F(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||n.push(F(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function V(e,t,r,n,i){const o=e.type,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t,o)&&!e.required)return r();T.required(e,t,n,s,i,o),I(t,o)||T.type(e,t,n,s,i)}r(s)}const N={string:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t,"string")&&!e.required)return r();T.required(e,t,n,o,i,"string"),I(t,"string")||(T.type(e,t,n,o,i),T.range(e,t,n,o,i),T.pattern(e,t,n,o,i),!0===e.whitespace&&T.whitespace(e,t,n,o,i))}r(o)},method:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&T.type(e,t,n,o,i)}r(o)},number:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&(T.type(e,t,n,o,i),T.range(e,t,n,o,i))}r(o)},boolean:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&T.type(e,t,n,o,i)}r(o)},regexp:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),I(t)||T.type(e,t,n,o,i)}r(o)},integer:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&(T.type(e,t,n,o,i),T.range(e,t,n,o,i))}r(o)},float:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&(T.type(e,t,n,o,i),T.range(e,t,n,o,i))}r(o)},array:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t,"array")&&!e.required)return r();T.required(e,t,n,o,i,"array"),I(t,"array")||(T.type(e,t,n,o,i),T.range(e,t,n,o,i))}r(o)},object:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&T.type(e,t,n,o,i)}r(o)},enum:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i),void 0!==t&&T.enum(e,t,n,o,i)}r(o)},pattern:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t,"string")&&!e.required)return r();T.required(e,t,n,o,i),I(t,"string")||T.pattern(e,t,n,o,i)}r(o)},date:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();if(T.required(e,t,n,o,i),!I(t)){let r;r="number"==typeof t?new Date(t):t,T.type(e,r,n,o,i),r&&T.range(e,r.getTime(),n,o,i)}}r(o)},url:V,hex:V,email:V,required:function(e,t,r,n,i){const o=[],s=Array.isArray(t)?"array":typeof t;T.required(e,t,n,o,i,s),r(o)},any:function(e,t,r,n,i){const o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(I(t)&&!e.required)return r();T.required(e,t,n,o,i)}r(o)}};function z(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){const e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}const W=z();function R(e){this.rules=null,this._messages=W,this.define(e)}R.prototype={messages:function(e){return e&&(this._messages=O(z(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");let t,r;for(t in this.rules={},e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e,t,r){const n=this;void 0===t&&(t={}),void 0===r&&(r=function(){});let i,o,s=e,a=t,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();if(a.messages){let e=this.messages();e===W&&(e=z()),O(e,a.messages),a.messages=e}else a.messages=this.messages();const u={};(a.keys||Object.keys(this.rules)).forEach((t=>{i=n.rules[t],o=s[t],i.forEach((r=>{let i=r;"function"==typeof i.transform&&(s===e&&(s={...s}),o=s[t]=i.transform(o)),i="function"==typeof i?{validator:i}:{...i},i.validator=n.getValidationMethod(i),i.field=t,i.fullField=i.fullField||t,i.type=n.getType(i),i.validator&&(u[t]=u[t]||[],u[t].push({rule:i,value:o,source:s,field:t}))}))}));const d={};return C(u,a,((e,t)=>{const{rule:r}=e;let n,i=!("object"!==r.type&&"array"!==r.type||"object"!=typeof r.fields&&"object"!=typeof r.defaultField);function o(e,t){return{...t,fullField:`${r.fullField}.${e}`}}function s(n){void 0===n&&(n=[]);let s=n;if(Array.isArray(s)||(s=[s]),!a.suppressWarning&&s.length&&R.warning("async-validator:",s),s.length&&r.message&&(s=[].concat(r.message)),s=s.map(j(r)),a.first&&s.length)return d[r.field]=1,t(s);if(i){if(r.required&&!e.value)return s=r.message?[].concat(r.message).map(j(r)):a.error?[a.error(r,F(a.messages.required,r.field))]:[],t(s);let n={};if(r.defaultField)for(const t in e.value)e.value.hasOwnProperty(t)&&(n[t]=r.defaultField);n={...n,...e.rule.fields};for(const e in n)if(n.hasOwnProperty(e)){const t=Array.isArray(n[e])?n[e]:[n[e]];n[e]=t.map(o.bind(null,e))}const i=new R(n);i.messages(a.messages),e.rule.options&&(e.rule.options.messages=a.messages,e.rule.options.error=a.error),i.validate(e.value,e.rule.options||a,(e=>{const r=[];s&&s.length&&r.push.apply(r,s),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(s)}i=i&&(r.required||!r.required&&e.value),r.field=e.field,r.asyncValidator?n=r.asyncValidator(r,e.value,s,e.source,a):r.validator&&(n=r.validator(r,e.value,s,e.source,a),!0===n?s():!1===n?s(r.message||`${r.field} fails`):n instanceof Array?s(n):n instanceof Error&&s(n.message)),n&&n.then&&n.then((()=>s()),(e=>s(e)))}),(e=>{!function(e){let t,r=[],n={};function i(e){if(Array.isArray(e)){let t;r=(t=r).concat.apply(t,e)}else r.push(e)}for(t=0;t({formRules:{},validator:{},originalModel:null}),watch:{rules:{immediate:!0,handler(e){this.setRules(e)}},propsChange(e){var t;(null==(t=this.children)?void 0:t.length)&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))},model:{immediate:!0,handler(e){this.originalModel||(this.originalModel=uni.$u.deepClone(e))}}},computed:{propsChange(){return[this.errorType,this.borderBottom,this.labelPosition,this.labelWidth,this.labelAlign,this.labelStyle]}},created(){this.children=[]},methods:{setRules(e){0!==Object.keys(e).length&&(this.formRules=e,this.validator=new R(e))},resetFields(){this.resetModel()},resetModel(e){this.children.map((e=>{const t=null==e?void 0:e.prop,r=uni.$u.getProperty(this.originalModel,t);uni.$u.setProperty(this.model,t,r)}))},clearValidate(e){e=[].concat(e),this.children.map((t=>{(void 0===e[0]||e.includes(t.prop))&&(t.message=null)}))},async validateField(e,t,r=null){this.$nextTick((()=>{const n=[];e=[].concat(e),this.children.map((t=>{const i=[];if(e.includes(t.prop)){const e=uni.$u.getProperty(this.model,t.prop),o=t.prop.split("."),s=o[o.length-1],a=this.formRules[t.prop];if(!a)return;const l=[].concat(a);for(let u=0;u{var o;uni.$u.test.array(e)&&(n.push(...e),i.push(...e)),t.message=(null==(o=i[0])?void 0:o.message)?i[0].message:null}))}}})),"function"==typeof t&&t(n)}))},validate(e){return new Promise(((e,t)=>{this.$nextTick((()=>{const r=this.children.map((e=>e.prop));this.validateField(r,(r=>{r.length?("toast"===this.errorType&&uni.$u.toast(r[0].message),t(r)):e(!0)}))}))}))}}},[["render",function(e,t,r,n,i,o){const u=h;return s(),a(u,{class:"u-form"},{default:l((()=>[d(e.$slots,"default")])),_:3})}]]);export{x as _,S as a,M as b}; diff --git a/niucloud/public/wap/assets/u-icon.4046c188.js b/niucloud/public/wap/assets/u-icon.4046c188.js new file mode 100644 index 000000000..d2c0d5bd3 --- /dev/null +++ b/niucloud/public/wap/assets/u-icon.4046c188.js @@ -0,0 +1 @@ +import{V as i,W as o,X as c,i as n,j as l,w as e,p as u,I as t,K as r,L as a,m as s,M as f,N as d,x as p}from"./index-59b72094.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";const h={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""};const g=m({name:"u-icon",data:()=>({}),emits:["click"],mixins:[o,c,{props:{name:{type:String,default:i.icon.name},color:{type:String,default:i.icon.color},size:{type:[String,Number],default:i.icon.size},bold:{type:Boolean,default:i.icon.bold},index:{type:[String,Number],default:i.icon.index},hoverClass:{type:String,default:i.icon.hoverClass},customPrefix:{type:String,default:i.icon.customPrefix},label:{type:[String,Number],default:i.icon.label},labelPos:{type:String,default:i.icon.labelPos},labelSize:{type:[String,Number],default:i.icon.labelSize},labelColor:{type:String,default:i.icon.labelColor},space:{type:[String,Number],default:i.icon.space},imgMode:{type:String,default:i.icon.imgMode},width:{type:[String,Number],default:i.icon.width},height:{type:[String,Number],default:i.icon.height},top:{type:[String,Number],default:i.icon.top},stop:{type:Boolean,default:i.icon.stop}}}],computed:{uClasses(){let i=[];return i.push(this.customPrefix+"-"+this.name),this.color&&uni.$u.config.type.includes(this.color)&&i.push("u-icon__icon--"+this.color),i},iconStyle(){let i={};return i={fontSize:uni.$u.addUnit(this.size),lineHeight:uni.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:uni.$u.addUnit(this.top)},this.color&&!uni.$u.config.type.includes(this.color)&&(i.color=this.color),i},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let i={};return i.width=this.width?uni.$u.addUnit(this.width):uni.$u.addUnit(this.size),i.height=this.height?uni.$u.addUnit(this.height):uni.$u.addUnit(this.size),i},icon(){return h["uicon-"+this.name]||this.name}},methods:{clickHandler(i){this.$emit("click",this.index),this.stop&&this.preventEvent(i)}}},[["render",function(i,o,c,m,h,g){const b=f,y=d,w=p;return n(),l(w,{class:t(["u-icon",["u-icon--"+i.labelPos]]),onClick:g.clickHandler},{default:e((()=>[g.isImg?(n(),l(b,{key:0,class:"u-icon__img",src:i.name,mode:i.imgMode,style:u([g.imgStyle,i.$u.addStyle(i.customStyle)])},null,8,["src","mode","style"])):(n(),l(y,{key:1,class:t(["u-icon__icon",g.uClasses]),style:u([g.iconStyle,i.$u.addStyle(i.customStyle)]),"hover-class":i.hoverClass},{default:e((()=>[r(a(g.icon),1)])),_:1},8,["class","style","hover-class"])),s(' 这里进行空字符串判断,如果仅仅是v-if="label",可能会出现传递0的时候,结果也无法显示 '),""!==i.label?(n(),l(y,{key:2,class:"u-icon__label",style:u({color:i.labelColor,fontSize:i.$u.addUnit(i.labelSize),marginLeft:"right"==i.labelPos?i.$u.addUnit(i.space):0,marginTop:"bottom"==i.labelPos?i.$u.addUnit(i.space):0,marginRight:"left"==i.labelPos?i.$u.addUnit(i.space):0,marginBottom:"top"==i.labelPos?i.$u.addUnit(i.space):0})},{default:e((()=>[r(a(i.label),1)])),_:1},8,["style"])):s("v-if",!0)])),_:1},8,["onClick","class"])}],["__scopeId","data-v-890c3ce2"]]);export{g as _}; diff --git a/niucloud/public/wap/assets/u-icon.f5369555.js b/niucloud/public/wap/assets/u-icon.f5369555.js deleted file mode 100644 index 0d2868c6a..000000000 --- a/niucloud/public/wap/assets/u-icon.f5369555.js +++ /dev/null @@ -1 +0,0 @@ -import{y as i,z as o,A as c,h as n,i as l,w as e,n as u,F as t,D as r,E as a,m as s,a1 as f,H as d,t as p}from"./index-15eacd31.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";const h={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""};const g=m({name:"u-icon",data:()=>({}),emits:["click"],mixins:[o,c,{props:{name:{type:String,default:i.icon.name},color:{type:String,default:i.icon.color},size:{type:[String,Number],default:i.icon.size},bold:{type:Boolean,default:i.icon.bold},index:{type:[String,Number],default:i.icon.index},hoverClass:{type:String,default:i.icon.hoverClass},customPrefix:{type:String,default:i.icon.customPrefix},label:{type:[String,Number],default:i.icon.label},labelPos:{type:String,default:i.icon.labelPos},labelSize:{type:[String,Number],default:i.icon.labelSize},labelColor:{type:String,default:i.icon.labelColor},space:{type:[String,Number],default:i.icon.space},imgMode:{type:String,default:i.icon.imgMode},width:{type:[String,Number],default:i.icon.width},height:{type:[String,Number],default:i.icon.height},top:{type:[String,Number],default:i.icon.top},stop:{type:Boolean,default:i.icon.stop}}}],computed:{uClasses(){let i=[];return i.push(this.customPrefix+"-"+this.name),this.color&&uni.$u.config.type.includes(this.color)&&i.push("u-icon__icon--"+this.color),i},iconStyle(){let i={};return i={fontSize:uni.$u.addUnit(this.size),lineHeight:uni.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:uni.$u.addUnit(this.top)},this.color&&!uni.$u.config.type.includes(this.color)&&(i.color=this.color),i},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let i={};return i.width=this.width?uni.$u.addUnit(this.width):uni.$u.addUnit(this.size),i.height=this.height?uni.$u.addUnit(this.height):uni.$u.addUnit(this.size),i},icon(){return h["uicon-"+this.name]||this.name}},methods:{clickHandler(i){this.$emit("click",this.index),this.stop&&this.preventEvent(i)}}},[["render",function(i,o,c,m,h,g){const b=f,y=d,w=p;return n(),l(w,{class:t(["u-icon",["u-icon--"+i.labelPos]]),onClick:g.clickHandler},{default:e((()=>[g.isImg?(n(),l(b,{key:0,class:"u-icon__img",src:i.name,mode:i.imgMode,style:u([g.imgStyle,i.$u.addStyle(i.customStyle)])},null,8,["src","mode","style"])):(n(),l(y,{key:1,class:t(["u-icon__icon",g.uClasses]),style:u([g.iconStyle,i.$u.addStyle(i.customStyle)]),"hover-class":i.hoverClass},{default:e((()=>[r(a(g.icon),1)])),_:1},8,["class","style","hover-class"])),""!==i.label?(n(),l(y,{key:2,class:"u-icon__label",style:u({color:i.labelColor,fontSize:i.$u.addUnit(i.labelSize),marginLeft:"right"==i.labelPos?i.$u.addUnit(i.space):0,marginTop:"bottom"==i.labelPos?i.$u.addUnit(i.space):0,marginRight:"left"==i.labelPos?i.$u.addUnit(i.space):0,marginBottom:"top"==i.labelPos?i.$u.addUnit(i.space):0})},{default:e((()=>[r(a(i.label),1)])),_:1},8,["style"])):s("",!0)])),_:1},8,["onClick","class"])}],["__scopeId","data-v-890c3ce2"]]);export{g as _}; diff --git a/niucloud/public/wap/assets/u-image.480f9d13.js b/niucloud/public/wap/assets/u-image.480f9d13.js new file mode 100644 index 000000000..4597d7a57 --- /dev/null +++ b/niucloud/public/wap/assets/u-image.480f9d13.js @@ -0,0 +1 @@ +import{V as e,W as i,X as t,q as a,t as o,i as r,j as d,w as s,k as n,p as l,m as h,T as u,M as g,x as m}from"./index-59b72094.js";import{_ as p}from"./u-icon.4046c188.js";import{_ as c}from"./u-transition.4588f416.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const w={props:{src:{type:String,default:e.image.src},mode:{type:String,default:e.image.mode},width:{type:[String,Number],default:e.image.width},height:{type:[String,Number],default:e.image.height},shape:{type:String,default:e.image.shape},radius:{type:[String,Number],default:e.image.radius},lazyLoad:{type:Boolean,default:e.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:e.image.showMenuByLongpress},loadingIcon:{type:String,default:e.image.loadingIcon},errorIcon:{type:String,default:e.image.errorIcon},showLoading:{type:Boolean,default:e.image.showLoading},showError:{type:Boolean,default:e.image.showError},fade:{type:Boolean,default:e.image.fade},webp:{type:Boolean,default:e.image.webp},duration:{type:[String,Number],default:e.image.duration},bgColor:{type:String,default:e.image.bgColor}}};const f=y({name:"u-image",mixins:[i,t,w],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(e){e?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{wrapStyle(){let e={};return e.width=this.$u.addUnit(this.width),e.height=this.$u.addUnit(this.height),e.borderRadius="circle"==this.shape?"10000px":uni.$u.addUnit(this.radius),e.overflow=this.radius>0?"hidden":"visible",uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{onClick(){this.$emit("click")},onErrorHandler(e){this.loading=!1,this.isError=!0,this.$emit("error",e)},onLoadHandler(e){this.loading=!1,this.isError=!1,this.$emit("load",e),this.removeBgColor()},removeBgColor(){this.backgroundStyle={backgroundColor:"transparent"}}}},[["render",function(e,i,t,y,w,f){const b=g,$=a(o("u-icon"),p),_=m,S=a(o("u-transition"),c);return r(),d(S,{mode:"fade",show:w.show,duration:e.fade?1e3:0},{default:s((()=>[n(_,{class:"u-image",onClick:f.onClick,style:l([f.wrapStyle,w.backgroundStyle])},{default:s((()=>[w.isError?h("v-if",!0):(r(),d(b,{key:0,src:e.src,mode:e.mode,onError:f.onErrorHandler,onLoad:f.onLoadHandler,"show-menu-by-longpress":e.showMenuByLongpress,"lazy-load":e.lazyLoad,class:"u-image__image",style:l({borderRadius:"circle"==e.shape?"10000px":e.$u.addUnit(e.radius),width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)})},null,8,["src","mode","onError","onLoad","show-menu-by-longpress","lazy-load","style"])),e.showLoading&&w.loading?(r(),d(_,{key:1,class:"u-image__loading",style:l({borderRadius:"circle"==e.shape?"50%":e.$u.addUnit(e.radius),backgroundColor:this.bgColor,width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)})},{default:s((()=>[u(e.$slots,"loading",{},(()=>[n($,{name:e.loadingIcon,width:e.width,height:e.height},null,8,["name","width","height"])]),!0)])),_:3},8,["style"])):h("v-if",!0),e.showError&&w.isError&&!w.loading?(r(),d(_,{key:2,class:"u-image__error",style:l({borderRadius:"circle"==e.shape?"50%":e.$u.addUnit(e.radius),width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)})},{default:s((()=>[u(e.$slots,"error",{},(()=>[n($,{name:e.errorIcon,width:e.width,height:e.height},null,8,["name","width","height"])]),!0)])),_:3},8,["style"])):h("v-if",!0)])),_:3},8,["onClick","style"])])),_:3},8,["show","duration"])}],["__scopeId","data-v-466b6710"]]);export{f as _,w as p}; diff --git a/niucloud/public/wap/assets/u-image.b892f6c4.js b/niucloud/public/wap/assets/u-image.b892f6c4.js deleted file mode 100644 index b97c3a7ee..000000000 --- a/niucloud/public/wap/assets/u-image.b892f6c4.js +++ /dev/null @@ -1 +0,0 @@ -import{y as e,z as i,A as a,p as t,q as o,h as r,i as d,w as s,j as n,n as l,m as h,C as u,a1 as g,t as m}from"./index-15eacd31.js";import{_ as p}from"./u-icon.f5369555.js";import{_ as c}from"./u-transition.a952a64b.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const w={props:{src:{type:String,default:e.image.src},mode:{type:String,default:e.image.mode},width:{type:[String,Number],default:e.image.width},height:{type:[String,Number],default:e.image.height},shape:{type:String,default:e.image.shape},radius:{type:[String,Number],default:e.image.radius},lazyLoad:{type:Boolean,default:e.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:e.image.showMenuByLongpress},loadingIcon:{type:String,default:e.image.loadingIcon},errorIcon:{type:String,default:e.image.errorIcon},showLoading:{type:Boolean,default:e.image.showLoading},showError:{type:Boolean,default:e.image.showError},fade:{type:Boolean,default:e.image.fade},webp:{type:Boolean,default:e.image.webp},duration:{type:[String,Number],default:e.image.duration},bgColor:{type:String,default:e.image.bgColor}}};const f=y({name:"u-image",mixins:[i,a,w],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(e){e?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{wrapStyle(){let e={};return e.width=this.$u.addUnit(this.width),e.height=this.$u.addUnit(this.height),e.borderRadius="circle"==this.shape?"10000px":uni.$u.addUnit(this.radius),e.overflow=this.radius>0?"hidden":"visible",uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{onClick(){this.$emit("click")},onErrorHandler(e){this.loading=!1,this.isError=!0,this.$emit("error",e)},onLoadHandler(e){this.loading=!1,this.isError=!1,this.$emit("load",e),this.removeBgColor()},removeBgColor(){this.backgroundStyle={backgroundColor:"transparent"}}}},[["render",function(e,i,a,y,w,f){const b=g,$=t(o("u-icon"),p),_=m,S=t(o("u-transition"),c);return r(),d(S,{mode:"fade",show:w.show,duration:e.fade?1e3:0},{default:s((()=>[n(_,{class:"u-image",onClick:f.onClick,style:l([f.wrapStyle,w.backgroundStyle])},{default:s((()=>[w.isError?h("",!0):(r(),d(b,{key:0,src:e.src,mode:e.mode,onError:f.onErrorHandler,onLoad:f.onLoadHandler,"show-menu-by-longpress":e.showMenuByLongpress,"lazy-load":e.lazyLoad,class:"u-image__image",style:l({borderRadius:"circle"==e.shape?"10000px":e.$u.addUnit(e.radius),width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)})},null,8,["src","mode","onError","onLoad","show-menu-by-longpress","lazy-load","style"])),e.showLoading&&w.loading?(r(),d(_,{key:1,class:"u-image__loading",style:l({borderRadius:"circle"==e.shape?"50%":e.$u.addUnit(e.radius),backgroundColor:this.bgColor,width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)})},{default:s((()=>[u(e.$slots,"loading",{},(()=>[n($,{name:e.loadingIcon,width:e.width,height:e.height},null,8,["name","width","height"])]),!0)])),_:3},8,["style"])):h("",!0),e.showError&&w.isError&&!w.loading?(r(),d(_,{key:2,class:"u-image__error",style:l({borderRadius:"circle"==e.shape?"50%":e.$u.addUnit(e.radius),width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)})},{default:s((()=>[u(e.$slots,"error",{},(()=>[n($,{name:e.errorIcon,width:e.width,height:e.height},null,8,["name","width","height"])]),!0)])),_:3},8,["style"])):h("",!0)])),_:3},8,["onClick","style"])])),_:3},8,["show","duration"])}],["__scopeId","data-v-466b6710"]]);export{f as _,w as p}; diff --git a/niucloud/public/wap/assets/u-input-2dabccde.css b/niucloud/public/wap/assets/u-input-2dabccde.css deleted file mode 100644 index 96c1f8f01..000000000 --- a/niucloud/public/wap/assets/u-input-2dabccde.css +++ /dev/null @@ -1 +0,0 @@ -uni-view[data-v-afd9dafc],uni-scroll-view[data-v-afd9dafc],uni-swiper-item[data-v-afd9dafc]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-input[data-v-afd9dafc]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:1}.u-input--radius[data-v-afd9dafc],.u-input--square[data-v-afd9dafc]{border-radius:4px}.u-input--no-radius[data-v-afd9dafc]{border-radius:0}.u-input--circle[data-v-afd9dafc]{border-radius:100px}.u-input__content[data-v-afd9dafc]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.u-input__content__field-wrapper[data-v-afd9dafc]{position:relative;display:flex;flex-direction:row;margin:0;flex:1}.u-input__content__field-wrapper__field[data-v-afd9dafc]{line-height:26px;text-align:left;color:#303133;height:24px;font-size:15px;flex:1}.u-input__content__clear[data-v-afd9dafc]{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82);margin-left:4px}.u-input__content__subfix-icon[data-v-afd9dafc]{margin-left:4px}.u-input__content__prefix-icon[data-v-afd9dafc]{margin-right:4px} diff --git a/niucloud/public/wap/assets/u-input.4212a359.js b/niucloud/public/wap/assets/u-input.4212a359.js deleted file mode 100644 index 887c36b71..000000000 --- a/niucloud/public/wap/assets/u-input.4212a359.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./u-icon.f5369555.js";import{y as t,z as n,A as o,p as i,q as a,h as l,i as r,w as u,j as s,C as p,m as d,n as c,F as f,t as h,I as y}from"./index-15eacd31.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";const g={props:{modelValue:{type:[String,Number],default:t.input.value},type:{type:String,default:t.input.type},fixed:{type:Boolean,default:t.input.fixed},disabled:{type:Boolean,default:t.input.disabled},disabledColor:{type:String,default:t.input.disabledColor},clearable:{type:Boolean,default:t.input.clearable},password:{type:Boolean,default:t.input.password},maxlength:{type:[String,Number],default:t.input.maxlength},placeholder:{type:String,default:t.input.placeholder},placeholderClass:{type:String,default:t.input.placeholderClass},placeholderStyle:{type:[String,Object],default:t.input.placeholderStyle},showWordLimit:{type:Boolean,default:t.input.showWordLimit},confirmType:{type:String,default:t.input.confirmType},confirmHold:{type:Boolean,default:t.input.confirmHold},holdKeyboard:{type:Boolean,default:t.input.holdKeyboard},focus:{type:Boolean,default:t.input.focus},autoBlur:{type:Boolean,default:t.input.autoBlur},disableDefaultPadding:{type:Boolean,default:t.input.disableDefaultPadding},cursor:{type:[String,Number],default:t.input.cursor},cursorSpacing:{type:[String,Number],default:t.input.cursorSpacing},selectionStart:{type:[String,Number],default:t.input.selectionStart},selectionEnd:{type:[String,Number],default:t.input.selectionEnd},adjustPosition:{type:Boolean,default:t.input.adjustPosition},inputAlign:{type:String,default:t.input.inputAlign},fontSize:{type:[String,Number],default:t.input.fontSize},color:{type:String,default:t.input.color},prefixIcon:{type:String,default:t.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:t.input.prefixIconStyle},suffixIcon:{type:String,default:t.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:t.input.suffixIconStyle},border:{type:String,default:t.input.border},readonly:{type:Boolean,default:t.input.readonly},shape:{type:String,default:t.input.shape},formatter:{type:[Function,null],default:t.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};const S=m({name:"u-input",mixins:[n,o,g],data:()=>({innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),watch:{modelValue:{immediate:!0,handler(e,t){this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner&&this.valueChange(),this.firstChange=!1,this.changeFromInner=!1}}},computed:{isShowClear(){const{clearable:e,readonly:t,focused:n,innerValue:o}=this;return!!e&&!t&&!!n&&""!==o},inputClass(){let e=[],{border:t,disabled:n,shape:o}=this;return"surround"===t&&(e=e.concat(["u-border","u-input--radius"])),e.push(`u-input--${o}`),"bottom"===t&&(e=e.concat(["u-border-bottom","u-input--no-radius"])),e.join(" ")},wrapperStyle(){const e={};return this.disabled&&(e.backgroundColor=this.disabledColor),"none"===this.border?e.padding="0":(e.paddingTop="6px",e.paddingBottom="6px",e.paddingLeft="9px",e.paddingRight="9px"),uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))},inputStyle(){return{color:this.color,fontSize:uni.$u.addUnit(this.fontSize),textAlign:this.inputAlign}}},emits:["update:modelValue","focus","blur","change","confirm","clear","keyboardheightchange"],methods:{setFormatter(e){this.innerFormatter=e},onInput(e){let{value:t=""}=e.detail||{};const n=(this.formatter||this.innerFormatter)(t);this.innerValue=t,this.$nextTick((()=>{this.innerValue=n,this.valueChange()}))},onBlur(e){this.$emit("blur",e.detail.value),uni.$u.sleep(50).then((()=>{this.focused=!1})),uni.$u.formValidate(this,"blur")},onFocus(e){this.focused=!0,this.$emit("focus")},onConfirm(e){this.$emit("confirm",this.innerValue)},onkeyboardheightchange(){this.$emit("keyboardheightchange")},valueChange(){const e=this.innerValue;this.$nextTick((()=>{this.$emit("update:modelValue",e),this.changeFromInner=!0,this.$emit("change",e),uni.$u.formValidate(this,"change")}))},onClear(){this.innerValue="",this.$nextTick((()=>{this.valueChange(),this.$emit("clear")}))},clickHandler(){}}},[["render",function(t,n,o,m,g,S){const b=i(a("u-icon"),e),x=h,_=y;return l(),r(x,{class:f(["u-input",S.inputClass]),style:c([S.wrapperStyle])},{default:u((()=>[s(x,{class:"u-input__content"},{default:u((()=>[t.prefixIcon||t.$slots.prefix?(l(),r(x,{key:0,class:"u-input__content__prefix-icon"},{default:u((()=>[p(t.$slots,"prefix",{},(()=>[s(b,{name:t.prefixIcon,size:"18",customStyle:t.prefixIconStyle},null,8,["name","customStyle"])]),!0)])),_:3})):d("",!0),s(x,{class:"u-input__content__field-wrapper",onClick:S.clickHandler},{default:u((()=>[s(_,{class:"u-input__content__field-wrapper__field",style:c([S.inputStyle]),type:t.type,focus:t.focus,cursor:t.cursor,value:g.innerValue,"auto-blur":t.autoBlur,disabled:t.disabled||t.readonly,maxlength:t.maxlength,placeholder:t.placeholder,"placeholder-style":t.placeholderStyle,"placeholder-class":t.placeholderClass,"confirm-type":t.confirmType,"confirm-hold":t.confirmHold,"hold-keyboard":t.holdKeyboard,"cursor-spacing":t.cursorSpacing,"adjust-position":t.adjustPosition,"selection-end":t.selectionEnd,"selection-start":t.selectionStart,password:t.password||"password"===t.type||void 0,ignoreCompositionEvent:t.ignoreCompositionEvent,onInput:S.onInput,onBlur:S.onBlur,onFocus:S.onFocus,onConfirm:S.onConfirm,onKeyboardheightchange:S.onkeyboardheightchange},null,8,["style","type","focus","cursor","value","auto-blur","disabled","maxlength","placeholder","placeholder-style","placeholder-class","confirm-type","confirm-hold","hold-keyboard","cursor-spacing","adjust-position","selection-end","selection-start","password","ignoreCompositionEvent","onInput","onBlur","onFocus","onConfirm","onKeyboardheightchange"])])),_:1},8,["onClick"]),S.isShowClear?(l(),r(x,{key:1,class:"u-input__content__clear",onClick:S.onClear},{default:u((()=>[s(b,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})])),_:1},8,["onClick"])):d("",!0),t.suffixIcon||t.$slots.suffix?(l(),r(x,{key:2,class:"u-input__content__subfix-icon"},{default:u((()=>[p(t.$slots,"suffix",{},(()=>[s(b,{name:t.suffixIcon,size:"18",customStyle:t.suffixIconStyle},null,8,["name","customStyle"])]),!0)])),_:3})):d("",!0)])),_:3})])),_:3},8,["class","style"])}],["__scopeId","data-v-afd9dafc"]]);export{S as _,g as p}; diff --git a/niucloud/public/wap/assets/u-line.bb8d1497.js b/niucloud/public/wap/assets/u-line.9ef7233b.js similarity index 88% rename from niucloud/public/wap/assets/u-line.bb8d1497.js rename to niucloud/public/wap/assets/u-line.9ef7233b.js index c743a5afe..5a01a83b1 100644 --- a/niucloud/public/wap/assets/u-line.bb8d1497.js +++ b/niucloud/public/wap/assets/u-line.9ef7233b.js @@ -1 +1 @@ -import{y as e,z as t,A as i,h as n,i as r,n as l,t as s}from"./index-15eacd31.js";import{_ as a}from"./_plugin-vue_export-helper.1b428a4d.js";const d=a({name:"u-line",mixins:[t,i,{props:{color:{type:String,default:e.line.color},length:{type:[String,Number],default:e.line.length},direction:{type:String,default:e.line.direction},hairline:{type:Boolean,default:e.line.hairline},margin:{type:[String,Number],default:e.line.margin},dashed:{type:Boolean,default:e.line.dashed}}}],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}},[["render",function(e,t,i,a,d,o){const h=s;return n(),r(h,{class:"u-line",style:l([o.lineStyle])},null,8,["style"])}],["__scopeId","data-v-45e31c7a"]]);export{d as _}; +import{V as e,W as t,X as i,i as n,j as r,p as l,x as s}from"./index-59b72094.js";import{_ as a}from"./_plugin-vue_export-helper.1b428a4d.js";const d=a({name:"u-line",mixins:[t,i,{props:{color:{type:String,default:e.line.color},length:{type:[String,Number],default:e.line.length},direction:{type:String,default:e.line.direction},hairline:{type:Boolean,default:e.line.hairline},margin:{type:[String,Number],default:e.line.margin},dashed:{type:Boolean,default:e.line.dashed}}}],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}},[["render",function(e,t,i,a,d,o){const h=s;return n(),r(h,{class:"u-line",style:l([o.lineStyle])},null,8,["style"])}],["__scopeId","data-v-45e31c7a"]]);export{d as _}; diff --git a/niucloud/public/wap/assets/u-loading-icon.ea8c9ece.js b/niucloud/public/wap/assets/u-loading-icon.85becb71.js similarity index 55% rename from niucloud/public/wap/assets/u-loading-icon.ea8c9ece.js rename to niucloud/public/wap/assets/u-loading-icon.85becb71.js index 1d5ca7767..b6af8ee5f 100644 --- a/niucloud/public/wap/assets/u-loading-icon.ea8c9ece.js +++ b/niucloud/public/wap/assets/u-loading-icon.85becb71.js @@ -1 +1 @@ -import{y as e,z as o,A as t,ba as i,h as n,i as a,w as r,F as l,n as d,M as s,O as c,N as u,m as g,D as m,E as f,t as p,H as y}from"./index-15eacd31.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";const v=h({name:"u-loading-icon",mixins:[o,t,{props:{show:{type:Boolean,default:e.loadingIcon.show},color:{type:String,default:e.loadingIcon.color},textColor:{type:String,default:e.loadingIcon.textColor},vertical:{type:Boolean,default:e.loadingIcon.vertical},mode:{type:String,default:e.loadingIcon.mode},size:{type:[String,Number],default:e.loadingIcon.size},textSize:{type:[String,Number],default:e.loadingIcon.textSize},text:{type:[String,Number],default:e.loadingIcon.text},timingFunction:{type:String,default:e.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.loadingIcon.duration},inactiveColor:{type:String,default:e.loadingIcon.inactiveColor}}}],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{init(){setTimeout((()=>{}),20)},addEventListenerToWebview(){const e=i(),o=e[e.length-1].$getAppWebview();o.addEventListener("hide",(()=>{this.webviewHide=!0})),o.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(e,o,t,i,h,v){const w=p,_=y;return e.show?(n(),a(w,{key:0,class:l(["u-loading-icon",[e.vertical&&"u-loading-icon--vertical"]]),style:d([e.$u.addStyle(e.customStyle)])},{default:r((()=>[h.webviewHide?g("",!0):(n(),a(w,{key:0,class:l(["u-loading-icon__spinner",[`u-loading-icon__spinner--${e.mode}`]]),ref:"ani",style:d({color:e.color,width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size),borderTopColor:e.color,borderBottomColor:v.otherBorderColor,borderLeftColor:v.otherBorderColor,borderRightColor:v.otherBorderColor,"animation-duration":`${e.duration}ms`,"animation-timing-function":"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""})},{default:r((()=>["spinner"===e.mode?(n(!0),s(c,{key:0},u(h.array12,((e,o)=>(n(),a(w,{key:o,class:"u-loading-icon__dot"})))),128)):g("",!0)])),_:1},8,["class","style"])),e.text?(n(),a(_,{key:1,class:"u-loading-icon__text",style:d({fontSize:e.$u.addUnit(e.textSize),color:e.textColor})},{default:r((()=>[m(f(e.text),1)])),_:1},8,["style"])):g("",!0)])),_:1},8,["style","class"])):g("",!0)}],["__scopeId","data-v-adfb58a0"]]);export{v as _}; +import{V as e,W as o,X as t,b7 as i,i as n,j as a,w as r,I as l,p as d,F as s,G as c,H as u,m as g,K as f,L as m,x as p,N as y}from"./index-59b72094.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";const v=h({name:"u-loading-icon",mixins:[o,t,{props:{show:{type:Boolean,default:e.loadingIcon.show},color:{type:String,default:e.loadingIcon.color},textColor:{type:String,default:e.loadingIcon.textColor},vertical:{type:Boolean,default:e.loadingIcon.vertical},mode:{type:String,default:e.loadingIcon.mode},size:{type:[String,Number],default:e.loadingIcon.size},textSize:{type:[String,Number],default:e.loadingIcon.textSize},text:{type:[String,Number],default:e.loadingIcon.text},timingFunction:{type:String,default:e.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.loadingIcon.duration},inactiveColor:{type:String,default:e.loadingIcon.inactiveColor}}}],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{init(){setTimeout((()=>{}),20)},addEventListenerToWebview(){const e=i(),o=e[e.length-1].$getAppWebview();o.addEventListener("hide",(()=>{this.webviewHide=!0})),o.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(e,o,t,i,h,v){const w=p,_=y;return e.show?(n(),a(w,{key:0,class:l(["u-loading-icon",[e.vertical&&"u-loading-icon--vertical"]]),style:d([e.$u.addStyle(e.customStyle)])},{default:r((()=>[h.webviewHide?g("v-if",!0):(n(),a(w,{key:0,class:l(["u-loading-icon__spinner",[`u-loading-icon__spinner--${e.mode}`]]),ref:"ani",style:d({color:e.color,width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size),borderTopColor:e.color,borderBottomColor:v.otherBorderColor,borderLeftColor:v.otherBorderColor,borderRightColor:v.otherBorderColor,"animation-duration":`${e.duration}ms`,"animation-timing-function":"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""})},{default:r((()=>["spinner"===e.mode?(n(!0),s(c,{key:0},u(h.array12,((e,o)=>(n(),a(w,{key:o,class:"u-loading-icon__dot"})))),128)):g("v-if",!0)])),_:1},8,["class","style"])),e.text?(n(),a(_,{key:1,class:"u-loading-icon__text",style:d({fontSize:e.$u.addUnit(e.textSize),color:e.textColor})},{default:r((()=>[f(m(e.text),1)])),_:1},8,["style"])):g("v-if",!0)])),_:1},8,["style","class"])):g("v-if",!0)}],["__scopeId","data-v-adfb58a0"]]);export{v as _}; diff --git a/niucloud/public/wap/assets/u-loading-page.925a187b.js b/niucloud/public/wap/assets/u-loading-page.925a187b.js deleted file mode 100644 index 4a52013e5..000000000 --- a/niucloud/public/wap/assets/u-loading-page.925a187b.js +++ /dev/null @@ -1 +0,0 @@ -import{y as a,z as o,A as e,p as i,q as t,h as l,i as n,w as d,j as g,n as s,C as r,D as u,E as p,a1 as c,t as _,H as f}from"./index-15eacd31.js";import{_ as m}from"./u-loading-icon.ea8c9ece.js";import{_ as y}from"./u-transition.a952a64b.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";const z=S({name:"u-loading-page",mixins:[o,e,{props:{loadingText:{type:[String,Number],default:a.loadingPage.loadingText},image:{type:String,default:a.loadingPage.image},loadingMode:{type:String,default:a.loadingPage.loadingMode},loading:{type:Boolean,default:a.loadingPage.loading},bgColor:{type:String,default:a.loadingPage.bgColor},color:{type:String,default:a.loadingPage.color},fontSize:{type:[String,Number],default:a.loadingPage.fontSize},iconSize:{type:[String,Number],default:a.loadingPage.fontSize},loadingColor:{type:String,default:a.loadingPage.loadingColor}}}],data:()=>({}),methods:{}},[["render",function(a,o,e,S,z,b){const h=c,x=i(t("u-loading-icon"),m),w=_,P=f,C=i(t("u-transition"),y);return l(),n(C,{show:a.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:a.bgColor,display:"flex"}},{default:d((()=>[g(w,{class:"u-loading-page"},{default:d((()=>[g(w,{class:"u-loading-page__warpper"},{default:d((()=>[g(w,{class:"u-loading-page__warpper__loading-icon"},{default:d((()=>[a.image?(l(),n(h,{key:0,src:a.image,class:"u-loading-page__warpper__loading-icon__img",mode:"widthFit",style:s({width:a.$u.addUnit(a.iconSize),height:a.$u.addUnit(a.iconSize)})},null,8,["src","style"])):(l(),n(x,{key:1,mode:a.loadingMode,size:a.$u.addUnit(a.iconSize),color:a.loadingColor},null,8,["mode","size","color"]))])),_:1}),r(a.$slots,"default",{},(()=>[g(P,{class:"u-loading-page__warpper__text",style:s({fontSize:a.$u.addUnit(a.fontSize),color:a.color})},{default:d((()=>[u(p(a.loadingText),1)])),_:1},8,["style"])]),!0)])),_:3})])),_:3})])),_:3},8,["show","custom-style"])}],["__scopeId","data-v-bb97457c"]]);export{z as _}; diff --git a/niucloud/public/wap/assets/u-loading-page.966ecc29.js b/niucloud/public/wap/assets/u-loading-page.966ecc29.js new file mode 100644 index 000000000..3f8407efc --- /dev/null +++ b/niucloud/public/wap/assets/u-loading-page.966ecc29.js @@ -0,0 +1 @@ +import{V as a,W as o,X as e,q as i,t,i as l,j as n,w as d,k as g,p as s,T as r,K as u,L as p,M as c,x as _,N as f}from"./index-59b72094.js";import{_ as m}from"./u-loading-icon.85becb71.js";import{_ as y}from"./u-transition.4588f416.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";const x=S({name:"u-loading-page",mixins:[o,e,{props:{loadingText:{type:[String,Number],default:a.loadingPage.loadingText},image:{type:String,default:a.loadingPage.image},loadingMode:{type:String,default:a.loadingPage.loadingMode},loading:{type:Boolean,default:a.loadingPage.loading},bgColor:{type:String,default:a.loadingPage.bgColor},color:{type:String,default:a.loadingPage.color},fontSize:{type:[String,Number],default:a.loadingPage.fontSize},iconSize:{type:[String,Number],default:a.loadingPage.fontSize},loadingColor:{type:String,default:a.loadingPage.loadingColor}}}],data:()=>({}),methods:{}},[["render",function(a,o,e,S,x,z){const b=c,P=i(t("u-loading-icon"),m),h=_,w=f,C=i(t("u-transition"),y);return l(),n(C,{show:a.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:a.bgColor,display:"flex"}},{default:d((()=>[g(h,{class:"u-loading-page"},{default:d((()=>[g(h,{class:"u-loading-page__warpper"},{default:d((()=>[g(h,{class:"u-loading-page__warpper__loading-icon"},{default:d((()=>[a.image?(l(),n(b,{key:0,src:a.image,class:"u-loading-page__warpper__loading-icon__img",mode:"widthFit",style:s({width:a.$u.addUnit(a.iconSize),height:a.$u.addUnit(a.iconSize)})},null,8,["src","style"])):(l(),n(P,{key:1,mode:a.loadingMode,size:a.$u.addUnit(a.iconSize),color:a.loadingColor},null,8,["mode","size","color"]))])),_:1}),r(a.$slots,"default",{},(()=>[g(w,{class:"u-loading-page__warpper__text",style:s({fontSize:a.$u.addUnit(a.fontSize),color:a.color})},{default:d((()=>[u(p(a.loadingText),1)])),_:1},8,["style"])]),!0)])),_:3})])),_:3})])),_:3},8,["show","custom-style"])}],["__scopeId","data-v-bb97457c"]]);export{x as _}; diff --git a/niucloud/public/wap/assets/u-modal.30bfd23d.js b/niucloud/public/wap/assets/u-modal.30bfd23d.js new file mode 100644 index 000000000..994700e4e --- /dev/null +++ b/niucloud/public/wap/assets/u-modal.30bfd23d.js @@ -0,0 +1 @@ +import{V as o,W as t,X as e,q as l,t as a,i as n,j as s,w as r,k as u,p as i,K as c,L as d,m,T as p,F as _,G as f,I as y,N as h,x as w}from"./index-59b72094.js";import{_ as g}from"./u-line.9ef7233b.js";import{_ as C}from"./u-loading-icon.85becb71.js";import{_ as v}from"./u-popup.94ffd479.js";import{_ as B}from"./_plugin-vue_export-helper.1b428a4d.js";const k=B({name:"u-modal",mixins:[t,e,{props:{show:{type:Boolean,default:o.modal.show},title:{type:[String],default:o.modal.title},content:{type:String,default:o.modal.content},confirmText:{type:String,default:o.modal.confirmText},cancelText:{type:String,default:o.modal.cancelText},showConfirmButton:{type:Boolean,default:o.modal.showConfirmButton},showCancelButton:{type:Boolean,default:o.modal.showCancelButton},confirmColor:{type:String,default:o.modal.confirmColor},cancelColor:{type:String,default:o.modal.cancelColor},buttonReverse:{type:Boolean,default:o.modal.buttonReverse},zoom:{type:Boolean,default:o.modal.zoom},asyncClose:{type:Boolean,default:o.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:o.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:o.modal.negativeTop},width:{type:[String,Number],default:o.modal.width},confirmButtonShape:{type:String,default:o.modal.confirmButtonShape}}}],data:()=>({loading:!1}),watch:{show(o){o&&this.loading&&(this.loading=!1)}},methods:{confirmHandler(){this.asyncClose&&(this.loading=!0),this.$emit("confirm")},cancelHandler(){this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&this.$emit("close")}}},[["render",function(o,t,e,B,k,b){const x=h,O=w,S=l(a("u-line"),g),T=l(a("u-loading-icon"),C),$=l(a("u-popup"),v);return n(),s($,{mode:"center",zoom:o.zoom,show:o.show,customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${o.$u.addUnit(o.negativeTop)}`},closeOnClickOverlay:o.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400,onClick:b.clickHandler},{default:r((()=>[u(O,{class:"u-modal",style:i({width:o.$u.addUnit(o.width)})},{default:r((()=>[o.title?(n(),s(x,{key:0,class:"u-modal__title"},{default:r((()=>[c(d(o.title),1)])),_:1})):m("v-if",!0),u(O,{class:"u-modal__content",style:i({paddingTop:(o.title?12:25)+"px"})},{default:r((()=>[p(o.$slots,"default",{},(()=>[u(x,{class:"u-modal__content__text"},{default:r((()=>[c(d(o.content),1)])),_:1})]),!0)])),_:3},8,["style"]),o.$slots.confirmButton?(n(),s(O,{key:1,class:"u-modal__button-group--confirm-button"},{default:r((()=>[p(o.$slots,"confirmButton",{},void 0,!0)])),_:3})):(n(),_(f,{key:2},[u(S),u(O,{class:"u-modal__button-group",style:i({flexDirection:o.buttonReverse?"row-reverse":"row"})},{default:r((()=>[o.showCancelButton?(n(),s(O,{key:0,class:y(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[o.showCancelButton&&!o.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:b.cancelHandler},{default:r((()=>[u(x,{class:"u-modal__button-group__wrapper__text",style:i({color:o.cancelColor})},{default:r((()=>[c(d(o.cancelText),1)])),_:1},8,["style"])])),_:1},8,["class","onClick"])):m("v-if",!0),o.showConfirmButton&&o.showCancelButton?(n(),s(S,{key:1,direction:"column"})):m("v-if",!0),o.showConfirmButton?(n(),s(O,{key:2,class:y(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!o.showCancelButton&&o.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:b.confirmHandler},{default:r((()=>[k.loading?(n(),s(T,{key:0})):(n(),s(x,{key:1,class:"u-modal__button-group__wrapper__text",style:i({color:o.confirmColor})},{default:r((()=>[c(d(o.confirmText),1)])),_:1},8,["style"]))])),_:1},8,["class","onClick"])):m("v-if",!0)])),_:1},8,["style"])],64))])),_:3},8,["style"])])),_:3},8,["zoom","show","customStyle","closeOnClickOverlay","onClick"])}],["__scopeId","data-v-4425533b"]]);export{k as _}; diff --git a/niucloud/public/wap/assets/u-modal.755a4b61.js b/niucloud/public/wap/assets/u-modal.755a4b61.js deleted file mode 100644 index 115ffad48..000000000 --- a/niucloud/public/wap/assets/u-modal.755a4b61.js +++ /dev/null @@ -1 +0,0 @@ -import{y as o,z as t,A as e,p as l,q as a,h as n,i as s,w as r,j as u,n as i,D as c,E as d,m,C as p,M as _,O as f,F as y,H as h,t as w}from"./index-15eacd31.js";import{_ as g}from"./u-line.bb8d1497.js";import{_ as C}from"./u-loading-icon.ea8c9ece.js";import{_ as B}from"./u-popup.8a491625.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";const k=v({name:"u-modal",mixins:[t,e,{props:{show:{type:Boolean,default:o.modal.show},title:{type:[String],default:o.modal.title},content:{type:String,default:o.modal.content},confirmText:{type:String,default:o.modal.confirmText},cancelText:{type:String,default:o.modal.cancelText},showConfirmButton:{type:Boolean,default:o.modal.showConfirmButton},showCancelButton:{type:Boolean,default:o.modal.showCancelButton},confirmColor:{type:String,default:o.modal.confirmColor},cancelColor:{type:String,default:o.modal.cancelColor},buttonReverse:{type:Boolean,default:o.modal.buttonReverse},zoom:{type:Boolean,default:o.modal.zoom},asyncClose:{type:Boolean,default:o.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:o.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:o.modal.negativeTop},width:{type:[String,Number],default:o.modal.width},confirmButtonShape:{type:String,default:o.modal.confirmButtonShape}}}],data:()=>({loading:!1}),watch:{show(o){o&&this.loading&&(this.loading=!1)}},methods:{confirmHandler(){this.asyncClose&&(this.loading=!0),this.$emit("confirm")},cancelHandler(){this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&this.$emit("close")}}},[["render",function(o,t,e,v,k,b){const x=h,O=w,S=l(a("u-line"),g),T=l(a("u-loading-icon"),C),$=l(a("u-popup"),B);return n(),s($,{mode:"center",zoom:o.zoom,show:o.show,customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${o.$u.addUnit(o.negativeTop)}`},closeOnClickOverlay:o.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400,onClick:b.clickHandler},{default:r((()=>[u(O,{class:"u-modal",style:i({width:o.$u.addUnit(o.width)})},{default:r((()=>[o.title?(n(),s(x,{key:0,class:"u-modal__title"},{default:r((()=>[c(d(o.title),1)])),_:1})):m("",!0),u(O,{class:"u-modal__content",style:i({paddingTop:(o.title?12:25)+"px"})},{default:r((()=>[p(o.$slots,"default",{},(()=>[u(x,{class:"u-modal__content__text"},{default:r((()=>[c(d(o.content),1)])),_:1})]),!0)])),_:3},8,["style"]),o.$slots.confirmButton?(n(),s(O,{key:1,class:"u-modal__button-group--confirm-button"},{default:r((()=>[p(o.$slots,"confirmButton",{},void 0,!0)])),_:3})):(n(),_(f,{key:2},[u(S),u(O,{class:"u-modal__button-group",style:i({flexDirection:o.buttonReverse?"row-reverse":"row"})},{default:r((()=>[o.showCancelButton?(n(),s(O,{key:0,class:y(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[o.showCancelButton&&!o.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:b.cancelHandler},{default:r((()=>[u(x,{class:"u-modal__button-group__wrapper__text",style:i({color:o.cancelColor})},{default:r((()=>[c(d(o.cancelText),1)])),_:1},8,["style"])])),_:1},8,["class","onClick"])):m("",!0),o.showConfirmButton&&o.showCancelButton?(n(),s(S,{key:1,direction:"column"})):m("",!0),o.showConfirmButton?(n(),s(O,{key:2,class:y(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!o.showCancelButton&&o.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:b.confirmHandler},{default:r((()=>[k.loading?(n(),s(T,{key:0})):(n(),s(x,{key:1,class:"u-modal__button-group__wrapper__text",style:i({color:o.confirmColor})},{default:r((()=>[c(d(o.confirmText),1)])),_:1},8,["style"]))])),_:1},8,["class","onClick"])):m("",!0)])),_:1},8,["style"])],64))])),_:3},8,["style"])])),_:3},8,["zoom","show","customStyle","closeOnClickOverlay","onClick"])}],["__scopeId","data-v-4425533b"]]);export{k as _}; diff --git a/niucloud/public/wap/assets/u-parse.403d1985.js b/niucloud/public/wap/assets/u-parse.403d1985.js deleted file mode 100644 index cd7c9485d..000000000 --- a/niucloud/public/wap/assets/u-parse.403d1985.js +++ /dev/null @@ -1 +0,0 @@ -import{a6 as t,a7 as s,a8 as e,a9 as i,aa as n,ab as a,h as r,i as o,w as l,M as h,O as c,N as d,n as p,m,F as g,G as u,D as f,E as y,j as b,a1 as x,H as k,t as v,ac as w,ad as T,ae as _,f as $,af as N,ag as L,C as O}from"./index-15eacd31.js";import{_ as S}from"./_plugin-vue_export-helper.1b428a4d.js";var C={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};const I={isInline:function(t,s){return C[t]||-1!==(s||"").indexOf("display:inline")}},j=t=>{t.$wxs||(t.$wxs=[]),t.$wxs.push("handler"),t.mixins||(t.mixins=[]),t.mixins.push({beforeCreate(){this.handler=I}})},R={name:"node",options:{},data:()=>({ctrl:{}}),props:{name:String,attrs:{type:Object,default:()=>({})},childs:Array,opts:Array},components:{},mounted(){if(this.$nextTick((()=>{for(this.root=this.$parent;"u-parse"!==this.root.$options.name;this.root=this.root.$parent);})),this.opts[0]){let s;for(s=this.childs.length;s--&&"img"!==this.childs[s].name;);-1!==s&&(this.observer=t(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",(t=>{t.intersectionRatio&&(this.$set(this.ctrl,"load",1),this.observer.disconnect())})))}},beforeDestroy(){this.observer&&this.observer.disconnect()},methods:{play(t){if(this.root.$emit("play"),this.root.pauseVideo){let e=!1;const i=t.target.id;for(let t=this.root._videos.length;t--;)this.root._videos[t].id===i?e=!0:this.root._videos[t].pause();if(!e){const t=s(i,this);t.id=i,this.root.playbackRate&&t.playbackRate(this.root.playbackRate),this.root._videos.push(t)}}},imgTap(t){const s=this.childs[t.currentTarget.dataset.i];s.a?this.linkTap(s.a):s.attrs.ignore||(s.attrs.src=s.attrs.src||s.attrs["data-src"],this.root.$emit("imgtap",s.attrs),this.root.previewImg&&e({current:parseInt(s.attrs.i),urls:this.root.imgList}))},imgLongTap(t){},imgLoad(t){const s=t.currentTarget.dataset.i;(this.opts[1]&&!this.ctrl[s]||-1===this.ctrl[s])&&this.$set(this.ctrl,s,1),this.checkReady()},checkReady(){this.root.lazyLoad||(this.root._unloadimgs-=1,this.root._unloadimgs||setTimeout((()=>{this.root.getRect().then((t=>{this.root.$emit("ready",t)})).catch((()=>{this.root.$emit("ready",{})}))}),350))},linkTap(t){const s=t.currentTarget?this.childs[t.currentTarget.dataset.i]:{},e=s.attrs||t,a=e.href;this.root.$emit("linktap",Object.assign({innerText:this.root.getText(s.children||[])},e)),a&&("#"===a[0]?this.root.navigateTo(a.substring(1)).catch((()=>{})):a.split("?")[0].includes("://")?this.root.copyLink&&window.open(a):i({url:a,fail(){n({url:a,fail(){}})}}))},mediaError(t){const s=t.currentTarget.dataset.i,e=this.childs[s];if("video"===e.name||"audio"===e.name){let t=(this.ctrl[s]||0)+1;if(t>e.src.length&&(t=0),t[(r(!0),h(c,null,d(e.childs,((i,a)=>(r(),h(c,{key:a},["img"===i.name&&!i.t&&(e.opts[1]&&!n.ctrl[a]||n.ctrl[a]<0)?(r(),o($,{key:0,class:"_img",style:p(i.attrs.style),src:n.ctrl[a]<0?e.opts[2]:e.opts[1],mode:"widthFix"},null,8,["style","src"])):m("",!0),"img"===i.name?(r(),h("img",{key:1,id:i.attrs.id,class:g("_img "+i.attrs.class),style:p((-1===n.ctrl[a]?"display:none;":"")+i.attrs.style),src:i.attrs.src||(n.ctrl.load?i.attrs["data-src"]:""),"data-i":a,onLoad:s[0]||(s[0]=(...t)=>_.imgLoad&&_.imgLoad(...t)),onError:s[1]||(s[1]=(...t)=>_.mediaError&&_.mediaError(...t)),onClick:s[2]||(s[2]=u(((...t)=>_.imgTap&&_.imgTap(...t)),["stop"])),onLongpress:s[3]||(s[3]=(...t)=>_.imgLongTap&&_.imgLongTap(...t))},null,46,["id","src","data-i"])):i.text?(r(),o(N,{key:2,decode:""},{default:l((()=>[f(y(i.text),1)])),_:2},1024)):"br"===i.name?(r(),o(N,{key:3},{default:l((()=>[f("\\n")])),_:1})):"a"===i.name?(r(),o(O,{key:4,id:i.attrs.id,class:g((i.attrs.href?"_a ":"")+i.attrs.class),"hover-class":"_hover",style:p("display:inline;"+i.attrs.style),"data-i":a,onClick:u(_.linkTap,["stop"])},{default:l((()=>[b(L,{name:"span",childs:i.children,opts:e.opts,style:{display:"inherit"}},null,8,["childs","opts"])])),_:2},1032,["id","class","style","data-i","onClick"])):"video"===i.name?(r(),o(S,{key:5,id:i.attrs.id,class:g(i.attrs.class),style:p(i.attrs.style),autoplay:i.attrs.autoplay,controls:i.attrs.controls,loop:i.attrs.loop,muted:i.attrs.muted,"object-fit":i.attrs["object-fit"],poster:i.attrs.poster,src:i.src[n.ctrl[a]||0],"data-i":a,onPlay:_.play,onError:_.mediaError},null,8,["id","class","style","autoplay","controls","loop","muted","object-fit","poster","src","data-i","onPlay","onError"])):"iframe"===i.name?(r(),h("iframe",{key:6,style:p(i.attrs.style),allowfullscreen:i.attrs.allowfullscreen,frameborder:i.attrs.frameborder,src:i.attrs.src},null,12,["allowfullscreen","frameborder","src"])):"embed"===i.name?(r(),h("embed",{key:7,style:p(i.attrs.style),src:i.attrs.src},null,12,["src"])):"table"===i.name&&i.c||"li"===i.name?(r(),o(O,{key:8,id:i.attrs.id,class:g("_"+i.name+" "+i.attrs.class),style:p(i.attrs.style)},{default:l((()=>["li"===i.name?(r(),o(L,{key:0,childs:i.children,opts:e.opts},null,8,["childs","opts"])):(r(!0),h(c,{key:1},d(i.children,((t,s)=>(r(),o(O,{key:s,class:g("_"+t.name+" "+t.attrs.class),style:p(t.attrs.style)},{default:l((()=>["td"===t.name||"th"===t.name?(r(),o(L,{key:0,childs:t.children,opts:e.opts},null,8,["childs","opts"])):(r(!0),h(c,{key:1},d(t.children,((t,s)=>(r(),h(c,{key:s},["td"===t.name||"th"===t.name?(r(),o(O,{key:0,class:g("_"+t.name+" "+t.attrs.class),style:p(t.attrs.style)},{default:l((()=>[b(L,{childs:t.children,opts:e.opts},null,8,["childs","opts"])])),_:2},1032,["class","style"])):(r(),o(O,{key:1,class:g("_"+t.name+" "+t.attrs.class),style:p(t.attrs.style)},{default:l((()=>[(r(!0),h(c,null,d(t.children,((t,s)=>(r(),o(O,{key:s,class:g("_"+t.name+" "+t.attrs.class),style:p(t.attrs.style)},{default:l((()=>[b(L,{childs:t.children,opts:e.opts},null,8,["childs","opts"])])),_:2},1032,["class","style"])))),128))])),_:2},1032,["class","style"]))],64)))),128))])),_:2},1032,["class","style"])))),128))])),_:2},1032,["id","class","style"])):i.c||t.handler.isInline(i.name,i.attrs.style)?2===i.c?(r(),o(O,{key:10,id:i.attrs.id,class:g("_block _"+i.name+" "+i.attrs.class),style:p(i.f+";"+i.attrs.style)},{default:l((()=>[(r(!0),h(c,null,d(i.children,((t,s)=>(r(),o(L,{key:s,style:p(t.f),name:t.name,attrs:t.attrs,childs:t.children,opts:e.opts},null,8,["style","name","attrs","childs","opts"])))),128))])),_:2},1032,["id","class","style"])):(r(),o(L,{key:11,style:p(i.f),name:i.name,attrs:i.attrs,childs:i.children,opts:e.opts},null,8,["style","name","attrs","childs","opts"])):(r(),o(C,{key:9,id:i.attrs.id,style:p(i.f),"user-select":e.opts[4],nodes:[i]},null,8,["id","style","user-select","nodes"]))],64)))),128))])),_:1},8,["id","class","style"])}],["__scopeId","data-v-08dfb3fe"]]),z={trustTags:D("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:D("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:D("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:D("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur"}},E={},{windowWidth:B}=_(),V=D(" ,\r,\n,\t,\f");let q=0;function D(t){const s=Object.create(null),e=t.split(",");for(let i=e.length;i--;)s[e[i]]=!0;return s}function F(t,s){let e=t.indexOf("&");for(;-1!==e;){const i=t.indexOf(";",e+3);let n;if(-1===i)break;"#"===t[e+1]?(n=parseInt(("x"===t[e+2]?"0":"")+t.substring(e+2,i)),isNaN(n)||(t=t.substr(0,e)+String.fromCharCode(n)+t.substr(i+1))):(n=t.substring(e+1,i),(z.entities[n]||"amp"===n&&s)&&(t=t.substr(0,e)+(z.entities[n]||"&")+t.substr(i+1))),e=t.indexOf("&",e+1)}return t}function P(t){let s=t.length-1;for(let e=s;e>=-1;e--)(-1===e||t[e].c||!t[e].name||"div"!==t[e].name&&"p"!==t[e].name&&"h"!==t[e].name[0]||(t[e].attrs.style||"").includes("inline"))&&(s-e>=5&&t.splice(e+1,s-e,{name:"div",attrs:{},children:t.slice(e+1,s+1)}),s=e-1)}function U(t){this.options=t||{},this.tagStyle=Object.assign({},z.tagStyle,this.options.tagStyle),this.imgList=t.imgList||[],this.imgList._unloadimgs=0,this.plugins=t.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function M(t){this.handler=t}z.ignoreTags.iframe=void 0,z.trustTags.iframe=!0,z.ignoreTags.embed=void 0,z.trustTags.embed=!0,U.prototype.parse=function(t){for(let s=this.plugins.length;s--;)this.plugins[s].onUpdate&&(t=this.plugins[s].onUpdate(t,z)||t);for(new M(this).parse(t);this.stack.length;)this.popNode();return this.nodes.length>50&&P(this.nodes),this.nodes},U.prototype.expose=function(){for(let t=this.stack.length;t--;){const s=this.stack[t];if(s.c||"a"===s.name||"video"===s.name||"audio"===s.name)return;s.c=1}},U.prototype.hook=function(t){for(let s=this.plugins.length;s--;)if(this.plugins[s].onParse&&!1===this.plugins[s].onParse(t,this))return!1;return!0},U.prototype.getUrl=function(t){const s=this.options.domain;return"/"===t[0]?"/"===t[1]?t=(s?s.split("://")[0]:"http")+":"+t:s&&(t=s+t):t.includes("data:")||t.includes("://")||s&&(t=s+"/"+t),t},U.prototype.parseStyle=function(t){const s=t.attrs,e=(this.tagStyle[t.name]||"").split(";").concat((s.style||"").split(";")),i={};let n="";s.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==t.name&&"a"!==t.name&&"video"!==t.name&&"audio"!==t.name&&(s.id=void 0)),s.width&&(i.width=parseFloat(s.width)+(s.width.includes("%")?"%":"px"),s.width=void 0),s.height&&(i.height=parseFloat(s.height)+(s.height.includes("%")?"%":"px"),s.height=void 0);for(let a=0,r=e.length;a0||r.includes("safe"))n+=`;${s}:${r}`;else if(!i[s]||r.includes("import")||!i[s].includes("import")){if(r.includes("url")){let t=r.indexOf("(")+1;if(t){for(;'"'===r[t]||"'"===r[t]||V[r[t]];)t++;r=r.substr(0,t)+this.getUrl(r.substr(t))}}else r.includes("rpx")&&(r=r.replace(/[0-9.]+\s*rpx/g,(t=>parseFloat(t)*B/750+"px")));i[s]=r}}return t.attrs.style=n,i},U.prototype.onTagName=function(t){this.tagName=this.xml?t:t.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1)},U.prototype.onAttrName=function(t){"data-"===(t=this.xml?t:t.toLowerCase()).substr(0,5)?"data-src"!==t||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=t:this.attrName=void 0:this.attrName="src":(this.attrName=t,this.attrs[t]="T")},U.prototype.onAttrVal=function(t){const s=this.attrName||"";"style"===s||"href"===s?this.attrs[s]=F(t,!0):s.includes("src")?this.attrs[s]=this.getUrl(F(t,!0)):s&&(this.attrs[s]=t)},U.prototype.onOpenTag=function(t){const s=Object.create(null);s.name=this.tagName,s.attrs=this.attrs,this.options.nodes.length&&(s.type="node"),this.attrs=Object.create(null);const e=s.attrs,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes,a=this.xml?t:z.voidTags[s.name];if(E[s.name]&&(e.class=E[s.name]+(e.class?" "+e.class:"")),"embed"===s.name&&this.expose(),"video"!==s.name&&"audio"!==s.name||("video"!==s.name||e.id||(e.id="v"+q++),e.controls||e.autoplay||(e.controls="T"),s.src=[],e.src&&(s.src.push(e.src),e.src=void 0),this.expose()),a){if(!this.hook(s)||z.ignoreTags[s.name])return void("base"!==s.name||this.options.domain?"source"===s.name&&i&&("video"===i.name||"audio"===i.name)&&e.src&&i.src.push(e.src):this.options.domain=e.href);const t=this.parseStyle(s);if("img"===s.name){if(e.src&&(e.src.includes("webp")&&(s.webp="T"),e.src.includes("data:")&&!e["original-src"]&&(e.ignore="T"),!e.ignore||s.webp||e.src.includes("cloud://"))){for(let n=this.stack.length;n--;){const i=this.stack[n];"a"===i.name&&(s.a=i.attrs),"table"!==i.name||s.webp||e.src.includes("cloud://")||(!t.display||t.display.includes("inline")?s.t="inline-block":s.t=t.display,t.display=void 0),i.c=1}e.i=this.imgList.length.toString();let i=e["original-src"]||e.src;this.imgList.push(i),s.t||(this.imgList._unloadimgs+=1),this.options.lazyLoad&&(e["data-src"]=e.src,e.src=void 0)}"inline"===t.display&&(t.display=""),e.ignore&&(t["max-width"]=t["max-width"]||"100%",e.style+=";-webkit-touch-callout:none"),parseInt(t.width)>B&&(t.height=void 0),isNaN(parseInt(t.width))||(s.w="T"),!isNaN(parseInt(t.height))&&(!t.height.includes("%")||i&&(i.attrs.style||"").includes("height"))&&(s.h="T")}else if("svg"===s.name)return n.push(s),this.stack.push(s),void this.popNode();for(const s in t)t[s]&&(e.style+=`;${s}:${t[s].replace(" !important","")}`);e.style=e.style.substr(1)||void 0}else("pre"===s.name||(e.style||"").includes("white-space")&&e.style.includes("pre"))&&2!==this.pre&&(this.pre=s.pre=1),s.children=[],this.stack.push(s);n.push(s)},U.prototype.onCloseTag=function(t){let s;for(t=this.xml?t:t.toLowerCase(),s=this.stack.length;s--&&this.stack[s].name!==t;);if(-1!==s)for(;this.stack.length>s;)this.popNode();else if("p"===t||"br"===t){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push({name:t,attrs:{class:E[t]||"",style:this.tagStyle[t]||""}})}},U.prototype.popNode=function(){const t=this.stack.pop();let s=t.attrs;const e=t.children,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes;if(!this.hook(t)||z.ignoreTags[t.name])return"title"===t.name&&e.length&&"text"===e[0].type&&this.options.setTitle&&$({title:e[0].text}),void n.pop();if(t.pre&&2!==this.pre){this.pre=t.pre=void 0;for(let t=this.stack.length;t--;)this.stack[t].pre&&(this.pre=1)}const a={};if("svg"===t.name){if(this.xml>1)return void this.xml--;let e="";const i=s.style;return s.style="",s.xmlns="http://www.w3.org/2000/svg",function t(s){if("text"===s.type)return void(e+=s.text);const i=z.svgDict[s.name]||s.name;e+="<"+i;for(const n in s.attrs){const t=s.attrs[n];t&&(e+=` ${z.svgDict[n]||n}="${t}"`)}if(s.children){e+=">";for(let e=0;e"}else e+="/>"}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+e.replace(/#/g,"%23"),style:i,ignore:"T"},t.children=void 0,void(this.xml=!1)}if(s.align&&("table"===t.name?"center"===s.align?a["margin-inline-start"]=a["margin-inline-end"]="auto":a.float=s.align:a["text-align"]=s.align,s.align=void 0),s.dir&&(a.direction=s.dir,s.dir=void 0),"font"===t.name&&(s.color&&(a.color=s.color,s.color=void 0),s.face&&(a["font-family"]=s.face,s.face=void 0),s.size)){let t=parseInt(s.size);isNaN(t)||(t<1?t=1:t>7&&(t=7),a["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][t-1]),s.size=void 0}if((s.class||"").includes("align-center")&&(a["text-align"]="center"),Object.assign(a,this.parseStyle(t)),"table"!==t.name&&parseInt(a.width)>B&&(a["max-width"]="100%",a["box-sizing"]="border-box"),z.blockTags[t.name]?t.name="div":z.trustTags[t.name]||this.xml||(t.name="span"),"a"===t.name||"ad"===t.name||"iframe"===t.name)this.expose();else if("video"===t.name)(a.height||"").includes("auto")&&(a.height=void 0);else if("ul"!==t.name&&"ol"!==t.name||!t.c){if("table"===t.name){let i=parseFloat(s.cellpadding),n=parseFloat(s.cellspacing);const r=parseFloat(s.border),o=a["border-color"],l=a["border-style"];if(t.c&&(isNaN(i)&&(i=2),isNaN(n)&&(n=2)),r&&(s.style+=`;border:${r}px ${l||"solid"} ${o||"gray"}`),t.flag&&t.c){a.display="grid",n?(a["grid-gap"]=n+"px",a.padding=n+"px"):r&&(s.style+=";border-left:0;border-top:0");const h=[],c=[],d=[],p={};!function t(s){for(let e=0;e=50&&t.c&&!(a.display||"").includes("flex")&&P(e);for(const o in a)if(a[o]){const e=`;${o}:${a[o].replace(" !important","")}`;r&&(o.includes("flex")&&"flex-direction"!==o||"align-self"===o||o.includes("grid")||"-"===a[o][0]||o.includes("width")&&e.includes("%"))?(t.f+=e,"width"===o&&(s.style+=";width:100%")):s.style+=e}s.style=s.style.substr(1)||void 0},U.prototype.onText=function(t){if(!this.pre){let s,e="";for(let i=0,n=t.length;i"===this.content[this.i]||s&&">"===this.content[this.i+1])&&(t&&this.handler[t](this.content.substring(this.start,this.i)),this.i+=s?2:1,this.start=this.i,this.handler.onOpenTag(s),"script"===this.handler.tagName?(this.i=this.content.indexOf("="a"&&t<="z"||t>="A"&&t<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===t||"!"===t||"?"===t){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));const s=this.content[this.i+2];if("/"===t&&(s>="a"&&s<="z"||s>="A"&&s<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);let e="--\x3e";"!"===t&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(e=">"),this.i=this.content.indexOf(e,this.i),-1!==this.i&&(this.i+=e.length,this.start=this.i)}else this.i++},M.prototype.tagName=function(){if(V[this.content[this.i]]){for(this.handler.onTagName(this.content.substring(this.start,this.i));V[this.content[++this.i]];);this.i"===t||"/"===t){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==t&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};const G=[];const Z=S({name:"u-parse",data:()=>({nodes:[]}),props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgtap","linktap","play","error"],components:{node:A},watch:{content(t){this.setContent(t)}},created(){this.plugins=[];for(let t=G.length;t--;)this.plugins.push(new G[t](this))},mounted(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy(){this._hook("onDetached")},methods:{in(t,s,e){t&&s&&e&&(this._in={page:t,selector:s,scrollTop:e})},navigateTo(t,s){return new Promise(((e,i)=>{if(!this.useAnchor)return void i(Error("Anchor is disabled"));s=s||parseInt(this.useAnchor)||0;const n=N().in(this._in?this._in.page:this).select((this._in?this._in.selector:"._root")+(t?` #${t}`:"")).boundingClientRect();this._in?n.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():n.selectViewport().scrollOffset(),n.exec((t=>{if(!t[0])return void i(Error("Label not found"));const n=t[1].scrollTop+t[0].top-(t[2]?t[2].top:0)+s;this._in?this._in.page[this._in.scrollTop]=n:L({scrollTop:n,duration:300}),e()}))}))},getText(t){let s="";return function t(e){for(let i=0;i"0"&&n.name[1]<"7";e&&s&&"\n"!==s[s.length-1]&&(s+="\n"),n.children&&t(n.children),e&&"\n"!==s[s.length-1]?s+="\n":"td"!==n.name&&"th"!==n.name||(s+="\t")}}}(t||this.nodes),s},getRect(){return new Promise(((t,s)=>{N().in(this).select("#_root").boundingClientRect().exec((e=>e[0]?t(e[0]):s(Error("Root label not found"))))}))},pauseMedia(){for(let t=(this._videos||[]).length;t--;)this._videos[t].pause()},setPlaybackRate(t){this.playbackRate=t;for(let s=(this._videos||[]).length;s--;)this._videos[s].playbackRate(t)},setContent(t,s){s&&this.imgList||(this.imgList=[]);const e=new U(this).parse(t);if(this.$set(this,"nodes",s?(this.nodes||[]).concat(e):e),this._videos=[],this.$nextTick((()=>{this._hook("onLoad"),this.$emit("load")})),this.lazyLoad||this.imgList._unloadimgs{e&&e.height||(e={}),e.height===t?this.$emit("ready",e):(t=e.height,setTimeout((()=>{this.getRect().then(s).catch(s)}),350))};this.getRect().then(s).catch(s)}else this.imgList._unloadimgs||this.getRect().then((t=>{this.$emit("ready",t)})).catch((()=>{this.$emit("ready",{})}))},_hook(t){for(let s=G.length;s--;)this.plugins[s][t]&&this.plugins[s][t]()}}},[["render",function(t,s,e,i,n,h){const c=a("node"),d=v;return r(),o(d,{id:"_root",class:g((e.selectable?"_select ":"")+"_root"),style:p(e.containerStyle)},{default:l((()=>[n.nodes[0]?(r(),o(c,{key:1,childs:n.nodes,opts:[e.lazyLoad,e.loadingImg,e.errorImg,e.showImgMenu,e.selectable],name:"span"},null,8,["childs","opts"])):O(t.$slots,"default",{key:0},void 0,!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-223c9678"]]);export{Z as _}; diff --git a/niucloud/public/wap/assets/u-popup.8a491625.js b/niucloud/public/wap/assets/u-popup.94ffd479.js similarity index 65% rename from niucloud/public/wap/assets/u-popup.8a491625.js rename to niucloud/public/wap/assets/u-popup.94ffd479.js index 68f0097b0..b4fe33960 100644 --- a/niucloud/public/wap/assets/u-popup.8a491625.js +++ b/niucloud/public/wap/assets/u-popup.94ffd479.js @@ -1 +1 @@ -import{_ as t}from"./u-transition.a952a64b.js";import{y as e,z as o,A as s,p as a,q as i,h as n,i as r,w as l,C as u,n as d,t as p,m as c,j as y,G as m,F as h}from"./index-15eacd31.js";import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as g}from"./u-icon.f5369555.js";import{_ as b}from"./u-safe-bottom.593b5cec.js";const v=f({name:"u-overlay",mixins:[o,s,{props:{show:{type:Boolean,default:e.overlay.show},zIndex:{type:[String,Number],default:e.overlay.zIndex},duration:{type:[String,Number],default:e.overlay.duration},opacity:{type:[String,Number],default:e.overlay.opacity}}}],computed:{overlayStyle(){const t={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},methods:{clickHandler(){this.$emit("click")}}},[["render",function(e,o,s,d,p,c){const y=a(i("u-transition"),t);return n(),r(y,{show:e.show,"custom-class":"u-overlay",duration:e.duration,"custom-style":c.overlayStyle,onClick:c.clickHandler},{default:l((()=>[u(e.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick"])}],["__scopeId","data-v-1ce16a4a"]]);const _=f({name:"u-status-bar",mixins:[o,s,{props:{bgColor:{type:String,default:e.statusBar.bgColor}}}],data:()=>({}),computed:{style(){const t={};return t.height=uni.$u.addUnit(uni.$u.sys().statusBarHeight,"px"),t.backgroundColor=this.bgColor,uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}}},[["render",function(t,e,o,s,a,i){const c=p;return n(),r(c,{style:d([i.style]),class:"u-status-bar"},{default:l((()=>[u(t.$slots,"default",{},void 0,!0)])),_:3},8,["style"])}],["__scopeId","data-v-df170e56"]]);const S=f({name:"u-popup",mixins:[o,s,{props:{show:{type:Boolean,default:e.popup.show},overlay:{type:Boolean,default:e.popup.overlay},mode:{type:String,default:e.popup.mode},duration:{type:[String,Number],default:e.popup.duration},closeable:{type:Boolean,default:e.popup.closeable},overlayStyle:{type:[Object,String],default:e.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:e.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:e.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:e.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:e.popup.safeAreaInsetTop},closeIconPos:{type:String,default:e.popup.closeIconPos},round:{type:[Boolean,String,Number],default:e.popup.round},zoom:{type:Boolean,default:e.popup.zoom},bgColor:{type:String,default:e.popup.bgColor},overlayOpacity:{type:[Number,String],default:e.popup.overlayOpacity}}}],data(){return{overlayDuration:this.duration+50}},watch:{show(t,e){}},computed:{transitionStyle(){const t={zIndex:this.zIndex,position:"fixed",display:"flex"};return t[this.mode]=0,"left"===this.mode||"right"===this.mode?uni.$u.deepMerge(t,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?uni.$u.deepMerge(t,{left:0,right:0}):"center"===this.mode?uni.$u.deepMerge(t,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const t={};if(uni.$u.sys(),"center"!==this.mode&&(t.flex=1),this.bgColor&&(t.backgroundColor=this.bgColor),this.round){const e=uni.$u.addUnit(this.round);"top"===this.mode?(t.borderBottomLeftRadius=e,t.borderBottomRightRadius=e):"bottom"===this.mode?(t.borderTopLeftRadius=e,t.borderTopRightRadius=e):"center"===this.mode&&(t.borderRadius=e)}return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},methods:{overlayClick(){this.closeOnClickOverlay&&this.$emit("close")},close(t){this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},[["render",function(e,o,s,f,S,k){const C=a(i("u-overlay"),v),$=a(i("u-status-bar"),_),I=a(i("u-icon"),g),x=p,w=a(i("u-safe-bottom"),b),B=a(i("u-transition"),t);return n(),r(x,{class:"u-popup"},{default:l((()=>[e.overlay?(n(),r(C,{key:0,show:e.show,onClick:k.overlayClick,duration:S.overlayDuration,customStyle:e.overlayStyle,opacity:e.overlayOpacity},null,8,["show","onClick","duration","customStyle","opacity"])):c("",!0),y(B,{show:e.show,customStyle:k.transitionStyle,mode:k.position,duration:e.duration,onAfterEnter:k.afterEnter,onClick:k.clickHandler},{default:l((()=>[y(x,{class:"u-popup__content",style:d([k.contentStyle]),onClick:m(e.noop,["stop"])},{default:l((()=>[e.safeAreaInsetTop?(n(),r($,{key:0})):c("",!0),u(e.$slots,"default",{},void 0,!0),e.closeable?(n(),r(x,{key:1,onClick:m(k.close,["stop"]),class:h(["u-popup__content__close",["u-popup__content__close--"+e.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},{default:l((()=>[y(I,{name:"close",color:"#909399",size:"18",bold:""})])),_:1},8,["onClick","class"])):c("",!0),e.safeAreaInsetBottom?(n(),r(w,{key:2})):c("",!0)])),_:3},8,["style","onClick"])])),_:3},8,["show","customStyle","mode","duration","onAfterEnter","onClick"])])),_:3})}],["__scopeId","data-v-ca966c1e"]]);export{S as _}; +import{_ as t}from"./u-transition.4588f416.js";import{V as e,W as o,X as s,q as a,t as i,i as r,j as n,w as l,T as u,p as d,x as p,m as c,k as y,J as m,I as f}from"./index-59b72094.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as v}from"./u-icon.4046c188.js";import{_ as g}from"./u-safe-bottom.1b1ffd7b.js";const b=h({name:"u-overlay",mixins:[o,s,{props:{show:{type:Boolean,default:e.overlay.show},zIndex:{type:[String,Number],default:e.overlay.zIndex},duration:{type:[String,Number],default:e.overlay.duration},opacity:{type:[String,Number],default:e.overlay.opacity}}}],computed:{overlayStyle(){const t={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},methods:{clickHandler(){this.$emit("click")}}},[["render",function(e,o,s,d,p,c){const y=a(i("u-transition"),t);return r(),n(y,{show:e.show,"custom-class":"u-overlay",duration:e.duration,"custom-style":c.overlayStyle,onClick:c.clickHandler},{default:l((()=>[u(e.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick"])}],["__scopeId","data-v-1ce16a4a"]]);const _=h({name:"u-status-bar",mixins:[o,s,{props:{bgColor:{type:String,default:e.statusBar.bgColor}}}],data:()=>({}),computed:{style(){const t={};return t.height=uni.$u.addUnit(uni.$u.sys().statusBarHeight,"px"),t.backgroundColor=this.bgColor,uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}}},[["render",function(t,e,o,s,a,i){const c=p;return r(),n(c,{style:d([i.style]),class:"u-status-bar"},{default:l((()=>[u(t.$slots,"default",{},void 0,!0)])),_:3},8,["style"])}],["__scopeId","data-v-df170e56"]]);const S=h({name:"u-popup",mixins:[o,s,{props:{show:{type:Boolean,default:e.popup.show},overlay:{type:Boolean,default:e.popup.overlay},mode:{type:String,default:e.popup.mode},duration:{type:[String,Number],default:e.popup.duration},closeable:{type:Boolean,default:e.popup.closeable},overlayStyle:{type:[Object,String],default:e.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:e.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:e.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:e.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:e.popup.safeAreaInsetTop},closeIconPos:{type:String,default:e.popup.closeIconPos},round:{type:[Boolean,String,Number],default:e.popup.round},zoom:{type:Boolean,default:e.popup.zoom},bgColor:{type:String,default:e.popup.bgColor},overlayOpacity:{type:[Number,String],default:e.popup.overlayOpacity}}}],data(){return{overlayDuration:this.duration+50}},watch:{show(t,e){}},computed:{transitionStyle(){const t={zIndex:this.zIndex,position:"fixed",display:"flex"};return t[this.mode]=0,"left"===this.mode||"right"===this.mode?uni.$u.deepMerge(t,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?uni.$u.deepMerge(t,{left:0,right:0}):"center"===this.mode?uni.$u.deepMerge(t,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const t={};if(uni.$u.sys(),"center"!==this.mode&&(t.flex=1),this.bgColor&&(t.backgroundColor=this.bgColor),this.round){const e=uni.$u.addUnit(this.round);"top"===this.mode?(t.borderBottomLeftRadius=e,t.borderBottomRightRadius=e):"bottom"===this.mode?(t.borderTopLeftRadius=e,t.borderTopRightRadius=e):"center"===this.mode&&(t.borderRadius=e)}return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},methods:{overlayClick(){this.closeOnClickOverlay&&this.$emit("close")},close(t){this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},[["render",function(e,o,s,h,S,k){const C=a(i("u-overlay"),b),I=a(i("u-status-bar"),_),$=a(i("u-icon"),v),x=p,w=a(i("u-safe-bottom"),g),B=a(i("u-transition"),t);return r(),n(x,{class:"u-popup"},{default:l((()=>[e.overlay?(r(),n(C,{key:0,show:e.show,onClick:k.overlayClick,duration:S.overlayDuration,customStyle:e.overlayStyle,opacity:e.overlayOpacity},null,8,["show","onClick","duration","customStyle","opacity"])):c("v-if",!0),y(B,{show:e.show,customStyle:k.transitionStyle,mode:k.position,duration:e.duration,onAfterEnter:k.afterEnter,onClick:k.clickHandler},{default:l((()=>[y(x,{class:"u-popup__content",style:d([k.contentStyle]),onClick:m(e.noop,["stop"])},{default:l((()=>[e.safeAreaInsetTop?(r(),n(I,{key:0})):c("v-if",!0),u(e.$slots,"default",{},void 0,!0),e.closeable?(r(),n(x,{key:1,onClick:m(k.close,["stop"]),class:f(["u-popup__content__close",["u-popup__content__close--"+e.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},{default:l((()=>[y($,{name:"close",color:"#909399",size:"18",bold:""})])),_:1},8,["onClick","class"])):c("v-if",!0),e.safeAreaInsetBottom?(r(),n(w,{key:2})):c("v-if",!0)])),_:3},8,["style","onClick"])])),_:3},8,["show","customStyle","mode","duration","onAfterEnter","onClick"])])),_:3})}],["__scopeId","data-v-ca966c1e"]]);export{S as _}; diff --git a/niucloud/public/wap/assets/u-safe-bottom.1b1ffd7b.js b/niucloud/public/wap/assets/u-safe-bottom.1b1ffd7b.js new file mode 100644 index 000000000..2d92d1424 --- /dev/null +++ b/niucloud/public/wap/assets/u-safe-bottom.1b1ffd7b.js @@ -0,0 +1 @@ +import{W as e,X as s,i as t,j as a,I as o,p as u,x as r}from"./index-59b72094.js";import{_ as n}from"./_plugin-vue_export-helper.1b428a4d.js";const i=n({name:"u-safe-bottom",mixins:[e,s,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return uni.$u.deepMerge({},uni.$u.addStyle(this.customStyle))}},mounted(){}},[["render",function(e,s,n,i,m,l){const p=r;return t(),a(p,{class:o(["u-safe-bottom",[!m.isNvue&&"u-safe-area-inset-bottom"]]),style:u([l.style])},null,8,["style","class"])}],["__scopeId","data-v-6e02536d"]]);export{i as _}; diff --git a/niucloud/public/wap/assets/u-safe-bottom.593b5cec.js b/niucloud/public/wap/assets/u-safe-bottom.593b5cec.js deleted file mode 100644 index c5451f5d9..000000000 --- a/niucloud/public/wap/assets/u-safe-bottom.593b5cec.js +++ /dev/null @@ -1 +0,0 @@ -import{z as e,A as s,h as t,i as a,F as o,n as u,t as n}from"./index-15eacd31.js";import{_ as r}from"./_plugin-vue_export-helper.1b428a4d.js";const i=r({name:"u-safe-bottom",mixins:[e,s,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return uni.$u.deepMerge({},uni.$u.addStyle(this.customStyle))}},mounted(){}},[["render",function(e,s,r,i,m,l){const d=n;return t(),a(d,{class:o(["u-safe-bottom",[!m.isNvue&&"u-safe-area-inset-bottom"]]),style:u([l.style])},null,8,["style","class"])}],["__scopeId","data-v-6e02536d"]]);export{i as _}; diff --git a/niucloud/public/wap/assets/u-transition-607b6047.css b/niucloud/public/wap/assets/u-transition-607b6047.css deleted file mode 100644 index a38259670..000000000 --- a/niucloud/public/wap/assets/u-transition-607b6047.css +++ /dev/null @@ -1 +0,0 @@ -uni-view[data-v-159cf890],uni-scroll-view[data-v-159cf890],uni-swiper-item[data-v-159cf890]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-fade-enter-active[data-v-159cf890],.u-fade-leave-active[data-v-159cf890]{transition-property:opacity}.u-fade-enter[data-v-159cf890],.u-fade-leave-to[data-v-159cf890]{opacity:0}.u-fade-zoom-enter[data-v-159cf890],.u-fade-zoom-leave-to[data-v-159cf890]{transform:scale(.95);opacity:0}.u-fade-zoom-enter-active[data-v-159cf890],.u-fade-zoom-leave-active[data-v-159cf890]{transition-property:transform,opacity}.u-fade-down-enter-active[data-v-159cf890],.u-fade-down-leave-active[data-v-159cf890],.u-fade-left-enter-active[data-v-159cf890],.u-fade-left-leave-active[data-v-159cf890],.u-fade-right-enter-active[data-v-159cf890],.u-fade-right-leave-active[data-v-159cf890],.u-fade-up-enter-active[data-v-159cf890],.u-fade-up-leave-active[data-v-159cf890]{transition-property:opacity,transform}.u-fade-up-enter[data-v-159cf890],.u-fade-up-leave-to[data-v-159cf890]{transform:translate3d(0,100%,0);opacity:0}.u-fade-down-enter[data-v-159cf890],.u-fade-down-leave-to[data-v-159cf890]{transform:translate3d(0,-100%,0);opacity:0}.u-fade-left-enter[data-v-159cf890],.u-fade-left-leave-to[data-v-159cf890]{transform:translate3d(-100%,0,0);opacity:0}.u-fade-right-enter[data-v-159cf890],.u-fade-right-leave-to[data-v-159cf890]{transform:translate3d(100%,0,0);opacity:0}.u-slide-down-enter-active[data-v-159cf890],.u-slide-down-leave-active[data-v-159cf890],.u-slide-left-enter-active[data-v-159cf890],.u-slide-left-leave-active[data-v-159cf890],.u-slide-right-enter-active[data-v-159cf890],.u-slide-right-leave-active[data-v-159cf890],.u-slide-up-enter-active[data-v-159cf890],.u-slide-up-leave-active[data-v-159cf890]{transition-property:transform}.u-slide-up-enter[data-v-159cf890],.u-slide-up-leave-to[data-v-159cf890]{transform:translate3d(0,100%,0)}.u-slide-down-enter[data-v-159cf890],.u-slide-down-leave-to[data-v-159cf890]{transform:translate3d(0,-100%,0)}.u-slide-left-enter[data-v-159cf890],.u-slide-left-leave-to[data-v-159cf890]{transform:translate3d(-100%,0,0)}.u-slide-right-enter[data-v-159cf890],.u-slide-right-leave-to[data-v-159cf890]{transform:translate3d(100%,0,0)}.u-zoom-enter-active[data-v-159cf890],.u-zoom-leave-active[data-v-159cf890]{transition-property:transform}.u-zoom-enter[data-v-159cf890],.u-zoom-leave-to[data-v-159cf890]{transform:scale(.95)} diff --git a/niucloud/public/wap/assets/u-transition-e532dbd1.css b/niucloud/public/wap/assets/u-transition-e532dbd1.css new file mode 100644 index 000000000..61443be4d --- /dev/null +++ b/niucloud/public/wap/assets/u-transition-e532dbd1.css @@ -0,0 +1 @@ +uni-view[data-v-bb806228],uni-scroll-view[data-v-bb806228],uni-swiper-item[data-v-bb806228]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-fade-enter-active[data-v-bb806228],.u-fade-leave-active[data-v-bb806228]{transition-property:opacity}.u-fade-enter[data-v-bb806228],.u-fade-leave-to[data-v-bb806228]{opacity:0}.u-fade-zoom-enter[data-v-bb806228],.u-fade-zoom-leave-to[data-v-bb806228]{transform:scale(.95);opacity:0}.u-fade-zoom-enter-active[data-v-bb806228],.u-fade-zoom-leave-active[data-v-bb806228]{transition-property:transform,opacity}.u-fade-down-enter-active[data-v-bb806228],.u-fade-down-leave-active[data-v-bb806228],.u-fade-left-enter-active[data-v-bb806228],.u-fade-left-leave-active[data-v-bb806228],.u-fade-right-enter-active[data-v-bb806228],.u-fade-right-leave-active[data-v-bb806228],.u-fade-up-enter-active[data-v-bb806228],.u-fade-up-leave-active[data-v-bb806228]{transition-property:opacity,transform}.u-fade-up-enter[data-v-bb806228],.u-fade-up-leave-to[data-v-bb806228]{transform:translate3d(0,100%,0);opacity:0}.u-fade-down-enter[data-v-bb806228],.u-fade-down-leave-to[data-v-bb806228]{transform:translate3d(0,-100%,0);opacity:0}.u-fade-left-enter[data-v-bb806228],.u-fade-left-leave-to[data-v-bb806228]{transform:translate3d(-100%,0,0);opacity:0}.u-fade-right-enter[data-v-bb806228],.u-fade-right-leave-to[data-v-bb806228]{transform:translate3d(100%,0,0);opacity:0}.u-slide-down-enter-active[data-v-bb806228],.u-slide-down-leave-active[data-v-bb806228],.u-slide-left-enter-active[data-v-bb806228],.u-slide-left-leave-active[data-v-bb806228],.u-slide-right-enter-active[data-v-bb806228],.u-slide-right-leave-active[data-v-bb806228],.u-slide-up-enter-active[data-v-bb806228],.u-slide-up-leave-active[data-v-bb806228]{transition-property:transform}.u-slide-up-enter[data-v-bb806228],.u-slide-up-leave-to[data-v-bb806228]{transform:translate3d(0,100%,0)}.u-slide-down-enter[data-v-bb806228],.u-slide-down-leave-to[data-v-bb806228]{transform:translate3d(0,-100%,0)}.u-slide-left-enter[data-v-bb806228],.u-slide-left-leave-to[data-v-bb806228]{transform:translate3d(-100%,0,0)}.u-slide-right-enter[data-v-bb806228],.u-slide-right-leave-to[data-v-bb806228]{transform:translate3d(100%,0,0)}.u-zoom-enter-active[data-v-bb806228],.u-zoom-leave-active[data-v-bb806228]{transition-property:transform}.u-zoom-enter[data-v-bb806228],.u-zoom-leave-to[data-v-bb806228]{transform:scale(.95)} diff --git a/niucloud/public/wap/assets/u-transition.4588f416.js b/niucloud/public/wap/assets/u-transition.4588f416.js new file mode 100644 index 000000000..2fa4ced44 --- /dev/null +++ b/niucloud/public/wap/assets/u-transition.4588f416.js @@ -0,0 +1 @@ +import{V as t,aJ as e,W as i,X as s,i as n,j as a,w as o,T as r,I as l,p as u,m as d,x as h}from"./index-59b72094.js";import{_ as c}from"./_plugin-vue_export-helper.1b428a4d.js";const m={props:{show:{type:Boolean,default:t.transition.show},mode:{type:String,default:t.transition.mode},duration:{type:[String,Number],default:t.transition.duration},timingFunction:{type:String,default:t.transition.timingFunction}}},v=t=>({enter:`u-${t}-enter u-${t}-enter-active`,"enter-to":`u-${t}-enter-to u-${t}-enter-active`,leave:`u-${t}-leave u-${t}-leave-active`,"leave-to":`u-${t}-leave-to u-${t}-leave-active`});const p=c({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:t,customStyle:e}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...uni.$u.addStyle(e),...t}}},mixins:[i,s,{methods:{clickHandler(){this.$emit("click")},async vueEnter(){const t=v(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,await e(),await uni.$u.sleep(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=t["enter-to"]},async vueLeave(){if(!this.display)return;const t=v(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,await e(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=t["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},m],watch:{show:{handler(t){t?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(t,e,i,s,c,m){const v=h;return c.inited?(n(),a(v,{key:0,class:l(["u-transition",c.classes]),ref:"u-transition",onClick:t.clickHandler,style:u([m.mergeStyle]),onTouchmove:t.noop},{default:o((()=>[r(t.$slots,"default",{},void 0,!0)])),_:3},8,["onClick","class","style","onTouchmove"])):d("v-if",!0)}],["__scopeId","data-v-bb806228"]]);export{p as _}; diff --git a/niucloud/public/wap/assets/u-transition.a952a64b.js b/niucloud/public/wap/assets/u-transition.a952a64b.js deleted file mode 100644 index 776114a71..000000000 --- a/niucloud/public/wap/assets/u-transition.a952a64b.js +++ /dev/null @@ -1 +0,0 @@ -import{y as t,z as e,A as i,h as s,i as n,w as a,C as o,F as r,n as l,m as u,t as d}from"./index-15eacd31.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";const c={props:{show:{type:Boolean,default:t.transition.show},mode:{type:String,default:t.transition.mode},duration:{type:[String,Number],default:t.transition.duration},timingFunction:{type:String,default:t.transition.timingFunction}}},m=t=>({enter:`u-${t}-enter u-${t}-enter-active`,"enter-to":`u-${t}-enter-to u-${t}-enter-active`,leave:`u-${t}-leave u-${t}-leave-active`,"leave-to":`u-${t}-leave-to u-${t}-leave-active`});const v=h({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),computed:{mergeStyle(){const{viewStyle:t,customStyle:e}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...uni.$u.addStyle(e),...t}}},mixins:[e,i,{methods:{clickHandler(){this.$emit("click")},vueEnter(){const t=m(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,this.$nextTick((async()=>{await uni.$u.sleep(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=t["enter-to"]}))},vueLeave(){if(!this.display)return;const t=m(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,this.$nextTick((()=>{this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=t["leave-to"]}))},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},c],watch:{show:{handler(t){t?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(t,e,i,h,c,m){const v=d;return c.inited?(s(),n(v,{key:0,class:r(["u-transition",c.classes]),ref:"u-transition",onClick:t.clickHandler,style:l([m.mergeStyle]),onTouchmove:t.noop},{default:a((()=>[o(t.$slots,"default",{},void 0,!0)])),_:3},8,["onClick","class","style","onTouchmove"])):u("",!0)}],["__scopeId","data-v-159cf890"]]);export{v as _}; diff --git a/niucloud/public/wap/assets/uni.3780cb7f.css b/niucloud/public/wap/assets/uni.3780cb7f.css new file mode 100644 index 000000000..6f3b662a0 --- /dev/null +++ b/niucloud/public/wap/assets/uni.3780cb7f.css @@ -0,0 +1 @@ +uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-text[selectable]{cursor:auto;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-all;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;background-color:#000;display:inline-block;position:absolute;top:0;left:0;overflow:hidden;object-position:inherit}.uni-video-container.uni-video-type-fullscreen{position:fixed;z-index:999}.uni-video-video{width:100%;height:100%;object-position:inherit}.uni-video-cover{position:absolute;top:0;left:0;bottom:0;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(1,1,1,.5);z-index:1}.uni-video-slots{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.uni-video-cover-play-button{width:40px;height:40px;background-size:50%;background-repeat:no-repeat;background-position:50% 50%;cursor:pointer}.uni-video-cover-duration{color:#fff;font-size:16px;line-height:1;margin-top:10px}.uni-video-bar{height:44px;background-color:rgba(0,0,0,.5);overflow:hidden;position:absolute;bottom:0;right:0;display:flex;align-items:center;padding:0 10px;z-index:0;transform:translateZ(0)}.uni-video-bar.uni-video-bar-full{left:0}.uni-video-controls{display:flex;flex-grow:1;margin:0 8.5px}.uni-video-control-button{width:13px;height:15px;padding:14.5px 12.5px;margin-left:-8.5px;box-sizing:content-box;cursor:pointer}.uni-video-control-button:after{content:"";display:block;width:100%;height:100%;background-size:100%;background-position:50% 50%;background-repeat:no-repeat}.uni-video-control-button.uni-video-control-button-play:after,.uni-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.uni-video-control-button.uni-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.uni-video-current-time,.uni-video-duration{height:14.5px;line-height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;color:#cbcbcb}.uni-video-progress-container{flex-grow:2;position:relative}.uni-video-progress{height:2px;margin:21px 12px;background-color:rgba(255,255,255,.4);position:relative;cursor:pointer}.uni-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;transition:width .1s;background-color:rgba(255,255,255,.8)}.uni-video-ball{width:16px;height:16px;padding:14px;position:absolute;top:-21px;box-sizing:content-box;left:0%;margin-left:-22px}.uni-video-inner{width:100%;height:100%;background-color:#fff;border-radius:50%}.uni-video-danmu-button{white-space:nowrap;line-height:1;padding:2px 10px;border:1px solid #fff;border-radius:5px;font-size:13px;color:#fff;margin:0 8.5px;cursor:pointer}.uni-video-danmu-button.uni-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.uni-video-fullscreen{width:17px;height:17px;padding:8.5px;box-sizing:content-box;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAQRJREFUWAnt1d0NwiAQB/CmS7hHX5zFxLF0Ah2hE/lg7BT4PyMJUj6Oyt299BIioZT7ARYG59wLpTXmoXOMGO/QecxtwyWW4o42AupGALkFdX1MkHxE3Q7jIbQPqNthQogpJoZkMLRlsn/gFMQEk4OoY0oQVUwNoobhQFQwgMxUKFkt0C8+Zy61d8SeR5iHWCLOwF/MCb8Tp//ex3QFsE1HlCfKFUX2OijNFMnPKD7k76YcBoL402Zh8B77+MjlXrVvwfglXA32b0MrRgxCE2nBiEJaMOIQLkYFwsGoQWoYVUgJow4pYD4Weq4ayBqfwDYQmnUK0301kITujuawu65/l2B5A4z3Qe+Ut7EBAAAAAElFTkSuQmCC);background-size:50%;background-position:50% 50%;background-repeat:no-repeat;cursor:pointer}.uni-video-fullscreen.uni-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAABBElEQVRYhcXWwQ3CMAwF0O+qOzAKQzAAl0pMxQQwQhmGKwcERxbgc4lEVdHUbm3zJR8qJemTo6YByS3JO8kjyQbGkHQpkOz4zcmK8YQ0BWDCkOxL+UDKombMYKwfZAkmDGLFhEIsmHCIFpMC0WDSIHOYVEgNkw6pYPIhE5j/QCoYF0g7eEkPYGej+cX82x/l6aIAIOb9CcrajrjFE/IAQGP1IgIRcYVsVs32+vx+nC9nWq6dAZDhOaPHBEDGh54O4w0pa9oxEZBFmCjIBGb6Qh4JMWGiIWpMBkSFyYLMYjIhNUw7N9GQi2aQiLxJHspjV+rl1hFrRp25uV2MRGQRBsAewPUD/HhJVOOuCzwAAAAASUVORK5CYII=)}.uni-video-danmu{position:absolute;top:0;left:0;bottom:0;width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;overflow:visible}.uni-video-danmu-item{line-height:1;position:absolute;color:#fff;white-space:nowrap;left:100%;transform:translate(0);transition-property:left,transform;transition-duration:3s;transition-timing-function:linear}.uni-video-toast{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:5px;background-color:rgba(255,255,255,.8);color:#000;display:none}.uni-video-toast.uni-video-toast-volume{width:100px;height:100px;display:block}.uni-video-toast-volume .uni-video-toast-title{width:100%;font-size:12px;line-height:16px;text-align:center;margin-top:10px;display:block}.uni-video-toast-volume .uni-video-toast-icon{fill:#000;width:50%;height:50%;margin-left:25%;display:block}.uni-video-toast-volume .uni-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.uni-video-toast-volume .uni-video-toast-value>.uni-video-toast-value-content{overflow:hidden}.uni-video-toast-volume-grids{width:80px;height:5px}.uni-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.uni-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.uni-video-toast.uni-video-toast-progress{display:block;background-color:rgba(0,0,0,.8);color:#fff;font-size:14px;line-height:18px;padding:6px}uni-web-view{display:flex}uni-web-view.uni-webview--fullscreen{position:absolute;left:0;right:0;top:0;bottom:0} diff --git a/niucloud/public/wap/assets/uni.48169e01.css b/niucloud/public/wap/assets/uni.48169e01.css deleted file mode 100644 index 628720ac2..000000000 --- a/niucloud/public/wap/assets/uni.48169e01.css +++ /dev/null @@ -1 +0,0 @@ -uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}@media (prefers-color-scheme: dark){uni-button,uni-button[type=default]{color:#d6d6d6;background-color:#343434}.button-hover,.button-hover[type=default]{color:#d6d6d6;background-color:rgba(255,255,255,.1)}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.08)}uni-button[type=primary][plain][disabled]{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}uni-button[type=default][plain]{color:#d6d6d6;border:1px solid #d6d6d6}.button-hover[type=default][plain]{color:rgba(150,150,150,.6);border-color:rgba(150,150,150,.6);background-color:rgba(50,50,50,.2)}uni-button[type=default][plain][disabled]{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.2)}}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}@media (prefers-color-scheme: dark){.uni-picker-view-indicator:before{border-top-color:var(--UI-FG-3)}.uni-picker-view-indicator:after{border-bottom-color:var(--UI-FG-3)}.uni-picker-view-mask{background-image:linear-gradient(180deg,rgba(35,35,35,.95),rgba(35,35,35,.6)),linear-gradient(0deg,rgba(35,35,35,.95),rgba(35,35,35,.6))}}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-text[selectable]{cursor:auto;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-all;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px}@media (prefers-color-scheme: dark){.uni-toast{background-color:#606060;color:var(--UI-FG-0)}}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;background-color:#000;display:inline-block;position:absolute;top:0;left:0;overflow:hidden;object-position:inherit}.uni-video-container.uni-video-type-fullscreen{position:fixed;z-index:999}.uni-video-video{width:100%;height:100%;object-position:inherit}.uni-video-cover{position:absolute;top:0;left:0;bottom:0;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(1,1,1,.5);z-index:1}.uni-video-slots{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.uni-video-cover-play-button{width:40px;height:40px;background-size:50%;background-repeat:no-repeat;background-position:50% 50%;cursor:pointer}.uni-video-cover-duration{color:#fff;font-size:16px;line-height:1;margin-top:10px}.uni-video-bar{height:44px;background-color:rgba(0,0,0,.5);overflow:hidden;position:absolute;bottom:0;right:0;display:flex;align-items:center;padding:0 10px;z-index:0;transform:translateZ(0)}.uni-video-bar.uni-video-bar-full{left:0}.uni-video-controls{display:flex;flex-grow:1;margin:0 8.5px}.uni-video-control-button{width:13px;height:15px;padding:14.5px 12.5px;margin-left:-8.5px;box-sizing:content-box;cursor:pointer}.uni-video-control-button:after{content:"";display:block;width:100%;height:100%;background-size:100%;background-position:50% 50%;background-repeat:no-repeat}.uni-video-control-button.uni-video-control-button-play:after,.uni-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.uni-video-control-button.uni-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.uni-video-current-time,.uni-video-duration{height:14.5px;line-height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;color:#cbcbcb}.uni-video-progress-container{flex-grow:2;position:relative}.uni-video-progress{height:2px;margin:21px 12px;background-color:rgba(255,255,255,.4);position:relative;cursor:pointer}.uni-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;transition:width .1s;background-color:rgba(255,255,255,.8)}.uni-video-ball{width:16px;height:16px;padding:14px;position:absolute;top:-21px;box-sizing:content-box;left:0%;margin-left:-22px}.uni-video-inner{width:100%;height:100%;background-color:#fff;border-radius:50%}.uni-video-danmu-button{white-space:nowrap;line-height:1;padding:2px 10px;border:1px solid #fff;border-radius:5px;font-size:13px;color:#fff;margin:0 8.5px;cursor:pointer}.uni-video-danmu-button.uni-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.uni-video-fullscreen{width:17px;height:17px;padding:8.5px;box-sizing:content-box;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAQRJREFUWAnt1d0NwiAQB/CmS7hHX5zFxLF0Ah2hE/lg7BT4PyMJUj6Oyt299BIioZT7ARYG59wLpTXmoXOMGO/QecxtwyWW4o42AupGALkFdX1MkHxE3Q7jIbQPqNthQogpJoZkMLRlsn/gFMQEk4OoY0oQVUwNoobhQFQwgMxUKFkt0C8+Zy61d8SeR5iHWCLOwF/MCb8Tp//ex3QFsE1HlCfKFUX2OijNFMnPKD7k76YcBoL402Zh8B77+MjlXrVvwfglXA32b0MrRgxCE2nBiEJaMOIQLkYFwsGoQWoYVUgJow4pYD4Weq4ayBqfwDYQmnUK0301kITujuawu65/l2B5A4z3Qe+Ut7EBAAAAAElFTkSuQmCC);background-size:50%;background-position:50% 50%;background-repeat:no-repeat;cursor:pointer}.uni-video-fullscreen.uni-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAABBElEQVRYhcXWwQ3CMAwF0O+qOzAKQzAAl0pMxQQwQhmGKwcERxbgc4lEVdHUbm3zJR8qJemTo6YByS3JO8kjyQbGkHQpkOz4zcmK8YQ0BWDCkOxL+UDKombMYKwfZAkmDGLFhEIsmHCIFpMC0WDSIHOYVEgNkw6pYPIhE5j/QCoYF0g7eEkPYGej+cX82x/l6aIAIOb9CcrajrjFE/IAQGP1IgIRcYVsVs32+vx+nC9nWq6dAZDhOaPHBEDGh54O4w0pa9oxEZBFmCjIBGb6Qh4JMWGiIWpMBkSFyYLMYjIhNUw7N9GQi2aQiLxJHspjV+rl1hFrRp25uV2MRGQRBsAewPUD/HhJVOOuCzwAAAAASUVORK5CYII=)}.uni-video-danmu{position:absolute;top:0;left:0;bottom:0;width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;overflow:visible}.uni-video-danmu-item{line-height:1;position:absolute;color:#fff;white-space:nowrap;left:100%;transform:translate(0);transition-property:left,transform;transition-duration:3s;transition-timing-function:linear}.uni-video-toast{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:5px;background-color:rgba(255,255,255,.8);color:#000;display:none}.uni-video-toast.uni-video-toast-volume{width:100px;height:100px;display:block}.uni-video-toast-volume .uni-video-toast-title{width:100%;font-size:12px;line-height:16px;text-align:center;margin-top:10px;display:block}.uni-video-toast-volume .uni-video-toast-icon{fill:#000;width:50%;height:50%;margin-left:25%;display:block}.uni-video-toast-volume .uni-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.uni-video-toast-volume .uni-video-toast-value>.uni-video-toast-value-content{overflow:hidden}.uni-video-toast-volume-grids{width:80px;height:5px}.uni-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.uni-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.uni-video-toast.uni-video-toast-progress{display:block;background-color:rgba(0,0,0,.8);color:#fff;font-size:14px;line-height:18px;padding:6px}uni-web-view{display:flex}uni-web-view.uni-webview--fullscreen{position:absolute;left:0;right:0;top:0;bottom:0} diff --git a/niucloud/public/wap/assets/useMescroll-4efe1581.css b/niucloud/public/wap/assets/useMescroll-4efe1581.css new file mode 100644 index 000000000..69a568bef --- /dev/null +++ b/niucloud/public/wap/assets/useMescroll-4efe1581.css @@ -0,0 +1 @@ +.mescroll-totop[data-v-8d559268]{z-index:9990;position:fixed!important;right:.625rem;bottom:3.75rem;width:2.25rem;height:auto;border-radius:50%;opacity:0;transition:opacity .5s;margin-bottom:var(--window-bottom)}@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){.mescroll-totop-safearea[data-v-8d559268]{margin-bottom:calc(var(--window-bottom) + constant(safe-area-inset-bottom));margin-bottom:calc(var(--window-bottom) + env(safe-area-inset-bottom))}}.mescroll-totop-in[data-v-8d559268]{opacity:1}.mescroll-totop-out[data-v-8d559268]{opacity:0;pointer-events:none}@keyframes mescrollUpRotate-4108da15{0%{transform:rotate(0)}}.mescroll-body[data-v-4108da15]{position:relative;height:auto;overflow:hidden;box-sizing:border-box}.mescroll-body.mescorll-sticky[data-v-4108da15]{overflow:unset!important}@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){.mescroll-safearea[data-v-4108da15]{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}}.mescroll-downwarp[data-v-4108da15]{position:absolute;top:-100%;left:0;width:100%;height:100%;text-align:center}.mescroll-downwarp .downwarp-content[data-v-4108da15]{position:absolute;left:0;bottom:0;width:100%;min-height:1.875rem;padding:.625rem 0;text-align:center}.mescroll-downwarp .downwarp-tip[data-v-4108da15]{display:inline-block;font-size:.875rem;vertical-align:middle;margin-left:.5rem}.mescroll-downwarp .downwarp-progress[data-v-4108da15]{display:inline-block;width:1rem;height:1rem;border-radius:50%;border:.0625rem solid gray;border-bottom-color:transparent!important;vertical-align:middle}.mescroll-downwarp .mescroll-rotate[data-v-4108da15]{animation:mescrollDownRotate-4108da15 .6s linear infinite}@keyframes mescrollDownRotate-4108da15{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mescroll-upwarp[data-v-4108da15]{box-sizing:border-box;min-height:3.4375rem;padding:.9375rem 0;text-align:center;clear:both}.mescroll-upwarp .upwarp-tip[data-v-4108da15],.mescroll-upwarp .upwarp-nodata[data-v-4108da15]{display:inline-block;font-size:.875rem;vertical-align:middle}.mescroll-upwarp .upwarp-tip[data-v-4108da15]{margin-left:.5rem}.mescroll-upwarp .upwarp-progress[data-v-4108da15]{display:inline-block;width:1rem;height:1rem;border-radius:50%;border:.0625rem solid gray;border-bottom-color:transparent!important;vertical-align:middle}.mescroll-upwarp .mescroll-rotate[data-v-4108da15]{animation:mescrollUpRotate-4108da15 .6s linear infinite}@keyframes mescrollUpRotate-4108da15{to{transform:rotate(360deg)}} diff --git a/niucloud/public/wap/assets/useMescroll-f0734f93.css b/niucloud/public/wap/assets/useMescroll-f0734f93.css deleted file mode 100644 index 468eece3d..000000000 --- a/niucloud/public/wap/assets/useMescroll-f0734f93.css +++ /dev/null @@ -1 +0,0 @@ -.mescroll-totop[data-v-c0bf933e]{z-index:9990;position:fixed!important;right:.625rem;bottom:3.75rem;width:2.25rem;height:auto;border-radius:50%;opacity:0;transition:opacity .5s;margin-bottom:var(--window-bottom)}@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){.mescroll-totop-safearea[data-v-c0bf933e]{margin-bottom:calc(var(--window-bottom) + constant(safe-area-inset-bottom));margin-bottom:calc(var(--window-bottom) + env(safe-area-inset-bottom))}}.mescroll-totop-in[data-v-c0bf933e]{opacity:1}.mescroll-totop-out[data-v-c0bf933e]{opacity:0;pointer-events:none}.mescroll-body[data-v-0e2ab920]{position:relative;height:auto;overflow:hidden;box-sizing:border-box}.mescroll-body.mescorll-sticky[data-v-0e2ab920]{overflow:unset!important}@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){.mescroll-safearea[data-v-0e2ab920]{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}}.mescroll-downwarp[data-v-0e2ab920]{position:absolute;top:-100%;left:0;width:100%;height:100%;text-align:center}.mescroll-downwarp .downwarp-content[data-v-0e2ab920]{position:absolute;left:0;bottom:0;width:100%;min-height:1.875rem;padding:.625rem 0;text-align:center}.mescroll-downwarp .downwarp-tip[data-v-0e2ab920]{display:inline-block;font-size:.875rem;vertical-align:middle;margin-left:.5rem}.mescroll-downwarp .downwarp-progress[data-v-0e2ab920]{display:inline-block;width:1rem;height:1rem;border-radius:50%;border:.0625rem solid gray;border-bottom-color:transparent!important;vertical-align:middle}.mescroll-downwarp .mescroll-rotate[data-v-0e2ab920]{animation:mescrollDownRotate-0e2ab920 .6s linear infinite}@keyframes mescrollDownRotate-0e2ab920{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mescroll-upwarp[data-v-0e2ab920]{box-sizing:border-box;min-height:3.4375rem;padding:.9375rem 0;text-align:center;clear:both}.mescroll-upwarp .upwarp-tip[data-v-0e2ab920],.mescroll-upwarp .upwarp-nodata[data-v-0e2ab920]{display:inline-block;font-size:.875rem;vertical-align:middle}.mescroll-upwarp .upwarp-tip[data-v-0e2ab920]{margin-left:.5rem}.mescroll-upwarp .upwarp-progress[data-v-0e2ab920]{display:inline-block;width:1rem;height:1rem;border-radius:50%;border:.0625rem solid gray;border-bottom-color:transparent!important;vertical-align:middle}.mescroll-upwarp .mescroll-rotate[data-v-0e2ab920]{animation:mescrollUpRotate-0e2ab920 .6s linear infinite}@keyframes mescrollUpRotate-0e2ab920{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/niucloud/public/wap/assets/useMescroll.3e6a9ffa.js b/niucloud/public/wap/assets/useMescroll.3e6a9ffa.js new file mode 100644 index 000000000..852480953 --- /dev/null +++ b/niucloud/public/wap/assets/useMescroll.3e6a9ffa.js @@ -0,0 +1 @@ +import{aY as o,s as t,i as e,j as n,I as s,p as i,m as l,M as r,aH as p,Q as c,R as a,S as h,ar as d,aZ as u,E as w,w as g,k as m,K as f,L as y,T as S,l as D,v as T,x}from"./index-59b72094.js";import{_ as U}from"./_plugin-vue_export-helper.1b428a4d.js";function b(o,t){let e=this;e.version="1.3.7",e.options=o||{},e.isScrollBody=t||!1,e.isDownScrolling=!1,e.isUpScrolling=!1;let n=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){(e.optDown.use||e.optDown.native)&&e.optDown.auto&&n&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.isUpAutoLoad||setTimeout((function(){e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),100)}),30)}b.prototype.extendDownScroll=function(o){b.extend(o,{use:!0,auto:!0,native:!1,autoShowLoading:!1,isLock:!1,offset:80,startTop:100,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",textSuccess:"加载成功",textErr:"加载失败",beforeEndDelay:0,bgColor:"transparent",textColor:"gray",inited:null,inOffset:null,outOffset:null,onMoving:null,beforeLoading:null,showLoading:null,afterLoading:null,beforeEndDownScroll:null,endDownScroll:null,afterEndDownScroll:null,callback:function(o){o.resetUpScroll()}})},b.prototype.extendUpScroll=function(o){b.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:150,textLoading:"加载中 ...",textNoMore:"-- END --",bgColor:"transparent",textColor:"gray",inited:null,showLoading:null,showNoMore:null,hideUpScroll:null,errDistance:60,toTop:{src:null,offset:1e3,duration:300,btnClick:null,onShow:null,zIndex:9990,left:null,right:20,bottom:120,safearea:!1,width:72,radius:"50%"},empty:{use:!0,icon:null,tip:"~ 暂无相关数据 ~",btnText:"",btnClick:null,onShow:null,fixed:!1,top:"100rpx",zIndex:99},onScroll:!1})},b.extend=function(o,t){if(!o)return t;for(let e in t)if(null==o[e]){let n=t[e];o[e]=null!=n&&"object"==typeof n?b.extend({},n):n}else"object"==typeof o[e]&&b.extend(o[e],t[e]);return o},b.prototype.hasColor=function(o){if(!o)return!1;let t=o.toLowerCase();return"#fff"!=t&&"#ffffff"!=t&&"transparent"!=t&&"white"!=t},b.prototype.initDownScroll=function(){let o=this;o.optDown=o.options.down||{},!o.optDown.textColor&&o.hasColor(o.optDown.bgColor)&&(o.optDown.textColor="#fff"),o.extendDownScroll(o.optDown),o.isScrollBody&&o.optDown.native?o.optDown.use=!1:o.optDown.native=!1,o.downHight=0,o.optDown.use&&o.optDown.inited&&setTimeout((function(){o.optDown.inited(o)}),0)},b.prototype.touchstartEvent=function(o){this.optDown.use&&(this.startPoint=this.getPoint(o),this.startTop=this.getScrollTop(),this.startAngle=0,this.lastPoint=this.startPoint,this.maxTouchmoveY=this.getBodyHeight()-this.optDown.bottomOffset,this.inTouchend=!1)},b.prototype.touchmoveEvent=function(o){if(!this.optDown.use)return;let t=this,e=t.getScrollTop(),n=t.getPoint(o);if(n.y-t.startPoint.y>0&&(t.isScrollBody&&e<=0||!t.isScrollBody&&(e<=0||e<=t.optDown.startTop&&e===t.startTop))&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth)){if(t.startAngle||(t.startAngle=t.getAngle(t.lastPoint,n)),t.startAngle0&&n.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();t.preventDefault(o);let e=n.y-t.lastPoint.y;t.downHight0?e*t.optDown.outOffsetRate:e),t.downHight=Math.round(t.downHight);let s=t.downHight/t.optDown.offset;t.optDown.onMoving&&t.optDown.onMoving(t,s,t.downHight)}t.lastPoint=n},b.prototype.touchendEvent=function(o){if(this.optDown.use)if(this.isMoveDown)this.downHight>=this.optDown.offset?this.triggerDownScroll():(this.downHight=0,this.endDownScrollCall(this)),this.movetype=0,this.isMoveDown=!1;else if(!this.isScrollBody&&this.getScrollTop()===this.startTop){if(this.getPoint(o).y-this.startPoint.y<0){this.getAngle(this.getPoint(o),this.startPoint)>80&&this.triggerUpScroll(!0)}}},b.prototype.getPoint=function(o){return o?o.touches&&o.touches[0]?{x:o.touches[0].pageX,y:o.touches[0].pageY}:o.changedTouches&&o.changedTouches[0]?{x:o.changedTouches[0].pageX,y:o.changedTouches[0].pageY}:{x:o.clientX,y:o.clientY}:{x:0,y:0}},b.prototype.getAngle=function(o,t){let e=Math.abs(o.x-t.x),n=Math.abs(o.y-t.y),s=Math.sqrt(e*e+n*n),i=0;return 0!==s&&(i=Math.asin(n/s)/Math.PI*180),i},b.prototype.triggerDownScroll=function(){this.optDown.beforeLoading&&this.optDown.beforeLoading(this)||(this.showDownScroll(),!this.optDown.native&&this.optDown.callback&&this.optDown.callback(this))},b.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.native?(o(),this.showDownLoadingCall(0)):(this.downHight=this.optDown.offset,this.showDownLoadingCall(this.downHight))},b.prototype.showDownLoadingCall=function(o){this.optDown.showLoading&&this.optDown.showLoading(this,o),this.optDown.afterLoading&&this.optDown.afterLoading(this,o)},b.prototype.onPullDownRefresh=function(){this.isDownScrolling=!0,this.showDownLoadingCall(0),this.optDown.callback&&this.optDown.callback(this)},b.prototype.endDownScroll=function(){if(this.optDown.native)return this.isDownScrolling=!1,this.endDownScrollCall(this),void t();let o=this,e=function(){o.downHight=0,o.isDownScrolling=!1,o.endDownScrollCall(o),o.isScrollBody||(o.setScrollHeight(0),o.scrollTo(0,0))},n=0;o.optDown.beforeEndDownScroll&&(n=o.optDown.beforeEndDownScroll(o),null==o.isDownEndSuccess&&(n=0)),"number"==typeof n&&n>0?setTimeout(e,n):e()},b.prototype.endDownScrollCall=function(){this.optDown.endDownScroll&&this.optDown.endDownScroll(this),this.optDown.afterEndDownScroll&&this.optDown.afterEndDownScroll(this)},b.prototype.lockDownScroll=function(o){null==o&&(o=!0),this.optDown.isLock=o},b.prototype.lockUpScroll=function(o){null==o&&(o=!0),this.optUp.isLock=o},b.prototype.initUpScroll=function(){let o=this;o.optUp=o.options.up||{use:!1},!o.optUp.textColor&&o.hasColor(o.optUp.bgColor)&&(o.optUp.textColor="#fff"),o.extendUpScroll(o.optUp),!1!==o.optUp.use&&(o.optUp.hasNext=!0,o.startNum=o.optUp.page.num+1,o.optUp.inited&&setTimeout((function(){o.optUp.inited(o)}),0))},b.prototype.onReachBottom=function(){this.isScrollBody&&!this.isUpScrolling&&!this.optUp.isLock&&this.optUp.hasNext&&this.triggerUpScroll()},b.prototype.onPageScroll=function(o){this.isScrollBody&&(this.setScrollTop(o.scrollTop),o.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn())},b.prototype.scroll=function(o,t){this.setScrollTop(o.scrollTop),this.setScrollHeight(o.scrollHeight),null==this.preScrollY&&(this.preScrollY=0),this.isScrollUp=o.scrollTop-this.preScrollY>0,this.preScrollY=o.scrollTop,this.isScrollUp&&this.triggerUpScroll(!0),o.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn(),this.optUp.onScroll&&t&&t()},b.prototype.triggerUpScroll=function(o){if(!this.isUpScrolling&&this.optUp.use&&this.optUp.callback){if(!0===o){let o=!1;if(!this.optUp.hasNext||this.optUp.isLock||this.isDownScrolling||this.getScrollBottom()<=this.optUp.offset&&(o=!0),!1===o)return}this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.num=this.optUp.page.num,this.size=this.optUp.page.size,this.time=this.optUp.page.time,this.optUp.callback(this)}},b.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.optUp.showLoading&&this.optUp.showLoading(this)},b.prototype.showNoMore=function(){this.optUp.hasNext=!1,this.optUp.showNoMore&&this.optUp.showNoMore(this)},b.prototype.hideUpScroll=function(){this.optUp.hideUpScroll&&this.optUp.hideUpScroll(this)},b.prototype.endUpScroll=function(o){null!=o&&(o?this.showNoMore():this.hideUpScroll()),this.isUpScrolling=!1},b.prototype.resetUpScroll=function(o){if(this.optUp&&this.optUp.use){let t=this.optUp.page;this.prePageNum=t.num,this.prePageTime=t.time,t.num=this.startNum,t.time=null,this.isDownScrolling||!1===o||(null==o?(this.removeEmpty(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.num=t.num,this.size=t.size,this.time=t.time,this.optUp.callback&&this.optUp.callback(this)}},b.prototype.setPageNum=function(o){this.optUp.page.num=o-1},b.prototype.setPageSize=function(o){this.optUp.page.size=o},b.prototype.endByPage=function(o,t,e){let n;this.optUp.use&&null!=t&&(n=this.optUp.page.numo?"number"==typeof o?o+"rpx":o:0,toTopClick(){this.$emit("input",!1),this.$emit("click")}}},[["render",function(o,t,p,c,a,h){const d=r;return h.mOption.src?(e(),n(d,{key:0,class:s(["mescroll-totop",[p.value?"mescroll-totop-in":"mescroll-totop-out",{"mescroll-totop-safearea":h.mOption.safearea}]]),style:i({"z-index":h.mOption.zIndex,left:h.left,right:h.right,bottom:h.addUnit(h.mOption.bottom),width:h.addUnit(h.mOption.width),"border-radius":h.addUnit(h.mOption.radius)}),src:h.mOption.src,mode:"widthFix",onClick:h.toTopClick},null,8,["class","style","src","onClick"])):l("v-if",!0)}],["__scopeId","data-v-8d559268"]]),H={data:()=>({wxsProp:{optDown:{},scrollTop:0,bodyHeight:0,isDownScrolling:!1,isUpScrolling:!1,isScrollBody:!0,isUpBoth:!0,t:0},callProp:{callType:"",t:0}}),methods:{wxsCall(o){"setWxsProp"===o.type?this.wxsProp={optDown:this.mescroll.optDown,scrollTop:this.mescroll.getScrollTop(),bodyHeight:this.mescroll.getBodyHeight(),isDownScrolling:this.mescroll.isDownScrolling,isUpScrolling:this.mescroll.isUpScrolling,isUpBoth:this.mescroll.optUp.isBoth,isScrollBody:this.mescroll.isScrollBody,t:Date.now()}:"setLoadType"===o.type?(this.downLoadType=o.downLoadType,this.$set(this.mescroll,"downLoadType",this.downLoadType),this.$set(this.mescroll,"isDownEndSuccess",null)):"triggerDownScroll"===o.type?this.mescroll.triggerDownScroll():"endDownScroll"===o.type?this.mescroll.endDownScroll():"triggerUpScroll"===o.type&&this.mescroll.triggerUpScroll(!0)}},mounted(){this.mescroll.optDown.afterLoading=()=>{this.callProp={callType:"showLoading",t:Date.now()}},this.mescroll.optDown.afterEndDownScroll=()=>{this.callProp={callType:"endDownScroll",t:Date.now()};let o=300+(this.mescroll.optDown.beforeEndDelay||0);setTimeout((()=>{4!==this.downLoadType&&0!==this.downLoadType||(this.callProp={callType:"clearTransform",t:Date.now()}),this.$set(this.mescroll,"downLoadType",this.downLoadType)}),o)},this.wxsCall({type:"setWxsProp"})}};var P={};function O(o,t){if(P.isMoveDown)P.downHight>=P.optDown.offset?(P.downHight=P.optDown.offset,P.callMethod(t,{type:"triggerDownScroll"})):(P.downHight=0,P.callMethod(t,{type:"endDownScroll"})),P.movetype=0,P.isMoveDown=!1;else if(!P.isScrollBody&&P.getScrollTop()===P.startTop){if(P.getPoint(o).y-P.startPoint.y<0)P.getAngle(P.getPoint(o),P.startPoint)>80&&P.callMethod(t,{type:"triggerUpScroll"})}P.callMethod(t,{type:"setWxsProp"})}P.onMoving=function(o,t,e){o.requestAnimationFrame((function(){o.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"transform",transform:"translateY("+e+"px)",transition:""});var n=o.selectComponent(".mescroll-wxs-progress");n&&n.setStyle({transform:"rotate("+360*t+"deg)"})}))},P.showLoading=function(o){P.downHight=P.optDown.offset,o.requestAnimationFrame((function(){o.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY("+P.downHight+"px)",transition:"transform 300ms"})}))},P.endDownScroll=function(o){P.downHight=0,P.isDownScrolling=!1,o.requestAnimationFrame((function(){o.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY(0)",transition:"transform 300ms"})}))},P.clearTransform=function(o){o.requestAnimationFrame((function(){o.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"",transform:"",transition:""})}))},P.disabled=function(){return!P.optDown||!P.optDown.use||P.optDown.native},P.getPoint=function(o){return o?o.touches&&o.touches[0]?{x:o.touches[0].pageX,y:o.touches[0].pageY}:o.changedTouches&&o.changedTouches[0]?{x:o.changedTouches[0].pageX,y:o.changedTouches[0].pageY}:{x:o.clientX,y:o.clientY}:{x:0,y:0}},P.getAngle=function(o,t){var e=Math.abs(o.x-t.x),n=Math.abs(o.y-t.y),s=Math.sqrt(e*e+n*n),i=0;return 0!==s&&(i=Math.asin(n/s)/Math.PI*180),i},P.getScrollTop=function(){return P.scrollTop||0},P.getBodyHeight=function(){return P.bodyHeight||0},P.callMethod=function(o,t){o&&o.callMethod("wxsCall",t)};const k={propObserver:function(o){P.optDown=o.optDown,P.scrollTop=o.scrollTop,P.bodyHeight=o.bodyHeight,P.isDownScrolling=o.isDownScrolling,P.isUpScrolling=o.isUpScrolling,P.isUpBoth=o.isUpBoth,P.isScrollBody=o.isScrollBody,P.startTop=o.scrollTop},callObserver:function(o,t,e){P.disabled()||o.callType&&("showLoading"===o.callType?P.showLoading(e):"endDownScroll"===o.callType?P.endDownScroll(e):"clearTransform"===o.callType&&P.clearTransform(e))},touchstartEvent:function(o,t){P.downHight=0,P.startPoint=P.getPoint(o),P.startTop=P.getScrollTop(),P.startAngle=0,P.lastPoint=P.startPoint,P.maxTouchmoveY=P.getBodyHeight()-P.optDown.bottomOffset,P.inTouchend=!1,P.callMethod(t,{type:"setWxsProp"})},touchmoveEvent:function(o,t){var e=!0;if(P.disabled())return e;var n=P.getScrollTop(),s=P.getPoint(o);if(s.y-P.startPoint.y>0&&(P.isScrollBody&&n<=0||!P.isScrollBody&&(n<=0||n<=P.optDown.startTop&&n===P.startTop))&&!P.inTouchend&&!P.isDownScrolling&&!P.optDown.isLock&&(!P.isUpScrolling||P.isUpScrolling&&P.isUpBoth)){if(P.startAngle||(P.startAngle=P.getAngle(P.lastPoint,s)),P.startAngle0&&s.y>=P.maxTouchmoveY)return P.inTouchend=!0,O(o,t),e;e=!1;var i=s.y-P.lastPoint.y;P.downHight0?i*P.optDown.outOffsetRate:i),P.downHight=Math.round(P.downHight);var l=P.downHight/P.optDown.offset;P.onMoving(t,l,P.downHight)}return P.lastPoint=s,e},touchendEvent:O},C=o=>{o.$wxs||(o.$wxs=[]),o.$wxs.push("wxsBiz"),o.mixins||(o.mixins=[]),o.mixins.push({beforeCreate(){this.wxsBiz=k}})};var E={};function M(o){E.optDown=o.optDown,E.scrollTop=o.scrollTop,E.isDownScrolling=o.isDownScrolling,E.isUpScrolling=o.isUpScrolling,E.isUpBoth=o.isUpBoth}window&&!window.$mescrollRenderInit&&(window.$mescrollRenderInit=!0,window.addEventListener("touchstart",(function(o){E.disabled()||(E.startPoint=E.getPoint(o))}),{passive:!0}),window.addEventListener("touchmove",(function(o){if(!E.disabled()&&(!(E.getScrollTop()>0)&&E.getPoint(o).y-E.startPoint.y>0&&!E.isDownScrolling&&!E.optDown.isLock&&(!E.isUpScrolling||E.isUpScrolling&&E.isUpBoth))){for(var t=o.target,e=!1;t&&t.tagName&&"UNI-PAGE-BODY"!==t.tagName&&"BODY"!=t.tagName;){var n=t.classList;if(n&&n.contains("mescroll-render-touch")){e=!0;break}t=t.parentNode}e&&o.cancelable&&!o.defaultPrevented&&o.preventDefault()}}),{passive:!1})),E.getScrollTop=function(){return E.scrollTop||0},E.disabled=function(){return!E.optDown||!E.optDown.use||E.optDown.native},E.getPoint=function(o){return o?o.touches&&o.touches[0]?{x:o.touches[0].pageX,y:o.touches[0].pageY}:o.changedTouches&&o.changedTouches[0]?{x:o.changedTouches[0].pageX,y:o.changedTouches[0].pageY}:{x:o.clientX,y:o.clientY}:{x:0,y:0}};const N={mixins:[{data:()=>({propObserver:M})}]},z=o=>{o.$renderjs||(o.$renderjs=[]),o.$renderjs.push("renderBiz"),o.mixins||(o.mixins=[]),o.mixins.push({beforeCreate(){this.renderBiz=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),o.mixins.push(N)},Y={name:"mescroll-body",mixins:[H],components:{MescrollTop:B},props:{down:Object,up:Object,i18n:Object,top:[String,Number],topbar:[Boolean,String],bottom:[String,Number],safearea:Boolean,height:[String,Number],bottombar:{type:Boolean,default:!0},sticky:Boolean},data:()=>({mescroll:{optDown:{},optUp:{}},downHight:0,downRate:0,downLoadType:0,upLoadType:0,isShowEmpty:!1,isShowToTop:!1,windowHeight:0,windowBottom:0,statusBarHeight:0}),computed:{minHeight(){return this.toPx(this.height||"100%")+"px"},numTop(){return this.toPx(this.top)},padTop(){return this.numTop+"px"},numBottom(){return this.toPx(this.bottom)},padBottom(){return this.numBottom+"px"},isDownReset(){return 3===this.downLoadType||4===this.downLoadType},transition(){return this.isDownReset?"transform 300ms":""},translateY(){return this.downHight>0?"translateY("+this.downHight+"px)":""},isDownLoading(){return 3===this.downLoadType},downRotate(){return"rotate("+360*this.downRate+"deg)"},downText(){if(!this.mescroll)return"";switch(this.downLoadType){case 1:default:return this.mescroll.optDown.textInOffset;case 2:return this.mescroll.optDown.textOutOffset;case 3:return this.mescroll.optDown.textLoading;case 4:return this.mescroll.isDownEndSuccess?this.mescroll.optDown.textSuccess:0==this.mescroll.isDownEndSuccess?this.mescroll.optDown.textErr:this.mescroll.optDown.textInOffset}}},methods:{toPx(o){if("string"==typeof o)if(-1!==o.indexOf("px"))if(-1!==o.indexOf("rpx"))o=o.replace("rpx","");else{if(-1===o.indexOf("upx"))return Number(o.replace("px",""));o=o.replace("upx","")}else if(-1!==o.indexOf("%")){let t=Number(o.replace("%",""))/100;return this.windowHeight*t}return o?p(Number(o)):0},emptyClick(){this.$emit("emptyclick",this.mescroll)},toTopClick(){this.mescroll.scrollTo(0,this.mescroll.optUp.toTop.duration),this.$emit("topclick",this.mescroll)}},created(){let o=this,t={down:{inOffset(){o.downLoadType=1},outOffset(){o.downLoadType=2},onMoving(t,e,n){o.downHight=n,o.downRate=e},showLoading(t,e){o.downLoadType=3,o.downHight=e},beforeEndDownScroll:t=>(o.downLoadType=4,t.optDown.beforeEndDelay),endDownScroll(){o.downLoadType=4,o.downHight=0,o.downResetTimer&&(clearTimeout(o.downResetTimer),o.downResetTimer=null),o.downResetTimer=setTimeout((()=>{4===o.downLoadType&&(o.downLoadType=0)}),300)},callback:function(t){o.$emit("down",t)}},up:{showLoading(){o.upLoadType=1},showNoMore(){o.upLoadType=2},hideUpScroll(t){o.upLoadType=t.optUp.hasNext?0:3},empty:{onShow(t){o.isShowEmpty=t}},toTop:{onShow(t){o.isShowToTop=t}},callback:function(t){o.$emit("up",t)}}},e=L.getType(),n={type:e};b.extend(n,o.i18n),b.extend(n,v.i18n),b.extend(t,n[e]),b.extend(t,{down:v.down,up:v.up});let s=JSON.parse(JSON.stringify({down:o.down,up:o.up}));b.extend(s,t),o.mescroll=new b(s,!0),o.mescroll.i18n=n,o.$emit("init",o.mescroll);const i=c();i.windowHeight&&(o.windowHeight=i.windowHeight),i.windowBottom&&(o.windowBottom=i.windowBottom),i.statusBarHeight&&(o.statusBarHeight=i.statusBarHeight),o.mescroll.setBodyHeight(i.windowHeight),o.mescroll.resetScrollTo(((t,e)=>{"string"==typeof t?setTimeout((()=>{let n;-1==t.indexOf("#")&&-1==t.indexOf(".")?n="#"+t:(n=t,-1!=t.indexOf(">>>")&&(n=t.split(">>>")[1].trim())),a().select(n).boundingClientRect((function(t){if(t){let n=t.top;n+=o.mescroll.getScrollTop(),h({scrollTop:n,duration:e})}else console.error(n+" does not exist")})).exec()}),30):h({scrollTop:t,duration:e})})),o.up&&o.up.toTop&&null!=o.up.toTop.safearea||(o.mescroll.optUp.toTop.safearea=o.safearea),d("setMescrollGlobalOption",(t=>{if(!t)return;let e=t.i18n?t.i18n.type:null;if(e&&o.mescroll.i18n.type!=e&&(o.mescroll.i18n.type=e,L.setType(e),b.extend(t,o.mescroll.i18n[e])),t.down){let e=b.extend({},t.down);o.mescroll.optDown=b.extend(e,o.mescroll.optDown)}if(t.up){let e=b.extend({},t.up);o.mescroll.optUp=b.extend(e,o.mescroll.optUp)}}))},destroyed(){u("setMescrollGlobalOption")}};C(Y),z(Y);const A=U(Y,[["render",function(o,t,r,p,c,a){const h=x,d=w("mescroll-empty"),u=w("mescroll-top");return e(),n(h,{class:s(["mescroll-body mescroll-render-touch",{"mescorll-sticky":r.sticky}]),style:i({minHeight:a.minHeight,"padding-top":a.padTop,"padding-bottom":a.padBottom}),onTouchstart:o.wxsBiz.touchstartEvent,onTouchmove:o.wxsBiz.touchmoveEvent,onTouchend:o.wxsBiz.touchendEvent,onTouchcancel:o.wxsBiz.touchendEvent,"change:prop":o.wxsBiz.propObserver,prop:o.wxsProp},{default:g((()=>[l(" 状态栏 "),r.topbar&&c.statusBarHeight?(e(),n(h,{key:0,class:"mescroll-topbar",style:i({height:c.statusBarHeight+"px",background:r.topbar})},null,8,["style"])):l("v-if",!0),m(h,{class:"mescroll-body-content mescroll-wxs-content",style:i({transform:a.translateY,transition:a.transition}),"change:prop":o.wxsBiz.callObserver,prop:o.callProp},{default:g((()=>[l(" 下拉加载区域 (支付宝小程序子组件传参给子子组件仍报单项数据流的异常,暂时不通过mescroll-down组件实现)"),l(' '),c.mescroll.optDown.use?(e(),n(h,{key:0,class:"mescroll-downwarp",style:i({background:c.mescroll.optDown.bgColor,color:c.mescroll.optDown.textColor})},{default:g((()=>[m(h,{class:"downwarp-content"},{default:g((()=>[m(h,{class:s(["downwarp-progress mescroll-wxs-progress",{"mescroll-rotate":a.isDownLoading}]),style:i({"border-color":c.mescroll.optDown.textColor,transform:a.downRotate})},null,8,["class","style"]),m(h,{class:"downwarp-tip"},{default:g((()=>[f(y(a.downText),1)])),_:1})])),_:1})])),_:1},8,["style"])):l("v-if",!0),l(" 列表内容 "),S(o.$slots,"default",{},void 0,!0),l(" 空布局 "),c.isShowEmpty?(e(),n(d,{key:1,option:c.mescroll.optUp.empty,onEmptyclick:a.emptyClick},null,8,["option","onEmptyclick"])):l("v-if",!0),l(" 上拉加载区域 (下拉刷新时不显示, 支付宝小程序子组件传参给子子组件仍报单项数据流的异常,暂时不通过mescroll-up组件实现)"),l(' '),c.mescroll.optUp.use&&!a.isDownLoading&&3!==c.upLoadType?(e(),n(h,{key:2,class:"mescroll-upwarp",style:i({background:c.mescroll.optUp.bgColor,color:c.mescroll.optUp.textColor})},{default:g((()=>[l(" 加载中 (此处不能用v-if,否则android小程序快速上拉可能会不断触发上拉回调) "),D(m(h,null,{default:g((()=>[m(h,{class:"upwarp-progress mescroll-rotate",style:i({"border-color":c.mescroll.optUp.textColor})},null,8,["style"]),m(h,{class:"upwarp-tip"},{default:g((()=>[f(y(c.mescroll.optUp.textLoading),1)])),_:1})])),_:1},512),[[T,1===c.upLoadType]]),l(" 无数据 "),2===c.upLoadType?(e(),n(h,{key:0,class:"upwarp-nodata"},{default:g((()=>[f(y(c.mescroll.optUp.textNoMore),1)])),_:1})):l("v-if",!0)])),_:1},8,["style"])):l("v-if",!0)])),_:3},8,["style","change:prop","prop"]),l(" 底部是否偏移TabBar的高度(默认仅在H5端的tab页生效) "),r.bottombar&&c.windowBottom>0?(e(),n(h,{key:1,class:"mescroll-bottombar",style:i({height:c.windowBottom+"px"})},null,8,["style"])):l("v-if",!0),l(" 适配iPhoneX "),r.safearea?(e(),n(h,{key:2,class:"mescroll-safearea"})):l("v-if",!0),l(" 回到顶部按钮 (fixed元素需写在transform外面,防止降级为absolute)"),m(u,{modelValue:c.isShowToTop,"onUpdate:modelValue":t[0]||(t[0]=o=>c.isShowToTop=o),option:c.mescroll.optUp.toTop,onClick:a.toTopClick},null,8,["modelValue","option","onClick"]),l(" renderjs的数据载体,不可写在mescroll-downwarp内部,避免use为false时,载体丢失,无法更新数据 "),m(h,{"change:prop":o.renderBiz.propObserver,prop:o.wxsProp},null,8,["change:prop","prop"])])),_:3},8,["class","style","onTouchstart","onTouchmove","onTouchend","onTouchcancel","change:prop","prop"])}],["__scopeId","data-v-4108da15"]]);function R(o,t,e){let n=null;return e&&e((()=>{n&&n.onPullDownRefresh()})),o&&o((o=>{n&&n.onPageScroll(o)})),t&&t((()=>{n&&n.onReachBottom()})),{getMescroll:()=>n,mescrollInit:o=>{n=o},downCallback:()=>{n.optUp.use?n.resetUpScroll():setTimeout((()=>{n.endSuccess()}),500)},upCallback:()=>{setTimeout((()=>{n.endErr()}),500)}}}export{v as G,A as M,L as m,R as u}; diff --git a/niucloud/public/wap/assets/useMescroll.fbb7af33.js b/niucloud/public/wap/assets/useMescroll.fbb7af33.js deleted file mode 100644 index af98bcc6d..000000000 --- a/niucloud/public/wap/assets/useMescroll.fbb7af33.js +++ /dev/null @@ -1 +0,0 @@ -import{b0 as t,s as o,h as e,i as n,F as s,n as i,m as l,a1 as r,aK as p,ae as c,af as a,ag as h,av as d,b1 as u,ab as w,w as g,j as m,D as f,E as y,C as S,k as D,v as T,t as x}from"./index-15eacd31.js";import{_ as U}from"./_plugin-vue_export-helper.1b428a4d.js";function b(t,o){let e=this;e.version="1.3.7",e.options=t||{},e.isScrollBody=o||!1,e.isDownScrolling=!1,e.isUpScrolling=!1;let n=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){(e.optDown.use||e.optDown.native)&&e.optDown.auto&&n&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.isUpAutoLoad||setTimeout((function(){e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),100)}),30)}b.prototype.extendDownScroll=function(t){b.extend(t,{use:!0,auto:!0,native:!1,autoShowLoading:!1,isLock:!1,offset:80,startTop:100,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",textSuccess:"加载成功",textErr:"加载失败",beforeEndDelay:0,bgColor:"transparent",textColor:"gray",inited:null,inOffset:null,outOffset:null,onMoving:null,beforeLoading:null,showLoading:null,afterLoading:null,beforeEndDownScroll:null,endDownScroll:null,afterEndDownScroll:null,callback:function(t){t.resetUpScroll()}})},b.prototype.extendUpScroll=function(t){b.extend(t,{use:!0,auto:!0,isLock:!1,isBoth:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:150,textLoading:"加载中 ...",textNoMore:"-- END --",bgColor:"transparent",textColor:"gray",inited:null,showLoading:null,showNoMore:null,hideUpScroll:null,errDistance:60,toTop:{src:null,offset:1e3,duration:300,btnClick:null,onShow:null,zIndex:9990,left:null,right:20,bottom:120,safearea:!1,width:72,radius:"50%"},empty:{use:!0,icon:null,tip:"~ 暂无相关数据 ~",btnText:"",btnClick:null,onShow:null,fixed:!1,top:"100rpx",zIndex:99},onScroll:!1})},b.extend=function(t,o){if(!t)return o;for(let e in o)if(null==t[e]){let n=o[e];t[e]=null!=n&&"object"==typeof n?b.extend({},n):n}else"object"==typeof t[e]&&b.extend(t[e],o[e]);return t},b.prototype.hasColor=function(t){if(!t)return!1;let o=t.toLowerCase();return"#fff"!=o&&"#ffffff"!=o&&"transparent"!=o&&"white"!=o},b.prototype.initDownScroll=function(){let t=this;t.optDown=t.options.down||{},!t.optDown.textColor&&t.hasColor(t.optDown.bgColor)&&(t.optDown.textColor="#fff"),t.extendDownScroll(t.optDown),t.isScrollBody&&t.optDown.native?t.optDown.use=!1:t.optDown.native=!1,t.downHight=0,t.optDown.use&&t.optDown.inited&&setTimeout((function(){t.optDown.inited(t)}),0)},b.prototype.touchstartEvent=function(t){this.optDown.use&&(this.startPoint=this.getPoint(t),this.startTop=this.getScrollTop(),this.startAngle=0,this.lastPoint=this.startPoint,this.maxTouchmoveY=this.getBodyHeight()-this.optDown.bottomOffset,this.inTouchend=!1)},b.prototype.touchmoveEvent=function(t){if(!this.optDown.use)return;let o=this,e=o.getScrollTop(),n=o.getPoint(t);if(n.y-o.startPoint.y>0&&(o.isScrollBody&&e<=0||!o.isScrollBody&&(e<=0||e<=o.optDown.startTop&&e===o.startTop))&&!o.inTouchend&&!o.isDownScrolling&&!o.optDown.isLock&&(!o.isUpScrolling||o.isUpScrolling&&o.optUp.isBoth)){if(o.startAngle||(o.startAngle=o.getAngle(o.lastPoint,n)),o.startAngle0&&n.y>=o.maxTouchmoveY)return o.inTouchend=!0,void o.touchendEvent();o.preventDefault(t);let e=n.y-o.lastPoint.y;o.downHight0?e*o.optDown.outOffsetRate:e),o.downHight=Math.round(o.downHight);let s=o.downHight/o.optDown.offset;o.optDown.onMoving&&o.optDown.onMoving(o,s,o.downHight)}o.lastPoint=n},b.prototype.touchendEvent=function(t){if(this.optDown.use)if(this.isMoveDown)this.downHight>=this.optDown.offset?this.triggerDownScroll():(this.downHight=0,this.endDownScrollCall(this)),this.movetype=0,this.isMoveDown=!1;else if(!this.isScrollBody&&this.getScrollTop()===this.startTop){if(this.getPoint(t).y-this.startPoint.y<0){this.getAngle(this.getPoint(t),this.startPoint)>80&&this.triggerUpScroll(!0)}}},b.prototype.getPoint=function(t){return t?t.touches&&t.touches[0]?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches[0]?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.clientX,y:t.clientY}:{x:0,y:0}},b.prototype.getAngle=function(t,o){let e=Math.abs(t.x-o.x),n=Math.abs(t.y-o.y),s=Math.sqrt(e*e+n*n),i=0;return 0!==s&&(i=Math.asin(n/s)/Math.PI*180),i},b.prototype.triggerDownScroll=function(){this.optDown.beforeLoading&&this.optDown.beforeLoading(this)||(this.showDownScroll(),!this.optDown.native&&this.optDown.callback&&this.optDown.callback(this))},b.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.native?(t(),this.showDownLoadingCall(0)):(this.downHight=this.optDown.offset,this.showDownLoadingCall(this.downHight))},b.prototype.showDownLoadingCall=function(t){this.optDown.showLoading&&this.optDown.showLoading(this,t),this.optDown.afterLoading&&this.optDown.afterLoading(this,t)},b.prototype.onPullDownRefresh=function(){this.isDownScrolling=!0,this.showDownLoadingCall(0),this.optDown.callback&&this.optDown.callback(this)},b.prototype.endDownScroll=function(){if(this.optDown.native)return this.isDownScrolling=!1,this.endDownScrollCall(this),void o();let t=this,e=function(){t.downHight=0,t.isDownScrolling=!1,t.endDownScrollCall(t),t.isScrollBody||(t.setScrollHeight(0),t.scrollTo(0,0))},n=0;t.optDown.beforeEndDownScroll&&(n=t.optDown.beforeEndDownScroll(t),null==t.isDownEndSuccess&&(n=0)),"number"==typeof n&&n>0?setTimeout(e,n):e()},b.prototype.endDownScrollCall=function(){this.optDown.endDownScroll&&this.optDown.endDownScroll(this),this.optDown.afterEndDownScroll&&this.optDown.afterEndDownScroll(this)},b.prototype.lockDownScroll=function(t){null==t&&(t=!0),this.optDown.isLock=t},b.prototype.lockUpScroll=function(t){null==t&&(t=!0),this.optUp.isLock=t},b.prototype.initUpScroll=function(){let t=this;t.optUp=t.options.up||{use:!1},!t.optUp.textColor&&t.hasColor(t.optUp.bgColor)&&(t.optUp.textColor="#fff"),t.extendUpScroll(t.optUp),!1!==t.optUp.use&&(t.optUp.hasNext=!0,t.startNum=t.optUp.page.num+1,t.optUp.inited&&setTimeout((function(){t.optUp.inited(t)}),0))},b.prototype.onReachBottom=function(){this.isScrollBody&&!this.isUpScrolling&&!this.optUp.isLock&&this.optUp.hasNext&&this.triggerUpScroll()},b.prototype.onPageScroll=function(t){this.isScrollBody&&(this.setScrollTop(t.scrollTop),t.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn())},b.prototype.scroll=function(t,o){this.setScrollTop(t.scrollTop),this.setScrollHeight(t.scrollHeight),null==this.preScrollY&&(this.preScrollY=0),this.isScrollUp=t.scrollTop-this.preScrollY>0,this.preScrollY=t.scrollTop,this.isScrollUp&&this.triggerUpScroll(!0),t.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn(),this.optUp.onScroll&&o&&o()},b.prototype.triggerUpScroll=function(t){if(!this.isUpScrolling&&this.optUp.use&&this.optUp.callback){if(!0===t){let t=!1;if(!this.optUp.hasNext||this.optUp.isLock||this.isDownScrolling||this.getScrollBottom()<=this.optUp.offset&&(t=!0),!1===t)return}this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.num=this.optUp.page.num,this.size=this.optUp.page.size,this.time=this.optUp.page.time,this.optUp.callback(this)}},b.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.optUp.showLoading&&this.optUp.showLoading(this)},b.prototype.showNoMore=function(){this.optUp.hasNext=!1,this.optUp.showNoMore&&this.optUp.showNoMore(this)},b.prototype.hideUpScroll=function(){this.optUp.hideUpScroll&&this.optUp.hideUpScroll(this)},b.prototype.endUpScroll=function(t){null!=t&&(t?this.showNoMore():this.hideUpScroll()),this.isUpScrolling=!1},b.prototype.resetUpScroll=function(t){if(this.optUp&&this.optUp.use){let o=this.optUp.page;this.prePageNum=o.num,this.prePageTime=o.time,o.num=this.startNum,o.time=null,this.isDownScrolling||!1===t||(null==t?(this.removeEmpty(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.num=o.num,this.size=o.size,this.time=o.time,this.optUp.callback&&this.optUp.callback(this)}},b.prototype.setPageNum=function(t){this.optUp.page.num=t-1},b.prototype.setPageSize=function(t){this.optUp.page.size=t},b.prototype.endByPage=function(t,o,e){let n;this.optUp.use&&null!=o&&(n=this.optUp.page.numt?"number"==typeof t?t+"rpx":t:0,toTopClick(){this.$emit("input",!1),this.$emit("click")}}},[["render",function(t,o,p,c,a,h){const d=r;return h.mOption.src?(e(),n(d,{key:0,class:s(["mescroll-totop",[p.value?"mescroll-totop-in":"mescroll-totop-out",{"mescroll-totop-safearea":h.mOption.safearea}]]),style:i({"z-index":h.mOption.zIndex,left:h.left,right:h.right,bottom:h.addUnit(h.mOption.bottom),width:h.addUnit(h.mOption.width),"border-radius":h.addUnit(h.mOption.radius)}),src:h.mOption.src,mode:"widthFix",onClick:h.toTopClick},null,8,["class","style","src","onClick"])):l("",!0)}],["__scopeId","data-v-c0bf933e"]]),H={data:()=>({wxsProp:{optDown:{},scrollTop:0,bodyHeight:0,isDownScrolling:!1,isUpScrolling:!1,isScrollBody:!0,isUpBoth:!0,t:0},callProp:{callType:"",t:0}}),methods:{wxsCall(t){"setWxsProp"===t.type?this.wxsProp={optDown:this.mescroll.optDown,scrollTop:this.mescroll.getScrollTop(),bodyHeight:this.mescroll.getBodyHeight(),isDownScrolling:this.mescroll.isDownScrolling,isUpScrolling:this.mescroll.isUpScrolling,isUpBoth:this.mescroll.optUp.isBoth,isScrollBody:this.mescroll.isScrollBody,t:Date.now()}:"setLoadType"===t.type?(this.downLoadType=t.downLoadType,this.$set(this.mescroll,"downLoadType",this.downLoadType),this.$set(this.mescroll,"isDownEndSuccess",null)):"triggerDownScroll"===t.type?this.mescroll.triggerDownScroll():"endDownScroll"===t.type?this.mescroll.endDownScroll():"triggerUpScroll"===t.type&&this.mescroll.triggerUpScroll(!0)}},mounted(){this.mescroll.optDown.afterLoading=()=>{this.callProp={callType:"showLoading",t:Date.now()}},this.mescroll.optDown.afterEndDownScroll=()=>{this.callProp={callType:"endDownScroll",t:Date.now()};let t=300+(this.mescroll.optDown.beforeEndDelay||0);setTimeout((()=>{4!==this.downLoadType&&0!==this.downLoadType||(this.callProp={callType:"clearTransform",t:Date.now()}),this.$set(this.mescroll,"downLoadType",this.downLoadType)}),t)},this.wxsCall({type:"setWxsProp"})}};var P={};function O(t,o){if(P.isMoveDown)P.downHight>=P.optDown.offset?(P.downHight=P.optDown.offset,P.callMethod(o,{type:"triggerDownScroll"})):(P.downHight=0,P.callMethod(o,{type:"endDownScroll"})),P.movetype=0,P.isMoveDown=!1;else if(!P.isScrollBody&&P.getScrollTop()===P.startTop){if(P.getPoint(t).y-P.startPoint.y<0)P.getAngle(P.getPoint(t),P.startPoint)>80&&P.callMethod(o,{type:"triggerUpScroll"})}P.callMethod(o,{type:"setWxsProp"})}P.onMoving=function(t,o,e){t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"transform",transform:"translateY("+e+"px)",transition:""});var n=t.selectComponent(".mescroll-wxs-progress");n&&n.setStyle({transform:"rotate("+360*o+"deg)"})}))},P.showLoading=function(t){P.downHight=P.optDown.offset,t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY("+P.downHight+"px)",transition:"transform 300ms"})}))},P.endDownScroll=function(t){P.downHight=0,P.isDownScrolling=!1,t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY(0)",transition:"transform 300ms"})}))},P.clearTransform=function(t){t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"",transform:"",transition:""})}))},P.disabled=function(){return!P.optDown||!P.optDown.use||P.optDown.native},P.getPoint=function(t){return t?t.touches&&t.touches[0]?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches[0]?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.clientX,y:t.clientY}:{x:0,y:0}},P.getAngle=function(t,o){var e=Math.abs(t.x-o.x),n=Math.abs(t.y-o.y),s=Math.sqrt(e*e+n*n),i=0;return 0!==s&&(i=Math.asin(n/s)/Math.PI*180),i},P.getScrollTop=function(){return P.scrollTop||0},P.getBodyHeight=function(){return P.bodyHeight||0},P.callMethod=function(t,o){t&&t.callMethod("wxsCall",o)};const k={propObserver:function(t){P.optDown=t.optDown,P.scrollTop=t.scrollTop,P.bodyHeight=t.bodyHeight,P.isDownScrolling=t.isDownScrolling,P.isUpScrolling=t.isUpScrolling,P.isUpBoth=t.isUpBoth,P.isScrollBody=t.isScrollBody,P.startTop=t.scrollTop},callObserver:function(t,o,e){P.disabled()||t.callType&&("showLoading"===t.callType?P.showLoading(e):"endDownScroll"===t.callType?P.endDownScroll(e):"clearTransform"===t.callType&&P.clearTransform(e))},touchstartEvent:function(t,o){P.downHight=0,P.startPoint=P.getPoint(t),P.startTop=P.getScrollTop(),P.startAngle=0,P.lastPoint=P.startPoint,P.maxTouchmoveY=P.getBodyHeight()-P.optDown.bottomOffset,P.inTouchend=!1,P.callMethod(o,{type:"setWxsProp"})},touchmoveEvent:function(t,o){var e=!0;if(P.disabled())return e;var n=P.getScrollTop(),s=P.getPoint(t);if(s.y-P.startPoint.y>0&&(P.isScrollBody&&n<=0||!P.isScrollBody&&(n<=0||n<=P.optDown.startTop&&n===P.startTop))&&!P.inTouchend&&!P.isDownScrolling&&!P.optDown.isLock&&(!P.isUpScrolling||P.isUpScrolling&&P.isUpBoth)){if(P.startAngle||(P.startAngle=P.getAngle(P.lastPoint,s)),P.startAngle0&&s.y>=P.maxTouchmoveY)return P.inTouchend=!0,O(t,o),e;e=!1;var i=s.y-P.lastPoint.y;P.downHight0?i*P.optDown.outOffsetRate:i),P.downHight=Math.round(P.downHight);var l=P.downHight/P.optDown.offset;P.onMoving(o,l,P.downHight)}return P.lastPoint=s,e},touchendEvent:O},C=t=>{t.$wxs||(t.$wxs=[]),t.$wxs.push("wxsBiz"),t.mixins||(t.mixins=[]),t.mixins.push({beforeCreate(){this.wxsBiz=k}})};var E={};function M(t){E.optDown=t.optDown,E.scrollTop=t.scrollTop,E.isDownScrolling=t.isDownScrolling,E.isUpScrolling=t.isUpScrolling,E.isUpBoth=t.isUpBoth}window&&!window.$mescrollRenderInit&&(window.$mescrollRenderInit=!0,window.addEventListener("touchstart",(function(t){E.disabled()||(E.startPoint=E.getPoint(t))}),{passive:!0}),window.addEventListener("touchmove",(function(t){if(!E.disabled()&&(!(E.getScrollTop()>0)&&E.getPoint(t).y-E.startPoint.y>0&&!E.isDownScrolling&&!E.optDown.isLock&&(!E.isUpScrolling||E.isUpScrolling&&E.isUpBoth))){for(var o=t.target,e=!1;o&&o.tagName&&"UNI-PAGE-BODY"!==o.tagName&&"BODY"!=o.tagName;){var n=o.classList;if(n&&n.contains("mescroll-render-touch")){e=!0;break}o=o.parentNode}e&&t.cancelable&&!t.defaultPrevented&&t.preventDefault()}}),{passive:!1})),E.getScrollTop=function(){return E.scrollTop||0},E.disabled=function(){return!E.optDown||!E.optDown.use||E.optDown.native},E.getPoint=function(t){return t?t.touches&&t.touches[0]?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches[0]?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.clientX,y:t.clientY}:{x:0,y:0}};const N={mixins:[{data:()=>({propObserver:M})}]},z=t=>{t.$renderjs||(t.$renderjs=[]),t.$renderjs.push("renderBiz"),t.mixins||(t.mixins=[]),t.mixins.push({beforeCreate(){this.renderBiz=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),t.mixins.push(N)},Y={name:"mescroll-body",mixins:[H],components:{MescrollTop:L},props:{down:Object,up:Object,i18n:Object,top:[String,Number],topbar:[Boolean,String],bottom:[String,Number],safearea:Boolean,height:[String,Number],bottombar:{type:Boolean,default:!0},sticky:Boolean},data:()=>({mescroll:{optDown:{},optUp:{}},downHight:0,downRate:0,downLoadType:0,upLoadType:0,isShowEmpty:!1,isShowToTop:!1,windowHeight:0,windowBottom:0,statusBarHeight:0}),computed:{minHeight(){return this.toPx(this.height||"100%")+"px"},numTop(){return this.toPx(this.top)},padTop(){return this.numTop+"px"},numBottom(){return this.toPx(this.bottom)},padBottom(){return this.numBottom+"px"},isDownReset(){return 3===this.downLoadType||4===this.downLoadType},transition(){return this.isDownReset?"transform 300ms":""},translateY(){return this.downHight>0?"translateY("+this.downHight+"px)":""},isDownLoading(){return 3===this.downLoadType},downRotate(){return"rotate("+360*this.downRate+"deg)"},downText(){if(!this.mescroll)return"";switch(this.downLoadType){case 1:default:return this.mescroll.optDown.textInOffset;case 2:return this.mescroll.optDown.textOutOffset;case 3:return this.mescroll.optDown.textLoading;case 4:return this.mescroll.isDownEndSuccess?this.mescroll.optDown.textSuccess:0==this.mescroll.isDownEndSuccess?this.mescroll.optDown.textErr:this.mescroll.optDown.textInOffset}}},methods:{toPx(t){if("string"==typeof t)if(-1!==t.indexOf("px"))if(-1!==t.indexOf("rpx"))t=t.replace("rpx","");else{if(-1===t.indexOf("upx"))return Number(t.replace("px",""));t=t.replace("upx","")}else if(-1!==t.indexOf("%")){let o=Number(t.replace("%",""))/100;return this.windowHeight*o}return t?p(Number(t)):0},emptyClick(){this.$emit("emptyclick",this.mescroll)},toTopClick(){this.mescroll.scrollTo(0,this.mescroll.optUp.toTop.duration),this.$emit("topclick",this.mescroll)}},created(){let t=this,o={down:{inOffset(){t.downLoadType=1},outOffset(){t.downLoadType=2},onMoving(o,e,n){t.downHight=n,t.downRate=e},showLoading(o,e){t.downLoadType=3,t.downHight=e},beforeEndDownScroll:o=>(t.downLoadType=4,o.optDown.beforeEndDelay),endDownScroll(){t.downLoadType=4,t.downHight=0,t.downResetTimer&&(clearTimeout(t.downResetTimer),t.downResetTimer=null),t.downResetTimer=setTimeout((()=>{4===t.downLoadType&&(t.downLoadType=0)}),300)},callback:function(o){t.$emit("down",o)}},up:{showLoading(){t.upLoadType=1},showNoMore(){t.upLoadType=2},hideUpScroll(o){t.upLoadType=o.optUp.hasNext?0:3},empty:{onShow(o){t.isShowEmpty=o}},toTop:{onShow(o){t.isShowToTop=o}},callback:function(o){t.$emit("up",o)}}},e=B.getType(),n={type:e};b.extend(n,t.i18n),b.extend(n,v.i18n),b.extend(o,n[e]),b.extend(o,{down:v.down,up:v.up});let s=JSON.parse(JSON.stringify({down:t.down,up:t.up}));b.extend(s,o),t.mescroll=new b(s,!0),t.mescroll.i18n=n,t.$emit("init",t.mescroll);const i=c();i.windowHeight&&(t.windowHeight=i.windowHeight),i.windowBottom&&(t.windowBottom=i.windowBottom),i.statusBarHeight&&(t.statusBarHeight=i.statusBarHeight),t.mescroll.setBodyHeight(i.windowHeight),t.mescroll.resetScrollTo(((o,e)=>{"string"==typeof o?setTimeout((()=>{let n;-1==o.indexOf("#")&&-1==o.indexOf(".")?n="#"+o:(n=o,-1!=o.indexOf(">>>")&&(n=o.split(">>>")[1].trim())),a().select(n).boundingClientRect((function(o){if(o){let n=o.top;n+=t.mescroll.getScrollTop(),h({scrollTop:n,duration:e})}else console.error(n+" does not exist")})).exec()}),30):h({scrollTop:o,duration:e})})),t.up&&t.up.toTop&&null!=t.up.toTop.safearea||(t.mescroll.optUp.toTop.safearea=t.safearea),d("setMescrollGlobalOption",(o=>{if(!o)return;let e=o.i18n?o.i18n.type:null;if(e&&t.mescroll.i18n.type!=e&&(t.mescroll.i18n.type=e,B.setType(e),b.extend(o,t.mescroll.i18n[e])),o.down){let e=b.extend({},o.down);t.mescroll.optDown=b.extend(e,t.mescroll.optDown)}if(o.up){let e=b.extend({},o.up);t.mescroll.optUp=b.extend(e,t.mescroll.optUp)}}))},destroyed(){u("setMescrollGlobalOption")}};C(Y),z(Y);const A=U(Y,[["render",function(t,o,r,p,c,a){const h=x,d=w("mescroll-empty"),u=w("mescroll-top");return e(),n(h,{class:s(["mescroll-body mescroll-render-touch",{"mescorll-sticky":r.sticky}]),style:i({minHeight:a.minHeight,"padding-top":a.padTop,"padding-bottom":a.padBottom}),onTouchstart:t.wxsBiz.touchstartEvent,onTouchmove:t.wxsBiz.touchmoveEvent,onTouchend:t.wxsBiz.touchendEvent,onTouchcancel:t.wxsBiz.touchendEvent,"change:prop":t.wxsBiz.propObserver,prop:t.wxsProp},{default:g((()=>[r.topbar&&c.statusBarHeight?(e(),n(h,{key:0,class:"mescroll-topbar",style:i({height:c.statusBarHeight+"px",background:r.topbar})},null,8,["style"])):l("",!0),m(h,{class:"mescroll-body-content mescroll-wxs-content",style:i({transform:a.translateY,transition:a.transition}),"change:prop":t.wxsBiz.callObserver,prop:t.callProp},{default:g((()=>[c.mescroll.optDown.use?(e(),n(h,{key:0,class:"mescroll-downwarp",style:i({background:c.mescroll.optDown.bgColor,color:c.mescroll.optDown.textColor})},{default:g((()=>[m(h,{class:"downwarp-content"},{default:g((()=>[m(h,{class:s(["downwarp-progress mescroll-wxs-progress",{"mescroll-rotate":a.isDownLoading}]),style:i({"border-color":c.mescroll.optDown.textColor,transform:a.downRotate})},null,8,["class","style"]),m(h,{class:"downwarp-tip"},{default:g((()=>[f(y(a.downText),1)])),_:1})])),_:1})])),_:1},8,["style"])):l("",!0),S(t.$slots,"default",{},void 0,!0),c.isShowEmpty?(e(),n(d,{key:1,option:c.mescroll.optUp.empty,onEmptyclick:a.emptyClick},null,8,["option","onEmptyclick"])):l("",!0),c.mescroll.optUp.use&&!a.isDownLoading&&3!==c.upLoadType?(e(),n(h,{key:2,class:"mescroll-upwarp",style:i({background:c.mescroll.optUp.bgColor,color:c.mescroll.optUp.textColor})},{default:g((()=>[D(m(h,null,{default:g((()=>[m(h,{class:"upwarp-progress mescroll-rotate",style:i({"border-color":c.mescroll.optUp.textColor})},null,8,["style"]),m(h,{class:"upwarp-tip"},{default:g((()=>[f(y(c.mescroll.optUp.textLoading),1)])),_:1})])),_:1},512),[[T,1===c.upLoadType]]),2===c.upLoadType?(e(),n(h,{key:0,class:"upwarp-nodata"},{default:g((()=>[f(y(c.mescroll.optUp.textNoMore),1)])),_:1})):l("",!0)])),_:1},8,["style"])):l("",!0)])),_:3},8,["style","change:prop","prop"]),r.bottombar&&c.windowBottom>0?(e(),n(h,{key:1,class:"mescroll-bottombar",style:i({height:c.windowBottom+"px"})},null,8,["style"])):l("",!0),r.safearea?(e(),n(h,{key:2,class:"mescroll-safearea"})):l("",!0),m(u,{modelValue:c.isShowToTop,"onUpdate:modelValue":o[0]||(o[0]=t=>c.isShowToTop=t),option:c.mescroll.optUp.toTop,onClick:a.toTopClick},null,8,["modelValue","option","onClick"]),m(h,{"change:prop":t.renderBiz.propObserver,prop:t.wxsProp},null,8,["change:prop","prop"])])),_:3},8,["class","style","onTouchstart","onTouchmove","onTouchend","onTouchcancel","change:prop","prop"])}],["__scopeId","data-v-0e2ab920"]]);function R(t,o,e){let n=null;return e&&e((()=>{n&&n.onPullDownRefresh()})),t&&t((t=>{n&&n.onPageScroll(t)})),o&&o((()=>{n&&n.onReachBottom()})),{getMescroll:()=>n,mescrollInit:t=>{n=t},downCallback:()=>{n.optUp.use?n.resetUpScroll():setTimeout((()=>{n.endSuccess()}),500)},upCallback:()=>{setTimeout((()=>{n.endErr()}),500)}}}export{v as G,A as M,B as m,R as u}; diff --git a/niucloud/public/wap/assets/useShare.3d08f2fc.js b/niucloud/public/wap/assets/useShare.4592b318.js similarity index 83% rename from niucloud/public/wap/assets/useShare.3d08f2fc.js rename to niucloud/public/wap/assets/useShare.4592b318.js index f3dc95abd..bd7e336f5 100644 --- a/niucloud/public/wap/assets/useShare.3d08f2fc.js +++ b/niucloud/public/wap/assets/useShare.4592b318.js @@ -1 +1 @@ -import{U as e,ah as a,x as t,ai as i,aj as l,ak as r,al as n,am as s}from"./index-15eacd31.js";import{w as o}from"./wechat.56b0d350.js";const p=()=>{var p={title:"",link:""},c={};const h=()=>{s()&&o.share(p)};return{setShare:async(r={})=>{let n=e();if(await(async()=>{s()&&await o.init()})(),r&&r.wechat&&r.weapp){let e=a().params;n.info&&(e.mid=n.info.member_id);let l=[];for(let a in e)l.push(a+"="+e[a]);let s=location.origin+location.pathname+(l.length>0?"?"+l.join("&"):"");p={title:r.wechat.title||"",link:r.wechat.link||s,desc:r.wechat.desc||"",imgUrl:r.wechat.url?t(r.wechat.url):""},h(),c={title:r.weapp.title||"",query:r.weapp.path||"/"+i()+(l.length>0?"?"+l.join("&"):""),imageUrl:r.weapp.url?t(r.weapp.url):""}}else l({route:"/"+i(),params:JSON.stringify(a().params)}).then((e=>{let a=e.data,i=a.wechat;if(i){let e=location.origin+location.pathname+(a.query?"?"+a.query:"");p={link:e,title:i.title,desc:i.desc,imgUrl:i.url?t(i.url):""}}h();let l=a.weapp;l&&(c={query:a.url,title:l.title,imageUrl:l.url?t(l.url):""})}))},onShareAppMessage:(e={})=>{r((()=>({...c,...e})))},onShareTimeline:(e={})=>{n((()=>({...c,...e})))}}};export{p as u}; +import{Y as e,aa as a,y as t,ab as i,ac as l,ad as r,ae as n,af as s}from"./index-59b72094.js";import{w as o}from"./wechat.62b247b7.js";const p=()=>{var p={title:"",link:""},c={};const h=()=>{s()&&o.share(p)};return{setShare:async(r={})=>{let n=e();if(await(async()=>{s()&&await o.init()})(),r&&r.wechat&&r.weapp){let e=a().params;n.info&&(e.mid=n.info.member_id);let l=[];for(let a in e)l.push(a+"="+e[a]);let s=location.origin+location.pathname+(l.length>0?"?"+l.join("&"):"");p={title:r.wechat.title||"",link:r.wechat.link||s,desc:r.wechat.desc||"",imgUrl:r.wechat.url?t(r.wechat.url):""},h(),c={title:r.weapp.title||"",query:r.weapp.path||"/"+i()+(l.length>0?"?"+l.join("&"):""),imageUrl:r.weapp.url?t(r.weapp.url):""}}else l({route:"/"+i(),params:JSON.stringify(a().params)}).then((e=>{let a=e.data,i=a.wechat;if(i){let e=location.origin+location.pathname+(a.query?"?"+a.query:"");p={link:e,title:i.title,desc:i.desc,imgUrl:i.url?t(i.url):""}}h();let l=a.weapp;l&&(c={query:a.url,title:l.title,imageUrl:l.url?t(l.url):""})}))},onShareAppMessage:(e={})=>{r((()=>({...c,...e})))},onShareTimeline:(e={})=>{n((()=>({...c,...e})))}}};export{p as u}; diff --git a/niucloud/public/wap/assets/wechat.56b0d350.js b/niucloud/public/wap/assets/wechat.56b0d350.js deleted file mode 100644 index 10b76ae3c..000000000 --- a/niucloud/public/wap/assets/wechat.56b0d350.js +++ /dev/null @@ -1 +0,0 @@ -import{ay as e,ae as n}from"./index-15eacd31.js";var i,t={};i=window,{get exports(){return t},set exports(e){t=e}}.exports=function(e,n){if(!e.jWeixin){var i,t={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},o=function(){var e={};for(var n in t)e[t[n]]=n;return e}(),r=e.document,a=r.title,c=navigator.userAgent.toLowerCase(),s=navigator.platform.toLowerCase(),d=!(!s.match("mac")&&!s.match("win")),u=-1!=c.indexOf("wxdebugger"),l=-1!=c.indexOf("micromessenger"),p=-1!=c.indexOf("android"),f=-1!=c.indexOf("iphone")||-1!=c.indexOf("ipad"),g=(i=c.match(/micromessenger\/(\d+\.\d+\.\d+)/)||c.match(/micromessenger\/(\d+\.\d+)/))?i[1]:"",m={initStartTime:B(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},h={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:f?1:p?2:-1,clientVersion:g,url:encodeURIComponent(location.href)},S={},v={_completes:[]},y={state:0,data:{}};O((function(){m.initEndTime=B()}));var I=!1,w=[],_={config:function(n){L("config",S=n);var i=!1!==S.check;O((function(){if(i)M(t.config,{verifyJsApiList:C(S.jsApiList),verifyOpenTagList:C(S.openTagList)},function(){v._complete=function(e){m.preVerifyEndTime=B(),y.state=1,y.data=e},v.success=function(e){h.isPreVerifyOk=0},v.fail=function(e){v._fail?v._fail(e):y.state=-1};var e=v._completes;return e.push((function(){!function(){if(!(d||u||S.debug||g<"6.0.2"||h.systemType<0)){var e=new Image;h.appId=S.appId,h.initTime=m.initEndTime-m.initStartTime,h.preVerifyTime=m.preVerifyEndTime-m.preVerifyStartTime,_.getNetworkType({isInnerInvoke:!0,success:function(n){h.networkType=n.networkType;var i="https://open.weixin.qq.com/sdk/report?v="+h.version+"&o="+h.isPreVerifyOk+"&s="+h.systemType+"&c="+h.clientVersion+"&a="+h.appId+"&n="+h.networkType+"&i="+h.initTime+"&p="+h.preVerifyTime+"&u="+h.url;e.src=i}})}}()})),v.complete=function(n){for(var i=0,t=e.length;i{const{data:n}=e;t.config({debug:!1,appId:n.appId,timestamp:n.timestamp,nonceStr:n.nonceStr,signature:n.signature,jsApiList:["chooseWXPay","updateAppMessageShareData","updateTimelineShareData"]})}))}pay(e){t.ready((()=>{t.chooseWXPay(e)}))}share(e){t.ready((()=>{t.updateAppMessageShareData(e),t.updateTimelineShareData(e)}))}};export{o as w}; diff --git a/niucloud/public/wap/assets/wechat.62b247b7.js b/niucloud/public/wap/assets/wechat.62b247b7.js new file mode 100644 index 000000000..5f1f47176 --- /dev/null +++ b/niucloud/public/wap/assets/wechat.62b247b7.js @@ -0,0 +1 @@ +import{at as e,Q as n}from"./index-59b72094.js";var i,t={};i=window,{get exports(){return t},set exports(e){t=e}}.exports=function(e,n){if(!e.jWeixin){var i,t={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},o=function(){var e={};for(var n in t)e[t[n]]=n;return e}(),r=e.document,a=r.title,c=navigator.userAgent.toLowerCase(),s=navigator.platform.toLowerCase(),d=!(!s.match("mac")&&!s.match("win")),u=-1!=c.indexOf("wxdebugger"),l=-1!=c.indexOf("micromessenger"),p=-1!=c.indexOf("android"),f=-1!=c.indexOf("iphone")||-1!=c.indexOf("ipad"),g=(i=c.match(/micromessenger\/(\d+\.\d+\.\d+)/)||c.match(/micromessenger\/(\d+\.\d+)/))?i[1]:"",m={initStartTime:B(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},h={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:f?1:p?2:-1,clientVersion:g,url:encodeURIComponent(location.href)},S={},v={_completes:[]},y={state:0,data:{}};O((function(){m.initEndTime=B()}));var I=!1,w=[],_={config:function(n){L("config",S=n);var i=!1!==S.check;O((function(){if(i)M(t.config,{verifyJsApiList:C(S.jsApiList),verifyOpenTagList:C(S.openTagList)},function(){v._complete=function(e){m.preVerifyEndTime=B(),y.state=1,y.data=e},v.success=function(e){h.isPreVerifyOk=0},v.fail=function(e){v._fail?v._fail(e):y.state=-1};var e=v._completes;return e.push((function(){!function(){if(!(d||u||S.debug||g<"6.0.2"||h.systemType<0)){var e=new Image;h.appId=S.appId,h.initTime=m.initEndTime-m.initStartTime,h.preVerifyTime=m.preVerifyEndTime-m.preVerifyStartTime,_.getNetworkType({isInnerInvoke:!0,success:function(n){h.networkType=n.networkType;var i="https://open.weixin.qq.com/sdk/report?v="+h.version+"&o="+h.isPreVerifyOk+"&s="+h.systemType+"&c="+h.clientVersion+"&a="+h.appId+"&n="+h.networkType+"&i="+h.initTime+"&p="+h.preVerifyTime+"&u="+h.url;e.src=i}})}}()})),v.complete=function(n){for(var i=0,t=e.length;i{const{data:n}=e;t.config({debug:!1,appId:n.appId,timestamp:n.timestamp,nonceStr:n.nonceStr,signature:n.signature,jsApiList:["chooseWXPay","updateAppMessageShareData","updateTimelineShareData"]})}))}pay(e){t.ready((()=>{t.chooseWXPay(e)}))}share(e){t.ready((()=>{t.updateAppMessageShareData(e),t.updateTimelineShareData(e)}))}};export{o as w}; diff --git a/niucloud/public/wap/index.html b/niucloud/public/wap/index.html index 9a251fec0..b3bbe40ea 100644 --- a/niucloud/public/wap/index.html +++ b/niucloud/public/wap/index.html @@ -1,7 +1,7 @@ - + - + +