function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.vvHOkkHG.js","assets/product.p1kFM4OY.js","assets/bestSellers-B_SY1GJM.css","assets/wd-skeleton.Hq6jFvK2.js","assets/wd-skeleton-6jRYhHMd.css","assets/wd-swiper.jmJHGzkN.js","assets/wd-swiper-Yk3GPVI3.css","assets/wd-tabs.TmjdLZHs.js","assets/useTouch.Bw2R-dGZ.js","assets/wd-tabs-CchBYMOK.css","assets/z-paging.0LfmZNmx.js","assets/z-paging-CBqUbKi0.css","assets/useZPaging.DPl6Aqd5.js","assets/product.BOAJhW-g.js","assets/index-CulKyNud.css","assets/pages-bestSellers-bestSellers.CvgVK1eT.js","assets/wd-navbar.DmsSTXrj.js","assets/wd-navbar-Dets5L0f.css","assets/pages-forgotPassword-forgotPassword.C477z7yr.js","assets/wd-form.DjV6t7Gg.js","assets/login-logo.yJ3QTl4S.js","assets/pages-income-income.CREZMEdb.js","assets/wd-divider.C9g9TuMB.js","assets/wd-divider-ThgXdl0f.css","assets/wd-radio-group.D6obaD68.js","assets/wd-radio-group-eaAfA2d-.css","assets/wd-text.AZJSz_b6.js","assets/wd-text-DQfQlp_R.css","assets/wallet.BD-uL1iI.js","assets/income-BUcXe3Sn.css","assets/pages-login-login.DNKDCyLI.js","assets/pages-mine-addressBook.DuApvkvf.js","assets/wd-swipe-action.C4IghGTX.js","assets/wd-swipe-action-BIHoogvg.css","assets/mine.DDTdogfd.js","assets/order.CdBltJfy.js","assets/addressBook-oMlsh8De.css","assets/pages-mine-addressBookOperate.EJlBqUfu.js","assets/wd-action-sheet.CYI1-Es3.js","assets/wd-action-sheet-C97OFXFp.css","assets/wd-cell-group.DMfbq-OZ.js","assets/wd-cell-group-Dzd1RQP-.css","assets/addressBookOperate-BJbwuXgU.css","assets/pages-mine-helpCenter.CKoqgJmD.js","assets/qa.Cfx3UYYC.js","assets/pages-mine-helpCenterDetail.Bq9yiHAa.js","assets/helpCenterDetail-Bm4Kaxgs.css","assets/pages-mine-mine.ksfE8GPe.js","assets/wd-img.BCdVzTUf.js","assets/wd-img-DQe7wyo6.css","assets/pages-mine-myFavorite.AmCQZ9p_.js","assets/myFavorite-Dbsv61Ow.css","assets/pages-mine-myProfile.C3vAP0wI.js","assets/pages-mine-setting.DGPZ4xWy.js","assets/wd-picker.DAgfin2q.js","assets/wd-picker-kvdni26q.css","assets/pages-mine-share.BaMOm3MO.js","assets/share-mCXl7U-k.css","assets/pages-missionCenter-missionCenter.CTwfToH8.js","assets/pages-myOrders-myOrders.D7LjDYDz.js","assets/wd-card.Cf7Thf8k.js","assets/wd-card-DFBGOZsE.css","assets/DialogBox.DhzDYVjp.js","assets/DialogBox-FXiMR7Ja.css","assets/myOrders-DxH3wvnp.css","assets/pages-myOrders-orderDetail.C12V0VBp.js","assets/circle-check.C-5cnQHd.js","assets/utils.CY6F74uO.js","assets/pages-notifications-notifications.CkgeW8oY.js","assets/notifications-zXDuzjvw.css","assets/pages-productDetail-checkOut.CAmX8Y-t.js","assets/checkOut-B_w9ErKd.css","assets/pages-productDetail-productDetail.CXJY4vD6.js","assets/productDetail-DPP0vZ7-.css","assets/pages-referEarn-referEarn.B0hf8cz6.js","assets/pages-register-register.C0WvBQgb.js","assets/pages-search-search.C8ebmPqo.js","assets/search-DiqmOZRG.css","assets/pages-topChampions-topChampions.CDYv_67v.js","assets/pages-vipMembership-vipMembership.D9lGQNe_.js","assets/vipMembership-B-rC2eAw.css","assets/pages-wallet-frozenRecord.DJC1RKaH.js","assets/pages-wallet-myWallet.CQYZnaJS.js","assets/myWallet-DbXO8C6_.css","assets/pages-wallet-recharge.BgAZUceh.js","assets/recharge-DymYmlio.css","assets/pages-wallet-rechargeRecord.D_wYDK9h.js","assets/pages-wallet-withdraw.C4MRJc1J.js","assets/pages-wallet-withdrawRecord.CsV3ZujN.js","assets/uni_modules-uni-upgrade-center-app-pages-upgrade-popup.BkKSNH84.js","assets/upgrade-popup-Dg1KFACY.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } var Aw=Object.defineProperty,Lw=Object.defineProperties;var Rw=Object.getOwnPropertyDescriptors;var kf=Object.getOwnPropertySymbols;var Mw=Object.prototype.hasOwnProperty,Dw=Object.prototype.propertyIsEnumerable;var xf=(e,t,n)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,se=(e,t)=>{for(var n in t||(t={}))Mw.call(t,n)&&xf(e,n,t[n]);if(kf)for(var n of kf(t))Dw.call(t,n)&&xf(e,n,t[n]);return e},we=(e,t)=>Lw(e,Rw(t));var ue=(e,t,n)=>new Promise((o,r)=>{var s=l=>{try{a(n.next(l))}catch(c){r(c)}},i=l=>{try{a(n.throw(l))}catch(c){r(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,i);a((n=n.apply(e,t)).next())});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();const Nw="modulepreload",$w=function(e){return"/"+e},Pf={},Fe=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.all(n.map(a=>{if(a=$w(a),a in Pf)return;Pf[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Nw,l||(d.as="script",d.crossOrigin=""),d.href=a,i&&d.setAttribute("nonce",i),document.head.appendChild(d),l)return new Promise((u,f)=>{d.addEventListener("load",u),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})}))}return r.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},Lm={"addressBook.title":"ঠিকানা বই","addressBook.operate.title.add":"ঠিকানা যোগ করুন","addressBook.operate.title.edit":"ঠিকানা সম্পাদনা করুন","addressBook.operate.loading":"লোড হচ্ছে...","addressBook.operate.saving":"সংরক্ষণ করা হচ্ছে...","addressBook.operate.form.fullName":"পুরো নাম","addressBook.operate.form.phone":"ফোন নম্বর","addressBook.operate.form.phone.placeholder":"+88","addressBook.operate.form.district":"প্রদেশ/জেলা","addressBook.operate.form.district.placeholder":"অনুগ্রহ করে চয়ন করুন","addressBook.operate.form.street":"তলা/ইউনিট/রাস্তা","addressBook.operate.form.street.placeholder":"বিস্তারিত ঠিকানা","addressBook.operate.form.postcode":"পোস্টকোড","addressBook.operate.form.postcode.placeholder":"আপনার পোস্টকোড","addressBook.operate.form.default":"ডিফল্ট","addressBook.operate.button.save":"সংরক্ষণ","addressBook.operate.button.update":"আপডেট","addressBook.operate.error.loadFailed":"ঠিকানার বিবরণ লোড করতে ব্যর্থ","addressBook.operate.error.emptyName":"পুরো নাম লিখুন","addressBook.operate.error.emptyPhone":"ফোন নম্বর লিখুন","addressBook.operate.error.emptyDistrict":"প্রদেশ/জেলা নির্বাচন করুন","addressBook.operate.error.emptyStreet":"বিস্তারিত ঠিকানা লিখুন","addressBook.operate.success.update":"ঠিকানা সফলভাবে আপডেট করা হয়েছে","addressBook.operate.success.save":"ঠিকানা সফলভাবে সংরক্ষিত হয়েছে","addressBook.operate.error.saveFailed":"সংরক্ষণ ব্যর্থ, আবার চেষ্টা করুন","addressBook.operate.error.loadPage":"পৃষ্ঠা লোড করতে ব্যর্থ","addressBook.delete.deleting":"মুছে ফেলা হচ্ছে...","addressBook.delete.success":"ঠিকানা সফলভাবে মুছে ফেলা হয়েছে","myOrders.title":"আমার অর্ডার","myOrders.tab.all":"সব","myOrders.tab.toPay":"পেমেন্ট বাকি","myOrders.tab.success":"সফল","myOrders.tab.failed":"ব্যর্থ","myOrders.tab.reward":"পুরস্কার","myOrders.order.id":"অর্ডার আইডি","myOrders.order.color":"রং","myOrders.order.quantity":"পরিমাণ","myOrders.selectTip":"আপনি পুনর্ব্যবহারের জন্য {0}টি অর্ডার বেছে নিতে পারেন","myOrders.total":"মোট","myOrders.recycleOrder":"অর্ডার পুনর্ব্যবহার করুন","myOrders.recycleSuccess":"অর্ডার সফলভাবে পুনর্ব্যবহার করা হয়েছে","myOrders.recycleFailed":"অর্ডার পুনর্ব্যবহার করতে ব্যর্থ","myOrders.dialog.title":"অর্ডার বিক্রয় করুন","myOrders.dialog.notesTitle":"নোট:","myOrders.dialog.note1":"① আপনি BandhuBuy কে গ্রুপ অর্ডারের আইটেমগুলি বিক্রয় করতে বেছে নিতে পারেন।","myOrders.dialog.note2":"② বিক্রয় মূল্য পণ্যের {0}%।","myOrders.dialog.note3":"③ পুনরুদ্ধার করা পরিমাণ আপনার আয় অ্যাকাউন্টে বিতরণ করা হবে।","myOrders.dialog.priceLabel":"বিক্রয় মূল্য","myOrders.dialog.confirm":"নিশ্চিত করুন","orderDetail.title":"অর্ডারের বিস্তারিত","orderDetail.loading":"লোড হচ্ছে...","orderDetail.congrats":"অভিনন্দন, আপনি এই গ্রুপে পুরস্কার জিতেছেন!","orderDetail.receiveReward":"আপনি গ্রুপ ওপেনিং রিওয়ার্ড পেয়েছেন","orderDetail.sorry":"দুঃখিত, আপনি এই গ্রুপে জিততে পারেননি","orderDetail.waiting":"অনুগ্রহ করে এই গ্রুপের ড্র এর জন্য অপেক্ষা করুন","orderDetail.paymentCountdown":"অনুগ্রহ করে এই সময়ের মধ্যে পেমেন্ট করুন:","orderDetail.status9.sellBackPrefix":"পণ্যটি সেল ব্যাক করা হয়েছে","orderDetail.status9.receivePrefix":"আপনি পেয়েছেন","orderDetail.status9.rewardSuffix":"গ্রুপ ওপেনিং রিওয়ার্ড","orderDetail.address.add":"অনুগ্রহ করে আপনার শিপিং ঠিকানা প্রদান করুন","orderDetail.address.name":"প্রাপক","orderDetail.address.orderNo":"অর্ডার আইডি","orderDetail.address.color":"রং","orderDetail.address.quantity":"পরিমাণ","orderDetail.summary.title":"অর্ডার সারাংশ","orderDetail.summary.subtotal":"মোট","orderDetail.payment.title":"পেমেন্ট পদ্ধতি","orderDetail.payment.placedOn":"অর্ডারের তারিখ","orderDetail.button.cancel":"বাতিল করুন","orderDetail.button.share":"শেয়ার করুন","orderDetail.button.pay":"পেমেন্ট করুন","orderDetail.dialog.cancel.title":"আপনি কি এই অর্ডার বাতিল করতে চান?","orderDetail.dialog.cancel.confirm":"হ্যাঁ, বাতিল করুন","orderDetail.dialog.cancel.keep":"অর্ডার রাখুন","orderDetail.cancel.loading":"অর্ডার বাতিল করা হচ্ছে...","orderDetail.cancel.success":"অর্ডার সফলভাবে বাতিল করা হয়েছে!","orderDetail.cancel.error":"অর্ডার বাতিল করতে ব্যর্থ হয়েছে। আবার চেষ্টা করুন।","orderDetail.payment.success":"পেমেন্ট সফল হয়েছে","wallet.withdraw.success":"উত্তোলনের অনুরোধ সফলভাবে জমা দেওয়া হয়েছে","wallet.withdraw.fail":"উত্তোলনের অনুরোধ জমা দিতে ব্যর্থ হয়েছে, অনুগ্রহ করে আবার চেষ্টা করুন","addressBook.delete.confirm":"মুছে ফেলা নিশ্চিত করুন","addressBook.delete.message":"আপনি কি এই ঠিকানাটি মুছে ফেলতে চান?","addressBook.delete.button":"মুছুন","addressBook.tag.default":"ডিফল্ট","addressBook.button.add":"নতুন ঠিকানা যোগ করুন","addressBook.select.binding":"ঠিকানা বাইন্ড করা হচ্ছে...","addressBook.select.success":"ঠিকানা সফলভাবে বাইন্ড হয়েছে!","addressBook.select.failed":"ঠিকানা বাইন্ড করতে ব্যর্থ। অনুগ্রহ করে আবার চেষ্টা করুন।","myProfile.title":"আমার প্রোফাইল","myProfile.avatar":"অবতার","myProfile.userId":"ইউজার আইডি","myProfile.userName":"ব্যবহারকারীর নাম","myProfile.mobileNumber":"মোবাইল নম্বর","myProfile.bankName":"ব্যাংকের নাম","myProfile.bankAccountName":"ব্যাংক অ্যাকাউন্ট নাম","myProfile.bankAccountNo":"ব্যাংক অ্যাকাউন্ট নং","myProfile.upload.sizeLimit":"ছবির আকার 5MB এর বেশি হতে পারবে না","myProfile.upload.uploading":"আপলোড হচ্ছে...","myProfile.upload.success":"অবতার সফলভাবে আপডেট করা হয়েছে","myProfile.upload.error":"অবতার আপডেট করতে ব্যর্থ হয়েছে","setting.title":"সেটিং","setting.changePassword":"পাসওয়ার্ড পরিবর্তন","setting.language":"ভাষা","setting.policies":"গোপনীয়তা নীতি","setting.termsOfService":"পরিষেবার শর্তাবলী","setting.refund":"রিটার্ন ও ফেরত নীতি","setting.logout":"লগ আউট","setting.version":"ভার্সন {0}","home.missionCenter":`মিশন সেন্টার`,"home.refer&earn":`রেফার এবং আয়`,"home.vip":`ভিআইপি সদস্যতা`,"home.bestSellers":`সেরা বিক্রেতা`,"home.topChampions":`শীর্ষ চ্যাম্পিয়ন`,"home.news":"খবর","mine.auth.register":"নিবন্ধন","mine.auth.login":"লগইন","mine.wallet.title":"BandhuBuy ওয়ালেট","mine.wallet.balance":"ওয়ালেট অ্যাকাউন্ট ব্যালেন্স","mine.wallet.recharge":"রিচার্জ","mine.group.title":"আমার গ্রুপ","mine.group.all":"সব গ্রুপ","mine.group.toPay":"পেমেন্ট বাকি","mine.group.success":"সফল","mine.group.failed":"ব্যর্থ","mine.group.reward":"পুরস্কার","mine.menu.profile":"আমার প্রোফাইল","mine.menu.address":"ঠিকানা বই","mine.menu.share":"শেয়ার","mine.menu.favorite":"আমার পছন্দ","mine.menu.helpCenter":"সাহায্য কেন্দ্র","mine.menu.chat":"লাইভ চ্যাট","mine.menu.activity":"কার্যকলাপ গ্রুপ","helpCenter.title":"সাহায্য কেন্দ্র","helpCenter.detail.title":"সাহায্য কেন্দ্র","home.priceTab.allPrice":"সব দাম","home.priceTab.300spot":"৩০০স্পট","home.priceTab.500spot":"৫০০স্পট","home.priceTab.1000spot":"১০০০স্পট","home.priceTab.2000spot":"২০০০স্পট","home.priceTab.3000spot":"৩০০০স্পট","income.title":"রাজস্ব কেন্দ্র","income.totalEarnings":"মোট আয়","income.accountBalance":"রাজস্ব অ্যাকাউন্ট ব্যালেন্স","income.settledAmount":"নিষ্পত্তিকৃত পরিমাণ","income.pendingAmount":"অপেক্ষারত পরিমাণ","income.tdEarnings":"আজকের আয়","income.ydEarnings":"গতকালের আয়","income.mtdEarnings":"এই মাসের আয়","income.myGroupData":"আমার গ্রুপ ডেটা","income.withdrawNow":"এখনই উত্তোলন করুন","income.revenueRecord":"রাজস্ব রেকর্ড","income.filter.dt":"আজকে","income.filter.yt":"গতকাল","income.filter.l7d":"গত ৭ দিন","income.filter.mtd":"এই মাসে","income.filter.ytd":"এই বছরে","mine.pages.share.title":"শেয়ার","mine.pages.share.referrerCode":"আমার রেফারার কোড","mine.pages.share.qrCode":"কিউআর কোড","mine.pages.share.description":"আপনার বন্ধুদের সাথে আপনার কিউআর কোড শেয়ার করুন, তারা তাদের ক্যামেরা দিয়ে স্ক্যান করে আপনার ডাউনলাইন হিসাবে নিবন্ধন করতে পারবে।","mine.pages.share.copySuccess":"ক্লিপবোর্ডে অনুলিপি করা হয়েছে","mine.header.referrerCode":"রেফারার কোড","mine.header.copy":"কপি","mine.pages.share.shareTo":"{0} এ শেয়ার করুন","share.appNotInstalled":"শেয়ারিং সক্ষম করতে অ্যাপ ডাউনলোড করুন","share.productShareText":`[BandhuBuy] {url} {productName} এখনই BandhuBuy থেকে কিনুন!`,"share.inviteShareText":"[BandhuBuy] {url} আপনার বন্ধু আপনাকে নিবন্ধন করতে আমন্ত্রণ জানিয়েছে","mine.pages.myFavorite.title":"আমার পছন্দ","mine.pages.myFavorite.empty":"এখনও পছন্দ নেই","wallet.withdraw.title":"উত্তোলন","wallet.withdraw.balance":"ওয়ালেট উপলব্ধ পরিমাণ","wallet.withdraw.balanceRevenue":"রাজস্ব উপলব্ধ পরিমাণ","wallet.withdraw.balanceWallet":"ওয়ালেট উপলব্ধ পরিমাণ","wallet.withdraw.info":"উত্তোলনের তথ্য","wallet.withdraw.form.bankName":"ব্যাংকের নাম","wallet.withdraw.form.bankAccountName":"ব্যাংক অ্যাকাউন্ট নাম","wallet.withdraw.form.bankAccountNo":"ব্যাংক অ্যাকাউন্ট নং","wallet.withdraw.form.amount":"উত্তোলনের পরিমাণ","wallet.withdraw.form.allAmount":"সব পরিমাণ","wallet.withdraw.form.submit":"জমা দিন","wallet.withdraw.record":"রেকর্ড","wallet.withdraw.error.bankName":"অনুগ্রহ করে ব্যাংক নির্বাচন করুন","wallet.withdraw.error.bankAccountName":"অনুগ্রহ করে ব্যাংক অ্যাকাউন্ট নাম লিখুন","wallet.withdraw.error.bankAccountNo":"অনুগ্রহ করে ব্যাংক অ্যাকাউন্ট নং লিখুন","wallet.withdraw.error.amount":"অনুগ্রহ করে উত্তোলনের পরিমাণ লিখুন","wallet.withdraw.notes.title":"দ্রষ্টব্য:","wallet.withdraw.notes.1":"উত্তোলনের পর্যালোচনা সময় সকাল ৯ টা থেকে রাত ১০ টা পর্যন্ত। উত্তোলনের পর ২ ঘন্টার মধ্যে পৌঁছানোর সম্ভাবনা, প্রকৃত পৌঁছানোর সময় চূড়ান্ত সফলভাবে প্রক্রিয়াকরণের সময়ের উপর নির্ভর করে","wallet.withdraw.notes.2":"আপনার ব্যাংক অ্যাকাউন্টের বিবরণ সঠিক কিনা তা নিশ্চিত করুন।","wallet.withdraw.notes.3":"উত্তোলনের ব্যাংক অ্যাকাউন্টের তথ্য নিবন্ধনের অ্যাকাউন্টের তথ্যের সাথে মেলানো প্রয়োজন।","wallet.withdraw.notes.4":"একক উত্তোলনের জন্য সর্বনিম্ন পরিমাণ ৳{0} এবং সর্বোচ্চ ৳{1} হবে;","wallet.withdraw.notes.5":"আপনার প্রতিটি উত্তোলনে {0}% উত্তোলন পরিচালনা ফি আরোপ করা হবে;","search.placeholder":"অনুসন্ধান","search.filterPrice":"সব দাম","search.filterCategory":"বিভাগ","search.filterSellers":"সেরা বিক্রেতা","search.filterSellers1":"সর্বশেষ","auth.login.title":"লগইন","auth.login.username.placeholder":"মোবাইল নম্বর / ব্যবহারকারীর নাম","auth.login.password.placeholder":"পাসওয়ার্ড ৬-২০ অক্ষর","auth.login.button":"লগইন","auth.login.noAccount":"এখনও অ্যাকাউন্ট নেই?","auth.login.register":"নিবন্ধন","auth.login.forgotPassword":"পাসওয়ার্ড ভুলে গেছেন?","auth.login.error.emptyUsername":"অনুগ্রহ করে ব্যবহারকারীর নাম বা ফোন নম্বর লিখুন","auth.login.error.emptyPassword":"অনুগ্রহ করে পাসওয়ার্ড লিখুন","auth.login.error.passwordLength":"পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে","auth.login.loading":"লগইন করা হচ্ছে...","auth.login.success":"লগইন সফল হয়েছে!","auth.login.error.failed":"লগইন ব্যর্থ হয়েছে","auth.register.title":"নিবন্ধন","auth.register.username.placeholder":"ব্যবহারকারীর নাম","auth.register.phone.placeholder":"+88 মোবাইল নম্বর","auth.register.verifyCode.placeholder":"যাচাইকরণ কোড","auth.register.password.placeholder":"পাসওয়ার্ড ৬-২০ অক্ষর","auth.register.referrerCode.placeholder":"রেফারার কোড","auth.register.getCode":"কোড পান","auth.register.button":"নিবন্ধন","auth.register.hasAccount":"ইতিমধ্যে অ্যাকাউন্ট আছে?","auth.register.loginNow":"এখনই লগইন করুন","auth.register.error.emptyUsername":"অনুগ্রহ করে ব্যবহারকারীর নাম লিখুন","auth.register.error.emptyPhone":"অনুগ্রহ করে ফোন নম্বর লিখুন","auth.register.error.invalidPhone":"অনুগ্রহ করে একটি বৈধ বাংলাদেশ ফোন নম্বর লিখুন","auth.register.error.emptyVerifyCode":"অনুগ্রহ করে যাচাইকরণ কোড লিখুন","auth.register.error.emptyPassword":"অনুগ্রহ করে পাসওয়ার্ড লিখুন","auth.register.error.passwordLength":"পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে","auth.register.success.codeSent":"যাচাইকরণ কোড সফলভাবে পাঠানো হয়েছে","auth.register.success.registered":"নিবন্ধন সফল","auth.register.error.registrationFailed":"নিবন্ধন ব্যর্থ","auth.forgotPassword.title":"পাসওয়ার্ড ভুলে গেছেন","auth.forgotPassword.phone.placeholder":"ফোন নম্বর","auth.forgotPassword.verifyCode.placeholder":"যাচাইকরণ কোড","auth.forgotPassword.newPassword.placeholder":"নতুন পাসওয়ার্ড","auth.forgotPassword.confirmPassword.placeholder":"পাসওয়ার্ড নিশ্চিত করুন","auth.forgotPassword.getCode":"কোড পান","auth.forgotPassword.button":"পাসওয়ার্ড রিসেট করুন","auth.forgotPassword.backToLogin":"লগইনে ফিরে যান","auth.forgotPassword.error.emptyPhone":"অনুগ্রহ করে ফোন নম্বর লিখুন","auth.forgotPassword.error.invalidPhone":"অনুগ্রহ করে বৈধ ফোন নম্বর লিখুন","auth.forgotPassword.error.emptyVerifyCode":"অনুগ্রহ করে যাচাইকরণ কোড লিখুন","auth.forgotPassword.error.emptyNewPassword":"অনুগ্রহ করে নতুন পাসওয়ার্ড লিখুন","auth.forgotPassword.error.passwordLength":"পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে","auth.forgotPassword.error.emptyConfirmPassword":"অনুগ্রহ করে আপনার পাসওয়ার্ড নিশ্চিত করুন","auth.forgotPassword.error.passwordMismatch":"পাসওয়ার্ড মিলছে না","auth.forgotPassword.success.codeSent":"যাচাইকরণ কোড সফলভাবে পাঠানো হয়েছে","auth.forgotPassword.success.passwordReset":"পাসওয়ার্ড সফলভাবে রিসেট হয়েছে","auth.forgotPassword.error.sendCodeFailed":"যাচাইকরণ কোড পাঠাতে ব্যর্থ","auth.forgotPassword.error.resetFailed":"পাসওয়ার্ড রিসেট করতে ব্যর্থ","auth.forgotPassword.passwordHint":"আপনার পাসওয়ার্ড পূর্বে ব্যবহৃত পাসওয়ার্ড থেকে আলাদা হতে হবে","auth.forgotPassword.hasAccount":"ইতিমধ্যে অ্যাকাউন্ট আছে?","auth.forgotPassword.loginNow":"এখনই লগইন করুন","common.loading":"লোড হচ্ছে...","common.saving":"সংরক্ষণ করা হচ্ছে...","common.success":"সফল","common.error":"ত্রুটি","common.error.request":"অনুরোধ ত্রুটি","common.error.network":"নেটওয়ার্ক ত্রুটি, অন্য নেটওয়ার্ক চেষ্টা করুন","common.confirm":"নিশ্চিত করুন","common.cancel":"বাতিল","common.submit":"জমা দিন","common.save":"সংরক্ষণ","common.edit":"সম্পাদনা","common.delete":"মুছুন","common.add":"যোগ করুন","common.search":"অনুসন্ধান","common.filter":"ফিল্টার","common.all":"সব","common.none":"কোনটি নয়","common.empty":"কোনো ডেটা নেই","common.retry":"আবার চেষ্টা করুন","common.back":"ফিরে যান","common.next":"পরবর্তী","common.previous":"পূর্ববর্তী","common.close":"বন্ধ করুন","common.open":"খুলুন","common.view":"দেখুন","common.more":"আরও","wallet.myWallet.title":"আমার ওয়ালেট","wallet.balance":"ওয়ালেট ভারসাম্য","wallet.frozenBalance":"হিমায়িত ভারসাম্য","wallet.availableAmount":"উপলব্ধ পরিমাণ","wallet.recharge":"রিচার্জ","wallet.withdrawNow":"এখনই উত্তোলন করুন","wallet.record":"ওয়ালেট রেকর্ড","wallet.filter.all":"সব","wallet.filter.recharge":"রিচার্জ","wallet.filter.withdraw":"উত্তোলন","wallet.filter.commission":"কমিশন","wallet.rechargeRecord.title":"রিচার্জ রেকর্ড","wallet.withdrawRecord.title":"উত্তোলন রেকর্ড","wallet.frozenRecord.title":"হিমায়িত পরিমাণ রেকর্ড","wallet.frozenRecord.type.withdraw":"উত্তোলন হিমায়িত","wallet.frozenRecord.type.refund":"ফেরত হিমায়িত","missionCenter.title":"মিশন সেন্টার","referEarn.title":"রেফার এবং আয়","vipMembership.title":"ভিআইপি সদস্যতা","notifications.title":"বিজ্ঞপ্তি","notifications.tabs.all":"সব","notifications.tabs.orders":"অর্ডার","notifications.tabs.revenue":"রাজস্ব","notifications.tabs.account":"অ্যাকাউন্ট","notifications.tabs.promos":"প্রচার","notifications.time.sunday":"রবি","notifications.time.monday":"সোম","notifications.time.tuesday":"মঙ্গল","notifications.time.wednesday":"বুধ","notifications.time.thursday":"বৃহস্পতি","notifications.time.friday":"শুক্র","notifications.time.saturday":"শনি","notifications.order.paymentSuccess.title":"গ্রুপ বাই পেমেন্ট সফল","notifications.order.paymentSuccess.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] সফলভাবে পেমেন্ট হয়েছে","notifications.order.groupBuyWin.title":"গ্রুপ বাই সফল","notifications.order.groupBuyWin.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] নির্বাচিত হয়েছে","notifications.order.groupBuyLose.title":"গ্রুপ বাই সফল","notifications.order.groupBuyLose.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] নির্বাচিত হয়নি","notifications.order.provideAddress.title":"অর্ডার শিপিং ঠিকানা প্রদান","notifications.order.provideAddress.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] অনুগ্রহ করে আপনার শিপিং ঠিকানা প্রদান করুন","notifications.order.groupBuyFail.title":"গ্রুপ বাই ব্যর্থ","notifications.order.groupBuyFail.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] ব্যর্থ হয়েছে","notifications.order.shipped.title":"অর্ডার সফলভাবে শিপ হয়েছে","notifications.order.shipped.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] সফলভাবে শিপ হয়েছে","notifications.order.recycleReward.title":"অর্ডার রিসাইকেল পুরস্কার","notifications.order.recycleReward.content":"আপনি অর্ডার রিসাইকেলের জন্য পুরস্কার পেয়েছেন","notifications.reward.referFriends.title":"বন্ধু রেফার পুরস্কার","notifications.reward.referFriends.content":"আপনি বন্ধু রেফারের জন্য পুরস্কার পেয়েছেন","notifications.reward.groupBuy.title":"গ্রুপ বাই যোগ দিন পুরস্কার","notifications.reward.groupBuy.content":"আপনি একটি পুরস্কার পেয়েছেন, অর্ডার আইডি [{orderId}]","notifications.reward.openGroupBuy.title":"গ্রুপ বাই খোলা পুরস্কার","notifications.reward.openGroupBuy.content":"আপনি একটি পুরস্কার পেয়েছেন, অর্ডার আইডি [{orderId}]","notifications.reward.directReferral.title":"সরাসরি রেফারেল পুরস্কার","notifications.reward.directReferral.content":"আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন","notifications.reward.checkin.title":"চেক-ইন পুরস্কার","notifications.reward.checkin.content":"আপনি চেক-ইনের জন্য পুরস্কার পেয়েছেন","notifications.reward.firstCommission.title":"সরাসরি রেফারেল পুরস্কার","notifications.reward.firstCommission.content":"আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন","notifications.reward.secondaryCommission.title":"সরাসরি রেফারেল পুরস্কার","notifications.reward.secondaryCommission.content":"আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন","notifications.money.rechargeSuccess.title":"রিচার্জ সফল","notifications.money.rechargeSuccess.content":"আপনার KLICKwallet সফলভাবে রিচার্জ হয়েছে","notifications.money.withdrawalAccountSuccess.title":"উত্তোলন সফল","notifications.money.withdrawalAccountSuccess.content":"আপনার রাজস্ব অ্যাকাউন্ট উত্তোলনের অনুরোধ প্রক্রিয়াকরণ করা হয়েছে","notifications.money.withdrawalWalletSuccess.title":"উত্তোলন সফল","notifications.money.withdrawalWalletSuccess.content":"আপনার KLICK ওয়ালেট উত্তোলনের অনুরোধ প্রক্রিয়াকরণ করা হয়েছে","notifications.money.withdrawalFail.title":"উত্তোলন ব্যর্থ","notifications.money.withdrawalFail.content":"আপনার উত্তোলনের অনুরোধ ব্যর্থ হয়েছে","productDetail.title":"পণ্যের বিস্তারিত","productDetail.notification.message":"{name} এই গ্রুপ {time} সেকেন্ড আগে {action}!","productDetail.notification.opened":"খুলেছে","productDetail.notification.joined":"যোগ দিয়েছে","webLink.title":"ওয়েব লিংক","missionCenter.signIn.title":"পুরস্কার পেতে ধারাবাহিকভাবে সাইন ইন করুন","missionCenter.signIn.button":"চেক-ইন","missionCenter.dailyMission.title":"দৈনিক মিশন","missionCenter.dailyMission.startNow":"এখনই শুরু করুন","missionCenter.dailyMission.inviteFriends.name":"বন্ধুদের আমন্ত্রণ জানিয়ে নগদ আয় করুন","missionCenter.dailyMission.inviteFriends.description":"সীমাহীন পুরস্কার","missionCenter.dailyMission.openGroupBuy.name":"গ্রুপ বাই খুলুন","missionCenter.dailyMission.openGroupBuy.description":"গ্রুপ খোলার পুরস্কার জিতুন","missionCenter.dailyMission.joinGroupBuy.name":"গ্রুপ বাই-এ যোগ দিন","missionCenter.dailyMission.joinGroupBuy.description":"গ্রুপ খোলার পুরস্কার জিতুন","vipMembership.inviteProgress":"আমাদের এখনও {0} বন্ধুদের আমন্ত্রণ করতে হবে। V{1} এ আপগ্রেড করা যেতে পারে","vipMembership.invitedFriends":"আমন্ত্রিত বন্ধু","vipMembership.teamMembers":"দলের সদস্য","vipMembership.l7dEarnings":"গত ৭ দিনের আয়","vipMembership.benefitsTiers":"ভিআইপি সুবিধা/স্তর","vipMembership.table.vipLevel":`ভিআইপি স্তর`,"vipMembership.table.invitedNo":`আমন্ত্রিত নং`,"vipMembership.table.directReferralReward":`সরাসরি রেফারেল পুরস্কার`,"vipMembership.table.indirectReferralReward":`পরোক্ষ রেফারেল পুরস্কার`,"vipMembership.table.joinedGroupsNo":`যোগ দেওয়া গ্রুপ নং`,"referEarn.inviteFriends":"বন্ধুদের আমন্ত্রণ করুন","referEarn.earnCash":"নগদ টাকা উপার্জন করুন","referEarn.shareNow":"এখনই শেয়ার করুন","referEarn.howToShare":"- কীভাবে শেয়ার করে টাকা উপার্জন করবেন -","referEarn.step1":"আমন্ত্রণ বন্ধুদের শেয়ার করুন","referEarn.step2":"আপনার বন্ধু গ্রুপে যোগ দিন","referEarn.step3":"আপনি ৳{0} পুরস্কার পান","referEarn.invitedFriends":"আমন্ত্রিত বন্ধু","checkout.title":"চেকআউট","checkout.selected":"নির্বাচিত","checkout.quantity":"পরিমাণ","checkout.orderSummary":"অর্ডার সারাংশ","checkout.subTotal":"মোট","checkout.total":"মোট","checkout.selectPaymentMethod":"পেমেন্ট পদ্ধতি নির্বাচন করুন","checkout.walletBalance":"ব্যালেন্স","checkout.placeOrder":"অর্ডার করুন","checkout.trust.rewards":"সবার জন্য নিশ্চিত রিওয়ার্ড!","checkout.trust.refund":"না জিতলে সম্পূর্ণ রিফান্ড!","checkout.dialog.insufficientBalance":`আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত। অনুগ্রহ করে রিচার্জ করুন!`,"checkout.dialog.rechargeDiscount":"রিচার্জ সর্বোচ্চ ছাড় ৫%","checkout.dialog.rechargeNow":"এখনই রিচার্জ করুন","checkout.dialog.paymentSuccess":`পেমেন্ট সফল! আপনার অর্ডার করা হয়েছে।`,"checkout.dialog.viewOrder":"অর্ডার দেখুন","checkout.dialog.paymentFailed":`পেমেন্ট ব্যর্থ! অনুগ্রহ করে আবার চেষ্টা করুন বা সমর্থন যোগাযোগ করুন।`,"checkout.dialog.retryPayment":"পেমেন্ট আবার চেষ্টা করুন","checkout.dialog.retry":"আবার চেষ্টা করুন","checkout.dialog.gotIt":"বুঝেছি","checkout.toast.redirecting":"অর্ডারে পুনঃনির্দেশিত হচ্ছে...","checkout.toast.retrying":"আবার চেষ্টা করা হচ্ছে...","bestSellers.title":"সেরা বিক্রেতা","bestSellers.successfullyGrouped":"গত ৭ দিনে {0} এর বেশি সফলভাবে গ্রুপ করা হয়েছে","productDetail.price":"দাম","productDetail.sold":"{0} বিক্রি হয়েছে","productDetail.groupRules":"গ্রুপ নিয়ম","productDetail.viewRules":"নিয়ম দেখুন","productDetail.viewRulesLinkTitle":"গ্রুপ ক্রয় নিয়ম","productDetail.ongoingGroup":"চলমান গ্রুপ","productDetail.need":"প্রয়োজন","productDetail.more":"আরও","productDetail.joinGroup":"গ্রুপে যোগ দিন","productDetail.details":"বিস্তারিত","productDetail.home":"হোম","productDetail.favorite":"পছন্দ","productDetail.favoriteSuccess":"পছন্দে যোগ করা হয়েছে","productDetail.unfavoriteSuccess":"পছন্দ থেকে সরানো হয়েছে","productDetail.favoriteError":"অপারেশন ব্যর্থ, অনুগ্রহ করে আবার চেষ্টা করুন","upgrade.title":"আপডেট লগ","upgrade.newVersion":"নতুন সংস্করণ উপলব্ধ","upgrade.version":"সংস্করণ {version}","upgrade.download":"এখনই আপডেট ডাউনলোড করুন","upgrade.downloading":"প্যাকেজ ডাউনলোড হচ্ছে, অনুগ্রহ করে অপেক্ষা করুন...","upgrade.downloadProgress":"{0}M/{1}M","upgrade.install":"ডাউনলোড সম্পূর্ণ, এখনই ইনস্টল করুন","upgrade.installing":"ইনস্টল করা হচ্ছে...","upgrade.installIncomplete":"ইনস্টলেশন অসম্পূর্ণ, ইনস্টল করতে ক্লিক করুন","upgrade.restart":"ইনস্টলেশন সম্পূর্ণ, রিস্টার্ট করতে ক্লিক করুন","upgrade.goToStore":"এখনই স্টোরে যান","productDetail.openGroup":"গ্রুপ খুলুন","productDetail.quantity":"পরিমাণ","topChampions.title":"শীর্ষ চ্যাম্পিয়ন","topChampions.top":"শীর্ষ","topChampions.invitedFriends":"আমন্ত্রিত বন্ধু","topChampions.l7dEarnings":"গত ৭ দিনের আয়","topChampions.teamMembers":"দলের সদস্য","topChampions.joinedGroups":"যোগ দেওয়া গ্রুপ","wallet.recharge.title":"রিচার্জ","wallet.recharge.submit":"জমা দিন","orderDetail.deliveryPartner":"ডেলিভারি পার্টনার","orderDetail.subTotal":"মোট","orderDetail.bandhuBuyWallet":"BandhuBuy ওয়ালেট","orderDetail.paymentMethod":"পেমেন্ট","orderDetail.walletBalanceText":"ভারসাম্য","orderDetail.walletAmountText":"নগদ প্রত্যাহার","orderDetail.walletFeeText":"পরিষেবা মাল্য","productDetail.fullRefundText":"জিততে না পারলে পুরো ফেরত + নগদ পুরস্কার","app.notificationPermission":"আপনি বিজ্ঞপ্তি অনুমতি খুলেননি","wallet.recharge.record":"রেকর্ড","wallet.recharge.selectProvider":"আপনার ওয়ালেট প্রোভাইডার নির্বাচন করুন","wallet.recharge.depositAmount":"জমা পরিমাণ","wallet.recharge.reminder":"স্মরণ: রিচার্জ সফল না হলে, অনুগ্রহ করে অন্য চ্যানেল নির্বাচন করুন। লেনদেন আইডি সঠিকভাবে পূরণ করতে হবে।","wallet.recharge.enterAmount":"অনুগ্রহ করে রিচার্জ পরিমাণ লিখুন","wallet.recharge.minAmount":"ন্যূনতম {minAmount}","wallet.recharge.maxAmount":"সর্বোচ্চ {maxAmount}","orderDetail.rechargeDialog.title":`আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত। অনুগ্রহ করে রিচার্জ করুন!`,"orderDetail.rechargeDialog.confirm":"এখনই রিচার্জ করুন","orderDetail.payDialog.title":"পেমেন্ট","orderDetail.payDialog.confirm":"এখনই পেমেন্ট করুন","orderDetail.payment.loading":"পেমেন্ট...","orderDetail.time.placed":"অর্ডার করা হয়েছে","orderDetail.time.paid":"পেমেন্ট করা হয়েছে","orderDetail.time.shipped":"শিপ করা হয়েছে","orderDetail.time.completed":"সম্পন্ন হয়েছে","orderDetail.copy.success":"ক্লিপবোর্ডে অনুলিপি করা হয়েছে","wallet.unpaidOrderDialog.title":`আপনার কাছে অসম্পন্ন টপ আপ অর্ডার রয়েছে, আপনি কি চালিয়ে যেতে চান?`,"wallet.unpaidOrderDialog.confirm":"দেখুন","wallet.unpaidOrderDialog.cancel":"বাতিল","wallet.record.type.DT":"আজকে","wallet.record.type.YT":"গতকাল","wallet.record.type.L7D":"গত ৭ দিন","wallet.record.type.MTD":"এই মাসে","wallet.record.type.YTD":"এই বছরে","login.slogan":"আরও গ্রুপ ক্রয়, আরও বড় পুরস্কার","common.operate.success":"অপারেশন সফল","uni.app.quit":"অ্যাপ্লিকেশন থেকে আবার ক্লিক করুন","uni.async.error":"সার্ভারের সাথে সংযোগ সময়সীমা শেষ হয়েছে, স্ক্রিনে ক্লিক করে পুনরায় চেষ্টা করুন","uni.showActionSheet.cancel":"বাতিল করুন","uni.showToast.unpaired":"দয়া করে লক্ষ্য করুন showToast এবং hideToast অবশ্যই জোড়াযুক্তভাবে ব্যবহার করতে হবে","uni.showLoading.unpaired":"দয়া করে লক্ষ্য করুন showLoading এবং hideLoading অবশ্যই জোড়াযুক্তভাবে ব্যবহার করতে হবে","uni.showModal.cancel":"বাতিল করুন","uni.showModal.confirm":"নিশ্চিত করুন","uni.chooseImage.cancel":"বাতিল করুন","uni.chooseImage.sourceType.album":"আলবাম থেকে বেছে নিন","uni.chooseImage.sourceType.camera":"ছবি তুলুন","uni.chooseVideo.cancel":"বাতিল করুন","uni.chooseVideo.sourceType.album":"আলবাম থেকে বেছে নিন","uni.chooseVideo.sourceType.camera":"ভিডিও রেকর্ড করুন","uni.previewImage.cancel":"বাতিল করুন","uni.previewImage.button.save":"ছবি সংরক্ষণ করুন","uni.previewImage.save.success":"ছবি আলবামে সংরক্ষণ করা হয়েছে","uni.previewImage.save.fail":"ছবি আলবামে সংরক্ষণ করতে ব্যর্থ হয়েছে","uni.setClipboardData.success":"কন্টেন্ট কপি করা হয়েছে","uni.scanCode.title":"কোড স্ক্যান করুন","uni.scanCode.album":"আলবাম","uni.scanCode.fail":"সনাক্তকরণ ব্যর্থ হয়েছে","uni.scanCode.flash.on":"আলোক করার জন্য ট্যাপ করুন","uni.scanCode.flash.off":"বন্ধ করার জন্য ট্যাপ করুন","uni.startSoterAuthentication.authContent":"ফিঙ্গারপ্রিন্ট সনাক্তকরণ চলছে...","uni.picker.done":"সম্পন্ন","uni.picker.cancel":"বাতিল করুন","uni.video.danmu":"ড্যানমু (কমেন্ট স্ট্রিম)","uni.video.volume":"বল륮","uni.button.feedback.title":"문제 প্রতিক্রিয়া","uni.button.feedback.send":"পাঠান"},Bw=Object.freeze(Object.defineProperty({__proto__:null,default:Lm},Symbol.toStringTag,{value:"Module"})),Rm={title:"Update Available",newVersion:"New Version",version:"Version: {version}",download:"Download",installing:"Installing...",install:"Install",restart:"Restart App",goToStore:"Go to Store",downloading:"Downloading...",downloadProgress:"{downloaded}MB/{total}MB",installIncomplete:"Installation Incomplete"},Mm={"addressBook.title":"Address Book","addressBook.operate.title.add":"Add Address","addressBook.operate.title.edit":"Edit Address","addressBook.operate.loading":"Loading...","addressBook.operate.saving":"Saving...","addressBook.operate.form.fullName":"Full Name","addressBook.operate.form.phone":"Phone Number","addressBook.operate.form.phone.placeholder":"+88","addressBook.operate.form.district":"Privince/District","addressBook.operate.form.district.placeholder":"Please Choose","addressBook.operate.form.street":"Floor/Unit No./Street","addressBook.operate.form.street.placeholder":"Detailed Address","addressBook.operate.form.postcode":"Postcode","addressBook.operate.form.postcode.placeholder":"Your Postcode","addressBook.operate.form.default":"Default","addressBook.operate.button.save":"Save","addressBook.operate.button.update":"Update","addressBook.operate.error.loadFailed":"Failed to load address details","addressBook.operate.error.emptyName":"Please enter full name","addressBook.operate.error.emptyPhone":"Please enter phone number","addressBook.operate.error.emptyDistrict":"Please select province/district","addressBook.operate.error.emptyStreet":"Please enter detailed address","addressBook.operate.success.update":"Address updated successfully","addressBook.operate.success.save":"Address saved successfully","addressBook.operate.error.saveFailed":"Save failed, please try again","addressBook.operate.error.loadPage":"Page load failed","addressBook.delete.deleting":"Deleting...","addressBook.delete.success":"Address deleted successfully","myOrders.title":"My Orders","myOrders.tab.all":"All","myOrders.tab.toPay":"To Pay","myOrders.tab.success":"Success","myOrders.tab.failed":"Failed","myOrders.tab.reward":"Reward","myOrders.order.id":"Order ID","myOrders.order.color":"Color","myOrders.order.quantity":"Quantity","myOrders.selectTip":"You can choose {0} orders for recycling","myOrders.total":"Total","myOrders.recycleOrder":"Recycle Order","myOrders.recycleSuccess":"Order recycled successfully","myOrders.recycleFailed":"Failed to recycle order","myOrders.dialog.title":"Sell Back Order","myOrders.dialog.notesTitle":"Notes:","myOrders.dialog.note1":"① You can choose to have BandhuBuy sell back the items in the group order.","myOrders.dialog.note2":"② The sell back price is {0}% of the product.","myOrders.dialog.note3":"③ The recovered amount will be distributed to your earnings account.","myOrders.dialog.priceLabel":"Sell Back Price","myOrders.dialog.confirm":"Confirm","orderDetail.title":"Order Detail","orderDetail.loading":"Loading...","orderDetail.congrats":"Congrats, You won the prize in this group!","orderDetail.receiveReward":"You have received group opening reward","orderDetail.sorry":"So sorry, You didn't win in this group","orderDetail.waiting":"Please wait for the draw of this group","orderDetail.paymentCountdown":"Please make payment within:","orderDetail.status9.sellBackPrefix":"Product has been sell back for","orderDetail.status9.receivePrefix":"You have received","orderDetail.status9.rewardSuffix":"group opening reward","orderDetail.address.add":"Please provide your shipping address","orderDetail.address.name":"Recipient","orderDetail.address.orderNo":"Order ID","orderDetail.address.color":"Color","orderDetail.address.quantity":"Quantity","orderDetail.summary.title":"Order Summary","orderDetail.summary.subtotal":"SubTotal","orderDetail.payment.title":"Paid by","orderDetail.payment.placedOn":"Placed on","orderDetail.button.cancel":"Cancel","orderDetail.button.share":"Share Now","orderDetail.button.pay":"Pay Now","orderDetail.dialog.cancel.title":"Are you sure you want to cancel this order?","orderDetail.dialog.cancel.confirm":"Yes, Cancel","orderDetail.dialog.cancel.keep":"Keep Order","orderDetail.cancel.loading":"Cancelling order...","orderDetail.cancel.success":"Order cancelled successfully!","orderDetail.cancel.error":"Failed to cancel order. Please try again.","orderDetail.payment.success":"Payment Successful","wallet.withdraw.success":"Withdrawal request submitted successfully","wallet.withdraw.fail":"Failed to submit withdrawal request, please try again","addressBook.delete.confirm":"Confirm Delete","addressBook.delete.message":"Are you sure you want to delete this address?","addressBook.delete.button":"Delete","addressBook.tag.default":"Default","addressBook.button.add":"Add New Address","addressBook.select.binding":"Binding address...","addressBook.select.success":"Address bound successfully!","addressBook.select.failed":"Failed to bind address. Please try again.","myProfile.title":"My Profile","myProfile.avatar":"Avatar","myProfile.userId":"User ID","myProfile.userName":"User Name","myProfile.mobileNumber":"Mobile Number","myProfile.bankName":"Bank Name","myProfile.bankAccountName":"Bank Account Name","myProfile.bankAccountNo":"Bank Account No.","myProfile.upload.sizeLimit":"Image size cannot exceed 5MB","myProfile.upload.uploading":"Uploading...","myProfile.upload.success":"Avatar updated successfully","myProfile.upload.error":"Failed to update avatar","setting.title":"Setting","setting.changePassword":"Change Password","setting.language":"Language","setting.policies":"Privacy Policy","setting.termsOfService":"Terms of Service","setting.refund":"Return & Refund Policy","setting.logout":"Logout","setting.version":"Version {0}","home.missionCenter":`Mission Center`,"home.refer&earn":`Refer &Earn`,"home.vip":`VIP Membership`,"home.bestSellers":`Best Sellers`,"home.topChampions":`Top Champions`,"home.news":"News","home.priceTab.allPrice":"All Price","home.priceTab.300spot":"300Spot","home.priceTab.500spot":"500Spot","home.priceTab.1000spot":"1000Spot","home.priceTab.2000spot":"2000Spot","home.priceTab.3000spot":"3000Spot","search.placeholder":"Search","search.filterPrice":"All Price","search.filterCategory":"Category","search.filterSellers":"BestSellers","search.filterSellers1":"Latest","income.title":"Revenue Center","mine.auth.register":"Register","mine.auth.login":"Login","mine.wallet.title":"BandhuBuy Wallet","mine.wallet.balance":"Wallet Account Balance","mine.wallet.recharge":"Recharge","mine.group.title":"My Group","mine.group.all":"All Group","mine.group.toPay":"To Pay","mine.group.success":"Success","mine.group.failed":"Failed","mine.group.reward":"Reward","mine.menu.profile":"My Profile","mine.menu.address":"Address Book","mine.menu.share":"Share","mine.menu.favorite":"My Favorite","mine.menu.helpCenter":"Help Center","mine.menu.chat":"Live Chat","mine.menu.activity":"Activity Group","helpCenter.title":"Help Center","helpCenter.detail.title":"Help Center","income.totalEarnings":"Total Earnings","income.accountBalance":"Revenue Account Balance","income.settledAmount":"Settled Amount","income.pendingAmount":"Pending Amount","income.tdEarnings":"TD Earnings","income.ydEarnings":"YD Earnings","income.mtdEarnings":"MTD Earnings","income.myGroupData":"My Group Data","wallet.withdraw.title":"Withdraw","wallet.withdraw.balance":"Wallet Available Amount","wallet.withdraw.balanceRevenue":"Revenue Available Amount","wallet.withdraw.balanceWallet":"Wallet Available Amount","wallet.withdraw.info":"Withdrawal information","wallet.withdraw.form.bankName":"Bank Name","wallet.withdraw.form.bankAccountName":"Bank Account Name","wallet.withdraw.form.bankAccountNo":"Bank Account No.","wallet.withdraw.form.amount":"Withdrawal Amount","wallet.withdraw.form.allAmount":"All Amounts","wallet.withdraw.form.submit":"Submit","wallet.withdraw.record":"Record","wallet.withdraw.error.bankName":"Please select bank","wallet.withdraw.error.bankAccountName":"Please enter Bank Account Name","wallet.withdraw.error.bankAccountNo":"Please enter Bank Account No.","wallet.withdraw.error.amount":"Please enter Withdrawal Amount","wallet.withdraw.notes.title":"Notes:","wallet.withdraw.notes.1":"Withdrawal Review Hours Are From 9 AM To 10 PM. Expected to arrive within 2 hours after withdrawal, actual arrival time is subject to the final successful processing time","wallet.withdraw.notes.2":"Make sure your bank account details is correct.","wallet.withdraw.notes.3":"The withdrawal bank account information must be consistent with the registered account information.","wallet.withdraw.notes.4":"The minimum amount for a single withdrawal is ৳{0} and the maximum is ৳{1};","wallet.withdraw.notes.5":"Every withdrawal you make will incur a {0}% withdrawal handling fee;","income.withdrawNow":"Withdraw Now","income.revenueRecord":"Revenue Record","income.filter.dt":"DT","income.filter.yt":"YT","income.filter.l7d":"L7D","income.filter.mtd":"MTD","income.filter.ytd":"YTD","mine.pages.share.title":"Share","mine.pages.share.referrerCode":"My Referrer Code","mine.pages.share.qrCode":"QR Code","mine.pages.share.description":"Share your QR code with your friends, they can scan it with their camera to register as your downline.","mine.pages.share.copySuccess":"Copied to clipboard","mine.header.referrerCode":"Referrer Code","mine.header.copy":"Copy","mine.pages.share.shareTo":"Share to {0}","share.appNotInstalled":"Please download the APP to enable sharing","share.productShareText":`[BandhuBuy] {url} {productName} Get it on BandhuBuy now!`,"share.inviteShareText":"[BandhuBuy] {url} Your friend invited you to register","mine.pages.myFavorite.title":"My Favorite","mine.pages.myFavorite.empty":"No favorites yet","auth.login.title":"Login","auth.login.username.placeholder":"Mobile number / Username","auth.login.password.placeholder":"Password 6-20 characters","auth.login.button":"Login","auth.login.noAccount":"Do Not Have An Account Yet?","auth.login.register":"Register","auth.login.forgotPassword":"Forgot Password?","auth.login.error.emptyUsername":"Please enter username or phone number","auth.login.error.emptyPassword":"Please enter password","auth.login.error.passwordLength":"Password should be 6-20 characters","auth.login.loading":"Logging in...","auth.login.success":"Login successful!","auth.login.error.failed":"Login failed","auth.register.title":"Register","auth.register.username.placeholder":"Username","auth.register.phone.placeholder":"+88 Mobile number","auth.register.verifyCode.placeholder":"Verification Code","auth.register.password.placeholder":"Password 6-20 characters","auth.register.referrerCode.placeholder":"Referrer Code","auth.register.getCode":"Get Code","auth.register.button":"Register","auth.register.hasAccount":"Already have account?","auth.register.loginNow":"Login Now","auth.register.error.emptyUsername":"Please enter username","auth.register.error.emptyPhone":"Please enter phone number","auth.register.error.invalidPhone":"Please enter a valid Bangladesh phone number","auth.register.error.emptyVerifyCode":"Please enter verification code","auth.register.error.emptyPassword":"Please enter password","auth.register.error.passwordLength":"Password should be 6-20 characters","auth.register.success.codeSent":"Verification code sent successfully","auth.register.success.registered":"Registration successful","auth.register.error.registrationFailed":"Registration failed","auth.forgotPassword.title":"Forgot Password","auth.forgotPassword.phone.placeholder":"Phone number","auth.forgotPassword.verifyCode.placeholder":"Verification Code","auth.forgotPassword.newPassword.placeholder":"New Password","auth.forgotPassword.confirmPassword.placeholder":"Confirm Password","auth.forgotPassword.getCode":"Get Code","auth.forgotPassword.button":"Reset Password","auth.forgotPassword.backToLogin":"Back to Login","auth.forgotPassword.error.emptyPhone":"Please enter phone number","auth.forgotPassword.error.invalidPhone":"Please enter valid phone number","auth.forgotPassword.error.emptyVerifyCode":"Please enter verification code","auth.forgotPassword.error.emptyNewPassword":"Please enter new password","auth.forgotPassword.error.passwordLength":"Password should be 6-20 characters","auth.forgotPassword.error.emptyConfirmPassword":"Please confirm your password","auth.forgotPassword.error.passwordMismatch":"Passwords do not match","auth.forgotPassword.success.codeSent":"Verification code sent successfully","auth.forgotPassword.success.passwordReset":"Password reset successfully","auth.forgotPassword.error.sendCodeFailed":"Failed to send verification code","auth.forgotPassword.error.resetFailed":"Failed to reset password","auth.forgotPassword.passwordHint":"Your password must be different from previous used password","auth.forgotPassword.hasAccount":"Already have account?","auth.forgotPassword.loginNow":"Login Now","common.loading":"Loading...","common.saving":"Saving...","common.success":"Success","common.error":"Error","common.error.request":"Request error","common.error.network":"Network error, please try another network","common.confirm":"Confirm","common.cancel":"Cancel","common.submit":"Submit","common.save":"Save","common.edit":"Edit","common.delete":"Delete","common.add":"Add","common.search":"Search","common.filter":"Filter","common.all":"All","common.none":"None","common.empty":"No data available","common.retry":"Retry","common.back":"Back","common.next":"Next","common.previous":"Previous","common.close":"Close","common.open":"Open","common.view":"View","common.more":"More","wallet.myWallet.title":"My Wallet","wallet.balance":"Wallet Balance","wallet.frozenBalance":"Frozen Balance","wallet.availableAmount":"Available Amount","wallet.recharge":"Recharge","wallet.withdrawNow":"Withdraw Now","wallet.record":"Wallet Record","wallet.filter.all":"All","wallet.filter.recharge":"Recharge","wallet.filter.withdraw":"Withdraw","wallet.filter.commission":"Commission","wallet.rechargeRecord.title":"Recharge Record","wallet.withdrawRecord.title":"Withdraw Record","wallet.frozenRecord.title":"Frozen Amount Record","wallet.frozenRecord.type.withdraw":"Withdraw Frozen","wallet.frozenRecord.type.refund":"Refund Frozen","missionCenter.title":"Mission Center","referEarn.title":"Refer & Earn","vipMembership.title":"VIP Membership","notifications.title":"Notifications","notifications.tabs.all":"All","notifications.tabs.orders":"Orders","notifications.tabs.revenue":"Revenue","notifications.tabs.account":"Account","notifications.tabs.promos":"Promos","notifications.time.sunday":"Sun","notifications.time.monday":"Mon","notifications.time.tuesday":"Tue","notifications.time.wednesday":"Wed","notifications.time.thursday":"Thu","notifications.time.friday":"Fri","notifications.time.saturday":"Sat","notifications.order.paymentSuccess.title":"Group Buy Payment Successful","notifications.order.paymentSuccess.content":"The group order you participated in [{orderId}] has been successfully paid","notifications.order.groupBuyWin.title":"Group Buy Successful","notifications.order.groupBuyWin.content":"The group order you participated in [{orderId}] has been selected","notifications.order.groupBuyLose.title":"Group Buy Successful","notifications.order.groupBuyLose.content":"The group order you participated in [{orderId}] was not selected","notifications.order.provideAddress.title":"Order provide shipping address","notifications.order.provideAddress.content":"The group order you participated in [{orderId}] Please provide your shipping address","notifications.order.groupBuyFail.title":"Group Buy Failed","notifications.order.groupBuyFail.content":"The group order you participated in [{orderId}] has failed","notifications.order.shipped.title":"Order shipped successfully","notifications.order.shipped.content":"The group order you participated in [{orderId}] has been successfully shipped","notifications.order.recycleReward.title":"Order Recycle Reward","notifications.order.recycleReward.content":"You have received the reward for order recycle","notifications.reward.referFriends.title":"Refer Friends Reward","notifications.reward.referFriends.content":"You have received the reward for refer friends","notifications.reward.groupBuy.title":"Join Group Buy Reward","notifications.reward.groupBuy.content":"You have received a reward, order ID [{orderId}]","notifications.reward.openGroupBuy.title":"Open Group Buy Reward","notifications.reward.openGroupBuy.content":"You have received a reward, order ID [{orderId}]","notifications.reward.directReferral.title":"Direct Referral Reward","notifications.reward.directReferral.content":"You have received the reward for Direct Referral","notifications.reward.checkin.title":"Check-in Reward","notifications.reward.checkin.content":"You have received the reward for Check-in","notifications.reward.firstCommission.title":"Direct Referral Reward","notifications.reward.firstCommission.content":"You have received the reward for Direct Referral","notifications.reward.secondaryCommission.title":"Direct Referral Reward","notifications.reward.secondaryCommission.content":"You have received the reward for Direct Referral","notifications.money.rechargeSuccess.title":"Recharge Successful","notifications.money.rechargeSuccess.content":"Your KLICKwallet has been successfully recharged","notifications.money.withdrawalAccountSuccess.title":"Withdrawal Successful","notifications.money.withdrawalAccountSuccess.content":"Your Revenue Account withdrawal request has been processed","notifications.money.withdrawalWalletSuccess.title":"Withdrawal Successful","notifications.money.withdrawalWalletSuccess.content":"Your KLICK wallet withdrawal request has been processed","notifications.money.withdrawalFail.title":"Withdrawal Failed","notifications.money.withdrawalFail.content":"Your withdrawal request has been failed","productDetail.title":"Product Detail","productDetail.notification.message":"{name} {action} this group {time}s ago!","productDetail.notification.opened":"opened","productDetail.notification.joined":"joined","webLink.title":"Web Link","missionCenter.signIn.title":"Continuous sign in to receive rewards","missionCenter.signIn.button":"Check-in","missionCenter.dailyMission.title":"Daily Mission","missionCenter.dailyMission.startNow":"Start Now","missionCenter.dailyMission.inviteFriends.name":"Invite Friends Earn Cash","missionCenter.dailyMission.inviteFriends.description":"Unlimited rewards","missionCenter.dailyMission.openGroupBuy.name":"Open Group Buy","missionCenter.dailyMission.openGroupBuy.description":"Win group opening rewards","missionCenter.dailyMission.joinGroupBuy.name":"Join Group Buy","missionCenter.dailyMission.joinGroupBuy.description":"Win group opening rewards","vipMembership.inviteProgress":"We still need to invite {0} friends. Can upgrade to V{1}","vipMembership.invitedFriends":"Invited Friends","vipMembership.teamMembers":"Team Members","vipMembership.l7dEarnings":"L7D Earnings","vipMembership.benefitsTiers":"VIP Benefits/Tiers","vipMembership.table.vipLevel":`VIP Level`,"vipMembership.table.invitedNo":`Invited No`,"vipMembership.table.directReferralReward":`Direct Referral Reward`,"vipMembership.table.indirectReferralReward":`Indirect Referral Reward`,"vipMembership.table.joinedGroupsNo":`Joined Groups No`,"referEarn.inviteFriends":"INVITE FRIENDS","referEarn.earnCash":"EARN CASH","referEarn.shareNow":"Share Now","referEarn.howToShare":"- How to Share and Earn Money -","referEarn.step1":"Share Invite Friends","referEarn.step2":"Your Friend Join Group","referEarn.step3":"You Get ৳{0} Reward","referEarn.invitedFriends":"Invited Friends","checkout.title":"Checkout","checkout.selected":"Selected","checkout.quantity":"Quantity","checkout.orderSummary":"Order Summary","checkout.subTotal":"SubTotal","checkout.total":"Total","checkout.selectPaymentMethod":"Select Payment Method","checkout.walletBalance":"Balance","checkout.placeOrder":"Place Order","checkout.trust.rewards":"Guaranteed rewards for ALL!","checkout.trust.refund":"Full refund if not won!","checkout.dialog.insufficientBalance":`Your wallet balance is insufficient. Please recharge!`,"checkout.dialog.rechargeDiscount":"Recharge Highest Discount 5%","checkout.dialog.rechargeNow":"Recharge Now","checkout.dialog.paymentSuccess":`Payment successful! Your order has been placed.`,"checkout.dialog.viewOrder":"View Order","checkout.dialog.paymentFailed":`Payment failed! Please try again or contact support.`,"checkout.dialog.retryPayment":"Retry Payment","checkout.dialog.retry":"Retry","checkout.dialog.gotIt":"Got it","checkout.toast.redirecting":"Redirecting to orders...","checkout.toast.retrying":"Retrying...","bestSellers.title":"Best Sellers","bestSellers.successfullyGrouped":"Successfully grouped over {0} L7D","productDetail.price":"Price","productDetail.sold":"{0} sold","productDetail.groupRules":"Group Rules","productDetail.viewRules":"View Rules","productDetail.viewRulesLinkTitle":"Group Buying Rules","productDetail.ongoingGroup":"Ongoing Group","productDetail.need":"Need","productDetail.more":"More","productDetail.joinGroup":"Join Group","productDetail.details":"Details","productDetail.home":"Home","productDetail.favorite":"Favorite","productDetail.favoriteSuccess":"Added to favorites","productDetail.unfavoriteSuccess":"Unfavorited successfully","productDetail.favoriteError":"Operation failed, please try again",upgrade:Rm,"upgrade.title":"Update Log","upgrade.newVersion":"New Version Available","upgrade.version":"Version {version}","upgrade.download":"Download Update Now","upgrade.downloading":"Downloading package, please wait...","upgrade.downloadProgress":"{0}M/{1}M","upgrade.install":"Download complete, install now","upgrade.installing":"Installing...","upgrade.installIncomplete":"Installation incomplete, click to install","upgrade.restart":"Installation complete, click to restart","upgrade.goToStore":"Go to Store Now","productDetail.openGroup":"Open Group","productDetail.quantity":"Quantity","topChampions.title":"Top Champions","topChampions.top":"TOP","topChampions.invitedFriends":"Invited Friends","topChampions.l7dEarnings":"L7D Earnings","topChampions.teamMembers":"Team Members","topChampions.joinedGroups":"Joined Groups","wallet.recharge.title":"Recharge","wallet.recharge.submit":"Submit","orderDetail.deliveryPartner":"Delivery Partner","orderDetail.subTotal":"SubTotal","orderDetail.bandhuBuyWallet":"BandhuBuy Wallet","orderDetail.paymentMethod":"Payment","orderDetail.walletBalanceText":"Balance","orderDetail.walletAmountText":"Withdraw amount","orderDetail.walletFeeText":"Service Fee","productDetail.fullRefundText":"Full refund if not won + cash reward","app.notificationPermission":"You have not opened notification permissions","wallet.recharge.record":"Record","wallet.recharge.selectProvider":"Select Your Wallet Provider","wallet.recharge.depositAmount":"Deposit Amount","wallet.recharge.reminder":"Reminder: If the recharge is not successful, please select another channel. Transaction ID must be filled in correctly.","wallet.recharge.enterAmount":"Please enter recharge amount","wallet.recharge.minAmount":"Min {minAmount}","wallet.recharge.maxAmount":"Max {maxAmount}","orderDetail.rechargeDialog.title":`Your wallet balance is insufficient. Please Recharge!`,"orderDetail.rechargeDialog.confirm":"Recharge Now","orderDetail.payDialog.title":"Payment","orderDetail.payDialog.confirm":"Pay Now","orderDetail.payment.loading":"Processing Payment...","orderDetail.time.placed":"Placed On","orderDetail.time.paid":"Paid On","orderDetail.time.shipped":"Shipped On","orderDetail.time.completed":"Completed On","orderDetail.copy.success":"Copied to clipboard","wallet.unpaidOrderDialog.title":`You have unfinished top up orders, Do you want to continue?`,"wallet.unpaidOrderDialog.confirm":"View","wallet.unpaidOrderDialog.cancel":"Cancel","wallet.record.type.DT":"DT","wallet.record.type.YT":"YT","wallet.record.type.L7D":"L7D","wallet.record.type.MTD":"MTD","wallet.record.type.YTD":"YTD","login.slogan":"More group purchases, bigger rewards","common.operate.success":"Operation successful"},Fw=Object.freeze(Object.defineProperty({__proto__:null,default:Mm,upgrade:Rm},Symbol.toStringTag,{value:"Module"})),Dm={title:"发现新版本",newVersion:"新版本",version:"版本号:{version}",download:"下载",installing:"安装中...",install:"安装",restart:"重启应用",goToStore:"前往应用商店",downloading:"下载中...",downloadProgress:"已下载{downloaded}MB,共{total}MB",installIncomplete:"安装未完成"},Nm={"addressBook.title":"地址簿","addressBook.operate.title.add":"添加地址","addressBook.operate.title.edit":"编辑地址","addressBook.operate.loading":"加载中...","addressBook.operate.saving":"保存中...","addressBook.operate.form.fullName":"姓名","addressBook.operate.form.phone":"手机号码","addressBook.operate.form.phone.placeholder":"+88","addressBook.operate.form.district":"省/区","addressBook.operate.form.district.placeholder":"请选择","addressBook.operate.form.street":"楼层/单元/街道","addressBook.operate.form.street.placeholder":"详细地址","addressBook.operate.form.postcode":"邮编","addressBook.operate.form.postcode.placeholder":"请输入邮编","addressBook.operate.form.default":"默认","addressBook.operate.button.save":"保存","addressBook.operate.button.update":"更新","addressBook.operate.error.loadFailed":"加载地址详情失败","addressBook.operate.error.emptyName":"请输入姓名","addressBook.operate.error.emptyPhone":"请输入手机号码","addressBook.operate.error.emptyDistrict":"请选择省/区","addressBook.operate.error.emptyStreet":"请输入详细地址","addressBook.operate.success.update":"地址更新成功","addressBook.operate.success.save":"地址保存成功","addressBook.operate.error.saveFailed":"保存失败,请重试","addressBook.operate.error.loadPage":"页面加载失败","addressBook.delete.deleting":"删除中...","addressBook.delete.success":"地址删除成功","myOrders.title":"我的订单","myOrders.tab.all":"全部","myOrders.tab.toPay":"待支付","myOrders.tab.success":"成功","myOrders.tab.failed":"失败","myOrders.tab.reward":"奖励","myOrders.order.id":"订单号","myOrders.order.color":"颜色","myOrders.order.quantity":"数量","myOrders.selectTip":"您可以选择 {0} 个订单进行回收","myOrders.total":"总计","myOrders.recycleOrder":"回收订单","myOrders.recycleSuccess":"订单回收成功","myOrders.recycleFailed":"订单回收失败","myOrders.dialog.title":"回售订单","myOrders.dialog.notesTitle":"注意事项:","myOrders.dialog.note1":"① 您可以选择让 BandhuBuy 回售团购订单中的商品。","myOrders.dialog.note2":"② 回收价格为商品价格的 {0}%。","myOrders.dialog.note3":"③ 回收金额将分配到您的收益账户。","myOrders.dialog.priceLabel":"回售价格","myOrders.dialog.confirm":"确认","orderDetail.title":"订单详情","orderDetail.loading":"加载中...","orderDetail.congrats":"恭喜,您在这个团中中奖了!","orderDetail.receiveReward":"您已收到团购开团奖励","orderDetail.sorry":"抱歉,您在这个团中未中奖","orderDetail.waiting":"请等待本团开奖","orderDetail.paymentCountdown":"请在以下时间内完成支付:","orderDetail.status9.sellBackPrefix":"商品已回收,回收价","orderDetail.status9.receivePrefix":"您已获得","orderDetail.status9.rewardSuffix":"开团奖励","orderDetail.address.add":"请填写收货地址","orderDetail.address.name":"收件人","orderDetail.address.orderNo":"订单号","orderDetail.address.color":"颜色","orderDetail.address.quantity":"数量","orderDetail.summary.title":"订单汇总","orderDetail.summary.subtotal":"小计","orderDetail.payment.title":"支付方式","orderDetail.payment.placedOn":"下单时间","orderDetail.button.cancel":"取消","orderDetail.button.share":"立即分享","orderDetail.button.pay":"立即支付","orderDetail.dialog.cancel.title":"确定要取消此订单吗?","orderDetail.dialog.cancel.confirm":"是,取消订单","orderDetail.dialog.cancel.keep":"保留订单","orderDetail.cancel.loading":"正在取消订单...","orderDetail.cancel.success":"订单已成功取消!","orderDetail.cancel.error":"取消订单失败,请重试。","orderDetail.payment.success":"支付成功","wallet.withdraw.success":"提现申请提交成功","wallet.withdraw.fail":"提现申请提交失败,请重试","addressBook.delete.confirm":"确认删除","addressBook.delete.message":"确定要删除这个地址吗?","addressBook.delete.button":"删除","addressBook.tag.default":"默认","addressBook.button.add":"添加新地址","addressBook.select.binding":"正在绑定地址...","addressBook.select.success":"地址绑定成功!","addressBook.select.failed":"绑定地址失败,请重试。","myProfile.title":"个人资料","myProfile.avatar":"头像","myProfile.userId":"用户ID","myProfile.userName":"用户名","myProfile.mobileNumber":"手机号","myProfile.bankName":"银行名称","myProfile.bankAccountName":"开户名","myProfile.bankAccountNo":"银行账号","myProfile.upload.sizeLimit":"图片大小不能超过5MB","myProfile.upload.uploading":"上传中...","myProfile.upload.success":"头像更新成功","myProfile.upload.error":"更新头像失败","setting.title":"设置","setting.changePassword":"修改密码","setting.language":"语言","setting.policies":"隐私政策","setting.termsOfService":"用户服务协议","setting.refund":"退货退款政策","setting.logout":"退出登录","setting.version":"版本 {0}","home.missionCenter":"任务中心","home.refer&earn":"推荐赚钱","home.vip":"VIP会员","home.bestSellers":"热销商品","home.topChampions":"顶级冠军","home.news":"新品","mine.auth.register":"注册","mine.auth.login":"登录","mine.wallet.title":"BandhuBuy钱包","mine.wallet.balance":"钱包账户余额","mine.wallet.recharge":"充值","mine.group.title":"我的团队","mine.group.all":"全部团队","mine.group.toPay":"待支付","mine.group.success":"成功","mine.group.failed":"失败","mine.group.reward":"奖励","mine.menu.profile":"我的资料","mine.menu.address":"地址簿","mine.menu.share":"分享","mine.menu.favorite":"我的收藏","mine.menu.helpCenter":"帮助中心","mine.menu.chat":"在线客服","mine.menu.activity":"活动群组","helpCenter.title":"帮助中心","helpCenter.detail.title":"帮助中心","home.priceTab.allPrice":"全部价格","home.priceTab.300spot":"300积分","home.priceTab.500spot":"500积分","home.priceTab.1000spot":"1000积分","home.priceTab.2000spot":"2000积分","home.priceTab.3000spot":"3000积分","income.title":"收益中心","income.totalEarnings":"总收益","income.accountBalance":"收入账户余额","income.settledAmount":"已结算金额","income.pendingAmount":"待结算金额","income.tdEarnings":"今日收益","income.ydEarnings":"昨日收益","income.mtdEarnings":"本月收益","income.myGroupData":"我的团队数据","income.withdrawNow":"立即提现","income.revenueRecord":"收益记录","income.filter.dt":"今日","income.filter.yt":"昨日","income.filter.l7d":"近7天","income.filter.mtd":"本月","income.filter.ytd":"本年","mine.pages.share.title":"分享","mine.pages.share.referrerCode":"我的推荐码","mine.pages.share.qrCode":"二维码","mine.pages.share.description":"与您的朋友分享二维码,他们可以用相机扫描以注册成为您的下线。","mine.pages.share.copySuccess":"已复制到剪贴板","mine.header.referrerCode":"邀请码","mine.header.copy":"复制","mine.pages.share.shareTo":"分享到{0}","share.appNotInstalled":"请下载APP以启用分享功能","share.productShareText":`[BandhuBuy] {url} {productName} 快来 BandhuBuy 购买吧!`,"share.inviteShareText":"[BandhuBuy] {url} 你的好友邀请你注册","mine.pages.myFavorite.title":"我的收藏","mine.pages.myFavorite.empty":"暂无收藏","wallet.withdraw.title":"提现","wallet.withdraw.balance":"钱包可用金额","wallet.withdraw.balanceRevenue":"收益可用金额","wallet.withdraw.balanceWallet":"钱包可用金额","wallet.withdraw.info":"提现信息","wallet.withdraw.form.bankName":"银行名称","wallet.withdraw.form.bankAccountName":"开户名","wallet.withdraw.form.bankAccountNo":"银行账号","wallet.withdraw.form.amount":"提现金额","wallet.withdraw.form.allAmount":"全部金额","wallet.withdraw.form.submit":"提交","wallet.withdraw.record":"记录","wallet.withdraw.error.bankName":"请选择银行","wallet.withdraw.error.bankAccountName":"请输入开户名","wallet.withdraw.error.bankAccountNo":"请输入银行账号","wallet.withdraw.error.amount":"请输入提现金额","wallet.withdraw.notes.title":"注意:","wallet.withdraw.notes.1":"提现审核时间为上午9点至晚上10点。预计提现后2小时内到账,实际到账时间以最终处理成功时间为准。","wallet.withdraw.notes.2":"请确保您的银行账户信息正确。","wallet.withdraw.notes.3":"提现银行账户信息必须与注册账户信息一致。","wallet.withdraw.notes.4":"单笔提现最低৳{0},最高৳{1};","wallet.withdraw.notes.5":"每笔提现将收取{0}%的提现手续费;","search.placeholder":"搜索","search.filterPrice":"全部价格","search.filterCategory":"全部分类","search.filterSellers":"热销","search.filterSellers1":"上新","auth.login.title":"登录","auth.login.username.placeholder":"手机号码 / 用户名","auth.login.password.placeholder":"密码 6-20位字符","auth.login.button":"登录","auth.login.noAccount":"还没有账户?","auth.login.register":"注册","auth.login.forgotPassword":"忘记密码?","auth.login.error.emptyUsername":"请输入用户名或手机号码","auth.login.error.emptyPassword":"请输入密码","auth.login.error.passwordLength":"密码应为6-20位字符","auth.login.loading":"登录中...","auth.login.success":"登录成功!","auth.login.error.failed":"登录失败","auth.register.title":"注册","auth.register.username.placeholder":"用户名","auth.register.phone.placeholder":"+88 手机号码","auth.register.verifyCode.placeholder":"验证码","auth.register.password.placeholder":"密码 6-20位字符","auth.register.referrerCode.placeholder":"推荐码","auth.register.getCode":"获取验证码","auth.register.button":"注册","auth.register.hasAccount":"已有账户?","auth.register.loginNow":"立即登录","auth.register.error.emptyUsername":"请输入用户名","auth.register.error.emptyPhone":"请输入手机号码","auth.register.error.invalidPhone":"请输入有效的孟加拉手机号","auth.register.error.emptyVerifyCode":"请输入验证码","auth.register.error.emptyPassword":"请输入密码","auth.register.error.passwordLength":"密码应为6-20位字符","auth.register.success.codeSent":"验证码发送成功","auth.register.success.registered":"注册成功","auth.register.error.registrationFailed":"注册失败","auth.forgotPassword.title":"忘记密码","auth.forgotPassword.phone.placeholder":"手机号码","auth.forgotPassword.verifyCode.placeholder":"验证码","auth.forgotPassword.newPassword.placeholder":"新密码","auth.forgotPassword.confirmPassword.placeholder":"确认密码","auth.forgotPassword.getCode":"获取验证码","auth.forgotPassword.button":"重置密码","auth.forgotPassword.backToLogin":"返回登录","auth.forgotPassword.error.emptyPhone":"请输入手机号码","auth.forgotPassword.error.invalidPhone":"请输入有效的手机号码","auth.forgotPassword.error.emptyVerifyCode":"请输入验证码","auth.forgotPassword.error.emptyNewPassword":"请输入新密码","auth.forgotPassword.error.passwordLength":"密码应为6-20位字符","auth.forgotPassword.error.emptyConfirmPassword":"请确认您的密码","auth.forgotPassword.error.passwordMismatch":"两次密码不一致","auth.forgotPassword.success.codeSent":"验证码发送成功","auth.forgotPassword.success.passwordReset":"密码重置成功","auth.forgotPassword.error.sendCodeFailed":"发送验证码失败","auth.forgotPassword.error.resetFailed":"重置密码失败","auth.forgotPassword.passwordHint":"您的密码必须与之前使用的密码不同","auth.forgotPassword.hasAccount":"已有账户?","auth.forgotPassword.loginNow":"立即登录","common.loading":"加载中...","common.saving":"保存中...","common.success":"成功","common.error":"错误","common.error.request":"请求错误","common.error.network":"网络错误,换个网络试试","common.confirm":"确认","common.cancel":"取消","common.submit":"提交","common.save":"保存","common.edit":"编辑","common.delete":"删除","common.add":"添加","common.search":"搜索","common.filter":"筛选","common.all":"全部","common.none":"无","common.empty":"暂无数据","common.retry":"重试","common.back":"返回","common.next":"下一步","common.previous":"上一步","common.close":"关闭","common.open":"打开","common.view":"查看","common.more":"更多","wallet.myWallet.title":"我的钱包","wallet.balance":"钱包余额","wallet.frozenBalance":"冻结余额","wallet.availableAmount":"可用金额","wallet.recharge":"充值","wallet.withdrawNow":"立即提现","wallet.record":"钱包记录","wallet.filter.all":"全部","wallet.filter.recharge":"充值","wallet.filter.withdraw":"提现","wallet.filter.commission":"佣金","wallet.rechargeRecord.title":"充值记录","wallet.withdrawRecord.title":"提现记录","wallet.frozenRecord.title":"冻结金额记录","wallet.frozenRecord.type.withdraw":"提现冻结","wallet.frozenRecord.type.refund":"退款冻结","missionCenter.title":"任务中心","referEarn.title":"推荐赚钱","vipMembership.title":"VIP会员","notifications.title":"通知","notifications.tabs.all":"全部","notifications.tabs.orders":"订单","notifications.tabs.revenue":"收益","notifications.tabs.account":"账户","notifications.tabs.promos":"促销","notifications.time.sunday":"周日","notifications.time.monday":"周一","notifications.time.tuesday":"周二","notifications.time.wednesday":"周三","notifications.time.thursday":"周四","notifications.time.friday":"周五","notifications.time.saturday":"周六","notifications.order.paymentSuccess.title":"团购支付成功","notifications.order.paymentSuccess.content":"您参与的团购订单[{orderId}]已支付成功","notifications.order.groupBuyWin.title":"团购成功","notifications.order.groupBuyWin.content":"您参与的团购订单[{orderId}]已中选","notifications.order.groupBuyLose.title":"团购成功","notifications.order.groupBuyLose.content":"您参与的团购订单[{orderId}]未中选","notifications.order.provideAddress.title":"订单提供收货地址","notifications.order.provideAddress.content":"您参与的团购订单[{orderId}]请提供收货地址","notifications.order.groupBuyFail.title":"团购失败","notifications.order.groupBuyFail.content":"您参与的团购订单[{orderId}]已失败","notifications.order.shipped.title":"订单发货成功","notifications.order.shipped.content":"您参与的团购订单[{orderId}]已成功发货","notifications.order.recycleReward.title":"订单回收奖励","notifications.order.recycleReward.content":"您已收到订单回收奖励","notifications.reward.referFriends.title":"推荐好友奖励","notifications.reward.referFriends.content":"您已获得推荐好友奖励","notifications.reward.groupBuy.title":"参团奖励","notifications.reward.groupBuy.content":"您已获得奖励,订单号[{orderId}]","notifications.reward.openGroupBuy.title":"开团奖励","notifications.reward.openGroupBuy.content":"您已获得开团奖励,订单号[{orderId}]","notifications.reward.directReferral.title":"直接推荐奖励","notifications.reward.directReferral.content":"您已获得直接推荐奖励","notifications.reward.checkin.title":"签到奖励","notifications.reward.checkin.content":"您已获得签到奖励","notifications.reward.firstCommission.title":"Direct Referral Reward","notifications.reward.firstCommission.content":"You have received the reward for Direct Referral","notifications.reward.secondaryCommission.title":"Direct Referral Reward","notifications.reward.secondaryCommission.content":"You have received the reward for Direct Referral","notifications.money.rechargeSuccess.title":"充值成功","notifications.money.rechargeSuccess.content":"您的KLICK钱包已成功充值","notifications.money.withdrawalAccountSuccess.title":"提现成功","notifications.money.withdrawalAccountSuccess.content":"您的收益账户提现请求已处理","notifications.money.withdrawalWalletSuccess.title":"提现成功","notifications.money.withdrawalWalletSuccess.content":"您的KLICK钱包提现请求已处理","notifications.money.withdrawalFail.title":"提现失败","notifications.money.withdrawalFail.content":"您的提现请求已失败","productDetail.title":"产品详情","productDetail.notification.message":"{name} {time}秒前{action}了这个团购","productDetail.notification.opened":"发起","productDetail.notification.joined":"加入","webLink.title":"网页链接","missionCenter.signIn.title":"连续签到获得奖励","missionCenter.signIn.button":"签到","missionCenter.dailyMission.title":"每日任务","missionCenter.dailyMission.startNow":"立即开始","missionCenter.dailyMission.inviteFriends.name":"邀请好友赚现金","missionCenter.dailyMission.inviteFriends.description":"无限奖励","missionCenter.dailyMission.openGroupBuy.name":"开团购买","missionCenter.dailyMission.openGroupBuy.description":"赢取开团奖励","missionCenter.dailyMission.joinGroupBuy.name":"参团购买","missionCenter.dailyMission.joinGroupBuy.description":"赢取开团奖励","vipMembership.inviteProgress":"还需要邀请 {0} 位朋友,可升级到 V{1}","vipMembership.invitedFriends":"邀请好友","vipMembership.teamMembers":"团队成员","vipMembership.l7dEarnings":"近7日收益","vipMembership.benefitsTiers":"VIP权益/等级","vipMembership.table.vipLevel":`VIP 等级`,"vipMembership.table.invitedNo":`邀请 人数`,"vipMembership.table.directReferralReward":`直接推荐 奖励`,"vipMembership.table.indirectReferralReward":`间接推荐 奖励`,"vipMembership.table.joinedGroupsNo":`加入群组 数量`,"referEarn.inviteFriends":"邀请朋友","referEarn.earnCash":"赚取现金","referEarn.shareNow":"立即分享","referEarn.howToShare":"- 如何分享赚钱 -","referEarn.step1":"分享邀请朋友","referEarn.step2":"朋友加入群组","referEarn.step3":"您获得 ৳{0} 奖励","referEarn.invitedFriends":"邀请的朋友","checkout.title":"结账","checkout.selected":"已选择","checkout.quantity":"数量","checkout.orderSummary":"订单摘要","checkout.subTotal":"小计","checkout.total":"总计","checkout.selectPaymentMethod":"选择支付方式","checkout.walletBalance":"余额","checkout.placeOrder":"下单","checkout.trust.rewards":"人人有奖,保证获得奖励!","checkout.trust.refund":"未中奖全额退款!","checkout.dialog.insufficientBalance":`您的钱包余额不足。 请充值!`,"checkout.dialog.rechargeDiscount":"充值最高优惠5%","checkout.dialog.rechargeNow":"立即充值","checkout.dialog.paymentSuccess":`支付成功! 您的订单已下单。`,"checkout.dialog.viewOrder":"查看订单","checkout.dialog.paymentFailed":`支付失败! 请重试或联系客服。`,"checkout.dialog.retryPayment":"重试支付","checkout.dialog.retry":"重试","checkout.dialog.gotIt":"知道了","checkout.toast.redirecting":"正在跳转到订单...","checkout.toast.retrying":"重试中...","bestSellers.title":"热销榜","bestSellers.successfullyGrouped":"近7日成功拼团超过 {0}","productDetail.price":"价格","productDetail.sold":"已售 {0}","productDetail.groupRules":"拼团规则","productDetail.viewRules":"查看规则","productDetail.viewRulesLinkTitle":"拼团规则","productDetail.ongoingGroup":"进行中的拼团","productDetail.need":"还需","productDetail.more":"人","productDetail.joinGroup":"参团","productDetail.details":"详情","productDetail.home":"首页","productDetail.favorite":"收藏","productDetail.favoriteSuccess":"收藏成功","productDetail.unfavoriteSuccess":"已取消收藏","productDetail.favoriteError":"操作失败,请重试",upgrade:Dm,"upgrade.title":"更新日志","upgrade.newVersion":"发现新版本","upgrade.version":"版本 {version}","upgrade.download":"立即下载更新","upgrade.downloading":"安装包下载中,请稍后","upgrade.downloadProgress":"{0}M/{1}M","upgrade.install":"下载完成,立即安装","upgrade.installing":"正在安装...","upgrade.installIncomplete":"安装未完成,点击安装","upgrade.restart":"安装完毕,点击重启","upgrade.goToStore":"立即跳转更新","productDetail.openGroup":"开团","productDetail.quantity":"数量","topChampions.title":"冠军榜","topChampions.top":"TOP","topChampions.invitedFriends":"邀请好友","topChampions.l7dEarnings":"近7日收益","topChampions.teamMembers":"团队成员","topChampions.joinedGroups":"加入群组","wallet.recharge.title":"充值","wallet.recharge.submit":"提交","orderDetail.deliveryPartner":"物流伙伴","orderDetail.subTotal":"小计","orderDetail.bandhuBuyWallet":"BandhuBuy 钱包","orderDetail.paymentMethod":"支付","orderDetail.walletBalanceText":"余额","orderDetail.walletAmountText":"提现金额","orderDetail.walletFeeText":"服务费","productDetail.fullRefundText":"未中奖全额退款 + 现金奖励","app.notificationPermission":"您还没有打开通知权限","wallet.recharge.record":"记录","wallet.recharge.selectProvider":"选择您的钱包提供商","wallet.recharge.depositAmount":"存款金额","wallet.recharge.reminder":"提醒:如果充值不成功,请选择其他渠道。交易ID必须正确填写。","wallet.recharge.enterAmount":"请输入充值金额","wallet.recharge.minAmount":"最小值 {minAmount}","wallet.recharge.maxAmount":"最大值 {maxAmount}","orderDetail.rechargeDialog.title":`您的钱包余额不足。 请充值!`,"orderDetail.rechargeDialog.confirm":"立即充值","orderDetail.payDialog.title":"支付","orderDetail.payDialog.confirm":"立即支付","orderDetail.time.placed":"下单时间","orderDetail.time.paid":"支付时间","orderDetail.time.shipped":"发货时间","orderDetail.time.completed":"完成时间","orderDetail.copy.success":"已复制到剪贴板","orderDetail.payment.loading":"支付中...","wallet.unpaidOrderDialog.title":`您有未完成的充值订单, 是否继续?`,"wallet.unpaidOrderDialog.confirm":"查看","wallet.unpaidOrderDialog.cancel":"取消","wallet.record.type.DT":"今天","wallet.record.type.YT":"昨天","wallet.record.type.L7D":"近7天","wallet.record.type.MTD":"本月","wallet.record.type.YTD":"本年","login.slogan":"更多团购,更多奖励","common.operate.success":"操作成功"},Uw=Object.freeze(Object.defineProperty({__proto__:null,default:Nm,upgrade:Dm},Symbol.toStringTag,{value:"Module"}));/** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function id(e,t){const n=new Set(e.split(","));return o=>n.has(o)}const Xe={},Rr=[],gn=()=>{},qw=()=>!1,sl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ad=e=>e.startsWith("onUpdate:"),pe=Object.assign,ld=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vw=Object.prototype.hasOwnProperty,be=(e,t)=>Vw.call(e,t),ce=Array.isArray,Mr=e=>gi(e)==="[object Map]",$m=e=>gi(e)==="[object Set]",Hw=e=>gi(e)==="[object RegExp]",le=e=>typeof e=="function",Se=e=>typeof e=="string",rs=e=>typeof e=="symbol",Qe=e=>e!==null&&typeof e=="object",cd=e=>(Qe(e)||le(e))&&le(e.then)&&le(e.catch),Bm=Object.prototype.toString,gi=e=>Bm.call(e),Ww=e=>gi(e).slice(8,-1),pt=e=>gi(e)==="[object Object]",ud=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Os=id(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),il=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jw=/-(\w)/g,In=il(e=>e.replace(jw,(t,n)=>n?n.toUpperCase():"")),zw=/\B([A-Z])/g,oo=il(e=>e.replace(zw,"-$1").toLowerCase()),al=il(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gl=il(e=>e?`on${al(e)}`:""),Do=(e,t)=>!Object.is(e,t),sn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Gw=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kw=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let Ef;const Fm=()=>Ef||(Ef=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ua(e){if(ce(e)){const t={};for(let n=0;n{if(n){const o=n.split(Xw);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Qw(e){let t="";if(!e||Se(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:oo(n);(Se(o)||typeof o=="number")&&(t+=`${r}:${o};`)}return t}function Um(e){let t="";if(Se(e))t=e;else if(ce(e))for(let n=0;nSe(e)?e:e==null?"":ce(e)||Qe(e)&&(e.toString===Bm||!le(e.toString))?JSON.stringify(e,Vm,2):String(e),Vm=(e,t)=>t&&t.__v_isRef?Vm(e,t.value):Mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[Kl(o,s)+" =>"]=r,n),{})}:$m(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kl(n))}:rs(t)?Kl(t):Qe(t)&&!ce(t)&&!pt(t)?String(t):t,Kl=(e,t="")=>{var n;return rs(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},tS=["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","location-picker","location-view"],nS=tS.map(e=>"uni-"+e),oS=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map(e=>"uni-"+e),rS=["list-item"].map(e=>"uni-"+e);function sS(e){if(rS.indexOf(e)!==-1)return!1;const t="uni-"+e.replace("v-uni-","");return nS.indexOf(t)!==-1||oS.indexOf(t)!==-1}const ll=` `,iS=44,aS=50,Hm="UNI_LOCALE",Gc=["%","%"],Wm="#007aff",lS=/^([a-z-]+:)?\/\//i,cS=/^data:.*,.*/,uS="WEB_INVOKE_APPSERVICE",Zn="onShow",No="onHide",jm="onLaunch",Ys="onError",cl="onThemeChange",zm="onPageNotFound",Gm="onUnhandledRejection",dS="onExit",ss="onLoad",fS="onReady",dd="onUnload",Km="onInit",Ym="onSaveExitState",ul="onResize",Ia="onBackPress",Vr="onPageScroll",Xm="onTabItemTap",mi="onReachBottom",fd="onPullDownRefresh",Jm="onShareTimeline",Qm="onShareChat",Zm="onAddToFavorites",ey="onShareAppMessage",dl="onNavigationBarButtonTap",hS="onNavigationBarChange",ty="onNavigationBarSearchInputClicked",ny="onNavigationBarSearchInputChanged",oy="onNavigationBarSearchInputConfirmed",ry="onNavigationBarSearchInputFocusChanged",sy="onAppEnterForeground",iy="onAppEnterBackground",ay="onWebInvokeAppService",pS="onWxsInvokeCallMethod";function gS(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length}function ly(e){return e.indexOf("/")===0}function Xs(e){return ly(e)?e:"/"+e}function mS(e){return ly(e)?e.slice(1):e}const yS=(e,t)=>{let n;for(let o=0;o(e&&(n=e.apply(t,o),e=null),n)}function Cr(e,t){e=e||{},Se(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?le(e.success)&&e.success(t):le(e.fail)&&e.fail(t),le(e.complete)&&e.complete(t)}function vS(e){let t={};return pt(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}function _S(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;function e(){return this}return typeof e()!="undefined"?e():function(){return new Function("return this")()}()}let Ni;function cy(){return Ni||(Ni=_S(),Ni)}function bS(e){return!!e.appContext}function fl(e){return e&&(bS(e)?e.proxy:e)}function uy(e){if(!e)return;let t=e.type.name;for(;t&&sS(oo(t));)e=e.parent,t=e.type.name;return e.proxy}function If(e){return e.nodeType===1}function wS(e,t=!1){const{vnode:n}=e;if(If(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(o.shapeFlag&16){const r=o.children.filter(s=>s.el&&If(s.el));if(r.length>0)return t?r.map(s=>s.el):r[0].el}return t?n.el?[n.el]:[]:n.el}function rt(e){const t=cy();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach(o=>{n[o]=e[o]}),ua(n)}else if(e instanceof Map){const n={};return e.forEach((o,r)=>{n[r]=o}),ua(n)}else{if(Se(e))return Ea(e);if(ce(e)){const n={};for(let o=0;o{e[o]&&(t+=o+" ")});else if(e instanceof Map)e.forEach((o,r)=>{o&&(t+=r+" ")});else if(ce(e))for(let o=0;o{e=e||(r=>r.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(r,s){if(r.startsWith("data-")&&e(this)){const i=this.__uniDataset||(this.__uniDataset={});i[Of(r)]=s}n.call(this,r,s)};const o=t.removeAttribute;t.removeAttribute=function(r){this.__uniDataset&&r.startsWith("data-")&&e(this)&&delete this.__uniDataset[Of(r)],o.call(this,r)}});function hd(e){return pe({},e.dataset,e.__uniDataset)}const CS=new RegExp(`"[^"]+"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px`,"g");function kS(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return Math.round(o/10)*10/n}const xS={unit:"rem",unitRatio:10/320,unitPrecision:5};function PS(e,t,n){return o=>o.replace(CS,(r,s)=>{if(!s)return r;const i=kS(parseFloat(s)*t,n);return i===0?"0":`${i}${e}`})}function Hr(e){return{passive:e}}function Yc(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:hd(e),offsetTop:n,offsetLeft:o}}function ES(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(r=>{const s=document.createElement("style"),i=[];if(n){const{style:a,weight:l,stretch:c,unicodeRange:d,variant:u,featureSettings:f}=n;a&&i.push(`font-style:${a}`),l&&i.push(`font-weight:${l}`),c&&i.push(`font-stretch:${c}`),d&&i.push(`unicode-range:${d}`),u&&i.push(`font-variant:${u}`),f&&i.push(`font-feature-settings:${f}`)}s.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(s),r()})}function IS(e,t,n){if(Se(e)){const a=document.querySelector(e);if(a){const{top:l}=a.getBoundingClientRect();e=l+window.pageYOffset;const c=document.querySelector("uni-page-head");c&&(e-=c.offsetHeight)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:r,scrollHeight:s}=o;if(e=Math.min(e,s-r),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY===e)return;const i=a=>{if(a<=0){window.scrollTo(0,e);return}const l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/a*10),i(a-10)})};i(t)}function Xc(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function dy(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=Xc(e[n])}catch(o){t[n]=e[n]}}),t}const OS=/\+/g;function AS(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;re.apply(this,arguments),t)};return s.cancel=function(){n(r)},s}class hy{constructor(t,n){this.id=t,this.listener={},this.emitCache=[],n&&Object.keys(n).forEach(o=>{this.on(o,n[o])})}emit(t,...n){const o=this.listener[t];if(!o)return this.emitCache.push({eventName:t,args:n});o.forEach(r=>{r.fn.apply(r.fn,n)}),this.listener[t]=o.filter(r=>r.type!=="once")}on(t,n){this._addListener(t,"on",n),this._clearCache(t)}once(t,n){this._addListener(t,"once",n),this._clearCache(t)}off(t,n){const o=this.listener[t];if(o)if(n)for(let r=0;r-1}function DS(e){return RS.indexOf(e)>-1}const py=[Zn,No,jm,Ys,cl,zm,Gm,dS,Km,ss,fS,dd,ul,Ia,Vr,Xm,mi,fd,Jm,Zm,ey,Qm,Ym,dl,ty,ny,oy,ry];function NS(e,t,n=!0){return n&&!le(t)?!1:py.indexOf(e)>-1?!0:e.indexOf("on")===0}let Jc;const gy=[];function $S(e){if(Jc)return e(Jc);gy.push(e)}function BS(e){Jc=e,gy.forEach(t=>t(e))}const FS=Vt((e,t)=>t(e)),yy=function(){};yy.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},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){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;for(o;o=0;s--)if(o[s].fn===t||o[s].fn._===t||o[s]._id===t){o.splice(s,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var pd=yy;const Af={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function US(e){return e&&e in Af?Af[e]:e}function qS(e){return e==="black"?"#000000":"#ffffff"}function Lf(e,t,n){if(Se(t)&&t.startsWith("@")){const o=t.replace("@","");let r=e[o]||t;switch(n){case"titleColor":r=qS(r);break;case"borderStyle":r=US(r);break}return r}return t}function Oa(e,t={},n="light"){const o=t[n],r={};return typeof o=="undefined"||!e?e:(Object.keys(e).forEach(s=>{const i=e[s],a=()=>pt(i)?Oa(i,t,n):ce(i)?i.map(l=>pt(l)?Oa(l,t,n):Lf(o,l)):Lf(o,i,s);r[s]=a()}),r)}/** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let en;class vy{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=en,!t&&en&&(this.index=(en.scopes||(en.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=en;try{return en=this,t()}finally{en=n}}}on(){en=this}off(){en=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),yr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Oo,n=ur;try{return Oo=!0,ur=this,this._runnings++,Rf(this),this.fn()}finally{Mf(this),this._runnings--,ur=n,Oo=t}}stop(){var t;this.active&&(Rf(this),Mf(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function WS(e){return e.value}function Rf(e){e._trackId++,e._depsLength=0}function Mf(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Aa=new WeakMap,dr=Symbol(""),eu=Symbol("");function Yt(e,t,n){if(Oo&&ur){let o=Aa.get(e);o||Aa.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Cy(()=>o.delete(n))),Sy(ur,r)}}function Xn(e,t,n,o,r,s){const i=Aa.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ce(e)){const l=Number(o);i.forEach((c,d)=>{(d==="length"||!rs(d)&&d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ce(e)?ud(n)&&a.push(i.get("length")):(a.push(i.get(dr)),Mr(e)&&a.push(i.get(eu)));break;case"delete":ce(e)||(a.push(i.get(dr)),Mr(e)&&a.push(i.get(eu)));break;case"set":Mr(e)&&a.push(i.get(dr));break}yd();for(const l of a)l&&Ty(l,4);vd()}function jS(e,t){var n;return(n=Aa.get(e))==null?void 0:n.get(t)}const zS=id("__proto__,__v_isRef,__isVue"),ky=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rs)),Df=GS();function GS(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=De(this);for(let s=0,i=this.length;s{e[t]=function(...n){mr(),yd();const o=De(this)[t].apply(this,n);return vd(),yr(),o}}),e}function KS(e){const t=De(this);return Yt(t,"has",e),t.hasOwnProperty(e)}class xy{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?aT:Oy:s?Iy:Ey).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=ce(t);if(!r){if(i&&be(Df,n))return Reflect.get(Df,n,o);if(n==="hasOwnProperty")return KS}const a=Reflect.get(t,n,o);return(rs(n)?ky.has(n):zS(n))||(r||Yt(t,"get",n),s)?a:lt(a)?i&&ud(n)?a:a.value:Qe(a)?r?Ly(a):Ee(a):a}}class Py extends xy{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const l=Wr(s);if(!La(o)&&!Wr(o)&&(s=De(s),o=De(o)),!ce(t)&<(s)&&!lt(o))return l?!1:(s.value=o,!0)}const i=ce(t)&&ud(n)?Number(n)e,hl=e=>Reflect.getPrototypeOf(e);function $i(e,t,n=!1,o=!1){e=e.__v_raw;const r=De(e),s=De(t);n||(Do(t,s)&&Yt(r,"get",t),Yt(r,"get",s));const{has:i}=hl(r),a=o?_d:n?Sd:Js;if(i.call(r,t))return a(e.get(t));if(i.call(r,s))return a(e.get(s));e!==r&&e.get(t)}function Bi(e,t=!1){const n=this.__v_raw,o=De(n),r=De(e);return t||(Do(e,r)&&Yt(o,"has",e),Yt(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Fi(e,t=!1){return e=e.__v_raw,!t&&Yt(De(e),"iterate",dr),Reflect.get(e,"size",e)}function Nf(e){e=De(e);const t=De(this);return hl(t).has.call(t,e)||(t.add(e),Xn(t,"add",e,e)),this}function $f(e,t){t=De(t);const n=De(this),{has:o,get:r}=hl(n);let s=o.call(n,e);s||(e=De(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Do(t,i)&&Xn(n,"set",e,t):Xn(n,"add",e,t),this}function Bf(e){const t=De(this),{has:n,get:o}=hl(t);let r=n.call(t,e);r||(e=De(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&Xn(t,"delete",e,void 0),s}function Ff(){const e=De(this),t=e.size!==0,n=e.clear();return t&&Xn(e,"clear",void 0,void 0),n}function Ui(e,t){return function(o,r){const s=this,i=s.__v_raw,a=De(i),l=t?_d:e?Sd:Js;return!e&&Yt(a,"iterate",dr),i.forEach((c,d)=>o.call(r,l(c),l(d),s))}}function qi(e,t,n){return function(...o){const r=this.__v_raw,s=De(r),i=Mr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...o),d=n?_d:t?Sd:Js;return!t&&Yt(s,"iterate",l?eu:dr),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function ao(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ZS(){const e={get(s){return $i(this,s)},get size(){return Fi(this)},has:Bi,add:Nf,set:$f,delete:Bf,clear:Ff,forEach:Ui(!1,!1)},t={get(s){return $i(this,s,!1,!0)},get size(){return Fi(this)},has:Bi,add:Nf,set:$f,delete:Bf,clear:Ff,forEach:Ui(!1,!0)},n={get(s){return $i(this,s,!0)},get size(){return Fi(this,!0)},has(s){return Bi.call(this,s,!0)},add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear"),forEach:Ui(!0,!1)},o={get(s){return $i(this,s,!0,!0)},get size(){return Fi(this,!0)},has(s){return Bi.call(this,s,!0)},add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear"),forEach:Ui(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=qi(s,!1,!1),n[s]=qi(s,!0,!1),t[s]=qi(s,!1,!0),o[s]=qi(s,!0,!0)}),[e,n,t,o]}const[eT,tT,nT,oT]=ZS();function bd(e,t){const n=t?e?oT:nT:e?tT:eT;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(be(n,r)&&r in o?n:o,r,s)}const rT={get:bd(!1,!1)},sT={get:bd(!1,!0)},iT={get:bd(!0,!1)},Ey=new WeakMap,Iy=new WeakMap,Oy=new WeakMap,aT=new WeakMap;function lT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cT(e){return e.__v_skip||!Object.isExtensible(e)?0:lT(Ww(e))}function Ee(e){return Wr(e)?e:wd(e,!1,XS,rT,Ey)}function Ay(e){return wd(e,!1,QS,sT,Iy)}function Ly(e){return wd(e,!0,JS,iT,Oy)}function wd(e,t,n,o,r){if(!Qe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=cT(e);if(i===0)return e;const a=new Proxy(e,i===2?o:n);return r.set(e,a),a}function Jn(e){return Wr(e)?Jn(e.__v_raw):!!(e&&e.__v_isReactive)}function Wr(e){return!!(e&&e.__v_isReadonly)}function La(e){return!!(e&&e.__v_isShallow)}function Ry(e){return Jn(e)||Wr(e)}function De(e){const t=e&&e.__v_raw;return t?De(t):e}function $o(e){return Object.isExtensible(e)&&Pa(e,"__v_skip",!0),e}const Js=e=>Qe(e)?Ee(e):e,Sd=e=>Qe(e)?Ly(e):e;class My{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new md(()=>t(this._value),()=>da(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=De(this);return(!t._cacheable||t.effect.dirty)&&Do(t._value,t._value=t.effect.run())&&da(t,4),Dy(t),t.effect._dirtyLevel>=2&&da(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function uT(e,t,n=!1){let o,r;const s=le(e);return s?(o=e,r=gn):(o=e.get,r=e.set),new My(o,r,s||!r,n)}function Dy(e){var t;Oo&&ur&&(e=De(e),Sy(ur,(t=e.dep)!=null?t:e.dep=Cy(()=>e.dep=void 0,e instanceof My?e:void 0)))}function da(e,t=4,n){e=De(e);const o=e.dep;o&&Ty(o,t)}function lt(e){return!!(e&&e.__v_isRef===!0)}function q(e){return Ny(e,!1)}function fa(e){return Ny(e,!0)}function Ny(e,t){return lt(e)?e:new dT(e,t)}class dT{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:De(t),this._value=n?t:Js(t)}get value(){return Dy(this),this._value}set value(t){const n=this.__v_isShallow||La(t)||Wr(t);t=n?t:De(t),Do(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Js(t),da(this,4))}}function kt(e){return lt(e)?e.value:e}const fT={get:(e,t,n)=>kt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return lt(r)&&!lt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function $y(e){return Jn(e)?e:new Proxy(e,fT)}function hT(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=gT(e,n);return t}class pT{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return jS(De(this._object),this._key)}}function gT(e,t,n){const o=e[t];return lt(o)?o:new pT(e,t,n)}function Ao(e,t,n,o){try{return o?e(...o):e()}catch(r){yi(r,t,n)}}function zt(e,t,n,o){if(le(e)){const s=Ao(e,t,n,o);return s&&cd(s)&&s.catch(i=>{yi(i,t,n)}),s}const r=[];for(let s=0;s>>1,r=It[o],s=Zs(r);sFn&&It.splice(t,1)}function vT(e){ce(e)?Dr.push(...e):(!_o||!_o.includes(e,e.allowRecurse?or+1:or))&&Dr.push(e),Fy()}function Uf(e,t,n=Qs?Fn+1:0){for(;nZs(n)-Zs(o));if(Dr.length=0,_o){_o.push(...t);return}for(_o=t,or=0;or<_o.length;or++)_o[or]();_o=null,or=0}}const Zs=e=>e.id==null?1/0:e.id,_T=(e,t)=>{const n=Zs(e)-Zs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function qy(e){tu=!1,Qs=!0,It.sort(_T);try{for(Fn=0;FnSe(h)?h.trim():h)),u&&(r=n.map(Gw))}let a,l=o[a=Gl(t)]||o[a=Gl(In(t))];!l&&s&&(l=o[a=Gl(oo(t))]),l&&zt(l,e,6,qf(e,l,r));const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,zt(c,e,6,qf(e,c,r))}}function qf(e,t,n){if(n.length!==1)return n;if(le(t)){if(t.length<2)return n}else if(!t.find(r=>r.length>=2))return n;const o=n[0];if(o&&be(o,"type")&&be(o,"timeStamp")&&be(o,"target")&&be(o,"currentTarget")&&be(o,"detail")){const r=e.proxy,s=r.$gcd(r,!0);s&&n.push(s)}return n}function Vy(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},a=!1;if(!le(e)){const l=c=>{const d=Vy(c,t,!0);d&&(a=!0,pe(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Qe(e)&&o.set(e,null),null):(ce(s)?s.forEach(l=>i[l]=null):pe(i,s),Qe(e)&&o.set(e,i),i)}function gl(e,t){return!e||!sl(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,oo(t))||be(e,t))}let vt=null,Hy=null;function Ra(e){const t=vt;return vt=e,Hy=e&&e.type.__scopeId||null,t}function me(e,t=vt,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&th(-1);const s=Ra(t);let i;try{i=e(...r)}finally{Ra(s),o._d&&th(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Vf(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:u,data:f,setupState:h,ctx:_,inheritAttrs:v}=e;let m,y;const b=Ra(e);try{if(n.shapeFlag&4){const g=r||o,w=g;m=Bn(d.call(w,g,u,s,h,f,_)),y=l}else{const g=t;m=Bn(g.length>1?g(s,{attrs:l,slots:a,emit:c}):g(s,null)),y=t.props?l:wT(l)}}catch(g){Ms.length=0,yi(g,e,1),m=L(Gt)}let p=m;if(y&&v!==!1){const g=Object.keys(y),{shapeFlag:w}=p;g.length&&w&7&&(i&&g.some(ad)&&(y=ST(y,i)),p=eo(p,y))}return n.dirs&&(p=eo(p),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),m=p,Ra(b),m}const wT=e=>{let t;for(const n in e)(n==="class"||n==="style"||sl(n))&&((t||(t={}))[n]=e[n]);return t},ST=(e,t)=>{const n={};for(const o in e)(!ad(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function TT(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Hf(o,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let u=0;ue.__isSuspense;function kT(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):vT(e)}const xT=Symbol.for("v-scx"),PT=()=>$e(xT);function On(e,t){return Cd(e,null,t)}const Vi={};function ne(e,t,n){return Cd(e,t,n)}function Cd(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:i,onTrigger:a}=Xe){if(t&&s){const S=t;t=(...k)=>{S(...k),w()}}const l=ut,c=S=>o===!0?S:ir(S,o===!1?1:void 0);let d,u=!1,f=!1;if(lt(e)?(d=()=>e.value,u=La(e)):Jn(e)?(d=()=>c(e),u=!0):ce(e)?(f=!0,u=e.some(S=>Jn(S)||La(S)),d=()=>e.map(S=>{if(lt(S))return S.value;if(Jn(S))return c(S);if(le(S))return Ao(S,l,2)})):le(e)?t?d=()=>Ao(e,l,2):d=()=>(h&&h(),zt(e,l,3,[_])):d=gn,t&&o){const S=d;d=()=>ir(S())}let h,_=S=>{h=p.onStop=()=>{Ao(S,l,4),h=p.onStop=void 0}},v;if(is)if(_=gn,t?n&&zt(t,l,3,[d(),f?[]:void 0,_]):d(),r==="sync"){const S=PT();v=S.__watcherHandles||(S.__watcherHandles=[])}else return gn;let m=f?new Array(e.length).fill(Vi):Vi;const y=()=>{if(!(!p.active||!p.dirty))if(t){const S=p.run();(o||u||(f?S.some((k,C)=>Do(k,m[C])):Do(S,m)))&&(h&&h(),zt(t,l,3,[S,m===Vi?void 0:f&&m[0]===Vi?[]:m,_]),m=S)}else p.run()};y.allowRecurse=!!t;let b;r==="sync"?b=y:r==="post"?b=()=>Ct(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),b=()=>pl(y));const p=new md(d,gn,b),g=_y(),w=()=>{p.stop(),g&&ld(g.effects,p)};return t?n?y():m=p.run():r==="post"?Ct(p.run.bind(p),l&&l.suspense):p.run(),v&&v.push(w),w}function ET(e,t,n){const o=this.proxy,r=Se(e)?e.includes(".")?Ky(o,e):()=>o[e]:e.bind(o,o);let s;le(t)?s=t:(s=t.handler,n=t);const i=bi(this),a=Cd(r,s.bind(o),n);return i(),a}function Ky(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),lt(e))ir(e.value,t,n,o);else if(ce(e))for(let r=0;r{ir(r,t,n,o)});else if(pt(e))for(const r in e)ir(e[r],t,n,o);return e}function tn(e,t){if(vt===null)return e;const n=_l(vt)||vt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),xt(()=>{e.isUnmounting=!0}),e}const cn=[Function,Array],Yy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:cn,onEnter:cn,onAfterEnter:cn,onEnterCancelled:cn,onBeforeLeave:cn,onLeave:cn,onAfterLeave:cn,onLeaveCancelled:cn,onBeforeAppear:cn,onAppear:cn,onAfterAppear:cn,onAppearCancelled:cn},OT={name:"BaseTransition",props:Yy,setup(e,{slots:t}){const n=it(),o=IT();return()=>{const r=t.default&&Jy(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1){for(const f of r)if(f.type!==Gt){s=f;break}}const i=De(e),{mode:a}=i;if(o.isLeaving)return Yl(s);const l=jf(s);if(!l)return Yl(s);const c=nu(l,i,o,n);Ma(l,c);const d=n.subTree,u=d&&jf(d);if(u&&u.type!==Gt&&!Co(l,u)){const f=nu(u,i,o,n);if(Ma(u,f),a==="out-in")return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Yl(s);a==="in-out"&&l.type!==Gt&&(f.delayLeave=(h,_,v)=>{const m=Xy(o,u);m[String(u.key)]=u,h[bo]=()=>{_(),h[bo]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return s}}},AT=OT;function Xy(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 nu(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:f,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:b}=t,p=String(e.key),g=Xy(n,e),w=(C,O)=>{C&&zt(C,o,9,O)},S=(C,O)=>{const P=O[1];w(C,O),ce(C)?C.every(I=>I.length<=1)&&P():C.length<=1&&P()},k={mode:s,persisted:i,beforeEnter(C){let O=a;if(!n.isMounted)if(r)O=v||a;else return;C[bo]&&C[bo](!0);const P=g[p];P&&Co(e,P)&&P.el[bo]&&P.el[bo](),w(O,[C])},enter(C){let O=l,P=c,I=d;if(!n.isMounted)if(r)O=m||l,P=y||c,I=b||d;else return;let E=!1;const N=C[Hi]=J=>{E||(E=!0,J?w(I,[C]):w(P,[C]),k.delayedLeave&&k.delayedLeave(),C[Hi]=void 0)};O?S(O,[C,N]):N()},leave(C,O){const P=String(e.key);if(C[Hi]&&C[Hi](!0),n.isUnmounting)return O();w(u,[C]);let I=!1;const E=C[bo]=N=>{I||(I=!0,O(),N?w(_,[C]):w(h,[C]),C[bo]=void 0,g[P]===e&&delete g[P])};g[P]=e,f?S(f,[C,E]):E()},clone(C){return nu(C,t,n,o)}};return k}function Yl(e){if(vi(e))return e=eo(e),e.children=null,e}function jf(e){return vi(e)?e.children?e.children[0]:void 0:e}function Ma(e,t){e.shapeFlag&6&&e.component?Ma(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jy(e,t=!1,n){let o=[],r=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ue(e){le(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,d=0;const u=()=>(d++,l=null,f()),f=()=>{let h;return l||(h=l=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),a)return new Promise((v,m)=>{a(_,()=>v(u()),()=>m(_),d+1)});throw _}).then(_=>h!==l&&l?l:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return Ze({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=ut;if(c)return()=>Xl(c,h);const _=b=>{l=null,yi(b,h,13,!o)};if(i&&h.suspense||is)return f().then(b=>()=>Xl(b,h)).catch(b=>(_(b),()=>o?L(o,{error:b}):null));const v=q(!1),m=q(),y=q(!!r);return r&&setTimeout(()=>{y.value=!1},r),s!=null&&setTimeout(()=>{if(!v.value&&!m.value){const b=new Error(`Async component timed out after ${s}ms.`);_(b),m.value=b}},s),f().then(()=>{v.value=!0,h.parent&&vi(h.parent.vnode)&&(h.parent.effect.dirty=!0,pl(h.parent.update))}).catch(b=>{_(b),m.value=b}),()=>{if(v.value&&c)return Xl(c,h);if(m.value&&o)return L(o,{error:m.value});if(n&&!y.value)return L(n)}}})}function Xl(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=L(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const vi=e=>e.type.__isKeepAlive;class LT{constructor(t){this.max=t,this._cache=new Map,this._keys=new Set,this._max=parseInt(t,10)}get(t){const{_cache:n,_keys:o,_max:r}=this,s=n.get(t);if(s)o.delete(t),o.add(t);else if(o.add(t),r&&o.size>r){const i=o.values().next().value;this.pruneCacheEntry(n.get(i)),this.delete(i)}return s}set(t,n){this._cache.set(t,n)}delete(t){this._cache.delete(t),this._keys.delete(t)}forEach(t,n){this._cache.forEach(t.bind(n))}}const RT={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=it(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const r=e.cache||new LT(e.max);r.pruneCacheEntry=i;let s=null;function i(y){!s||!Co(y,s)||e.matchBy==="key"&&y.key!==s.key?h(y):s&&Jl(s)}const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=o,f=u("div");o.activate=(y,b,p,g,w)=>{const S=y.component;if(S.ba){const k=S.isDeactivated;S.isDeactivated=!1,sn(S.ba),S.isDeactivated=k}c(y,b,p,0,a),l(S.vnode,y,b,p,S,a,g,y.slotScopeIds,w),Ct(()=>{S.isDeactivated=!1,S.a&&sn(S.a);const k=y.props&&y.props.onVnodeMounted;k&&dn(k,S.parent,y)},a)},o.deactivate=y=>{const b=y.component;b.bda&&Qy(b.bda),c(y,f,null,1,a),Ct(()=>{b.bda&&BT(b.bda),b.da&&sn(b.da);const p=y.props&&y.props.onVnodeUnmounted;p&&dn(p,b.parent,y),b.isDeactivated=!0},a)};function h(y){Jl(y),d(y,n,a,!0)}function _(y){r.forEach((b,p)=>{const g=zf(b,e.matchBy);g&&(!y||!y(g))&&(r.delete(p),i(b))})}ne(()=>[e.include,e.exclude,e.matchBy],([y,b])=>{y&&_(p=>Cs(y,p)),b&&_(p=>!Cs(b,p))},{flush:"post",deep:!0});let v=null;const m=()=>{v!=null&&r.set(v,Ql(n.subTree))};return Be(m),Zy(m),xt(()=>{r.forEach((y,b)=>{r.delete(b),i(y);const{subTree:p,suspense:g}=n,w=Ql(p);if(y.type===w.type&&(e.matchBy!=="key"||y.key===w.key)){w.component.bda&&sn(w.component.bda),Jl(w);const S=w.component.da;S&&Ct(S,g);return}})}),()=>{if(v=null,!t.default)return null;const y=t.default(),b=y[0];if(y.length>1)return s=null,y;if(!pr(b)||!(b.shapeFlag&4)&&!As(b.type))return s=null,b;let p=Ql(b);const g=p.type,w=zf(p,e.matchBy),{include:S,exclude:k}=e;if(S&&(!w||!Cs(S,w))||k&&w&&Cs(k,w))return s=p,b;const C=p.key==null?g:p.key,O=r.get(C);return p.el&&(p=eo(p),As(b.type)&&(b.ssContent=p)),v=C,O&&(p.el=O.el,p.component=O.component,p.transition&&Ma(p,p.transition),p.shapeFlag|=512),p.shapeFlag|=256,s=p,As(b.type)?b:p}}},MT=RT;function Cs(e,t){return ce(e)?e.some(n=>Cs(n,t)):Se(e)?e.split(",").includes(t):Hw(e)?e.test(t):!1}function DT(e,t){ml(e,"ba",t)}function _i(e,t){ml(e,"a",t)}function NT(e,t){ml(e,"bda",t)}function kd(e,t){ml(e,"da",t)}function ml(e,t,n=ut){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(o.__called=!1,Vo(t,o,n),n){let r=n.parent;for(;r&&r.parent;)vi(r.parent.vnode)&&$T(o,t,n,r),r=r.parent}}function $T(e,t,n,o){const r=Vo(t,e,o,!0);An(()=>{ld(o[t],r)},n)}function Jl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ql(e){return As(e.type)?e.ssContent:e}function zf(e,t){if(t==="name"){const n=e.type;return vv(Nr(e)?n.__asyncResolved||{}:n)}return String(e.key)}function Qy(e){for(let t=0;tt.__called=!1)}function Vo(e,t,n=ut,o=!1){if(n){if(DS(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,MS(e))){const i=n.proxy;zt(t.bind(i),n,e,ss===e?[i.$page.options]:[])}}const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;mr();const a=bi(n),l=zt(t,n,e,i);return a(),yr(),l});return o?r.unshift(s):r.push(s),s}}const ro=e=>(t,n=ut)=>(!is||e==="sp")&&Vo(e,(...o)=>t(...o),n),Ho=ro("bm"),Be=ro("m"),FT=ro("bu"),Zy=ro("u"),xt=ro("bum"),An=ro("um"),UT=ro("sp"),qT=ro("rtg"),VT=ro("rtc");function HT(e,t=ut){Vo("ec",e,t)}function WT(e,t,n,o){let r;const s=n;if(ce(e)||Se(e)){r=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,s));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,l=i.length;apr(t)?!(t.type===Gt||t.type===ot&&!ev(t.children)):!0)?e:null}const ou=e=>e?gv(e)?_l(e)||e.proxy:ou(e.parent):null,jT=e=>function(){e.effect.dirty=!0,pl(e.update)},Ls=pe(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=>ou(e.parent),$root:e=>ou(e.root),$emit:e=>e.emit,$options:e=>nv(e),$forceUpdate:e=>e.f||(e.f=jT(e)),$nextTick:e=>e.n||(e.n=st.bind(e.proxy)),$watch:e=>ET.bind(e)}),Zl=(e,t)=>e!==Xe&&!e.__isScriptSetup&&be(e,t),zT={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Zl(o,t))return i[t]=1,o[t];if(r!==Xe&&be(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&be(c,t))return i[t]=3,s[t];if(n!==Xe&&be(n,t))return i[t]=4,n[t];ru&&(i[t]=0)}}const d=Ls[t];let u,f;if(d)return t==="$attrs"&&Yt(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Xe&&be(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,be(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Zl(r,t)?(r[t]=n,!0):o!==Xe&&be(o,t)?(o[t]=n,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let a;return!!n[i]||e!==Xe&&be(e,i)||Zl(t,i)||(a=s[0])&&be(a,i)||be(o,i)||be(Ls,i)||be(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function GT(){return KT().slots}function KT(){const e=it();return e.setupContext||(e.setupContext=yv(e))}function Gf(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ru=!0;function YT(e){const t=nv(e),n=e.proxy,o=e.ctx;ru=!1,t.beforeCreate&&Kf(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:f,beforeUpdate:h,updated:_,activated:v,deactivated:m,beforeDestroy:y,beforeUnmount:b,destroyed:p,unmounted:g,render:w,renderTracked:S,renderTriggered:k,errorCaptured:C,serverPrefetch:O,expose:P,inheritAttrs:I,components:E,directives:N,filters:J}=t;if(c&&XT(c,o,null),i)for(const X in i){const $=i[X];le($)&&(o[X]=$.bind(n))}if(r){const X=r.call(n,n);Qe(X)&&(e.data=Ee(X))}if(ru=!0,s)for(const X in s){const $=s[X],te=le($)?$.bind(n,n):le($.get)?$.get.bind(n,n):gn,U=!le($)&&le($.set)?$.set.bind(n):gn,K=Y({get:te,set:U});Object.defineProperty(o,X,{enumerable:!0,configurable:!0,get:()=>K.value,set:G=>K.value=G})}if(a)for(const X in a)tv(a[X],o,n,X);if(l){const X=le(l)?l.call(n):l;Reflect.ownKeys(X).forEach($=>{_t($,X[$])})}d&&Kf(d,e,"c");function W(X,$){ce($)?$.forEach(te=>X(te.bind(n))):$&&X($.bind(n))}if(W(Ho,u),W(Be,f),W(FT,h),W(Zy,_),W(_i,v),W(kd,m),W(HT,C),W(VT,S),W(qT,k),W(xt,b),W(An,g),W(UT,O),ce(P))if(P.length){const X=e.exposed||(e.exposed={});P.forEach($=>{Object.defineProperty(X,$,{get:()=>n[$],set:te=>n[$]=te})})}else e.exposed||(e.exposed={});w&&e.render===gn&&(e.render=w),I!=null&&(e.inheritAttrs=I),E&&(e.components=E),N&&(e.directives=N);const Z=e.appContext.config.globalProperties.$applyOptions;Z&&Z(t,e,n)}function XT(e,t,n=gn){ce(e)&&(e=su(e));for(const o in e){const r=e[o];let s;Qe(r)?"default"in r?s=$e(r.from||o,r.default,!0):s=$e(r.from||o):s=$e(r),lt(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Kf(e,t,n){zt(ce(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function tv(e,t,n,o){const r=o.includes(".")?Ky(n,o):()=>n[o];if(Se(e)){const s=t[e];le(s)&&ne(r,s)}else if(le(e))ne(r,e.bind(n));else if(Qe(e))if(ce(e))e.forEach(s=>tv(s,t,n,o));else{const s=le(e.handler)?e.handler.bind(n):t[e.handler];le(s)&&ne(r,s,e)}}function nv(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>Da(l,c,i,!0)),Da(l,t,i)),Qe(t)&&s.set(t,l),l}function Da(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Da(e,s,n,!0),r&&r.forEach(i=>Da(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=JT[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const JT={data:Yf,props:Xf,emits:Xf,methods:ks,computed:ks,beforeCreate:Mt,created:Mt,beforeMount:Mt,mounted:Mt,beforeUpdate:Mt,updated:Mt,beforeDestroy:Mt,beforeUnmount:Mt,destroyed:Mt,unmounted:Mt,activated:Mt,deactivated:Mt,errorCaptured:Mt,serverPrefetch:Mt,components:ks,directives:ks,watch:ZT,provide:Yf,inject:QT};function Yf(e,t){return t?e?function(){return pe(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function QT(e,t){return ks(su(e),su(t))}function su(e){if(ce(e)){const t={};for(let n=0;n1)return n&&le(t)?t.call(o&&o.proxy):t}}function nC(e,t,n,o=!1){const r={},s={};Pa(s,vl,1),e.propsDefaults=Object.create(null),rv(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:Ay(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function oC(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,a=De(r),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u{l=!0;const[f,h]=sv(u,t,!0);pe(i,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!l)return Qe(e)&&o.set(e,Rr),Rr;if(ce(s))for(let d=0;d-1,h[1]=v<0||_-1||be(h,"default"))&&a.push(u)}}}const c=[i,a];return Qe(e)&&o.set(e,c),c}function Jf(e){return e[0]!=="$"&&!Os(e)}function Qf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Zf(e,t){return Qf(e)===Qf(t)}function eh(e,t){return ce(t)?t.findIndex(n=>Zf(n,e)):le(t)&&Zf(t,e)?0:-1}const iv=e=>e[0]==="_"||e==="$stable",xd=e=>ce(e)?e.map(Bn):[Bn(e)],rC=(e,t,n)=>{if(t._n)return t;const o=me((...r)=>xd(t(...r)),n);return o._c=!1,o},av=(e,t,n)=>{const o=e._ctx;for(const r in e){if(iv(r))continue;const s=e[r];if(le(s))t[r]=rC(r,s,o);else if(s!=null){const i=xd(s);t[r]=()=>i}}},lv=(e,t)=>{const n=xd(t);e.slots.default=()=>n},sC=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=De(t),Pa(t,"_",n)):av(t,e.slots={})}else e.slots={},t&&lv(e,t);Pa(e.slots,vl,1)},iC=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=Xe;if(o.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(pe(r,t),!n&&a===1&&delete r._):(s=!t.$stable,av(t,r)),i=t}else t&&(lv(e,t),i={default:1});if(s)for(const a in r)!iv(a)&&i[a]==null&&delete r[a]};function au(e,t,n,o,r=!1){if(ce(e)){e.forEach((f,h)=>au(f,t&&(ce(t)?t[h]:t),n,o,r));return}if(Nr(o)&&!r)return;const s=o.shapeFlag&4?_l(o.component)||o.component.proxy:o.el,i=r?null:s,{i:a,r:l}=e,c=t&&t.r,d=a.refs===Xe?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Se(c)?(d[c]=null,be(u,c)&&(u[c]=null)):lt(c)&&(c.value=null)),le(l))Ao(l,a,12,[i,d]);else{const f=Se(l),h=lt(l);if(f||h){const _=()=>{if(e.f){const v=f?be(u,l)?u[l]:d[l]:l.value;r?ce(v)&&ld(v,s):ce(v)?v.includes(s)||v.push(s):f?(d[l]=[s],be(u,l)&&(u[l]=d[l])):(l.value=[s],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,be(u,l)&&(u[l]=i)):h&&(l.value=i,e.k&&(d[e.k]=i))};i?(_.id=-1,Ct(_,n)):_()}}}const Ct=kT;function aC(e){return lC(e)}function lC(e,t){const n=Fm();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,forcePatchProp:i,createElement:a,createText:l,createComment:c,setText:d,setElementText:u,parentNode:f,nextSibling:h,setScopeId:_=gn,insertStaticContent:v}=e,m=(T,x,M,V=null,z=null,Q=null,ie=void 0,ee=null,B=!!x.dynamicChildren)=>{if(T===x)return;T&&!Co(T,x)&&(V=re(T),G(T,z,Q,!0),T=null),x.patchFlag===-2&&(B=!1,x.dynamicChildren=null);const{type:F,ref:ae,shapeFlag:fe}=x;switch(F){case jr:y(T,x,M,V);break;case Gt:b(T,x,M,V);break;case tc:T==null&&p(x,M,V,ie);break;case ot:N(T,x,M,V,z,Q,ie,ee,B);break;default:fe&1?S(T,x,M,V,z,Q,ie,ee,B):fe&6?J(T,x,M,V,z,Q,ie,ee,B):(fe&64||fe&128)&&F.process(T,x,M,V,z,Q,ie,ee,B,A)}ae!=null&&z&&au(ae,T&&T.ref,Q,x||T,!x)},y=(T,x,M,V)=>{if(T==null)o(x.el=l(x.children),M,V);else{const z=x.el=T.el;x.children!==T.children&&d(z,x.children)}},b=(T,x,M,V)=>{T==null?o(x.el=c(x.children||""),M,V):x.el=T.el},p=(T,x,M,V)=>{[T.el,T.anchor]=v(T.children,x,M,V,T.el,T.anchor)},g=({el:T,anchor:x},M,V)=>{let z;for(;T&&T!==x;)z=h(T),o(T,M,V),T=z;o(x,M,V)},w=({el:T,anchor:x})=>{let M;for(;T&&T!==x;)M=h(T),r(T),T=M;r(x)},S=(T,x,M,V,z,Q,ie,ee,B)=>{x.type==="svg"?ie="svg":x.type==="math"&&(ie="mathml"),T==null?k(x,M,V,z,Q,ie,ee,B):P(T,x,z,Q,ie,ee,B)},k=(T,x,M,V,z,Q,ie,ee)=>{let B,F;const{props:ae,shapeFlag:fe,transition:ye,dirs:Te}=T;if(B=T.el=a(T.type,Q,ae&&ae.is,ae),fe&8?u(B,T.children):fe&16&&O(T.children,B,null,V,z,ec(T,Q),ie,ee),Te&&Jo(T,null,V,"created"),C(B,T,T.scopeId,ie,V),ae){for(const Ve in ae)Ve!=="value"&&!Os(Ve)&&s(B,Ve,null,ae[Ve],Q,T.children,V,z,j);"value"in ae&&s(B,"value",null,ae.value,Q),(F=ae.onVnodeBeforeMount)&&dn(F,V,T)}Object.defineProperty(B,"__vueParentComponent",{value:V,enumerable:!1}),Te&&Jo(T,null,V,"beforeMount");const xe=cC(z,ye);xe&&ye.beforeEnter(B),o(B,x,M),((F=ae&&ae.onVnodeMounted)||xe||Te)&&Ct(()=>{F&&dn(F,V,T),xe&&ye.enter(B),Te&&Jo(T,null,V,"mounted")},z)},C=(T,x,M,V,z)=>{if(M&&_(T,M),V)for(let Q=0;Q{for(let F=B;F{const ee=x.el=T.el;let{patchFlag:B,dynamicChildren:F,dirs:ae}=x;B|=T.patchFlag&16;const fe=T.props||Xe,ye=x.props||Xe;let Te;if(M&&Qo(M,!1),(Te=ye.onVnodeBeforeUpdate)&&dn(Te,M,x,T),ae&&Jo(x,T,M,"beforeUpdate"),M&&Qo(M,!0),F?I(T.dynamicChildren,F,ee,M,V,ec(x,z),Q):ie||$(T,x,ee,null,M,V,ec(x,z),Q,!1),B>0){if(B&16)E(ee,x,fe,ye,M,V,z);else if(B&2&&fe.class!==ye.class&&s(ee,"class",null,ye.class,z),B&4&&s(ee,"style",fe.style,ye.style,z),B&8){const xe=x.dynamicProps;for(let Ve=0;Ve{Te&&dn(Te,M,x,T),ae&&Jo(x,T,M,"updated")},V)},I=(T,x,M,V,z,Q,ie)=>{for(let ee=0;ee{if(M!==V){if(M!==Xe)for(const ee in M)!Os(ee)&&!(ee in V)&&s(T,ee,M[ee],null,ie,x.children,z,Q,j);for(const ee in V){if(Os(ee))continue;const B=V[ee],F=M[ee];(B!==F&&ee!=="value"||i&&i(T,ee))&&s(T,ee,F,B,ie,x.children,z,Q,j)}"value"in V&&s(T,"value",M.value,V.value,ie)}},N=(T,x,M,V,z,Q,ie,ee,B)=>{const F=x.el=T?T.el:l(""),ae=x.anchor=T?T.anchor:l("");let{patchFlag:fe,dynamicChildren:ye,slotScopeIds:Te}=x;Te&&(ee=ee?ee.concat(Te):Te),T==null?(o(F,M,V),o(ae,M,V),O(x.children||[],M,ae,z,Q,ie,ee,B)):fe>0&&fe&64&&ye&&T.dynamicChildren?(I(T.dynamicChildren,ye,M,z,Q,ie,ee),(x.key!=null||z&&x===z.subTree)&&cv(T,x,!0)):$(T,x,M,ae,z,Q,ie,ee,B)},J=(T,x,M,V,z,Q,ie,ee,B)=>{x.slotScopeIds=ee,T==null?x.shapeFlag&512?z.ctx.activate(x,M,V,ie,B):R(x,M,V,z,Q,ie,B):W(T,x,B)},R=(T,x,M,V,z,Q,ie)=>{const ee=T.component=mC(T,V,z);if(vi(T)&&(ee.ctx.renderer=A),yC(ee),ee.asyncDep){if(z&&z.registerDep(ee,Z),!T.el){const B=ee.subTree=L(Gt);b(null,B,x,M)}}else Z(ee,T,x,M,z,Q,ie)},W=(T,x,M)=>{const V=x.component=T.component;if(TT(T,x,M))if(V.asyncDep&&!V.asyncResolved){X(V,x,M);return}else V.next=x,yT(V.update),V.effect.dirty=!0,V.update();else x.el=T.el,V.vnode=x},Z=(T,x,M,V,z,Q,ie)=>{const ee=()=>{if(T.isMounted){let{next:ae,bu:fe,u:ye,parent:Te,vnode:xe}=T;{const br=uv(T);if(br){ae&&(ae.el=xe.el,X(T,ae,ie)),br.asyncDep.then(()=>{T.isUnmounted||ee()});return}}let Ve=ae,Ye;Qo(T,!1),ae?(ae.el=xe.el,X(T,ae,ie)):ae=xe,fe&&sn(fe),(Ye=ae.props&&ae.props.onVnodeBeforeUpdate)&&dn(Ye,Te,ae,xe),Qo(T,!0);const Rt=Vf(T),wn=T.subTree;T.subTree=Rt,m(wn,Rt,f(wn.el),re(wn),T,z,Q),ae.el=Rt.el,Ve===null&&CT(T,Rt.el),ye&&Ct(ye,z),(Ye=ae.props&&ae.props.onVnodeUpdated)&&Ct(()=>dn(Ye,Te,ae,xe),z)}else{let ae;const{el:fe,props:ye}=x,{bm:Te,m:xe,parent:Ve}=T,Ye=Nr(x);Qo(T,!1),Te&&sn(Te),!Ye&&(ae=ye&&ye.onVnodeBeforeMount)&&dn(ae,Ve,x),Qo(T,!0);{const Rt=T.subTree=Vf(T);m(null,Rt,M,V,T,z,Q),x.el=Rt.el}if(xe&&Ct(xe,z),!Ye&&(ae=ye&&ye.onVnodeMounted)){const Rt=x;Ct(()=>dn(ae,Ve,Rt),z)}(x.shapeFlag&256||Ve&&Nr(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&(T.ba&&Qy(T.ba),T.a&&Ct(T.a,z)),T.isMounted=!0,x=M=V=null}},B=T.effect=new md(ee,gn,()=>pl(F),T.scope),F=T.update=()=>{B.dirty&&B.run()};F.id=T.uid,Qo(T,!0),F()},X=(T,x,M)=>{x.component=T;const V=T.vnode.props;T.vnode=x,T.next=null,oC(T,x.props,V,M),iC(T,x.children,M),mr(),Uf(T),yr()},$=(T,x,M,V,z,Q,ie,ee,B=!1)=>{const F=T&&T.children,ae=T?T.shapeFlag:0,fe=x.children,{patchFlag:ye,shapeFlag:Te}=x;if(ye>0){if(ye&128){U(F,fe,M,V,z,Q,ie,ee,B);return}else if(ye&256){te(F,fe,M,V,z,Q,ie,ee,B);return}}Te&8?(ae&16&&j(F,z,Q),fe!==F&&u(M,fe)):ae&16?Te&16?U(F,fe,M,V,z,Q,ie,ee,B):j(F,z,Q,!0):(ae&8&&u(M,""),Te&16&&O(fe,M,V,z,Q,ie,ee,B))},te=(T,x,M,V,z,Q,ie,ee,B)=>{T=T||Rr,x=x||Rr;const F=T.length,ae=x.length,fe=Math.min(F,ae);let ye;for(ye=0;yeae?j(T,z,Q,!0,!1,fe):O(x,M,V,z,Q,ie,ee,B,fe)},U=(T,x,M,V,z,Q,ie,ee,B)=>{let F=0;const ae=x.length;let fe=T.length-1,ye=ae-1;for(;F<=fe&&F<=ye;){const Te=T[F],xe=x[F]=B?wo(x[F]):Bn(x[F]);if(Co(Te,xe))m(Te,xe,M,null,z,Q,ie,ee,B);else break;F++}for(;F<=fe&&F<=ye;){const Te=T[fe],xe=x[ye]=B?wo(x[ye]):Bn(x[ye]);if(Co(Te,xe))m(Te,xe,M,null,z,Q,ie,ee,B);else break;fe--,ye--}if(F>fe){if(F<=ye){const Te=ye+1,xe=Teye)for(;F<=fe;)G(T[F],z,Q,!0),F++;else{const Te=F,xe=F,Ve=new Map;for(F=xe;F<=ye;F++){const Zt=x[F]=B?wo(x[F]):Bn(x[F]);Zt.key!=null&&Ve.set(Zt.key,F)}let Ye,Rt=0;const wn=ye-xe+1;let br=!1,Sf=0;const ds=new Array(wn);for(F=0;F=wn){G(Zt,z,Q,!0);continue}let Mn;if(Zt.key!=null)Mn=Ve.get(Zt.key);else for(Ye=xe;Ye<=ye;Ye++)if(ds[Ye-xe]===0&&Co(Zt,x[Ye])){Mn=Ye;break}Mn===void 0?G(Zt,z,Q,!0):(ds[Mn-xe]=F+1,Mn>=Sf?Sf=Mn:br=!0,m(Zt,x[Mn],M,null,z,Q,ie,ee,B),Rt++)}const Tf=br?uC(ds):Rr;for(Ye=Tf.length-1,F=wn-1;F>=0;F--){const Zt=xe+F,Mn=x[Zt],Cf=Zt+1{const{el:Q,type:ie,transition:ee,children:B,shapeFlag:F}=T;if(F&6){K(T.component.subTree,x,M,V);return}if(F&128){T.suspense.move(x,M,V);return}if(F&64){ie.move(T,x,M,A);return}if(ie===ot){o(Q,x,M);for(let fe=0;feee.enter(Q),z);else{const{leave:fe,delayLeave:ye,afterLeave:Te}=ee,xe=()=>o(Q,x,M),Ve=()=>{fe(Q,()=>{xe(),Te&&Te()})};ye?ye(Q,xe,Ve):Ve()}else o(Q,x,M)},G=(T,x,M,V=!1,z=!1)=>{const{type:Q,props:ie,ref:ee,children:B,dynamicChildren:F,shapeFlag:ae,patchFlag:fe,dirs:ye}=T;if(ee!=null&&au(ee,null,M,T,!0),ae&256){x.ctx.deactivate(T);return}const Te=ae&1&&ye,xe=!Nr(T);let Ve;if(xe&&(Ve=ie&&ie.onVnodeBeforeUnmount)&&dn(Ve,x,T),ae&6)je(T.component,M,V);else{if(ae&128){T.suspense.unmount(M,V);return}Te&&Jo(T,null,x,"beforeUnmount"),ae&64?T.type.remove(T,x,M,z,A,V):F&&(Q!==ot||fe>0&&fe&64)?j(F,x,M,!1,!0):(Q===ot&&fe&384||!z&&ae&16)&&j(B,x,M),V&&H(T)}(xe&&(Ve=ie&&ie.onVnodeUnmounted)||Te)&&Ct(()=>{Ve&&dn(Ve,x,T),Te&&Jo(T,null,x,"unmounted")},M)},H=T=>{const{type:x,el:M,anchor:V,transition:z}=T;if(x===ot){tt(M,V);return}if(x===tc){w(T);return}const Q=()=>{r(M),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(T.shapeFlag&1&&z&&!z.persisted){const{leave:ie,delayLeave:ee}=z,B=()=>ie(M,Q);ee?ee(T.el,Q,B):B()}else Q()},tt=(T,x)=>{let M;for(;T!==x;)M=h(T),r(T),T=M;r(x)},je=(T,x,M)=>{const{bum:V,scope:z,update:Q,subTree:ie,um:ee}=T;V&&sn(V),z.stop(),Q&&(Q.active=!1,G(ie,T,x,M)),ee&&Ct(ee,x),Ct(()=>{T.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},j=(T,x,M,V=!1,z=!1,Q=0)=>{for(let ie=Q;ieT.shapeFlag&6?re(T.component.subTree):T.shapeFlag&128?T.suspense.next():h(T.anchor||T.el);let oe=!1;const de=(T,x,M)=>{T==null?x._vnode&&G(x._vnode,null,null,!0):m(x._vnode||null,T,x,null,null,null,M),oe||(oe=!0,Uf(),Uy(),oe=!1),x._vnode=T},A={p:m,um:G,m:K,r:H,mt:R,mc:O,pc:$,pbc:I,n:re,o:e};return{render:de,hydrate:void 0,createApp:tC(de)}}function ec({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Qo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function cC(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function cv(e,t,n=!1){const o=e.children,r=t.children;if(ce(o)&&ce(r))for(let s=0;s>1,e[n[a]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function uv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:uv(t)}const dC=e=>e.__isTeleport,ot=Symbol.for("v-fgt"),jr=Symbol.for("v-txt"),Gt=Symbol.for("v-cmt"),tc=Symbol.for("v-stc"),Ms=[];let kn=null;function ge(e=!1){Ms.push(kn=e?null:[])}function fC(){Ms.pop(),kn=Ms[Ms.length-1]||null}let ei=1;function th(e){ei+=e}function dv(e){return e.dynamicChildren=ei>0?kn||Rr:null,fC(),ei>0&&kn&&kn.push(e),e}function yl(e,t,n,o,r,s){return dv(hv(e,t,n,o,r,s,!0))}function ve(e,t,n,o,r){return dv(L(e,t,n,o,r,!0))}function pr(e){return e?e.__v_isVNode===!0:!1}function Co(e,t){return e.type===t.type&&e.key===t.key}const vl="__vInternal",fv=({key:e})=>e!=null?e:null,ha=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||lt(e)||le(e)?{i:vt,r:e,k:t,f:!!n}:e:null);function hv(e,t=null,n=null,o=0,r=null,s=e===ot?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fv(t),ref:t&&ha(t),scopeId:Hy,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:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:vt};return a?(Pd(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Se(n)?8:16),ei>0&&!i&&kn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&kn.push(l),l}const L=hC;function hC(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===zy)&&(e=Gt),pr(e)){const a=eo(e,t,!0);return n&&Pd(a,n),ei>0&&!s&&kn&&(a.shapeFlag&6?kn[kn.indexOf(e)]=a:kn.push(a)),a.patchFlag|=-2,a}if(bC(e)&&(e=e.__vccOpts),t){t=pv(t);let{class:a,style:l}=t;a&&!Se(a)&&(t.class=Je(a)),Qe(l)&&(Ry(l)&&!ce(l)&&(l=pe({},l)),t.style=rt(l))}const i=Se(e)?1:As(e)?128:dC(e)?64:Qe(e)?4:le(e)?2:0;return hv(e,t,n,o,r,i,s,!0)}function pv(e){return e?Ry(e)||vl in e?pe({},e):e:null}function eo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,a=t?At(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&fv(a),ref:t&&t.ref?n&&r?ce(r)?r.concat(ha(t)):[r,ha(t)]:ha(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&eo(e.ssContent),ssFallback:e.ssFallback&&eo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bt(e=" ",t=0){return L(jr,null,e,t)}function Ke(e="",t=!1){return t?(ge(),ve(Gt,null,e)):L(Gt,null,e)}function Bn(e){return e==null||typeof e=="boolean"?L(Gt):ce(e)?L(ot,null,e.slice()):typeof e=="object"?wo(e):L(jr,null,String(e))}function wo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:eo(e)}function Pd(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Pd(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(vl in t)?t._ctx=vt:r===3&&vt&&(vt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:vt},n=32):(t=String(t),o&64?(n=16,t=[Bt(t)]):n=8);e.children=t,e.shapeFlag|=n}function At(...e){const t={};for(let n=0;nut||vt;let Na,lu;{const e=Fm(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};Na=t("__VUE_INSTANCE_SETTERS__",n=>ut=n),lu=t("__VUE_SSR_SETTERS__",n=>is=n)}const bi=e=>{const t=ut;return Na(e),e.scope.on(),()=>{e.scope.off(),Na(t)}},nh=()=>{ut&&ut.scope.off(),Na(null)};function gv(e){return e.vnode.shapeFlag&4}let is=!1;function yC(e,t=!1){t&&lu(t);const{props:n,children:o}=e.vnode,r=gv(e);nC(e,n,r,t),sC(e,o);const s=r?vC(e,t):void 0;return t&&lu(!1),s}function vC(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$o(new Proxy(e.ctx,zT));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?yv(e):null,s=bi(e);mr();const i=Ao(o,e,0,[e.props,r]);if(yr(),s(),cd(i)){if(i.then(nh,nh),t)return i.then(a=>{oh(e,a)}).catch(a=>{yi(a,e,0)});e.asyncDep=i}else oh(e,i)}else mv(e)}function oh(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qe(t)&&(e.setupState=$y(t)),mv(e)}function mv(e,t,n){const o=e.type;e.render||(e.render=o.render||gn);{const r=bi(e);mr();try{YT(e)}finally{yr(),r()}}}function _C(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Yt(e,"get","$attrs"),t[n]}}))}function yv(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _C(e)},slots:e.slots,emit:e.emit,expose:t}}function _l(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($y($o(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ls)return Ls[n](e)},has(t,n){return n in t||n in Ls}}))}function vv(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function bC(e){return le(e)&&"__vccOpts"in e}const Y=(e,t)=>uT(e,t,is);function _n(e,t,n){const o=arguments.length;return o===2?Qe(t)&&!ce(t)?pr(t)?L(e,null,[t]):L(e,t):L(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&pr(n)&&(n=[n]),L(e,t,n))}const wC="3.4.21",SC="http://www.w3.org/2000/svg",TC="http://www.w3.org/1998/Math/MathML",Yn=typeof document!="undefined"?document:null,rh=Yn&&Yn.createElement("template"),CC={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==="svg"?Yn.createElementNS(SC,e):t==="mathml"?Yn.createElementNS(TC,e):n?Yn.createElement(e,{is:n}):Yn.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{rh.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const a=rh.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lo="transition",fs="animation",ti=Symbol("_vtc"),bl=(e,{slots:t})=>_n(AT,kC(e),t);bl.displayName="Transition";const _v={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};bl.props=pe({},Yy,_v);const Zo=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},sh=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function kC(e){const t={};for(const E in e)E in _v||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,_=xC(r),v=_&&_[0],m=_&&_[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:p,onLeave:g,onLeaveCancelled:w,onBeforeAppear:S=y,onAppear:k=b,onAppearCancelled:C=p}=t,O=(E,N,J)=>{er(E,N?d:a),er(E,N?c:i),J&&J()},P=(E,N)=>{E._isLeaving=!1,er(E,u),er(E,h),er(E,f),N&&N()},I=E=>(N,J)=>{const R=E?k:b,W=()=>O(N,E,J);Zo(R,[N,W]),ih(()=>{er(N,E?l:s),co(N,E?d:a),sh(R)||ah(N,o,v,W)})};return pe(t,{onBeforeEnter(E){Zo(y,[E]),co(E,s),co(E,i)},onBeforeAppear(E){Zo(S,[E]),co(E,l),co(E,c)},onEnter:I(!1),onAppear:I(!0),onLeave(E,N){E._isLeaving=!0;const J=()=>P(E,N);co(E,u),IC(),co(E,f),ih(()=>{E._isLeaving&&(er(E,u),co(E,h),sh(g)||ah(E,o,m,J))}),Zo(g,[E,J])},onEnterCancelled(E){O(E,!1),Zo(p,[E])},onAppearCancelled(E){O(E,!0),Zo(C,[E])},onLeaveCancelled(E){P(E),Zo(w,[E])}})}function xC(e){if(e==null)return null;if(Qe(e))return[nc(e.enter),nc(e.leave)];{const t=nc(e);return[t,t]}}function nc(e){return Kw(e)}function co(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ti]||(e[ti]=new Set)).add(t)}function er(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ti];n&&(n.delete(t),n.size||(e[ti]=void 0))}function ih(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let PC=0;function ah(e,t,n,o){const r=e._endId=++PC,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=EC(e,t);if(!i)return o();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,f),s()},f=h=>{h.target===e&&++d>=l&&u()};setTimeout(()=>{d(n[_]||"").split(", "),r=o(`${lo}Delay`),s=o(`${lo}Duration`),i=lh(r,s),a=o(`${fs}Delay`),l=o(`${fs}Duration`),c=lh(a,l);let d=null,u=0,f=0;t===lo?i>0&&(d=lo,u=i,f=s.length):t===fs?c>0&&(d=fs,u=c,f=l.length):(u=Math.max(i,c),d=u>0?i>c?lo:fs:null,f=d?d===lo?s.length:l.length:0);const h=d===lo&&/\b(transform|all)(,|$)/.test(o(`${lo}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:h}}function lh(e,t){for(;e.lengthch(n)+ch(e[o])))}function ch(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function IC(){return document.body.offsetHeight}function OC(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter(i=>r.indexOf(i)===-1).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const s=e[ti];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $a=Symbol("_vod"),bv=Symbol("_vsh"),nn={beforeMount(e,{value:t},{transition:n}){e[$a]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hs(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),hs(e,!0),o.enter(e)):o.leave(e,()=>{hs(e,!1)}):hs(e,t))},beforeUnmount(e,{value:t}){hs(e,t)}};function hs(e,t){e.style.display=t?e[$a]:"none",e[bv]=!t}const AC=Symbol(""),LC=/(^|;)\s*display\s*:/;function RC(e,t,n){const o=e.style,r=Se(n);let s=!1;if(n&&!r){if(t)if(Se(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&xs(o,l,"")}else for(const a in t)n[a]==null&&xs(o,a,"");for(const a in n)a==="display"&&(s=!0),xs(o,a,n[a])}else if(r){if(t!==n){const a=o[AC];a&&(n+=";"+a),o.cssText=n,s=LC.test(n)}}else t&&e.removeAttribute("style");$a in e&&(e[$a]=s?o.display:"",e[bv]&&(o.display="none"));const{__wxsStyle:i}=e;if(i)for(const a in i)xs(o,a,i[a])}const uh=/\s*!important$/;function xs(e,t,n){if(ce(n))n.forEach(o=>xs(e,t,o));else if(n==null&&(n=""),n=FC(n),t.startsWith("--"))e.setProperty(t,n);else{const o=MC(e,t);uh.test(n)?e.setProperty(oo(o),n.replace(uh,""),"important"):e[o]=n}}const dh=["Webkit","Moz","ms"],oc={};function MC(e,t){const n=oc[t];if(n)return n;let o=In(t);if(o!=="filter"&&o in e)return oc[t]=o;o=al(o);for(let r=0;rSe(e)?BC(e):e,fh="http://www.w3.org/1999/xlink";function UC(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(fh,t.slice(6,t.length)):e.setAttributeNS(fh,t,n);else{const s=eS(t);n==null||s&&!qm(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function qC(e,t,n,o,r,s,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,s),e[t]=n==null?"":n;return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,d=n==null?"":n;(c!==d||!("_value"in e))&&(e.value=d),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=qm(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}function VC(e,t,n,o){e.addEventListener(t,n,o)}function HC(e,t,n,o){e.removeEventListener(t,n,o)}const hh=Symbol("_vei");function WC(e,t,n,o,r=null){const s=e[hh]||(e[hh]={}),i=s[t];if(o&&i)i.value=o;else{const[a,l]=jC(t);if(o){const c=s[t]=KC(o,r);VC(e,a,c,l)}else i&&(HC(e,a,i,l),s[t]=void 0)}}const ph=/(?:Once|Passive|Capture)$/;function jC(e){let t;if(ph.test(e)){t={};let o;for(;o=e.match(ph);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):oo(e.slice(2)),t]}let rc=0;const zC=Promise.resolve(),GC=()=>rc||(zC.then(()=>rc=0),rc=Date.now());function KC(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const r=t&&t.proxy,s=r&&r.$nne,{value:i}=n;if(s&&ce(i)){const a=gh(o,i);for(let l=0;l{n.call(e),e._stopped=!0},t.map(o=>{const r=s=>!s._stopped&&o&&o(s);return r.__wwe=o.__wwe,r})}else return t}function YC(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:s}=o,i=s[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===i)return;e.__wxsProps[r]=i;const l=o.proxy;st(()=>{n(i,a,l.$gcd(l,!0),l.$gcd(l,!1))})}const mh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,XC=(e,t)=>t.indexOf("change:")===0?!0:t==="class"&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):t==="style"&&e.__wxsStyleChanged?(e.__wxsStyleChanged=!1,!0):!1,JC=(e,t,n,o,r,s,i,a,l)=>{if(t.indexOf("change:")===0)return YC(e,t,o,i);const c=r==="svg";t==="class"?OC(e,o,c):t==="style"?RC(e,n,o):sl(t)?ad(t)||WC(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):QC(e,t,o,c))?qC(e,t,o,s,i,a,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),UC(e,t,o,c))};function QC(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&mh(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return mh(t)&&Se(n)?!1:t in e}const ZC=["ctrl","shift","alt","meta"],e1={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ZC.some(n=>e[`${n}Key`]&&!t.includes(n))},$t=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...s)=>{for(let i=0;i{const t=n1().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=r1(o);if(!r)return;const s=t._component;!le(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,o1(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function o1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function r1(e){return Se(e)?document.querySelector(e):e}/*! * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT */const kr=typeof document!="undefined";function Sv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function s1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sv(e.default)}const He=Object.assign;function sc(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ln(r)?r.map(e):e(r)}return n}const Ds=()=>{},Ln=Array.isArray,Tv=/#/g,i1=/&/g,a1=/\//g,l1=/=/g,c1=/\?/g,Cv=/\+/g,u1=/%5B/g,d1=/%5D/g,kv=/%5E/g,f1=/%60/g,xv=/%7B/g,h1=/%7C/g,Pv=/%7D/g,p1=/%20/g;function Ed(e){return encodeURI(""+e).replace(h1,"|").replace(u1,"[").replace(d1,"]")}function g1(e){return Ed(e).replace(xv,"{").replace(Pv,"}").replace(kv,"^")}function cu(e){return Ed(e).replace(Cv,"%2B").replace(p1,"+").replace(Tv,"%23").replace(i1,"%26").replace(f1,"`").replace(xv,"{").replace(Pv,"}").replace(kv,"^")}function m1(e){return cu(e).replace(l1,"%3D")}function y1(e){return Ed(e).replace(Tv,"%23").replace(c1,"%3F")}function v1(e){return e==null?"":y1(e).replace(a1,"%2F")}function ni(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const _1=/\/$/,b1=e=>e.replace(_1,"");function ic(e,t,n="/"){let o,r={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),r=e(s)),a>-1&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=C1(o!=null?o:t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:ni(i)}}function w1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function S1(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&zr(t.matched[o],n.matched[r])&&Ev(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ev(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!T1(e[n],t[n]))return!1;return!0}function T1(e,t){return Ln(e)?_h(e,t):Ln(t)?_h(t,e):e===t}function _h(e,t){return Ln(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function C1(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 s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(i).join("/")}const uo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var oi;(function(e){e.pop="pop",e.push="push"})(oi||(oi={}));var Ns;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ns||(Ns={}));function k1(e){if(!e)if(kr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),b1(e)}const x1=/^[^#]+#/;function P1(e,t){return e.replace(x1,"#")+t}function E1(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)}}const wl=()=>({left:window.scrollX,top:window.scrollY});function I1(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=E1(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function bh(e,t){return(history.state?history.state.position-t:-1)+e}const uu=new Map;function O1(e,t){uu.set(e,t)}function A1(e){const t=uu.get(e);return uu.delete(e),t}let L1=()=>location.protocol+"//"+location.host;function Iv(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let a=r.includes(e.slice(s))?e.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),vh(l,"")}return vh(n,e)+o+r}function R1(e,t,n,o){let r=[],s=[],i=null;const a=({state:f})=>{const h=Iv(e,location),_=n.value,v=t.value;let m=0;if(f){if(n.value=h,t.value=f,i&&i===_){i=null;return}m=v?f.position-v.position:0}else o(h);r.forEach(y=>{y(n.value,_,{delta:m,type:oi.pop,direction:m?m>0?Ns.forward:Ns.back:Ns.unknown})})};function l(){i=n.value}function c(f){r.push(f);const h=()=>{const _=r.indexOf(f);_>-1&&r.splice(_,1)};return s.push(h),h}function d(){const{history:f}=window;f.state&&f.replaceState(He({},f.state,{scroll:wl()}),"")}function u(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function wh(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?wl():null}}function M1(e){const{history:t,location:n}=window,o={value:Iv(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:L1()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){n[d?"replace":"assign"](f)}}function i(l,c){const d=He({},t.state,wh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,d,!0),o.value=l}function a(l,c){const d=He({},r.value,t.state,{forward:l,scroll:wl()});s(d.current,d,!0);const u=He({},wh(o.value,l,null),{position:d.position+1},c);s(l,u,!1),o.value=l}return{location:o,state:r,push:a,replace:i}}function D1(e){e=k1(e);const t=M1(e),n=R1(e,t.state,t.location,t.replace);function o(s,i=!0){i||n.pauseListeners(),history.go(s)}const r=He({location:"",base:e,go:o,createHref:P1.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function N1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),D1(e)}function $1(e){return typeof e=="string"||e&&typeof e=="object"}function Ov(e){return typeof e=="string"||typeof e=="symbol"}const Av=Symbol("");var Sh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Sh||(Sh={}));function Gr(e,t){return He(new Error,{type:e,[Av]:!0},t)}function $n(e,t){return e instanceof Error&&Av in e&&(t==null||!!(e.type&t))}const Th="[^/]+?",B1={sensitive:!1,strict:!1,start:!0,end:!0},F1=/[.+*?^${}()[\]/\\]/g;function U1(e,t){const n=He({},B1,t),o=[];let r=n.start?"^":"";const s=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let u=0;ut.length?t.length===1&&t[0]===80?1:-1:0}function Lv(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const V1={type:0,value:""},H1=/[a-zA-Z0-9_]/;function W1(e){if(!e)return[[]];if(e==="/")return[[V1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const r=[];let s;function i(){s&&r.push(s),s=[]}let a=0,l,c="",d="";function u(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{i(p)}:Ds}function i(u){if(Ov(u)){const f=o.get(u);f&&(o.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&o.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){const f=X1(u,n);n.splice(f,0,u),u.record.name&&!xh(u)&&o.set(u.record.name,u)}function c(u,f){let h,_={},v,m;if("name"in u&&u.name){if(h=o.get(u.name),!h)throw Gr(1,{location:u});m=h.record.name,_=He(kh(f.params,h.keys.filter(p=>!p.optional).concat(h.parent?h.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),u.params&&kh(u.params,h.keys.map(p=>p.name))),v=h.stringify(_)}else if(u.path!=null)v=u.path,h=n.find(p=>p.re.test(v)),h&&(_=h.parse(v),m=h.record.name);else{if(h=f.name?o.get(f.name):n.find(p=>p.re.test(f.path)),!h)throw Gr(1,{location:u,currentLocation:f});m=h.record.name,_=He({},f.params,u.params),v=h.stringify(_)}const y=[];let b=h;for(;b;)y.unshift(b.record),b=b.parent;return{name:m,path:v,params:_,matched:y,meta:Y1(y)}}e.forEach(u=>s(u));function d(){n.length=0,o.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:d,getRoutes:a,getRecordMatcher:r}}function kh(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function G1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:K1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function K1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function xh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Y1(e){return e.reduce((t,n)=>He(t,n.meta),{})}function Ph(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function X1(e,t){let n=0,o=t.length;for(;n!==o;){const s=n+o>>1;Lv(e,t[s])<0?o=s:n=s+1}const r=J1(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function J1(e){let t=e;for(;t=t.parent;)if(Rv(t)&&Lv(e,t)===0)return t}function Rv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Q1(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&cu(s)):[o&&cu(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Z1(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Ln(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const ek=Symbol(""),Ih=Symbol(""),Sl=Symbol(""),Id=Symbol(""),du=Symbol("");function ps(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function So(e,t,n,o,r,s=i=>i()){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Gr(4,{from:n,to:t})):f instanceof Error?l(f):$1(f)?l(Gr(2,{from:t,to:f})):(i&&o.enterCallbacks[r]===i&&typeof f=="function"&&i.push(f),a())},d=s(()=>e.call(o&&o.instances[r],t,n,c));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch(f=>l(f))})}function ac(e,t,n,o,r=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Sv(l)){const d=(l.__vccOpts||l)[t];d&&s.push(So(d,n,o,i,a,r))}else{let c=l();s.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const u=s1(d)?d.default:d;i.mods[a]=d,i.components[a]=u;const h=(u.__vccOpts||u)[t];return h&&So(h,n,o,i,a,r)()}))}}return s}function Oh(e){const t=$e(Sl),n=$e(Id),o=Y(()=>{const l=kt(e.to);return t.resolve(l)}),r=Y(()=>{const{matched:l}=o.value,{length:c}=l,d=l[c-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex(zr.bind(null,d));if(f>-1)return f;const h=Ah(l[c-2]);return c>1&&Ah(d)===h&&u[u.length-1].path!==h?u.findIndex(zr.bind(null,l[c-2])):f}),s=Y(()=>r.value>-1&&rk(n.params,o.value.params)),i=Y(()=>r.value>-1&&r.value===n.matched.length-1&&Ev(n.params,o.value.params));function a(l={}){return ok(l)?t[kt(e.replace)?"replace":"push"](kt(e.to)).catch(Ds):Promise.resolve()}return{route:o,href:Y(()=>o.value.href),isActive:s,isExactActive:i,navigate:a}}const tk=Ze({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:Oh,setup(e,{slots:t}){const n=Ee(Oh(e)),{options:o}=$e(Sl),r=Y(()=>({[Lh(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Lh(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:_n("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),nk=tk;function ok(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function rk(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Ln(r)||r.length!==o.length||o.some((s,i)=>s!==r[i]))return!1}return!0}function Ah(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Lh=(e,t,n)=>e!=null?e:t!=null?t:n,sk=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=$e(du),r=Y(()=>e.route||o.value),s=$e(Ih,0),i=Y(()=>{let c=kt(s);const{matched:d}=r.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=Y(()=>r.value.matched[i.value]);_t(Ih,Y(()=>i.value+1)),_t(ek,a),_t(du,r);const l=q();return ne(()=>[l.value,a.value,e.name],([c,d,u],[f,h,_])=>{d&&(d.instances[u]=c,h&&h!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),c&&d&&(!h||!zr(d,h)||!f)&&(d.enterCallbacks[u]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=r.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return Rh(n.default,{Component:f,route:c});const h=u.props[d],_=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=_n(f,He({},_,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(u.instances[d]=null)},ref:l}));return Rh(n.default,{Component:m,route:c})||m}}});function Rh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mv=sk;function ik(e){const t=z1(e.routes,e),n=e.parseQuery||Q1,o=e.stringifyQuery||Eh,r=e.history,s=ps(),i=ps(),a=ps(),l=fa(uo);let c=uo;kr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=sc.bind(null,j=>""+j),u=sc.bind(null,v1),f=sc.bind(null,ni);function h(j,re){let oe,de;return Ov(j)?(oe=t.getRecordMatcher(j),de=re):de=j,t.addRoute(de,oe)}function _(j){const re=t.getRecordMatcher(j);re&&t.removeRoute(re)}function v(){return t.getRoutes().map(j=>j.record)}function m(j){return!!t.getRecordMatcher(j)}function y(j,re){if(re=He({},re||l.value),typeof j=="string"){const x=ic(n,j,re.path),M=t.resolve({path:x.path},re),V=r.createHref(x.fullPath);return He(x,M,{params:f(M.params),hash:ni(x.hash),redirectedFrom:void 0,href:V})}let oe;if(j.path!=null)oe=He({},j,{path:ic(n,j.path,re.path).path});else{const x=He({},j.params);for(const M in x)x[M]==null&&delete x[M];oe=He({},j,{params:u(x)}),re.params=u(re.params)}const de=t.resolve(oe,re),A=j.hash||"";de.params=d(f(de.params));const D=w1(o,He({},j,{hash:g1(A),path:de.path})),T=r.createHref(D);return He({fullPath:D,hash:A,query:o===Eh?Z1(j.query):j.query||{}},de,{redirectedFrom:void 0,href:T})}function b(j){return typeof j=="string"?ic(n,j,l.value.path):He({},j)}function p(j,re){if(c!==j)return Gr(8,{from:re,to:j})}function g(j){return k(j)}function w(j){return g(He(b(j),{replace:!0}))}function S(j){const re=j.matched[j.matched.length-1];if(re&&re.redirect){const{redirect:oe}=re;let de=typeof oe=="function"?oe(j):oe;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=b(de):{path:de},de.params={}),He({query:j.query,hash:j.hash,params:de.path!=null?{}:j.params},de)}}function k(j,re){const oe=c=y(j),de=l.value,A=j.state,D=j.force,T=j.replace===!0,x=S(oe);if(x)return k(He(b(x),{state:typeof x=="object"?He({},A,x.state):A,force:D,replace:T}),re||oe);const M=oe;M.redirectedFrom=re;let V;return!D&&S1(o,de,oe)&&(V=Gr(16,{to:M,from:de}),U(de,de,!0,!1)),(V?Promise.resolve(V):P(M,de)).catch(z=>$n(z)?$n(z,2)?z:te(z):X(z,M,de)).then(z=>{if(z){if($n(z,2))return k(He({replace:T},b(z.to),{state:typeof z.to=="object"?He({},A,z.to.state):A,force:D}),re||M)}else z=E(M,de,!0,T,A);return I(M,de,z),z})}function C(j,re){const oe=p(j,re);return oe?Promise.reject(oe):Promise.resolve()}function O(j){const re=H.values().next().value;return re&&typeof re.runWithContext=="function"?re.runWithContext(j):j()}function P(j,re){let oe;const[de,A,D]=ak(j,re);oe=ac(de.reverse(),"beforeRouteLeave",j,re);for(const x of de)x.leaveGuards.forEach(M=>{oe.push(So(M,j,re))});const T=C.bind(null,j,re);return oe.push(T),je(oe).then(()=>{oe=[];for(const x of s.list())oe.push(So(x,j,re));return oe.push(T),je(oe)}).then(()=>{oe=ac(A,"beforeRouteUpdate",j,re);for(const x of A)x.updateGuards.forEach(M=>{oe.push(So(M,j,re))});return oe.push(T),je(oe)}).then(()=>{oe=[];for(const x of D)if(x.beforeEnter)if(Ln(x.beforeEnter))for(const M of x.beforeEnter)oe.push(So(M,j,re));else oe.push(So(x.beforeEnter,j,re));return oe.push(T),je(oe)}).then(()=>(j.matched.forEach(x=>x.enterCallbacks={}),oe=ac(D,"beforeRouteEnter",j,re,O),oe.push(T),je(oe))).then(()=>{oe=[];for(const x of i.list())oe.push(So(x,j,re));return oe.push(T),je(oe)}).catch(x=>$n(x,8)?x:Promise.reject(x))}function I(j,re,oe){a.list().forEach(de=>O(()=>de(j,re,oe)))}function E(j,re,oe,de,A){const D=p(j,re);if(D)return D;const T=re===uo,x=kr?history.state:{};oe&&(de||T?r.replace(j.fullPath,He({scroll:T&&x&&x.scroll},A)):r.push(j.fullPath,A)),l.value=j,U(j,re,oe,T),te()}let N;function J(){N||(N=r.listen((j,re,oe)=>{if(!tt.listening)return;const de=y(j),A=S(de);if(A){k(He(A,{replace:!0}),de).catch(Ds);return}c=de;const D=l.value;kr&&O1(bh(D.fullPath,oe.delta),wl()),P(de,D).catch(T=>$n(T,12)?T:$n(T,2)?(k(T.to,de).then(x=>{$n(x,20)&&!oe.delta&&oe.type===oi.pop&&r.go(-1,!1)}).catch(Ds),Promise.reject()):(oe.delta&&r.go(-oe.delta,!1),X(T,de,D))).then(T=>{T=T||E(de,D,!1),T&&(oe.delta&&!$n(T,8)?r.go(-oe.delta,!1):oe.type===oi.pop&&$n(T,20)&&r.go(-1,!1)),I(de,D,T)}).catch(Ds)}))}let R=ps(),W=ps(),Z;function X(j,re,oe){te(j);const de=W.list();return de.length&&de.forEach(A=>A(j,re,oe)),Promise.reject(j)}function $(){return Z&&l.value!==uo?Promise.resolve():new Promise((j,re)=>{R.add([j,re])})}function te(j){return Z||(Z=!j,J(),R.list().forEach(([re,oe])=>j?oe(j):re()),R.reset()),j}function U(j,re,oe,de){const{scrollBehavior:A}=e;if(!kr||!A)return Promise.resolve();const D=!oe&&A1(bh(j.fullPath,0))||(de||!oe)&&history.state&&history.state.scroll||null;return st().then(()=>A(j,re,D)).then(T=>T&&I1(T)).catch(T=>X(T,j,re))}const K=j=>r.go(j);let G;const H=new Set,tt={currentRoute:l,listening:!0,addRoute:h,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:v,resolve:y,options:e,push:g,replace:w,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:W.add,isReady:$,install(j){const re=this;j.component("RouterLink",nk),j.component("RouterView",Mv),j.config.globalProperties.$router=re,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>kt(l)}),kr&&!G&&l.value===uo&&(G=!0,g(r.location).catch(A=>{}));const oe={};for(const A in uo)Object.defineProperty(oe,A,{get:()=>l.value[A],enumerable:!0});j.provide(Sl,re),j.provide(Id,Ay(oe)),j.provide(du,l);const de=j.unmount;H.add(j),j.unmount=function(){H.delete(j),H.size<1&&(c=uo,N&&N(),N=null,l.value=uo,G=!1,Z=!1),de()}}};function je(j){return j.reduce((re,oe)=>re.then(()=>O(oe)),Promise.resolve())}return tt}function ak(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;izr(c,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>zr(c,l))||r.push(l))}return[n,o,r]}function lk(){return $e(Sl)}function Tl(e){return $e(Id)}const ck=e=>e!==null&&typeof e=="object",uk=["{","}"];class dk{constructor(){this._caches=Object.create(null)}interpolate(t,n,o=uk){if(!n)return[t];let r=this._caches[t];return r||(r=pk(t,o),this._caches[t]=r),gk(r,n)}}const fk=/^(?:\d)+/,hk=/^(?:\w)+/;function pk(e,[t,n]){const o=[];let r=0,s="";for(;rmk.call(e,t),yk=new dk;function vk(e,t){return!!t.find(n=>e.indexOf(n)!==-1)}function _k(e,t){return t.find(n=>e.indexOf(n)===0)}function Dh(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return Hn;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?Hn:e.indexOf("-hant")>-1||vk(e,["-tw","-hk","-mo","-cht"])?to:Hn;let n=[an,Wo,jo];t&&Object.keys(t).length>0&&(n=Object.keys(t));const o=_k(e,n);if(o)return o}class bk{constructor({locale:t,fallbackLocale:n,messages:o,watcher:r,formater:s}){this.locale=an,this.fallbackLocale=an,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||yk,this.messages=o||{},this.setLocale(t||an),r&&this.watchLocale(r)}setLocale(t){const n=this.locale;this.locale=Dh(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach(o=>{o(this.locale,n)})}getLocale(){return this.locale}watchLocale(t){const n=this.watchers.push(t)-1;return()=>{this.watchers.splice(n,1)}}add(t,n,o=!0){const r=this.messages[t];r?o?Object.assign(r,n):Object.keys(n).forEach(s=>{Mh(r,s)||(r[s]=n[s])}):this.messages[t]=n}f(t,n,o){return this.formater.interpolate(t,n,o).join("")}t(t,n,o){let r=this.message;return typeof n=="string"?(n=Dh(n,this.messages),n&&(r=this.messages[n])):o=n,Mh(r,t)?this.formater.interpolate(r[t],o).join(""):t}}function wk(e,t){e.$watchLocale?e.$watchLocale(n=>{t.setLocale(n)}):e.$watch(()=>e.$locale,n=>{t.setLocale(n)})}function Sk(){return typeof uni!="undefined"&&no?no():typeof global!="undefined"&&global.getLocale?global.getLocale():an}function Tk(e,t={},n,o){if(typeof e!="string"){const i=[t,e];e=i[0],t=i[1]}typeof e!="string"&&(e=Sk()),typeof n!="string"&&(n=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||an);const r=new bk({locale:e,fallbackLocale:n,messages:t,watcher:o});let s=(i,a)=>{if(typeof Pe!="function")s=function(l,c){return r.t(l,c)};else{let l=!1;s=function(c,d){const u=Pe().$vm;return u&&(u.$locale,l||(l=!0,wk(u,r))),r.t(c,d)}}return s(i,a)};return{i18n:r,f(i,a,l){return r.f(i,a,l)},t(i,a){return s(i,a)},add(i,a,l=!0){return r.add(i,a,l)},watch(i){return r.watchLocale(i)},getLocale(){return r.getLocale()},setLocale(i){return r.setLocale(i)}}}function Dv(e,t){return e.indexOf(t[0])>-1}const Od=Vt(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let gs;function Ck(){const e=no(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}function kk(e){return Dv(e,Gc)?ke().f(e,Ck(),Gc):e}function Nv(e,t){if(t.length===1){if(e){const o=a=>Se(a)&&Dv(a,Gc),r=t[0];let s=[];if(ce(e)&&(s=e.filter(a=>o(a[r]))).length)return s;const i=e[t[0]];if(o(i))return e}return}const n=t.shift();return Nv(e&&e[n],t)}function xk(e,t){return t.map(n=>Ad(e,n))}function Ad(e,t){const n=Nv(e,t);if(!n)return!1;const o=t[t.length-1];if(ce(n))n.forEach(r=>Ad(r,[o]));else{let r=n[o];Object.defineProperty(n,o,{get(){return kk(r)},set(s){r=s}})}return!0}function ke(){if(!gs){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[Hm]||__uniConfig.locale||navigator.language,gs=Tk(e),Od()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(n=>gs.add(n,__uniConfig.locales[n])),gs.setLocale(e)}}return gs}function Re(e,t,n){return t.reduce((o,r,s)=>(o[e+r]=n[s],o),{})}const Pk=Vt(()=>{const e="uni.async.",t=["error"];ke().add(an,Re(e,t,["The connection timed out, click the screen to try again."]),!1),ke().add(jo,Re(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),ke().add(Wo,Re(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),ke().add(Hn,Re(e,t,["连接服务器超时,点击屏幕重试"]),!1),ke().add(to,Re(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),Ek=Vt(()=>{const e="uni.showToast.",t=["unpaired"];ke().add(an,Re(e,t,["Please note showToast must be paired with hideToast"]),!1),ke().add(jo,Re(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),ke().add(Wo,Re(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),ke().add(Hn,Re(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),ke().add(to,Re(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),Ik=Vt(()=>{const e="uni.showLoading.",t=["unpaired"];ke().add(an,Re(e,t,["Please note showLoading must be paired with hideLoading"]),!1),ke().add(jo,Re(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),ke().add(Wo,Re(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),ke().add(Hn,Re(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),ke().add(to,Re(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),Ok=Vt(()=>{const e="uni.showModal.",t=["cancel","confirm"];ke().add(an,Re(e,t,["Cancel","OK"]),!1),ke().add(jo,Re(e,t,["Cancelar","OK"]),!1),ke().add(Wo,Re(e,t,["Annuler","OK"]),!1),ke().add(Hn,Re(e,t,["取消","确定"]),!1),ke().add(to,Re(e,t,["取消","確定"]),!1)}),Ld=Vt(()=>{const e="uni.chooseFile.",t=["notUserActivation"];ke().add(an,Re(e,t,["File chooser dialog can only be shown with a user activation"]),!1),ke().add(jo,Re(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),ke().add(Wo,Re(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),ke().add(Hn,Re(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),ke().add(to,Re(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),Ak=Vt(()=>{const e="uni.setClipboardData.",t=["success","fail"];ke().add(an,Re(e,t,["Content copied","Copy failed, please copy manually"]),!1),ke().add(jo,Re(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),ke().add(Wo,Re(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),ke().add(Hn,Re(e,t,["内容已复制","复制失败,请手动复制"]),!1),ke().add(to,Re(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),Lk=Vt(()=>{const e="uni.video.",t=["danmu","volume"];ke().add(an,Re(e,t,["Danmu","Volume"]),!1),ke().add(jo,Re(e,t,["Danmu","Volumen"]),!1),ke().add(Wo,Re(e,t,["Danmu","Le Volume"]),!1),ke().add(Hn,Re(e,t,["弹幕","音量"]),!1),ke().add(to,Re(e,t,["彈幕","音量"]),!1)});function Rk(e){if(Od())return xk(e,[["titleText"],["searchInput","placeholder"],["buttons","text"]])}function Mk(e){return Od()&&e.list&&e.list.forEach(t=>{Ad(t,["text"])}),e}function $v(e){const t=new pd;return{on(n,o){return t.on(n,o)},once(n,o){return t.once(n,o)},off(n,o){return t.off(n,o)},emit(n,...o){return t.emit(n,...o)},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 as="invokeViewApi",Nh="invokeServiceApi";let Dk=1;const Nk=(e,t,n)=>{const{subscribe:o,publishHandler:r}=Ft,s=n?Dk++:0;n&&o(Nh+"."+s,n,!0),r(Nh,{id:s,name:e,args:t})},Kr=Object.create(null);function wi(e,t){return e+"."+t}function $k(e,t){Ft.subscribe(wi(e,as),Uk)}function Bk(e){Ft.unsubscribe(wi(e,as)),Object.keys(Kr).forEach(t=>{t.indexOf(e+".")===0&&delete Kr[t]})}function Bv(e,t,n){t=wi(e,t),Kr[t]||(Kr[t]=n)}function Fk(e,t){t=wi(e,t),delete Kr[t]}function Uk({id:e,name:t,args:n},o){t=wi(o,t);const r=i=>{e&&Ft.publishHandler(as+"."+e,i)},s=Kr[t];s?s(n,r):r({})}const qk=pe($v("service"),{invokeServiceMethod:Nk}),Vk=350,$h=10,Wi=Hr(!0);let $s;function ri(){$s&&(clearTimeout($s),$s=null)}let Fv=0,Uv=0;function Hk(e){if(ri(),e.touches.length!==1)return;const{pageX:t,pageY:n}=e.touches[0];Fv=t,Uv=n,$s=setTimeout(function(){const o=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});o.touches=e.touches,o.changedTouches=e.changedTouches,e.target.dispatchEvent(o)},Vk)}function Wk(e){if(!$s)return;if(e.touches.length!==1)return ri();const{pageX:t,pageY:n}=e.touches[0];if(Math.abs(t-Fv)>$h||Math.abs(n-Uv)>$h)return ri()}function jk(){window.addEventListener("touchstart",Hk,Wi),window.addEventListener("touchmove",Wk,Wi),window.addEventListener("touchend",ri,Wi),window.addEventListener("touchcancel",ri,Wi)}function Bh(e,t){const n=Number(e);return isNaN(n)?t:n}function zk(){const e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90;var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,o=Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n;return o}function Gk(){const e=__uniConfig.globalStyle||{},t=Bh(e.rpxCalcMaxDeviceWidth,960),n=Bh(e.rpxCalcBaseDeviceWidth,375);function o(){let r=zk();r=r<=t?r:n,document.documentElement.style.fontSize=r/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Kk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fh=["top","left","right","bottom"],Rd,Ba={},hn;function Md(){return!("CSS"in window)||typeof CSS.supports!="function"?hn="":CSS.supports("top: env(safe-area-inset-top)")?hn="env":CSS.supports("top: constant(safe-area-inset-top)")?hn="constant":hn="",hn}function qv(){if(hn=typeof hn=="string"?hn:Md(),!hn){Fh.forEach(function(a){Ba[a]=0});return}function e(a,l){var c=a.style;Object.keys(l).forEach(function(d){var u=l[d];c[d]=u})}var t=[];function n(a){a?t.push(a):t.forEach(function(l){l()})}var o=!1;try{var r=Object.defineProperty({},"passive",{get:function(){o={passive:!0}}});window.addEventListener("test",null,r)}catch(a){}function s(a,l){var c=document.createElement("div"),d=document.createElement("div"),u=document.createElement("div"),f=document.createElement("div"),h=100,_=1e4,v={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:hn+"(safe-area-inset-"+l+")"};e(c,v),e(d,v),e(u,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(f,{transition:"0s",animation:"none",width:"250%",height:"250%"}),c.appendChild(u),d.appendChild(f),a.appendChild(c),a.appendChild(d),n(function(){c.scrollTop=d.scrollTop=_;var y=c.scrollTop,b=d.scrollTop;function p(){this.scrollTop!==(this===c?y:b)&&(c.scrollTop=d.scrollTop=_,y=c.scrollTop,b=d.scrollTop,Yk(l))}c.addEventListener("scroll",p,o),d.addEventListener("scroll",p,o)});var m=getComputedStyle(c);Object.defineProperty(Ba,l,{configurable:!0,get:function(){return parseFloat(m.paddingBottom)}})}var i=document.createElement("div");e(i,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Fh.forEach(function(a){s(i,a)}),document.body.appendChild(i),n(),Rd=!0}function ji(e){return Rd||qv(),Ba[e]}var zi=[];function Yk(e){zi.length||setTimeout(function(){var t={};zi.forEach(function(n){t[n]=Ba[n]}),zi.length=0,Fa.forEach(function(n){n(t)})},0),zi.push(e)}var Fa=[];function Xk(e){Md()&&(Rd||qv(),typeof e=="function"&&Fa.push(e))}function Jk(e){var t=Fa.indexOf(e);t>=0&&Fa.splice(t,1)}var Qk={get support(){return(typeof hn=="string"?hn:Md()).length!=0},get top(){return ji("top")},get left(){return ji("left")},get right(){return ji("right")},get bottom(){return ji("bottom")},onChange:Xk,offChange:Jk},Zk=Qk;const Tt=Kk(Zk),Dd=$t(()=>{},["prevent"]),ex=$t(e=>{},["stop"]);function Ps(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Cl(){const e=document.documentElement.style,t=Ps(e,"--window-top");return t?t+Tt.top:0}function Vv(){const e=document.documentElement.style,t=Cl(),n=Ps(e,"--window-bottom"),o=Ps(e,"--window-left"),r=Ps(e,"--window-right"),s=Ps(e,"--top-window-height");return{top:t,bottom:n?n+Tt.bottom:0,left:o?o+Tt.left:0,right:r?r+Tt.right:0,topWindowHeight:s||0}}function $r(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Hv(e){return $r(e)}const Ua=new Map;function tx(e,t){let n=Ua.get(e);n&&!(n instanceof HTMLStyleElement)&&(nx(e),n=void 0),n?n.innerHTML=t:(n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerHTML=t,document.head.appendChild(n)),Ua.set(e,n)}function nx(e){let t=Ua.get(e);t&&(t instanceof CSSStyleSheet?document.adoptedStyleSheets=document.adoptedStyleSheets.filter(n=>n!==t):document.head.removeChild(t),Ua.delete(e))}function Nd(e){return Symbol(e)}function Wv(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Es(e,t=!1){if(t)return ox(e);if(Se(e)){const n=parseInt(e)||0;return Wv(e)?Ci(n):n}return e}function ox(e){return Wv(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,n)=>Ci(parseFloat(n))+"px"):e}function jv(e){return e.$page}function $d(e){return e.tagName.indexOf("UNI-")===0}const rx="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",sx="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",qa="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",zv="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";function gr(e,t="#000",n=27){return L("svg",{width:n,height:n,viewBox:"0 0 32 32"},[L("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function kl(){{const{$pageInstance:e}=it();return e&&Bs(e.proxy)}}function Bo(e){const t=fl(e);if(t.$page)return Bs(t);if(!t.$)return;{const{$pageInstance:o}=t.$;if(o)return Bs(o.proxy)}const n=t.$.root.proxy;if(n&&n.$page)return Bs(n)}function vr(){const e=Xt(),t=e.length;if(t)return e[t-1]}function Bd(){var e;const t=(e=vr())==null?void 0:e.$page;if(t)return t.meta}function Si(){const e=Bd();return e?e.id:-1}function Fo(){const e=vr();if(e)return e.$vm}const ix=["navigationBar","pullToRefresh"];function ax(){return JSON.parse(JSON.stringify(__uniConfig.globalStyle||{}))}function lx(e,t){const n=ax(),o=pe({id:t},n,e);ix.forEach(s=>{o[s]=pe({},n[s],e[s])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function cx(e,t,n,o,r,s){const{id:i,route:a}=o,l=Oa(o.navigationBar,__uniConfig.themeConfig,s).titleColor;return{id:i,path:Xs(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:l==="#ffffff"?"light":"dark"}}function Bs(e){var t,n;return((t=e.$page)==null?void 0:t.id)||((n=e.$basePage)==null?void 0:n.id)}function qt(e,t,n){if(Se(e))n=t,t=e,e=Fo();else if(typeof e=="number"){const r=Xt().find(s=>jv(s).id===e);r?e=r.$vm:e=Fo()}if(!e)return;const o=e.$[t];return o&&yS(o,n)}function Uh(e){e.preventDefault()}let qh,Vh=0;function ux({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,s=!0;const i=()=>{const{scrollHeight:l}=document.documentElement,c=window.innerHeight,d=window.scrollY,u=d>0&&l>c&&d+c+n>=l,f=Math.abs(l-Vh)>n;return u&&(!r||f)?(Vh=l,r=!0,!0):(!u&&r&&(r=!1),!1)},a=()=>{e&&e(window.pageYOffset);function l(){if(i())return t&&t(),s=!1,setTimeout(function(){s=!0},350),!0}t&&s&&(l()||(qh=setTimeout(l,300))),o=!1};return function(){clearTimeout(qh),o||requestAnimationFrame(a),o=!0}}function dx(e){if(e.indexOf("/")===0||e.indexOf("uni:")===0)return e;let t="";const n=Xt();return n.length&&(t=jv(n[n.length-1]).route),Fd(t,e)}function Fd(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Fd(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return s.splice(s.length-r-1,r+1),Xs(s.concat(n).join("/"))}function Gv(e,t=!1){return t?__uniRoutes.find(n=>n.path===e||n.alias===e):__uniRoutes.find(n=>n.path===e)}function fx(){Gk(),TS($d),jk()}class hx{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=wS(t.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!this.$el||!t)return;const n=Wh(this.$el.querySelector(t));if(n)return fu(n,!1)}selectAllComponents(t){if(!this.$el||!t)return[];const n=[],o=this.$el.querySelectorAll(t);for(let r=0;r-1&&n.splice(r,1)}const o=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return o.indexOf(t)===-1&&(o.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t,n={}){const o=this.$vm[t];le(o)?o(JSON.parse(JSON.stringify(n))):this.$vm.ownerId&&Ft.publishHandler(pS,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:n})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t,n={}){return this.$vm.$emit(t,n),this}getComputedStyle(t){if(this.$el){const n=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((o,r)=>(o[r]=n[r],o),{}):n}return{}}setTimeout(t,n){return window.setTimeout(t,n)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function fu(e,t=!0){if(t&&e&&(e=uy(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new hx(e)),e.$el.__wxsComponentDescriptor}function hu(e,t){return fu(e,t)}function px(e,t,n=!0){if(!t||n&&e.length<2)return!1;const o=uy(t);if(!o)return!1;const r=o.$.type;return!r.$wxs&&!r.$renderjs?!1:o}function Hh(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get(){return hu(n.proxy,!1)}}));const r=px(t,n,o);if(r)return[e,hu(r,!1)]}}function Wh(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}const gx=e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent,mx=e=>e.type==="click",yx=e=>e.type.indexOf("mouse")===0||["contextmenu"].includes(e.type),vx=e=>typeof TouchEvent!="undefined"&&e instanceof TouchEvent||e.type.indexOf("touch")===0||["longpress"].indexOf(e.type)>=0;function _x(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event)||!(o instanceof HTMLElement))return[e];const r=!$d(o);if(r)return Hh(e,t,n,!1)||[e];const s=Ud(e,r);if(mx(e))Tx(s,e);else if(yx(e))Cx(s,e);else if(vx(e)){const i=Cl();s.touches=jh(e.touches,i),s.changedTouches=jh(e.changedTouches,i)}else gx(e)&&["key","code"].forEach(a=>{Object.defineProperty(s,a,{get(){return e[a]}})});return Hh(s,t,n)||[s]}function bx(e){for(;!$d(e);)e=e.parentElement;return e}function Ud(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:s}=e;let i,a;i=Yc(t?r:bx(r)),a=Yc(s);const l={type:n,timeStamp:o,target:i,detail:{},currentTarget:a};return e instanceof CustomEvent&&pt(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),Sx(l,e),l}function Sx(e,t){pe(e,{preventDefault(){return t.preventDefault()},stopPropagation(){return t.stopPropagation()}})}function Tx(e,t){const{x:n,y:o}=t,r=Cl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Kv(t,r)]}function Cx(e,t){const n=Cl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Kv(t,n)]}function Kv(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function jh(e,t){const n=[];for(let o=0;oet.emit("api."+e,t);let Yv=1;function Xv(e){return(e||Si())+"."+as}const Ix=(e,t,n,o)=>{const{subscribe:r,publishHandler:s}=et,i=o?Yv++:0;o&&r(as+"."+i,o,!0),s(Xv(n),{id:i,name:e,args:t},n)},Ox=(e,t,n,o)=>{const{subscribe:r,unsubscribe:s,publishHandler:i}=et,a=Yv++,l=as+"."+a;return r(l,n),i(Xv(o),{id:a,name:e,args:t},o),()=>{s(l)}},Ax=pe($v("view"),{invokeOnCallback:Ex,invokeViewMethod:Ix,invokeViewMethodKeepAlive:Ox});function Lx(){const{on:e}=et;e(ul,Rx),e(sy,Mx),e(iy,Dx)}function Rx(e){const t=vr();qt(t,ul,e),et.invokeOnCallback("onWindowResize",e)}function Mx(e){const t=vr();qt(Pe(),Zn,e),qt(t,Zn)}function Dx(){qt(Pe(),No),qt(vr(),No)}const Nx=[Vr,mi];function $x(){Nx.forEach(e=>et.subscribe(e,Bx(e)))}function Bx(e){return(t,n)=>{qt(parseInt(n),e,t)}}function Fx(){Lx(),$x()}function Ux(e){e.$vm=e,e.$mpType="app";const t=q(ke().getLocale());Object.defineProperty(e,"$locale",{get(){return t.value},set(n){t.value=n}})}function qx(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}function Vx(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new hy(this.$page.id)),e.eventChannel}}function Hx(e){const t=e.globalProperties;t.getOpenerEventChannel=Vx}function Wx(e){Hx(e._context.config)}function Jv(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function jx(e,t){const n=e.$options||{};n.globalData=pe(n.globalData||{},t),Object.defineProperty(e,"globalData",{get(){return n.globalData},set(o){n.globalData=o}})}function zh(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,n)=>`${Ci(parseFloat(n))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function zx(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`).replace("webkit","-webkit")}function Gx(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"],s=e.animates,i=e.option,a=i.transition,l={},c=[];return s.forEach(d=>{let u=d.type,f=[...d.args];if(t.concat(n).includes(u))u.startsWith("rotate")||u.startsWith("skew")?f=f.map(h=>parseFloat(h)+"deg"):u.startsWith("translate")&&(f=f.map(zh)),n.indexOf(u)>=0&&(f.length=1),c.push(`${u}(${f.join(",")})`);else if(o.concat(r).includes(f[0])){u=f[0];const h=f[1];l[u]=r.includes(u)?zh(h):h}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(d=>`${zx(d)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=i.transformOrigin,l}function Gh(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 s(){const i=o[n],a=i.option.transition,l=Gx(i);Object.keys(l).forEach(c=>{e.$el.style[c]=l[c]}),n+=1,n{s()},0)}const Kx={props:["animation"],watch:{animation:{deep:!0,handler(){Gh(this)}}},mounted(){Gh(this)}},gt=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return(!t||!t.animation)&&(n||(e.mixins=[])).push(Kx),zn(e)},zn=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Ze(e));function rn(e){return e.__wwe=!0,e}function so(e,t){return(n,o,r)=>{e.value&&t(n,Xx(n,o,e.value,r||{}))}}function Yx(e){return(t,n)=>{e(t,Ud(n))}}function Xx(e,t,n,o){let r;return r=Yc(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}const Jx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Qv(e){const t=q(!1);let n=!1,o,r;function s(){requestAnimationFrame(()=>{clearTimeout(r),r=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function i(_){_.touches.length>1||l(_)}function a(_){n||(l(_),window.addEventListener("mouseup",f))}function l(_){_._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||(e.hoverStopPropagation&&(_._hoverPropagationStopped=!0),n=!0,o=setTimeout(()=>{t.value=!0,n||s()},parseInt(e.hoverStartTime)))}function c(){u()}function d(){n&&f()}function u(){n=!1,t.value&&s()}function f(){u(),window.removeEventListener("mouseup",f)}function h(){n=!1,t.value=!1,clearTimeout(o)}return{hovering:t,binding:{onTouchstartPassive:rn(i),onMousedown:rn(a),onTouchend:rn(c),onMouseup:rn(d),onTouchcancel:rn(h)}}}function lc(e,t){return Se(t)&&(t=[t]),t.reduce((n,o)=>(e[o]&&(n[o]=!0),n),Object.create(null))}const Zv=Nd("uf"),Qx=Nd("ul");function Zx(e,t){Kh(e.id,t),ne(()=>e.id,(n,o)=>{Yh(o,t,!0),Kh(n,t,!0)}),An(()=>{Yh(e.id,t)})}function Kh(e,t,n){const o=kl();n&&!e||pt(t)&&Object.keys(t).forEach(r=>{n?r.indexOf("@")!==0&&r.indexOf("uni-")!==0&&Ft.on(`uni-${r}-${o}-${e}`,t[r]):r.indexOf("uni-")===0?Ft.on(r,t[r]):e&&Ft.on(`uni-${r}-${o}-${e}`,t[r])})}function Yh(e,t,n){const o=kl();n&&!e||pt(t)&&Object.keys(t).forEach(r=>{n?r.indexOf("@")!==0&&r.indexOf("uni-")!==0&&Ft.off(`uni-${r}-${o}-${e}`,t[r]):r.indexOf("uni-")===0?Ft.off(r,t[r]):e&&Ft.off(`uni-${r}-${o}-${e}`,t[r])})}const eP={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}},tP=gt({name:"Button",props:eP,setup(e,{slots:t}){const n=q(null),o=$e(Zv,!1),{hovering:r,binding:s}=Qv(e),i=rn((l,c)=>{if(e.disabled)return l.stopImmediatePropagation();c&&n.value.click();const d=e.formType;if(d){if(!o)return;d==="submit"?o.submit(l):d==="reset"&&o.reset(l);return}}),a=$e(Qx,!1);return a&&(a.addHandler(i),xt(()=>{a.removeHandler(i)})),Zx(e,{"label-click":i}),()=>{const l=e.hoverClass,c=lc(e,"disabled"),d=lc(e,"loading"),u=lc(e,"plain"),f=l&&l!=="none";return L("uni-button",At({ref:n,onClick:i,id:e.id,class:f&&r.value?l:""},f&&s,c,d,u),[t.default&&t.default()],16,["onClick","id"])}}}),nP="",e_=Nd("upm");function qd(){return $e(e_)}function oP(e){const t=rP(e);return _t(e_,t),t}function Ti(){return Tl()}function rP(e){return Ee(sP(JSON.parse(JSON.stringify(lx(Tl().meta,e)))))}function sP(e){{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",Rk(t)}if(history.state){const t=history.state.__type__;(t==="redirectTo"||t==="reLaunch")&&Xt().length===0&&(e.isEntry=!0,e.isQuit=!0)}return e}function Vd(){return history.state&&history.state.__id__||1}const iP=["original","compressed"],Hd=["album","camera"],pa=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function xl(e,t){return!e||t.indexOf(e)===-1?t[0]:e}function Va(e,t){return!ce(e)||e.length===0||e.find(n=>t.indexOf(n)===-1)?t:e}function aP(e){return function(){try{return e.apply(e,arguments)}catch(t){}}}let lP=1;const pu={};function cP(e,t,n,o=!1){return pu[e]={name:t,keepAlive:o,callback:n},e}function t_(e,t,n){if(typeof e=="number"){const o=pu[e];if(o)return o.keepAlive||delete pu[e],o.callback(t,n)}return t}const uP="success",dP="fail",fP="complete";function hP(e){const t={};for(const n in e){const o=e[n];le(o)&&(t[n]=aP(o),delete e[n])}return t}function pP(e,t){return!e||e.indexOf(":fail")===-1?t+":ok":t+e.substring(e.indexOf(":fail"))}function gP(e,t={},{beforeAll:n,beforeSuccess:o}={}){pt(t)||(t={});const{success:r,fail:s,complete:i}=hP(t),a=le(r),l=le(s),c=le(i),d=lP++;return cP(d,e,u=>{u=u||{},u.errMsg=pP(u.errMsg,e),le(n)&&n(u),u.errMsg===e+":ok"?(le(o)&&o(u,t),a&&r(u)):l&&s(u),c&&i(u)}),d}const mP="success",yP="fail",vP="complete",si={},Ha={};function _P(e,t){return function(n){return e(n,t)||n}}function n_(e,t,n){let o=!1;for(let r=0;r{const o=e[n];if(!ce(o))return;const r=t[n];t[n]=function(i){n_(o,i,t).then(a=>le(r)&&r(a)||a)}}),t}function Jh(e,t){const n=[];ce(si.returnValue)&&n.push(...si.returnValue);const o=Ha[e];return o&&ce(o.returnValue)&&n.push(...o.returnValue),n.forEach(r=>{t=r(t)||t}),t}function Qh(e){const t=Object.create(null);Object.keys(si).forEach(o=>{o!=="returnValue"&&(t[o]=si[o].slice())});const n=Ha[e];return n&&Object.keys(n).forEach(o=>{o!=="returnValue"&&(t[o]=(t[o]||[]).concat(n[o]))}),t}function Zh(e,t,n,o){const r=Qh(e);return r&&Object.keys(r).length?ce(r.invoke)?n_(r.invoke,n).then(i=>t(Xh(Qh(e),i),...o)):t(Xh(r,n),...o):t(n,...o)}function bP(e){return!!(pt(e)&&[uP,dP,fP].find(t=>le(e[t])))}function o_(e,t){return(n={},...o)=>bP(n)?Jh(e,Zh(e,t,pe({},n),o)):Jh(e,new Promise((r,s)=>{Zh(e,t,pe({},n,{success:r,fail:s}),o)}))}function wP(e,t){const n=e[0];if(!t||!t.formatArgs||!pt(t.formatArgs)&&pt(n))return;const o=t.formatArgs,r=Object.keys(o);for(let s=0;s{const s=gP(e,r,o),i=r_(e,[r],n,o);return i?ep(s,e,i):t(r,{resolve:a=>SP(s,e,a),reject:(a,l)=>ep(s,e,TP(a),l)})}}function CP(e,t,n,o){return(...r)=>{const s=r_(e,r,n,o);if(s)throw new Error(s);return t.apply(null,r)}}function kP(e,t,n,o){return s_(e,t,n,o)}function Pl(e,t,n,o){return o_(e,s_(e,t,void 0,o))}function ct(e,t,n,o){return CP(e,t,void 0,o)}function Ge(e,t,n,o){return o_(e,kP(e,t,void 0,o))}function xP(e){return`method 'uni.${e}' not supported`}function Wd(e){return(t,{reject:n})=>n(xP(e))}const PP="upx2px",EP=1e-4,IP=750;let i_=!1,gu=0,a_=0,l_=960,c_=375,u_=750;function OP(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:s}=gO();e=o,t=r,n=s}gu=e,a_=t,i_=n==="ios"}function cc(e,t){const n=Number(e);return isNaN(n)?t:n}function AP(){const e=__uniConfig.globalStyle||{};l_=cc(e.rpxCalcMaxDeviceWidth,960),c_=cc(e.rpxCalcBaseDeviceWidth,375),u_=cc(e.rpxCalcBaseDeviceWidth,750)}const Ci=ct(PP,(e,t)=>{if(gu===0&&(OP(),AP()),e=Number(e),e===0)return 0;let n=t||gu;n=e===u_||n<=l_?n:c_;let o=e/IP*n;return o<0&&(o=-o),o=Math.floor(o+EP),o===0&&(a_===1||!i_?o=1:o=.5),e<0?-o:o}),LP="addInterceptor";function tp(e,t){Object.keys(t).forEach(n=>{le(t[n])&&(e[n]=RP(e[n],t[n]))})}function RP(e,t){const n=t?e?e.concat(t):ce(t)?t:[t]:e;return n&&MP(n)}function MP(e){const t=[];for(let n=0;n{Se(e)&&pt(t)?tp(Ha[e]||(Ha[e]={}),t):pt(e)&&tp(si,e)}),DP="$on",NP="$off",$P="$emit";class BP{constructor(){this.$emitter=new pd}on(t,n){return this.$emitter.on(t,n)}once(t,n){return this.$emitter.once(t,n)}off(t,n){if(!t){this.$emitter.e={};return}this.$emitter.off(t,n)}emit(t,...n){this.$emitter.emit(t,...n)}}const Wa=new BP,Y8=ct(DP,(e,t)=>(Wa.on(e,t),()=>Wa.off(e,t))),X8=ct(NP,(e,t)=>{ce(e)||(e=e?[e]:[]),e.forEach(n=>{Wa.off(n,t)})}),FP=ct($P,(e,...t)=>{Wa.emit(e,...t)}),UP="createVideoContext",qP="createCanvasContext",VP=[.5,.8,1,1.25,1.5,2];class mu{constructor(t,n){this.id=t,this.pageId=n}play(){Dn(this.id,this.pageId,"play")}pause(){Dn(this.id,this.pageId,"pause")}stop(){Dn(this.id,this.pageId,"stop")}seek(t){Dn(this.id,this.pageId,"seek",{position:t})}sendDanmu(t){Dn(this.id,this.pageId,"sendDanmu",t)}playbackRate(t){~VP.indexOf(t)||(t=1),Dn(this.id,this.pageId,"playbackRate",{rate:t})}requestFullScreen(t={}){Dn(this.id,this.pageId,"requestFullScreen",t)}exitFullScreen(){Dn(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Dn(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Dn(this.id,this.pageId,"hideStatusBar")}}const J8=ct(UP,(e,t)=>t?new mu(e,Bo(t)):new mu(e,Bo(Fo()))),HP=(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)},wt=(e,t,n,o)=>{mO(e,t,n,o,r=>{o&&HP(o,r)})};class WP{constructor(t,n){this.id=t,this.pageId=n}getCenterLocation(t){wt(this.id,this.pageId,"getCenterLocation",t)}moveToLocation(t){wt(this.id,this.pageId,"moveToLocation",t)}getScale(t){wt(this.id,this.pageId,"getScale",t)}getRegion(t){wt(this.id,this.pageId,"getRegion",t)}includePoints(t){wt(this.id,this.pageId,"includePoints",t)}translateMarker(t){wt(this.id,this.pageId,"translateMarker",t)}$getAppMap(){}addCustomLayer(t){wt(this.id,this.pageId,"addCustomLayer",t)}removeCustomLayer(t){wt(this.id,this.pageId,"removeCustomLayer",t)}addGroundOverlay(t){wt(this.id,this.pageId,"addGroundOverlay",t)}removeGroundOverlay(t){wt(this.id,this.pageId,"removeGroundOverlay",t)}updateGroundOverlay(t){wt(this.id,this.pageId,"updateGroundOverlay",t)}initMarkerCluster(t){wt(this.id,this.pageId,"initMarkerCluster",t)}addMarkers(t){wt(this.id,this.pageId,"addMarkers",t)}removeMarkers(t){wt(this.id,this.pageId,"removeMarkers",t)}moveAlong(t){wt(this.id,this.pageId,"moveAlong",t)}setLocMarkerIcon(t){wt(this.id,this.pageId,"setLocMarkerIcon",t)}openMapApp(t){wt(this.id,this.pageId,"openMapApp",t)}on(t,n){wt(this.id,this.pageId,"on",{name:t,callback:n})}}function Er(e,t){return function(n,o){n?o[e]=Math.round(n):typeof t!="undefined"&&(o[e]=t)}}const jP=Er("width"),zP=Er("height"),np={PNG:"png",JPG:"jpg",JPEG:"jpg"},GP="canvasToTempFilePath",KP={formatArgs:{x:Er("x",0),y:Er("y",0),width:jP,height:zP,destWidth:Er("destWidth"),destHeight:Er("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=np[e];n||(n=np.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}},YP={};function d_(e,t,n,o,r){et.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,s=>{r&&r(s)})}var XP=["scale","rotate","translate","setTransform","transform"],JP=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],QP=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function ZP(e,t){const o=document.createElement("canvas").getContext("2d");return o.font=t,o.measureText(e).width||0}const op={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 yu(e){e=e||"#000000";let t=null;if((t=/^#([0-9|A-F|a-f]{6})$/.exec(e))!=null){const o=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),s=parseInt(t[1].slice(4),16);return[o,r,s,255]}if((t=/^#([0-9|A-F|a-f]{3})$/.exec(e))!=null){let o=t[1].slice(0,1),r=t[1].slice(1,2),s=t[1].slice(2,3);return o=parseInt(o+o,16),r=parseInt(r+r,16),s=parseInt(s+s,16),[o,r,s,255]}if((t=/^rgb\((.+)\)$/.exec(e))!=null)return t[1].split(",").map(function(o){return Math.min(255,parseInt(o.trim()))}).concat(255);if((t=/^rgba\((.+)\)$/.exec(e))!=null)return t[1].split(",").map(function(o,r){return r===3?Math.floor(255*parseFloat(o.trim())):Math.min(255,parseInt(o.trim()))});var n=e.toLowerCase();if(be(op,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(op[n]);const o=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),s=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[o,r,s,i]}return[0,0,0,255]}class rp{constructor(t,n){this.type=t,this.data=n,this.colorStop=[]}addColorStop(t,n){this.colorStop.push([t,yu(n)])}}class eE{constructor(t,n){this.type="pattern",this.data=t,this.colorStop=n}}class tE{constructor(t){this.width=t}}const nE=()=>nP;class ii{constructor(t,n){this.id=t,this.pageId=n,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"}}setFillStyle(t){}setStrokeStyle(t){}setShadow(t,n,o,r){}addColorStop(t,n){}setLineWidth(t){}setLineCap(t){}setLineJoin(t){}setLineDash(t,n){}setMiterLimit(t){}fillRect(t,n,o,r){}strokeRect(t,n,o,r){}clearRect(t,n,o,r){}fill(){}stroke(){}scale(t,n){}rotate(t){}translate(t,n){}setFontSize(t){}fillText(t,n,o,r){}setTextAlign(t){}setTextBaseline(t){}drawImage(t,n,o,r,s,i,a,l,c){}setGlobalAlpha(t){}strokeText(t,n,o,r){}setTransform(t,n,o,r,s,i){}draw(t=!1,n){var o=[...this.actions];this.actions=[],this.path=[],d_(this.id,this.pageId,"actionsChanged",{actions:o,reserve:t},n)}createLinearGradient(t,n,o,r){return new rp("linear",[t,n,o,r])}createCircularGradient(t,n,o){return new rp("radial",[t,n,o])}createPattern(t,n){if(n!==void 0){if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(n)<0))return new eE(t,n)}}measureText(t,n){const o=this.state.font;let r=0;return r=ZP(t,o),new tE(r)}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(t,n){this.path.push({method:"moveTo",data:[t,n]}),this.subpath=[[t,n]]}lineTo(t,n){this.path.length===0&&this.subpath.length===0?this.path.push({method:"moveTo",data:[t,n]}):this.path.push({method:"lineTo",data:[t,n]}),this.subpath.push([t,n])}quadraticCurveTo(t,n,o,r){this.path.push({method:"quadraticCurveTo",data:[t,n,o,r]}),this.subpath.push([o,r])}bezierCurveTo(t,n,o,r,s,i){this.path.push({method:"bezierCurveTo",data:[t,n,o,r,s,i]}),this.subpath.push([s,i])}arc(t,n,o,r,s,i=!1){this.path.push({method:"arc",data:[t,n,o,r,s,i]}),this.subpath.push([t,n])}rect(t,n,o,r){this.path.push({method:"rect",data:[t,n,o,r]}),this.subpath=[[t,n]]}arcTo(t,n,o,r,s){this.path.push({method:"arcTo",data:[t,n,o,r,s]}),this.subpath.push([o,r])}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 t=[...this.actions];return this.clearActions(),t}set lineDashOffset(t){this.actions.push({method:"setLineDashOffset",data:[t]})}set globalCompositeOperation(t){this.actions.push({method:"setGlobalCompositeOperation",data:[t]})}set shadowBlur(t){this.actions.push({method:"setShadowBlur",data:[t]})}set shadowColor(t){this.actions.push({method:"setShadowColor",data:[t]})}set shadowOffsetX(t){this.actions.push({method:"setShadowOffsetX",data:[t]})}set shadowOffsetY(t){this.actions.push({method:"setShadowOffsetY",data:[t]})}set font(t){var n=this;this.state.font=t;var o=t.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(o){var r=o[1].trim().split(/\s/),s=parseFloat(o[3]),i=o[7],a=[];r.forEach(function(c,d){["italic","oblique","normal"].indexOf(c)>-1?(a.push({method:"setFontStyle",data:[c]}),n.state.fontStyle=c):["bold","normal","lighter","bolder"].indexOf(c)>-1||/^\d+$/.test(c)?(a.push({method:"setFontWeight",data:[c]}),n.state.fontWeight=c):d===0?(a.push({method:"setFontStyle",data:["normal"]}),n.state.fontStyle="normal"):d===1&&l()}),r.length===1&&l(),r=a.map(function(c){return c.data[0]}).join(" "),this.state.fontSize=s,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${r} ${s}px ${i}`]})}function l(){a.push({method:"setFontWeight",data:["normal"]}),n.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(t){this.setFillStyle(t)}set strokeStyle(t){this.setStrokeStyle(t)}set globalAlpha(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:"setGlobalAlpha",data:[t]})}set textAlign(t){this.actions.push({method:"setTextAlign",data:[t]})}set lineCap(t){this.actions.push({method:"setLineCap",data:[t]})}set lineJoin(t){this.actions.push({method:"setLineJoin",data:[t]})}set lineWidth(t){this.actions.push({method:"setLineWidth",data:[t]})}set miterLimit(t){this.actions.push({method:"setMiterLimit",data:[t]})}set textBaseline(t){this.actions.push({method:"setTextBaseline",data:[t]})}}const oE=Vt(()=>{[...XP,...JP].forEach(function(e){function t(n){switch(n){case"fill":case"stroke":return function(){this.actions.push({method:n+"Path",data:[...this.path]})};case"fillRect":return function(o,r,s,i){this.actions.push({method:"fillPath",data:[{method:"rect",data:[o,r,s,i]}]})};case"strokeRect":return function(o,r,s,i){this.actions.push({method:"strokePath",data:[{method:"rect",data:[o,r,s,i]}]})};case"fillText":case"strokeText":return function(o,r,s,i){var a=[o.toString(),r,s];typeof i=="number"&&a.push(i),this.actions.push({method:n,data:a})};case"drawImage":return function(o,r,s,i,a,l,c,d,u){u===void 0&&(l=r,c=s,d=i,u=a,r=void 0,s=void 0,i=void 0,a=void 0);var f;function h(_){return typeof _=="number"}f=h(r)&&h(s)&&h(i)&&h(a)?[o,l,c,d,u,r,s,i,a]:h(d)&&h(u)?[o,l,c,d,u]:[o,l,c],this.actions.push({method:n,data:f})};default:return function(...o){this.actions.push({method:n,data:o})}}}ii.prototype[e]=t(e)}),QP.forEach(function(e){function t(n){switch(n){case"setFillStyle":case"setStrokeStyle":return function(o){typeof o!="object"?this.actions.push({method:n,data:["normal",yu(o)]}):this.actions.push({method:n,data:[o.type,o.data,o.colorStop]})};case"setGlobalAlpha":return function(o){o=Math.floor(255*parseFloat(o)),this.actions.push({method:n,data:[o]})};case"setShadow":return function(o,r,s,i){i=yu(i),this.actions.push({method:n,data:[o,r,s,i]}),this.state.shadowBlur=s,this.state.shadowColor=i,this.state.shadowOffsetX=o,this.state.shadowOffsetY=r};case"setLineDash":return function(o,r){o=o||[0,0],r=r||0,this.actions.push({method:n,data:[o,r]}),this.state.lineDash=o};case"setFontSize":return function(o){this.state.font=this.state.font.replace(/\d+\.?\d*px/,o+"px"),this.state.fontSize=o,this.actions.push({method:n,data:[o]})};default:return function(...o){this.actions.push({method:n,data:o})}}}ii.prototype[e]=t(e)})}),Q8=ct(qP,(e,t)=>{if(oE(),t)return new ii(e,Bo(t));const n=Bo(Fo());if(n)return new ii(e,n);et.emit(Ys,"createCanvasContext:fail")}),Z8=Ge(GP,({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:s,canvasId:i,fileType:a,quality:l},{resolve:c,reject:d})=>{var u=Bo(Fo());if(!u){d();return}let f=`${nE()}/canvas`;d_(i,u,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:s,fileType:a,quality:l,dirname:f},h=>{if(h.errMsg&&h.errMsg.indexOf("fail")!==-1){d("",h);return}c(h)})},YP,KP),rE={thresholds:[0],initialRatio:0,observeAll:!1},sE=["top","right","bottom","left"];let iE=1;function sp(e={}){return sE.map(t=>`${Number(e[t])||0}px`).join(" ")}class ip{constructor(t,n){this._pageId=Bo(t),this._component=t,this._options=pe({},rE,n)}relativeTo(t,n){return this._options.relativeToSelector=t,this._options.rootMargin=sp(n),this}relativeToViewport(t){return this._options.relativeToSelector=void 0,this._options.rootMargin=sp(t),this}observe(t,n){le(n)&&(this._options.selector=t,this._reqId=iE++,wO({reqId:this._reqId,component:this._component,options:this._options,callback:n},this._pageId))}disconnect(){this._reqId&&SO({reqId:this._reqId,component:this._component},this._pageId)}}const e4=ct("createIntersectionObserver",(e,t)=>(e=fl(e),e&&!Bo(e)&&(t=e,e=null),e?new ip(e,t):new ip(Fo(),t)));let aE=0,uc={};function lE(e,t,n,o){const r={options:o},s=o&&("success"in o||"fail"in o||"complete"in o);if(s){const i=String(aE++);r.callbackId=i,uc[i]=o}et.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:i,data:a})=>{s&&(Cr(uc[i],a),delete uc[i])})}class cE{constructor(t,n){this.id=t,this.pageId=n}format(t,n){this._exec("format",{name:t,value:n})}insertDivider(){this._exec("insertDivider")}insertImage(t){this._exec("insertImage",t)}insertText(t){this._exec("insertText",t)}setContents(t){this._exec("setContents",t)}getContents(t){this._exec("getContents",t)}clear(t){this._exec("clear",t)}removeFormat(t){this._exec("removeFormat",t)}undo(t){this._exec("undo",t)}redo(t){this._exec("redo",t)}blur(t){this._exec("blur",t)}getSelectionText(t){this._exec("getSelectionText",t)}scrollIntoView(t){this._exec("scrollIntoView",t)}_exec(t,n){lE(this.id,this.pageId,t,n)}}const uE={canvas:ii,map:WP,video:mu,editor:cE};function ap(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=uE[n];e.context=new r(t,o),delete e.contextInfo}}class dc{constructor(t,n,o,r){this._selectorQuery=t,this._component=n,this._selector=o,this._single=r}boundingClientRect(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},t),this._selectorQuery}fields(t,n){return this._selectorQuery._push(this._selector,this._component,this._single,t,n),this._selectorQuery}scrollOffset(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},t),this._selectorQuery}context(t){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},t),this._selectorQuery}node(t){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},t),this._selectorQuery}}class dE{constructor(t){this._component=void 0,this._page=t,this._queue=[],this._queueCb=[]}exec(t){return bO(this._page,this._queue,n=>{const o=this._queueCb;n.forEach((r,s)=>{ce(r)?r.forEach(ap):ap(r);const i=o[s];le(i)&&i.call(this,r)}),le(t)&&t.call(this,n)}),this._nodesRef}in(t){return this._component=fl(t),this}select(t){return this._nodesRef=new dc(this,this._component,t,!0)}selectAll(t){return this._nodesRef=new dc(this,this._component,t,!1)}selectViewport(){return this._nodesRef=new dc(this,null,"",!0)}_push(t,n,o,r,s){this._queue.push({component:n,selector:t,single:o,fields:r}),this._queueCb.push(s)}}const lp=ct("createSelectorQuery",e=>(e=fl(e),e&&!Bo(e)&&(e=null),new dE(e||Fo()))),fE="setLocale",hE="getLocale",pE="onLocaleChange",no=ct(hE,()=>{const e=Pe();return e&&e.$vm?e.$vm.$locale:ke().getLocale()}),t4=ct(fE,e=>{const t=Pe();return t&&t.$vm.$locale!==e?(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage[Hm]=e),et.invokeOnCallback(pE,{locale:e}),!0):!1}),vu={[Gm]:[],[zm]:[],[Ys]:[],[Zn]:[],[No]:[]};function f_(e,t){const n=Pe();if(n&&n.$vm)return Vo(e,t,n.$vm.$);vu[e].push(t)}function gE(e){Object.keys(vu).forEach(t=>{vu[t].forEach(n=>{Vo(t,n,e)})})}function mE(e){f_(Zn,e)}function yE(e){f_(No,e)}const vE="getLaunchOptionsSync",ga=ct(vE,()=>IO());let fc,cp,up;const _u=[];function _E(e,t){_u.forEach(n=>{n(e,t)}),_u.length=0}const bE="getPushClientId",bu=Ge(bE,(e,{resolve:t,reject:n})=>{Promise.resolve().then(()=>{typeof up=="undefined"&&(up=!1,fc="",cp="uniPush is not enabled"),_u.push((o,r)=>{o?t({cid:o}):n(r)}),typeof fc!="undefined"&&_E(fc,cp)})}),wE=e=>{},SE=e=>{},TE="canIUse",CE="setClipboardData",kE={formatArgs:{showToast:!0},beforeInvoke(){Ak()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=ke(),o=n("uni.setClipboardData.success");o&&Fl({title:o,icon:"success",mask:!1})}},xE={},PE="getStorageSync",EE="setStorageSync",IE="removeStorage",OE="hideKeyboard",AE="getLocation",dp=["wgs84","gcj02"],LE={formatArgs:{type(e,t){e=(e||"").toLowerCase(),dp.indexOf(e)===-1?t.type=dp[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},RE={},ME="chooseImage",DE={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Va(e,iP)},sourceType(e,t){t.sourceType=Va(e,Hd)},extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.extension=["*"])}}},NE={},$E="chooseVideo",BE={formatArgs:{sourceType(e,t){t.sourceType=Va(e,Hd)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.extension=["*"])}}},FE={},UE="chooseFile",qE=["all","image","video"],VE={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=Va(e,Hd)},type(e,t){t.type=xl(e,qE)},extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.type==="all"||!t.type?t.extension=[""]:t.extension=["*"])}}},HE={},WE="previewImage",jE={formatArgs:{urls(e,t){t.urls=e.map(n=>Se(n)&&n?Kt(n):"")},current(e,t){typeof e=="number"?t.current=e>0&&ea),i={};s.forEach(a=>{const l=a.split("=");i[l[0]]=l[1]});for(const a in t)if(be(t,a)){let l=t[a];typeof l=="undefined"||l===null?l="":pt(l)&&(l=JSON.stringify(l)),i[hp(a)]=hp(l)}return r=Object.keys(i).map(a=>`${a}=${i[a]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}const QE={},ZE={formatArgs:{method(e,t){t.method=xl((e||"").toUpperCase(),pa)},data(e,t){t.data=e||""},url(e,t){t.method===pa[0]&&pt(t.data)&&Object.keys(t.data).length&&(t.url=JE(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==pa[0]&&(Object.keys(n).find(o=>o.toLowerCase()==="content-type")||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||KE.JSON).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),YE.indexOf(t.responseType)===-1&&(t.responseType=XE)}}},eI="downloadFile",tI={formatArgs:{header(e,t){t.header=e||{}}}},nI={},oI="uploadFile",rI={formatArgs:{filePath(e,t){e&&(t.filePath=Kt(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},sI={},iI="connectSocket",aI={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=xl((e||"").toUpperCase(),pa)},protocols(e,t){Se(e)&&(t.protocols=[e])}}},lI={};function cI(e){if(!Se(e))return e;const t=e.indexOf("?");if(t===-1)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(r=>{const s=r.replace(/\+/g," ").split("="),i=s.shift(),a=s.length>0?s.join("="):"";o.push(i+"="+encodeURIComponent(a))}),o.length?e+"?"+o.join("&"):e}const uI=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],dI=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],El={url:{type:String,required:!0}},Fs="navigateTo",Us="redirectTo",ma="reLaunch",Br="switchTab",fI="navigateBack",pp="preloadPage",hI="unPreloadPage",pI=pe({},El,h_(uI)),gI=pe({delta:{type:Number}},h_(dI)),mI=El,yI=El,vI=El,_I=Il(Fs),bI=Il(Us),wI=Il(ma),SI=Il(Br),TI={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Xt().length-1,e)}}};function h_(e){return{animationType:{type:String,validator(t){if(t&&e.indexOf(t)===-1)return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let ya;function CI(){ya=""}function Il(e){return{formatArgs:{url:kI(e)},beforeAll:CI}}function kI(e){return function(n,o){if(!n)return'Missing required args: "url"';n=dx(n);const r=n.split("?")[0],s=Gv(r,!0);if(!s)return"page `"+n+"` is not found";if(e===Fs||e===Us){if(s.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Br&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if((e===Br||e===pp)&&s.meta.isTabBar&&o.openType!=="appLaunch"&&(n=r),s.meta.isEntry&&(n=n.replace(s.alias,"/")),o.url=cI(n),e!==hI){if(e===pp){if(s.meta.isTabBar){const i=Xt(),a=s.path.slice(1);if(i.find(l=>l.route===a))return"tabBar page `"+a+"` already exists"}return}if(ya===n&&o.openType!=="appLaunch")return`${ya} locked`;__uniConfig.ready&&(ya=n)}}}const xI="hideLoading",PI="loadFontFace",EI="setNavigationBarColor",wu="setNavigationBarTitle",II="showNavigationBarLoading",OI="hideNavigationBarLoading",AI="pageScrollTo",LI={},RI={formatArgs:{duration:300}},MI="showLoading",DI={},NI={formatArgs:{title:"",mask:!1}},$I="showModal",BI={},FI={beforeInvoke(){Ok()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!be(t,"cancelText")){const{t:n}=ke();t.cancelText=n("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!be(t,"confirmText")){const{t:n}=ke();t.confirmText=n("uni.showModal.confirm")}},confirmColor:Wm}},UI="showToast",p_=["success","loading","none","error"],qI={},VI={formatArgs:{title:"",icon(e,t){t.icon=xl(e,p_)},image(e,t){e?t.image=Kt(e):t.image=""},duration:1500,mask:!1}},gp="stopPullDownRefresh",ai={beforeInvoke(){const e=Bd();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}};ai.beforeInvoke,ai.formatArgs;ai.beforeInvoke;ai.beforeInvoke,ai.formatArgs;const HI=function(){if(typeof window!="object")return;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}});return}function e(p){try{return p.defaultView&&p.defaultView.frameElement||null}catch(g){return null}}var t=function(p){for(var g=p,w=e(g);w;)g=w.ownerDocument,w=e(g);return g}(window.document),n=[],o=null,r=null;function s(p){this.time=p.time,this.target=p.target,this.rootBounds=_(p.rootBounds),this.boundingClientRect=_(p.boundingClientRect),this.intersectionRect=_(p.intersectionRect||h()),this.isIntersecting=!!p.intersectionRect;var g=this.boundingClientRect,w=g.width*g.height,S=this.intersectionRect,k=S.width*S.height;w?this.intersectionRatio=Number((k/w).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(p,g){var w=g||{};if(typeof p!="function")throw new Error("callback must be a function");if(w.root&&w.root.nodeType!=1&&w.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=p,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(w.rootMargin),this.thresholds=this._initThresholds(w.threshold),this.root=w.root||null,this.rootMargin=this._rootMarginValues.map(function(S){return S.value+S.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return o||(o=function(p,g){!p||!g?r=h():r=v(p,g),n.forEach(function(w){w._checkForIntersections()})}),o},i._resetCrossOriginUpdater=function(){o=null,r=null},i.prototype.observe=function(p){var g=this._observationTargets.some(function(w){return w.element==p});if(!g){if(!(p&&p.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:p,entry:null}),this._monitorIntersections(p.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(p){this._observationTargets=this._observationTargets.filter(function(g){return g.element!=p}),this._unmonitorIntersections(p.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var p=this._queuedEntries.slice();return this._queuedEntries=[],p},i.prototype._initThresholds=function(p){var g=p||[0];return Array.isArray(g)||(g=[g]),g.sort().filter(function(w,S,k){if(typeof w!="number"||isNaN(w)||w<0||w>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return w!==k[S-1]})},i.prototype._parseRootMargin=function(p){var g=p||"0px",w=g.split(/\s+/).map(function(S){var k=/^(-?\d*\.?\d+)(px|%)$/.exec(S);if(!k)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(k[1]),unit:k[2]}});return w[1]=w[1]||w[0],w[2]=w[2]||w[0],w[3]=w[3]||w[1],w},i.prototype._monitorIntersections=function(p){var g=p.defaultView;if(g&&this._monitoringDocuments.indexOf(p)==-1){var w=this._checkForIntersections,S=null,k=null;this.POLL_INTERVAL?S=g.setInterval(w,this.POLL_INTERVAL):(c(g,"resize",w,!0),c(p,"scroll",w,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in g&&(k=new g.MutationObserver(w),k.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(p),this._monitoringUnsubscribes.push(function(){var P=p.defaultView;P&&(S&&P.clearInterval(S),d(P,"resize",w,!0)),d(p,"scroll",w,!0),k&&k.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(p!=C){var O=e(p);O&&this._monitorIntersections(O.ownerDocument)}}},i.prototype._unmonitorIntersections=function(p){var g=this._monitoringDocuments.indexOf(p);if(g!=-1){var w=this.root&&(this.root.ownerDocument||this.root)||t,S=this._observationTargets.some(function(O){var P=O.element.ownerDocument;if(P==p)return!0;for(;P&&P!=w;){var I=e(P);if(P=I&&I.ownerDocument,P==p)return!0}return!1});if(!S){var k=this._monitoringUnsubscribes[g];if(this._monitoringDocuments.splice(g,1),this._monitoringUnsubscribes.splice(g,1),k(),p!=w){var C=e(p);C&&this._unmonitorIntersections(C.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var p=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var g=0;g=0&&P>=0&&{top:w,bottom:S,left:k,right:C,width:O,height:P}||null}function f(p){var g;try{g=p.getBoundingClientRect()}catch(w){}return g?(g.width&&g.height||(g={top:g.top,right:g.right,bottom:g.bottom,left:g.left,width:g.right-g.left,height:g.bottom-g.top}),g):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(p){return!p||"x"in p?p:{top:p.top,y:p.top,bottom:p.bottom,left:p.left,x:p.left,right:p.right,width:p.width,height:p.height}}function v(p,g){var w=g.top-p.top,S=g.left-p.left;return{top:w,left:S,height:g.height,width:g.width,bottom:w+g.height,right:S+g.width}}function m(p,g){for(var w=g;w;){if(w==p)return!0;w=y(w)}return!1}function y(p){var g=p.parentNode;return p.nodeType==9&&p!=t?e(p):(g&&g.assignedSlot&&(g=g.assignedSlot.parentNode),g&&g.nodeType==11&&g.host?g.host:g)}function b(p){return p&&p.nodeType===9}window.IntersectionObserver=i,window.IntersectionObserverEntry=s};function hc(e){const{bottom:t,height:n,left:o,right:r,top:s,width:i}=e||{};return{bottom:t,height:n,left:o,right:r,top:s,width:i}}function WI(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:r,width:s}}=e;return t!==0?t:r===n?s/o:r/n}function jI(e,t,n){HI();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver(s=>{s.forEach(i=>{n({intersectionRatio:WI(i),intersectionRect:hc(i.intersectionRect),boundingClientRect:hc(i.boundingClientRect),relativeRect:hc(i.rootBounds),time:Date.now(),dataset:hd(i.target),id:i.target.id})})},{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const s=e.querySelectorAll(t.selector);for(let i=0;i{if(!Yr.handledBeforeEntryPageRoutes){Cu.push({args:{type:Br,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r});return}return g_(),xo({type:Br,url:e,tabBarText:t,isAutomatedTesting:n},m_(e)).then(o).catch(r)},vI,SI);function y_(){const e=vr();if(!e)return;const t=_r(e);Rl(Ml(t.path,t.id))}const Ol=Ge(Us,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(!Yr.handledBeforeEntryPageRoutes){ku.push({args:{type:Us,url:e,isAutomatedTesting:t},resolve:n,reject:o});return}return y_(),xo({type:Us,url:e,isAutomatedTesting:t}).then(n).catch(o)},mI,bI);function v_(){const e=zd().keys();for(const t of e)Rl(t)}const Al=Ge(ma,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(!Yr.handledBeforeEntryPageRoutes){xu.push({args:{type:ma,url:e,isAutomatedTesting:t},resolve:n,reject:o});return}return v_(),xo({type:ma,url:e,isAutomatedTesting:t}).then(n).catch(o)},yI,wI);function xo({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},s){const i=Pe().$router,{path:a,query:l}=LS(t);return new Promise((c,d)=>{const u=ZI(e,s);i[e==="navigateTo"?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(f=>{if($n(f))return d(f.message);if(e==="switchTab"&&(i.currentRoute.value.meta.tabBarText=n),e==="navigateTo"){const h=i.currentRoute.value.meta;return h.eventChannel?o&&(Object.keys(o).forEach(_=>{h.eventChannel._addListener(_,"on",o[_])}),h.eventChannel._clearCache()):h.eventChannel=new hy(u.__id__,o),c(r?{__id__:u.__id__}:{eventChannel:h.eventChannel})}return r?c({__id__:u.__id__}):c()})})}function __(){if(Yr.handledBeforeEntryPageRoutes)return;Yr.handledBeforeEntryPageRoutes=!0;const e=[...Tu];Tu.length=0,e.forEach(({args:r,resolve:s,reject:i})=>xo(r).then(s).catch(i));const t=[...Cu];Cu.length=0,t.forEach(({args:r,resolve:s,reject:i})=>(g_(),xo(r,m_(r.url)).then(s).catch(i)));const n=[...ku];ku.length=0,n.forEach(({args:r,resolve:s,reject:i})=>(y_(),xo(r).then(s).catch(i)));const o=[...xu];xu.length=0,o.forEach(({args:r,resolve:s,reject:i})=>(v_(),xo(r).then(s).catch(i)))}let pc;function jd(){return pc||(pc=__uniConfig.tabBar&&Ee(Mk(__uniConfig.tabBar))),pc}function Ll(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const GI=Ll("--a:0"),b_=Ll("top:env(a)"),w_=Ll("top:constant(a)"),S_=Ll("backdrop-filter:blur(10px)"),mp={"css.var":GI,"css.env":b_,"css.constant":w_,"css.backdrop-filter":S_},KI=ct(TE,e=>be(mp,e)?mp[e]:!!be(uni,e)),ja=b_?"env":w_?"constant":"";function T_(e){let t=0,n=0;if(e.navigationBar.style!=="custom"&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=iS),e.isTabBar){const o=jd();o.shown&&(n=parseInt(o.height))}Hv({"--window-top":YI(t),"--window-bottom":C_(n)})}function YI(e){return ja?`calc(${e}px + ${ja}(safe-area-inset-top))`:`${e}px`}function C_(e){return ja?`calc(${e}px + ${ja}(safe-area-inset-bottom))`:`${e}px`}const Su="$$",Uo=new Map;function _r(e){return e.$page}const Yr={handledBeforeEntryPageRoutes:!1},Tu=[],Cu=[],ku=[],xu=[];function XI(){Uo.forEach((e,t)=>{e.$.isUnmounted&&Uo.delete(t)})}function zd(){return Uo}function Xt(){return xi()}function xi(){const e=[],t=Uo.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function JI(e){const t=rr.get(e);t&&(rr.delete(e),qs.pruneCacheEntry(t))}function Rl(e,t=!0){const n=Uo.get(e);n.$.__isUnload=!0,qt(n,dd),Uo.delete(e),t&&JI(e)}let QI=Vd();function ZI(e,t){return{__id__:t||++QI,__type__:e}}function eO(e){const t=qd();let n=e.fullPath;return e.meta.isEntry&&n.indexOf(e.meta.route)===-1&&(n="/"+e.meta.route+n.replace("/","")),cx("navigateTo",n,{},t)}function tO(e){const t=e.$route,n=eO(t);qx(e,n),Uo.set(Ml(n.path,n.id),e),Uo.size===1&&setTimeout(()=>{__()},0)}function Ml(e,t){return e+Su+t}function nO(){const e=Tl(),t=Y(()=>Ml("/"+e.meta.route,Vd())),n=Y(()=>e.meta.isTabBar);return{routeKey:t,isTabBar:n,routeCache:qs}}const rr=new Map,qs={get(e){return rr.get(e)},set(e,t){rO(e),rr.set(e,t)},delete(e){rr.get(e)&&rr.delete(e)},forEach(e){rr.forEach(e)}};function oO(e){return e.props.type==="tabBar"}function rO(e){const t=parseInt(e.split(Su)[1]);t&&qs.forEach((n,o)=>{const r=parseInt(o.split(Su)[1]);if(r&&r>t){if(oO(n))return;qs.delete(o),qs.pruneCacheEntry(n),st(()=>XI())}})}function sO(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))}}function yp(e,t){lO(e),T_(t),sO(t),x_(e,t)}function iO(e){const t=k_(e);t&&aO(t)}function aO(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}function k_(e){return e.type.__scopeId}let gc;function lO(e){const t=k_(e),{body:n}=document;gc&&n.removeAttribute(gc),t&&n.setAttribute(t,""),gc=t}const cO=(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})(),uO=cO?{passive:!1}:!1;let Gi;function x_(e,t){if(document.removeEventListener("touchmove",Uh),Gi&&document.removeEventListener("scroll",Gi),t.disableScroll)return document.addEventListener("touchmove",Uh,uO);const{onPageScroll:n,onReachBottom:o}=e,r=t.navigationBar.type==="transparent";if(!(n!=null&&n.length)&&!(o!=null&&o.length)&&!r)return;const s={},i=_r(e.proxy).id;(n||r)&&(s.onPageScroll=dO(i,n,r)),o!=null&&o.length&&(s.onReachBottomDistance=t.onReachBottomDistance||aS,s.onReachBottom=()=>Ft.publishHandler(mi,{},i)),Gi=ux(s),requestAnimationFrame(()=>document.addEventListener("scroll",Gi))}function dO(e,t,n){return o=>{t&&Ft.publishHandler(Vr,{scrollTop:o},e),n&&Ft.emit(e+"."+Vr,{scrollTop:o})}}function P_(e){return e.$el}function vp(e){const{base:t}=__uniConfig.router;return Xs(e).indexOf(t)===0?Xs(e):t+e}function Kt(e){const{base:t,assets:n}=__uniConfig.router;if(t==="./"&&e.indexOf("./")===0&&(e.includes("/static/")||e.indexOf("./"+(n||"assets")+"/")===0)&&(e=e.slice(1)),e.indexOf("/")===0)if(e.indexOf("//")===0)e="https:"+e;else return vp(e.slice(1));if(lS.test(e)||cS.test(e)||e.indexOf("blob:")===0)return e;const o=xi();return o.length?vp(Fd(_r(o[o.length-1]).route,e).slice(1)):e}const Nt=navigator.userAgent,fO=/android/i.test(Nt),E_=/iphone|ipad|ipod/i.test(Nt),mc=Nt.match(/Windows NT ([\d|\d.\d]*)/i),Pu=/Macintosh|Mac/i.test(Nt),_p=/Linux|X11/i.test(Nt),hO=Pu&&navigator.maxTouchPoints>0;function I_(){return/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number"}function O_(e){return e&&Math.abs(window.orientation)===90}function A_(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function pO(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}function L_(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function gO(){const e=I_(),t=L_(A_(e,O_(e)));return{platform:E_?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function Dn(e,t,n,o){et.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function mO(e,t,n,o,r){et.invokeViewMethod("map."+e,{type:n,data:o},t,r)}function yO(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 n=document.documentElement,o=document.body;t.scrollLeft=n.scrollLeft||o.scrollLeft||0,t.scrollTop=n.scrollTop||o.scrollTop||0,t.scrollHeight=n.scrollHeight||o.scrollHeight||0,t.scrollWidth=n.scrollWidth||o.scrollWidth||0}return t}function yc(e,t){const n={},{top:o,topWindowHeight:r}=Vv();if(t.node){const s=e.tagName.split("-")[1]||e.tagName;s&&(n.node=e.querySelector(s))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=hd(e)),t.rect||t.size){const s=e.getBoundingClientRect();t.rect&&(n.left=s.left,n.right=s.right,n.top=s.top-o-r,n.bottom=s.bottom-o-r),t.size&&(n.width=s.width,n.height=s.height)}if(ce(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(i,a){return a.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){const s=e.children[0].children[0];n.scrollLeft=s.scrollLeft,n.scrollTop=s.scrollTop,n.scrollHeight=s.scrollHeight,n.scrollWidth=s.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(ce(t.computedStyle)){const s=getComputedStyle(e);t.computedStyle.forEach(i=>{n[i]=s[i]})}return t.context&&(n.contextInfo=dL(e)),n}function vO(e,t){return e?e.$el:t.$el}function bp(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(o){const r=this.parentElement.querySelectorAll(o);let s=r.length;for(;--s>=0&&r.item(s)!==this;);return s>-1}).call(e,t)}function _O(e,t,n,o,r){const s=vO(t,e),i=s.parentElement;if(!i)return o?null:[];const{nodeType:a}=s,l=a===3||a===8;if(o){const c=l?i.querySelector(n):bp(s,n)?s:s.querySelector(n);return c?yc(c,r):null}else{let c=[];const d=(l?i:s).querySelectorAll(n);return d&&d.length&&[].forEach.call(d,u=>{c.push(yc(u,r))}),!l&&bp(s,n)&&c.unshift(yc(s,r)),c}}function bO(e,t,n){const o=[];t.forEach(({component:r,selector:s,single:i,fields:a})=>{r===null?o.push(yO(a)):o.push(_O(e,r,s,i,a))}),n(o)}function wO({reqId:e,component:t,options:n,callback:o},r){const s=P_(t);(s.__io||(s.__io={}))[e]=jI(s,n,o)}function SO({reqId:e,component:t},n){const o=P_(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}function TO(e,t,n){n(null,e)}const Ir={};function R_(e,t){const n=Ir[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(CO(e)):new Promise((o,r)=>{const s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="blob",s.onload=function(){o(this.response)},s.onerror=r,s.send()})}function CO(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let s=r.length;const i=new Uint8Array(s);for(;s--;)i[s]=r.charCodeAt(s);return M_(i,o)}function kO(e){const t=e.split("/")[1];return t?`.${t}`:""}function xO(e){e=e.split("#")[0].split("?")[0];const t=e.split("/");return t[t.length-1]}function M_(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const o=`${Date.now()}${kO(t)}`;try{n=new File([e],o,{type:t})}catch(r){e=e instanceof Blob?e:new Blob([e],{type:t}),n=e,n.name=n.name||o}}return n}function Xr(e){for(const n in Ir)if(be(Ir,n)&&Ir[n]===e)return n;var t=(window.URL||window.webkitURL).createObjectURL(e);return Ir[t]=e,t}function PO(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):R_(e).then(Xr)}function wp(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Ir[e]}const va=Jv(),D_=Jv();function EO(){return pe({},D_)}function IO(){return pe({},va)}function OO({path:e,query:t}){return pe(va,{path:e,query:t}),pe(D_,va),pe({},va)}const zo=gt({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=q(null),o=LO(n),r=AO(n,t,o);return RO(n,e,r,o),()=>L("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[L("div",{onScroll:r},[L("div",null,null)],40,["onScroll"]),L("div",{onScroll:r},[L("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function AO(e,t,n){const o=Ee({width:-1,height:-1});return ne(()=>pe({},o),r=>t("resize",r)),()=>{const r=e.value;r&&(o.width=r.offsetWidth,o.height=r.offsetHeight,n())}}function LO(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}function RO(e,t,n,o){_i(o),Be(()=>{t.initial&&st(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}const ze=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Sp(e,t=!0){const n=t?ze:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Tp=!1;function MO(){if(Tp)return;Tp=!0;const e=function(o,r){for(const s in o)be(o,s)&&r(o[s],s)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},n=CanvasRenderingContext2D.prototype;n.drawImageByCanvas=function(o){return function(r,s,i,a,l,c,d,u,f,h){if(!this.__hidpi__)return o.apply(this,arguments);s*=ze,i*=ze,a*=ze,l*=ze,c*=ze,d*=ze,u=h?u*ze:u,f=h?f*ze:f,o.call(this,r,s,i,a,l,c,d,u,f)}}(n.drawImage),ze!==1&&(e(t,function(o,r){n[r]=function(s){return function(){if(!this.__hidpi__)return s.apply(this,arguments);let i=Array.prototype.slice.call(arguments);if(o==="all")i=i.map(function(a){return a*ze});else if(Array.isArray(o))for(let a=0;aMO());function Cp(e){return e&&Kt(e)}function Ki(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function kp(e,t){Array.from(t).forEach(n=>{n.x=n.clientX-e.left,n.y=n.clientY-e.top})}let ms;function xp(e=0,t=0){return ms||(ms=document.createElement("canvas")),ms.width=e,ms.height=t,ms}const NO={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},n4=gt({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:NO,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){DO();const o=q(null),r=q(null),s=q(null),i=q(!1),a=Yx(t),{$attrs:l,$excludeAttrs:c,$listeners:d}=Dl({excludeListeners:!0}),{_listeners:u}=$O(e,d,a),{_handleSubscribe:f,_resize:h}=BO(e,r,i);return Z_(f,e0(e.canvasId)),Be(()=>{h()}),()=>{const{canvasId:_,disableScroll:v}=e;return L("uni-canvas",At({ref:o,"canvas-id":_,"disable-scroll":v},l.value,c.value,u.value),[L("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),L("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),L(zo,{ref:s,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function $O(e,t,n){return{_listeners:Y(()=>{let r=["onTouchstart","onTouchmove","onTouchend"],s=t.value,i=pe({},(()=>{let a={};for(const l in s)if(be(s,l)){const c=s[l];a[l]=c}return a})());return r.forEach(a=>{let l=i[a],c=[];l&&c.push(rn(d=>{const u=d.currentTarget.getBoundingClientRect();kp(u,d.touches),kp(u,d.changedTouches),n(a.replace("on","").toLocaleLowerCase(),d)})),e.disableScroll&&a==="onTouchmove"&&c.push(Dd),i[a]=c}),i})}}function BO(e,t,n){let o=[],r={};const s=Y(()=>e.hidpi?ze:1);function i(v){let m=t.value;var y=!v||m.width!==Math.floor(v.width*s.value)||m.height!==Math.floor(v.height*s.value);if(y)if(m.width>0&&m.height>0){let b=m.getContext("2d"),p=b.getImageData(0,0,m.width,m.height);Sp(m,e.hidpi),b.putImageData(p,0,0)}else Sp(m,e.hidpi)}function a({actions:v,reserve:m},y){if(!v)return;if(n.value){o.push([v,m]);return}let b=t.value,p=b.getContext("2d");m||(p.fillStyle="#000000",p.strokeStyle="#000000",p.shadowColor="#000000",p.shadowBlur=0,p.shadowOffsetX=0,p.shadowOffsetY=0,p.setTransform(1,0,0,1,0,0),p.clearRect(0,0,b.width,b.height)),l(v);for(let g=0;g{w.src=S}).catch(()=>{w.src=p})}})}function c(v,m,y,b){let p=r[v];return p.ready?(b(p),!0):(o.unshift([m,!0]),n.value=!0,p.onload=function(){p.ready=!0,b(p),n.value=!1;let g=o.slice(0);o=[];for(let w=g.shift();w;)a({actions:w[0],reserve:w[1]},y),w=g.shift()},!1)}function d({x:v=0,y:m=0,width:y,height:b,destWidth:p,destHeight:g,hidpi:w=!0,dataType:S,quality:k=1,type:C="png"},O){const P=t.value;let I;const E=P.offsetWidth-v;y=y?Math.min(y,E):E;const N=P.offsetHeight-m;b=b?Math.min(b,N):N,w?(p=y,g=b):!p&&!g?(p=Math.round(y*s.value),g=Math.round(b*s.value)):p?g||(g=Math.round(b/y*p)):(g||(g=Math.round(b*s.value)),p=Math.round(y/b*g));const J=xp(p,g),R=J.getContext("2d");(C==="jpeg"||C==="jpg")&&(C="jpeg",R.fillStyle="#fff",R.fillRect(0,0,p,g)),R.__hidpi__=!0,R.drawImageByCanvas(P,v,m,y,b,0,0,p,g,!1);let W;try{let Z;if(S==="base64")I=J.toDataURL(`image/${C}`,k);else{const X=R.getImageData(0,0,p,g);I=Array.prototype.slice.call(X.data)}W={data:I,compressed:Z,width:p,height:g}}catch(Z){W={errMsg:`canvasGetImageData:fail ${Z}`}}if(J.height=J.width=0,R.__hidpi__=!1,O)O(W);else return W}function u({data:v,x:m,y,width:b,height:p,compressed:g},w){try{p||(p=Math.round(v.length/4/b));const S=xp(b,p);S.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(v),b,p),0,0),t.value.getContext("2d").drawImage(S,m,y,b,p),S.height=S.width=0}catch(S){w({errMsg:"canvasPutImageData:fail"});return}w({errMsg:"canvasPutImageData:ok"})}function f({x:v=0,y:m=0,width:y,height:b,destWidth:p,destHeight:g,fileType:w,quality:S,dirname:k},C){const O=d({x:v,y:m,width:y,height:b,destWidth:p,destHeight:g,hidpi:!1,dataType:"base64",type:w,quality:S});if(O.errMsg){C({errMsg:O.errMsg.replace("canvasPutImageData","toTempFilePath")});return}TO(O.data,k,(P,I)=>{let E=`toTempFilePath:${P?"fail":"ok"}`;P&&(E+=` ${P.message}`),C({errMsg:E,tempFilePath:I})})}const h={actionsChanged:a,getImageData:d,putImageData:u,toTempFilePath:f};function _(v,m,y){let b=h[v];v.indexOf("_")!==0&&le(b)&&b(m,y)}return pe(h,{_resize:i,_handleSubscribe:_})}let FO;function Pp(){}const UO={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},qO=["keyboardheightchange"];function VO(e,t,n){function o(r){const s=Y(()=>String(navigator.vendor).indexOf("Apple")===0);r.addEventListener("focus",()=>{clearTimeout(FO),document.addEventListener("click",Pp,!1)});const i=()=>{document.removeEventListener("click",Pp,!1),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};r.addEventListener("blur",()=>{s.value&&r.blur(),i()})}ne(()=>t.value,r=>r&&o(r))}var Ep=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Ip=/^<\/([-A-Za-z0-9_]+)[^>]*>/,HO=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,WO=ls("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),jO=ls("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"),zO=ls("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"),GO=ls("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),KO=ls("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),YO=ls("script,style");function XO(e,t){var n,o,r,s=[],i=e;for(s.last=function(){return this[this.length-1]};e;){if(o=!0,!s.last()||!YO[s.last()]){if(e.indexOf(""),n>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1)):e.indexOf("]*>"),function(d,u){return u=u.replace(/|/g,"$1$2"),t.chars&&t.chars(u),""}),c("",s.last());if(e==i)throw"Parse Error: "+e;i=e}c();function l(d,u,f,h){if(u=u.toLowerCase(),jO[u])for(;s.last()&&zO[s.last()];)c("",s.last());if(GO[u]&&s.last()==u&&c("",u),h=WO[u]||!!h,h||s.push(u),t.start){var _=[];f.replace(HO,function(v,m){var y=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:KO[m]?m:"";_.push({name:m,value:y,escaped:y.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(u,_,h)}}function c(d,u){if(u)for(var f=s.length-1;f>=0&&s[f]!=u;f--);else var f=0;if(f>=0){for(var h=s.length-1;h>=f;h--)t.end&&t.end(s[h]);s.length=f}}}function ls(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},QO={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"]},N_=gt({name:"Image",props:JO,setup(e,{emit:t}){const n=q(null),o=ZO(n,e),r=so(n,t),{fixSize:s}=oA(n,e,o);return eA(o,e,n,s,r),()=>L("uni-image",{ref:n},[L("div",{style:o.modeStyle},null,4),_a[e.mode]?L(zo,{onResize:s},null,8,["onResize"]):L("span",null,null)],512)}});function ZO(e,t){const n=q(""),o=Y(()=>{let s="auto",i="";const a=QO[t.mode];return a?(a[0]&&(i=a[0]),a[1]&&(s=a[1])):(i="0% 0%",s="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${i};background-size:${s};`}),r=Ee({rootEl:e,src:Y(()=>t.src?Kt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Be(()=>{const s=e.value;r.origWidth=s.clientWidth||0,r.origHeight=s.clientHeight||0}),r}function eA(e,t,n,o,r){let s,i;const a=(d=0,u=0,f="")=>{e.origWidth=d,e.origHeight=u,e.imgSrc=f},l=d=>{if(!d){c(),a();return}s=s||new Image,s.onload=u=>{const{width:f,height:h}=s;a(f,h,d),st(()=>{o()}),s.draggable=t.draggable,i&&i.remove(),i=s,n.value.appendChild(s),c(),r("load",u,{width:f,height:h})},s.onerror=u=>{a(),c(),r("error",u,{errMsg:`GET ${e.src} 404 (Not Found)`})},s.src=d},c=()=>{s&&(s.onload=null,s.onerror=null,s=null)};ne(()=>e.src,d=>l(d)),ne(()=>e.imgSrc,d=>{!d&&i&&(i.remove(),i=null)}),Be(()=>l(e.src)),xt(()=>c())}const tA=navigator.vendor==="Google Inc.";function nA(e){return tA&&e>10&&(e=Math.round(e/2)*2),e}function oA(e,t,n){const o=()=>{const{mode:s}=t,i=_a[s];if(!i)return;const{origWidth:a,origHeight:l}=n,c=a&&l?a/l:0;if(!c)return;const d=e.value,u=d[i[0]];u&&(d.style[i[1]]=nA(i[2](u,c))+"px")},r=()=>{const{style:s}=e.value,{origStyle:{width:i,height:a}}=n;s.width=i,s.height=a};return ne(()=>t.mode,(s,i)=>{_a[i]&&r(),_a[s]&&o()}),{fixSize:o,resetSize:r}}function rA(e,t){let n=0,o,r;const s=function(...i){const a=Date.now();if(clearTimeout(o),r=()=>{r=null,n=a,e.apply(this,i)},a-nza.forEach(t=>t.userAction=e);function $_(e={userAction:!1}){Op||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(n=>{document.addEventListener(n,function(){!ba&&Ap(!0),ba++,setTimeout(()=>{!--ba&&Ap(!1)},0)},sA)}),Op=!0),za.push(e)}function iA(e){const t=za.indexOf(e);t>=0&&za.splice(t,1)}const Gd=()=>!!ba;function B_(){const e=Ee({userAction:!1});return Be(()=>{$_(e)}),xt(()=>{iA(e)}),{state:e}}function F_(){const e=Ee({attrs:{}});return Be(()=>{let t=it();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function aA(e,t){const n=$e(Zv,!1);if(!n)return;const o=it(),r={submit(){const s=o.proxy;return[s[e],Se(t)?s[t]:t.value]},reset(){Se(t)?o.proxy[t]="":t.value=""}};n.addField(r),xt(()=>{n.removeField(r)})}function lA(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)}const cA=function(){Bv(Si(),"getSelectedTextRange",lA)};function Eu(e,t,n){return t==="number"&&isNaN(Number(e))&&(e=""),e==null?"":String(e)}const uA=["none","text","decimal","numeric","tel","search","email","url"],U_=pe({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},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=>!!~uA.indexOf(e)},cursorColor:{type:String,default:""}},UO),q_=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...qO];function dA(e,t,n){const o=q(null),r=so(t,n),s=Y(()=>{const u=Number(e.selectionStart);return isNaN(u)?-1:u}),i=Y(()=>{const u=Number(e.selectionEnd);return isNaN(u)?-1:u}),a=Y(()=>{const u=Number(e.cursor);return isNaN(u)?-1:u}),l=Y(()=>{var u=Number(e.maxlength);return isNaN(u)?140:u});let c="";c=Eu(e.modelValue,e.type)||Eu(e.value,e.type);const d=Ee({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:s,selectionEnd:i,cursor:a});return ne(()=>d.focus,u=>n("update:focus",u)),ne(()=>d.maxlength,u=>d.value=d.value.slice(0,u),{immediate:!1}),{fieldRef:o,state:d,trigger:r}}function fA(e,t,n,o){let r=null;r=fy(a=>{t.value=Eu(a,e.type)},100,{setTimeout,clearTimeout}),ne(()=>e.modelValue,r),ne(()=>e.value,r);const s=rA((a,l)=>{r.cancel(),n("update:modelValue",l.value),n("update:value",l.value),o("input",a,l)},100),i=(a,l,c)=>{r.cancel(),s(a,l),c&&s.flush()};return Ho(()=>{r.cancel(),s.cancel()}),{trigger:o,triggerInput:i}}function hA(e,t){B_();const n=Y(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const s=t.value;if(!s){setTimeout(o,100);return}s.focus()}function r(){const s=t.value;s&&s.blur()}ne(()=>e.focus,s=>{s?o():r()}),Be(()=>{n.value&&st(o)})}function pA(e,t,n,o,r,s){function i(){const d=e.value;d&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&d.type!=="number"&&(d.selectionStart=t.selectionStart,d.selectionEnd=t.selectionEnd)}function a(){const d=e.value;d&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&d.type!=="number"&&(d.selectionEnd=d.selectionStart=t.cursor)}function l(d){return d.type==="number"?null:d.selectionEnd}function c(){const d=e.value;if(!d)return;const u=function(v){t.focus=!0,o("focus",v,{value:t.value}),i(),a()},f=function(v,m){v.stopPropagation(),!(le(s)&&s(v,t)===!1)&&(t.value=d.value,(!t.composing||!n.ignoreCompositionEvent)&&r(v,{value:d.value,cursor:l(d)},m))},h=function(v){t.composing&&(t.composing=!1,f(v,!0)),t.focus=!1,o("blur",v,{value:t.value,cursor:l(v.target)})};d.addEventListener("change",v=>v.stopPropagation()),d.addEventListener("focus",u),d.addEventListener("blur",h),d.addEventListener("input",f),d.addEventListener("compositionstart",v=>{v.stopPropagation(),t.composing=!0,_(v)}),d.addEventListener("compositionend",v=>{v.stopPropagation(),t.composing&&(t.composing=!1,f(v)),_(v)}),d.addEventListener("compositionupdate",_);function _(v){n.ignoreCompositionEvent||o(v.type,v,{value:v.data})}}ne([()=>t.selectionStart,()=>t.selectionEnd],i),ne(()=>t.cursor,a),ne(()=>e.value,c)}function V_(e,t,n,o){cA();const{fieldRef:r,state:s,trigger:i}=dA(e,t,n),{triggerInput:a}=fA(e,s,n,i);hA(e,r),VO(e,r);const{state:l}=F_();aA("name",s),pA(r,s,e,i,a,o);const c=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:r,state:s,scopedAttrsState:l,fixDisabledColor:c,trigger:i}}const gA=pe({},U_,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),mA=Vt(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const o=e.match(/Version\/(\S*)\b/);o&&(t=o[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function Lp(e,t,n,o,r){if(t.value){if(e.data==="."){if(t.value.slice(-1)===".")return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if(e.inputType==="deleteContentBackward"&&mA()&&t.value.slice(-2,-1)===".")return t.value=n.value=o.value=t.value.slice(0,-2),!0}}function Rp(e){return e.inputType==="insertFromPaste"}function yA(e,t){if(t.value==="number"){const n=typeof e.modelValue=="undefined"?e.value:e.modelValue,o=q(typeof n!="undefined"&&n!==null?n.toLocaleString():"");return ne(()=>e.modelValue,r=>{o.value=typeof r!="undefined"&&r!==null?r.toLocaleString():""}),ne(()=>e.value,r=>{o.value=typeof r!="undefined"&&r!==null?r.toLocaleString():""}),o}else return q("")}const vA=gt({name:"Input",props:gA,emits:["confirm",...q_],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],s=Y(()=>{let p="";switch(e.type){case"text":p="text",e.confirmType==="search"&&(p="search");break;case"idcard":p="text";break;case"digit":p="number";break;default:p=o.includes(e.type)?e.type:"text";break}return e.password?"password":p}),i=Y(()=>{const p=r.indexOf(e.textContentType),g=r.indexOf(oo(e.textContentType));return r[p!==-1?p:g!==-1?g:0]}),a=Y(()=>{if(e.inputmode)return e.inputmode});let l=yA(e,s),c={fn:null};const d=q(null),{fieldRef:u,state:f,scopedAttrsState:h,fixDisabledColor:_,trigger:v}=V_(e,d,t,(p,g)=>{const w=p.target;if(s.value==="number"){if(c.fn&&(w.removeEventListener("blur",c.fn),c.fn=null),w.validity&&!w.validity.valid){if((!l.value||!w.value)&&p.data==="-"||l.value[0]==="-"&&p.inputType==="deleteContentBackward")return l.value="-",g.value="",c.fn=()=>{l.value=w.value=""},w.addEventListener("blur",c.fn),!1;const S=Lp(p,l,g,w,c);return typeof S=="boolean"?S:(l.value=g.value=w.value=l.value==="-"?"":l.value,!1)}else{const S=Lp(p,l,g,w,c);if(typeof S=="boolean")return S;l.value=w.value}if(g.maxlength>0&&w.value.length>g.maxlength&&!Rp(p))return w.value=l.value=g.value,!1}});ne(()=>f.value,p=>{e.type==="number"&&!(l.value==="-"&&p==="")&&(l.value=p.toString())}),ne(()=>e.maxlength,p=>{p=parseInt(p,10);const g=f.value.slice(0,p);g!==f.value&&(f.value=g)});const m=["number","digit"],y=Y(()=>m.includes(e.type)?e.step:"");function b(p){if(p.key!=="Enter")return;const g=p.target;p.stopPropagation(),v("confirm",p,{value:g.value}),!e.confirmHold&&g.blur()}return n({$triggerInput:p=>{t("update:modelValue",p.value),t("update:value",p.value),f.value=p.value}}),()=>{let p=e.disabled&&_?L("input",{key:"disabled-input",ref:u,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:s.value,maxlength:f.maxlength,step:y.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:g=>g.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):L("input",{key:"input",ref:u,value:f.value,onInput:g=>{const w=g.target.value.toString();if(s.value==="number"&&f.maxlength>0&&w.length>f.maxlength){Rp(g)&&(f.value=w.slice(0,f.maxlength));return}f.value=w},disabled:!!e.disabled,type:s.value,maxlength:f.maxlength,step:y.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:i.value,onKeyup:b,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return L("uni-input",{ref:d},[L("div",{class:"uni-input-wrapper"},[tn(L("div",At(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[nn,!(f.value.length||l.value==="-"||l.value.includes("."))]]),e.confirmType==="search"?L("form",{action:"",onSubmit:g=>g.preventDefault(),class:"uni-input-form"},[p],40,["onSubmit"]):p])],512)}}});function _A(e){return Object.keys(e).map(t=>[t,e[t]])}const bA=["class","style"],wA=/^on[A-Z]+/,Dl=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=it(),r=fa({}),s=fa({}),i=fa({}),a=n.concat(bA);return o.attrs=Ee(o.attrs),On(()=>{const l=_A(o.attrs).reduce((c,[d,u])=>(a.includes(d)?c.exclude[d]=u:wA.test(d)?(t||(c.attrs[d]=u),c.listeners[d]=u):c.attrs[d]=u,c),{exclude:{},attrs:{},listeners:{}});r.value=l.attrs,s.value=l.listeners,i.value=l.exclude}),{$attrs:r,$listeners:s,$excludeAttrs:i}};function Jr(e){const t=[];return ce(e)&&e.forEach(n=>{pr(n)?n.type===ot?t.push(...Jr(n.children)):t.push(n):ce(n)&&t.push(...Jr(n))}),t}const SA={scaleArea:{type:Boolean,default:!1}},TA=gt({inheritAttrs:!1,name:"MovableArea",props:SA,setup(e,{slots:t}){const n=q(null),o=q(!1);let{setContexts:r,events:s}=CA(e,n);const{$listeners:i,$attrs:a,$excludeAttrs:l}=Dl(),c=i.value;["onTouchstart","onTouchmove","onTouchend"].forEach(m=>{let y=c[m],b=s[`_${m}`];c[m]=y?[].concat(y,b):b}),Be(()=>{s._resize(),o.value=!0});let u=[];const f=[];function h(){const m=[];for(let y=0;yb===g.rootRef.value);p&&m.push($o(p))}r(m)}const _=m=>{f.push(m),h()},v=m=>{const y=f.indexOf(m);y>=0&&(f.splice(y,1),h())};return _t("_isMounted",o),_t("movableAreaRootRef",n),_t("addMovableViewContext",_),_t("removeMovableViewContext",v),()=>{const m=t.default&&t.default();return u=Jr(m),L("uni-movable-area",At({ref:n},a.value,l.value,c),[L(zo,{onResize:s._resize},null,8,["onResize"]),u],16)}}});function Mp(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function CA(e,t){const n=q(0),o=q(0),r=Ee({x:null,y:null}),s=q(null);let i=null,a=[];function l(v){v&&v!==1&&(e.scaleArea?a.forEach(function(m){m._setScale(v)}):i&&i._setScale(v))}function c(v,m=a){let y=t.value;function b(p){for(let g=0;g{let m=v.touches;if(m&&m.length>1){let y={x:m[1].pageX-m[0].pageX,y:m[1].pageY-m[0].pageY};if(s.value=Mp(y),r.x=y.x,r.y=y.y,!e.scaleArea){let b=c(m[0].target),p=c(m[1].target);i=b&&b===p?b:null}}}),u=rn(v=>{let m=v.touches;if(m&&m.length>1){v.preventDefault();let y={x:m[1].pageX-m[0].pageX,y:m[1].pageY-m[0].pageY};if(r.x!==null&&s.value&&s.value>0){let b=Mp(y)/s.value;l(b)}r.x=y.x,r.y=y.y}}),f=rn(v=>{let m=v.touches;m&&m.length||v.changedTouches&&(r.x=0,r.y=0,s.value=null,e.scaleArea?a.forEach(function(y){y._endScale()}):i&&i._endScale())});function h(){_(),a.forEach(function(v,m){v.setParent()})}function _(){let v=window.getComputedStyle(t.value),m=t.value.getBoundingClientRect();n.value=m.width-["Left","Right"].reduce(function(y,b){const p="border"+b+"Width",g="padding"+b;return y+parseFloat(v[p])+parseFloat(v[g])},0),o.value=m.height-["Top","Bottom"].reduce(function(y,b){const p="border"+b+"Width",g="padding"+b;return y+parseFloat(v[p])+parseFloat(v[g])},0)}return _t("movableAreaWidth",n),_t("movableAreaHeight",o),{setContexts(v){a=v},events:{_onTouchstart:d,_onTouchmove:u,_onTouchend:f,_resize:h}}}const ys=function(e,t,n,o){e.addEventListener(t,r=>{le(n)&&n(r)===!1&&((typeof r.cancelable=="undefined"||r.cancelable)&&r.preventDefault(),r.stopPropagation())},{passive:!1})};let Dp,Np;function Kd(e,t,n){xt(()=>{document.removeEventListener("mousemove",Dp),document.removeEventListener("mouseup",Np)});let o=0,r=0,s=0,i=0;const a=function(h,_,v,m){if(t({cancelable:h.cancelable,target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:_,x:v,y:m,dx:v-o,dy:m-r,ddx:v-s,ddy:m-i,timeStamp:h.timeStamp}})===!1)return!1};let l=null,c,d;ys(e,"touchstart",function(h){if(c=!0,h.touches.length===1&&!l)return l=h,o=s=h.touches[0].pageX,r=i=h.touches[0].pageY,a(h,"start",o,r)}),ys(e,"mousedown",function(h){if(d=!0,!c&&!l)return l=h,o=s=h.pageX,r=i=h.pageY,a(h,"start",o,r)}),ys(e,"touchmove",function(h){if(h.touches.length===1&&l){const _=a(h,"move",h.touches[0].pageX,h.touches[0].pageY);return s=h.touches[0].pageX,i=h.touches[0].pageY,_}});const u=Dp=function(h){if(!c&&d&&l){const _=a(h,"move",h.pageX,h.pageY);return s=h.pageX,i=h.pageY,_}};document.addEventListener("mousemove",u),ys(e,"touchend",function(h){if(h.touches.length===0&&l)return c=!1,l=null,a(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});const f=Np=function(h){if(d=!1,!c&&l)return l=null,a(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",f),ys(e,"touchcancel",function(h){if(l){c=!1;const _=l;return l=null,a(h,n?"cancel":"end",_.touches[0].pageX,_.touches[0].pageY)}})}function Ga(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}};Gn.prototype.ds=function(e){return e===void 0&&(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}};Gn.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}};Gn.prototype.dt=function(){return-this._x_v/this._x_a};Gn.prototype.done=function(){const e=Ga(this.s().x,this._endPositionX)||Ga(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e};Gn.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t};Gn.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function ln(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}ln.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,s=n*n-4*o*r;if(s===0){const d=-n/(2*o),u=e,f=t/(d*e);return{x:function(h){return(u+f*h)*Math.pow(Math.E,d*h)},dx:function(h){const _=Math.pow(Math.E,d*h);return d*(u+f*h)*_+f*_}}}if(s>0){const d=(-n-Math.sqrt(s))/(2*o),u=(-n+Math.sqrt(s))/(2*o),f=(t-d*e)/(u-d),h=e-f;return{x:function(_){let v,m;return _===this._t&&(v=this._powER1T,m=this._powER2T),this._t=_,v||(v=this._powER1T=Math.pow(Math.E,d*_)),m||(m=this._powER2T=Math.pow(Math.E,u*_)),h*v+f*m},dx:function(_){let v,m;return _===this._t&&(v=this._powER1T,m=this._powER2T),this._t=_,v||(v=this._powER1T=Math.pow(Math.E,d*_)),m||(m=this._powER2T=Math.pow(Math.E,u*_)),h*d*v+f*u*m}}}const i=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/i;return{x:function(d){return Math.pow(Math.E,a*d)*(l*Math.cos(i*d)+c*Math.sin(i*d))},dx:function(d){const u=Math.pow(Math.E,a*d),f=Math.cos(i*d),h=Math.sin(i*d);return u*(c*i*f-l*i*h)+a*u*(c*h+l*f)}}};ln.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0};ln.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0};ln.prototype.setEnd=function(e,t,n){if(n||(n=new Date().getTime()),e!==this._endPosition||!nr(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(nr(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),nr(t,.1)&&(t=0),nr(o,.1)&&(o=0),o+=this._endPosition),this._solution&&nr(o-e,.1)&&nr(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}};ln.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}};ln.prototype.done=function(e){return e||(e=new Date().getTime()),Ga(this.x(),this._endPosition,.1)&&nr(this.dx(),.1)};ln.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())};ln.prototype.springConstant=function(){return this._k};ln.prototype.damping=function(){return this._c};ln.prototype.configuration=function(){function e(n,o){n.reconfigure(1,o,n.damping())}function t(n,o){n.reconfigure(1,n.springConstant(),o)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function Pi(e,t,n){this._springX=new ln(e,t,n),this._springY=new ln(e,t,n),this._springScale=new ln(e,t,n),this._startTime=0}Pi.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};Pi.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)}};Pi.prototype.done=function(){const e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)};Pi.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};const kA={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:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}};function $p(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const xA=gt({name:"MovableView",props:kA,emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=q(null),r=so(o,n),{setParent:s}=OA(e,r,o);return()=>L("uni-movable-view",{ref:o},[L(zo,{onResize:s},null,8,["onResize"]),t.default&&t.default()],512)}});let vc=!1;function H_(e){vc||(vc=!0,requestAnimationFrame(function(){e(),vc=!1}))}function W_(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=W_(e.offsetParent,t):0}function j_(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=j_(e.offsetParent,t):0}function z_(e,t,n){let o={id:0,cancelled:!1},r=function(i){i&&i.id&&cancelAnimationFrame(i.id),i&&(i.cancelled=!0)};function s(i,a,l,c){if(!i||!i.cancelled){l(a);let d=a.done();d||i.cancelled||(i.id=requestAnimationFrame(s.bind(null,i,a,l,c))),d&&c&&c(a)}}return s(o,e,t,n),{cancel:r.bind(null,o),model:e}}function Yi(e){return/\d+[ur]px$/i.test(e)?Ci(parseFloat(e)):Number(e)||0}function PA(e,t,n){const o=$e("movableAreaWidth",q(0)),r=$e("movableAreaHeight",q(0)),s=$e("movableAreaRootRef"),i={x:0,y:0},a={x:0,y:0},l=q(0),c=q(0),d=q(0),u=q(0),f=q(0),h=q(0);function _(){let y=0-i.x+a.x,b=o.value-l.value-i.x-a.x;d.value=Math.min(y,b),f.value=Math.max(y,b);let p=0-i.y+a.y,g=r.value-c.value-i.y-a.y;u.value=Math.min(p,g),h.value=Math.max(p,g)}function v(){i.x=W_(e.value,s.value),i.y=j_(e.value,s.value)}function m(y){y=y||t.value,y=n(y);let b=e.value.getBoundingClientRect();c.value=b.height/t.value,l.value=b.width/t.value;let p=c.value*y,g=l.value*y;a.x=(g-l.value)/2,a.y=(p-c.value)/2}return{_updateBoundary:_,_updateOffset:v,_updateWH:m,_scaleOffset:a,minX:d,minY:u,maxX:f,maxY:h}}function EA(e,t,n,o,r,s,i,a,l,c,d,u,f,h){const _=Y(()=>{let I=Number(t.damping);return isNaN(I)?20:I}),v=Y(()=>t.direction==="all"||t.direction==="horizontal"),m=Y(()=>t.direction==="all"||t.direction==="vertical"),y=q(Yi(t.x)),b=q(Yi(t.y));ne(()=>t.x,I=>{y.value=Yi(I)}),ne(()=>t.y,I=>{b.value=Yi(I)}),ne(y,I=>{O(I)}),ne(b,I=>{P(I)});const p=new Pi(1,9*Math.pow(_.value,2)/40,_.value);function g(I,E){let N=!1;return I>r.value?(I=r.value,N=!0):Is.value?(E=s.value,N=!0):E{let H=Number(e.scaleMin);return isNaN(H)?.1:H}),u=Y(()=>{let H=Number(e.scaleMax);return isNaN(H)?10:H}),f=q(Number(e.scaleValue)||1);ne(f,H=>{U(H)}),ne(d,()=>{te()}),ne(u,()=>{te()}),ne(()=>e.scaleValue,H=>{f.value=Number(H)||0});const{_updateBoundary:h,_updateOffset:_,_updateWH:v,_scaleOffset:m,minX:y,minY:b,maxX:p,maxY:g}=PA(t,o,$),{FAandSFACancel:w,_getLimitXY:S,_animationTo:k,_setTransform:C,_revise:O,dampingNumber:P,xMove:I,yMove:E,xSync:N,ySync:J,_STD:R}=EA(t,e,m,o,p,g,y,b,i,a,l,c,$,n);function W(H,tt){if(e.scale){H=$(H),v(H),h();const je=S(i.value,a.value),j=je.x,re=je.y;tt?k(j,re,H,"",!0,!0):H_(function(){C(j,re,H,"",!0,!0)})}}function Z(){s.value=!0}function X(H){r.value=H}function $(H){return H=Math.max(.1,d.value,H),H=Math.min(10,u.value,H),H}function te(){if(!e.scale)return!1;W(o.value,!0),X(o.value)}function U(H){return e.scale?(H=$(H),W(H,!0),X(H),H):!1}function K(){s.value=!1,X(o.value)}function G(H){H&&(H=r.value*H,Z(),W(H))}return{_updateOldScale:X,_endScale:K,_setScale:G,scaleValueSync:f,_updateBoundary:h,_updateOffset:_,_updateWH:v,_scaleOffset:m,minX:y,minY:b,maxX:p,maxY:g,FAandSFACancel:w,_getLimitXY:S,_animationTo:k,_setTransform:C,_revise:O,dampingNumber:P,xMove:I,yMove:E,xSync:N,ySync:J,_STD:R}}function OA(e,t,n){const o=$e("_isMounted",q(!1)),r=$e("addMovableViewContext",()=>{}),s=$e("removeMovableViewContext",()=>{});let i=q(1),a=q(1),l=q(!1),c=q(0),d=q(0),u=null,f=null,h=!1,_,v,m=null,y=null;const b=new Iu,p=new Iu,g={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Y(()=>{let T=Number(e.friction);return isNaN(T)||T<=0?2:T}),S=new Gn(1,w.value);ne(()=>e.disabled,()=>{oe()});const{_updateOldScale:k,_endScale:C,_setScale:O,scaleValueSync:P,_updateBoundary:I,_updateOffset:E,_updateWH:N,_scaleOffset:J,minX:R,minY:W,maxX:Z,maxY:X,FAandSFACancel:$,_getLimitXY:te,_setTransform:U,_revise:K,dampingNumber:G,xMove:H,yMove:tt,xSync:je,ySync:j,_STD:re}=IA(e,n,t,i,a,l,c,d,u,f);function oe(){l.value||e.disabled||($(),g.historyX=[0,0],g.historyY=[0,0],g.historyT=[0,0],H.value&&(_=c.value),tt.value&&(v=d.value),n.value.style.willChange="transform",m=null,y=null,h=!0)}function de(T){if(!l.value&&!e.disabled&&h){let x=c.value,M=d.value;if(y===null&&(y=Math.abs(T.detail.dx/T.detail.dy)>1?"htouchmove":"vtouchmove"),H.value&&(x=T.detail.dx+_,g.historyX.shift(),g.historyX.push(x),!tt.value&&m===null&&(m=Math.abs(T.detail.dx/T.detail.dy)<1)),tt.value&&(M=T.detail.dy+v,g.historyY.shift(),g.historyY.push(M),!H.value&&m===null&&(m=Math.abs(T.detail.dy/T.detail.dx)<1)),g.historyT.shift(),g.historyT.push(T.detail.timeStamp),!m){T.preventDefault();let V="touch";xZ.value&&(e.outOfBounds?(V="touch-out-of-bounds",x=Z.value+b.x(x-Z.value)):x=Z.value),MX.value&&(e.outOfBounds?(V="touch-out-of-bounds",M=X.value+p.x(M-X.value)):M=X.value),H_(function(){U(x,M,i.value,V)})}}}function A(){if(!l.value&&!e.disabled&&h&&(n.value.style.willChange="auto",h=!1,!m&&!K("out-of-bounds")&&e.inertia)){const T=1e3*(g.historyX[1]-g.historyX[0])/(g.historyT[1]-g.historyT[0]),x=1e3*(g.historyY[1]-g.historyY[0])/(g.historyT[1]-g.historyT[0]),M=c.value,V=d.value;S.setV(T,x),S.setS(M,V);const z=S.delta().x,Q=S.delta().y;let ie=z+M,ee=Q+V;ieZ.value&&(ie=Z.value,ee=V+(Z.value-M)*Q/z),eeX.value&&(ee=X.value,ie=M+(X.value-V)*z/Q),S.setEnd(ie,ee),f=z_(S,function(){let B=S.s(),F=B.x,ae=B.y;U(F,ae,i.value,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&$()}function D(){if(!o.value)return;$();let T=e.scale?P.value:1;E(),N(T),I();let x=te(je.value+J.x,j.value+J.y),M=x.x,V=x.y;U(M,V,T,"",!0),k(T)}return Be(()=>{Kd(n.value,x=>{switch(x.detail.state){case"start":oe();break;case"move":de(x);break;case"end":A()}}),D(),S.reconfigure(1,w.value),re.reconfigure(1,9*Math.pow(G.value,2)/40,G.value),n.value.style.transformOrigin="center";const T={rootRef:n,setParent:D,_endScale:C,_setScale:O};r(T),An(()=>{s(T)})}),An(()=>{$()}),{setParent:D}}const AA={value:{type:Array,default(){return[]},validator:function(e){return ce(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function LA(e){const t=Ee([...e.value]),n=Ee({value:t,height:34});return ne(()=>e.value,(o,r)=>{n.value.length=o.length,o.forEach((s,i)=>{s!==n.value[i]&&n.value.splice(i,1,s)})}),n}const o4=gt({name:"PickerView",props:AA,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=q(null),r=q(null),s=so(o,n),i=LA(e),a=q(null);Be(()=>{const h=a.value;h&&(i.height=h.$el.offsetHeight)});let c=q([]),d=q([]);function u(h){let _=d.value;_=_.filter(m=>m.type!==Gt);let v=_.indexOf(h);return v!==-1?v:c.value.indexOf(h)}return _t("getPickerViewColumn",function(h){return Y({get(){const v=u(h.vnode);return i.value[v]||0},set(v){const m=u(h.vnode);if(m<0)return;if(i.value[m]!==v){i.value[m]=v;const b=i.value.map(p=>p);n("update:value",b),s("change",{},{value:b})}}})}),_t("pickerViewProps",e),_t("pickerViewState",i),()=>{const h=t.default&&t.default();{const _=Jr(h);c.value=_,st(()=>{d.value=_})}return L("uni-picker-view",{ref:o},[L(zo,{ref:a,onResize:({height:_})=>i.height=_},null,8,["onResize"]),L("div",{ref:r,class:"uni-picker-view-wrapper"},[h],512)],512)}}});class G_{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,n){this._x=t,this._v=n,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);const n=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*n/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);const n=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*n}done(){return Math.abs(this.dx())<3}reconfigure(t){const n=this.x(),o=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(n,o)}configuration(){const t=this;return[{label:"Friction",read:function(){return t._drag},write:function(n){t.reconfigure(n)},min:.001,max:.1,step:.001}]}}function K_(e,t,n){return e>t-n&&e0){const u=(-o-Math.sqrt(i))/(2*r),f=(-o+Math.sqrt(i))/(2*r),h=(n-u*t)/(f-u),_=t-h;return{x:function(v){let m,y;return v===this._t&&(m=this._powER1T,y=this._powER2T),this._t=v,m||(m=this._powER1T=Math.pow(Math.E,u*v)),y||(y=this._powER2T=Math.pow(Math.E,f*v)),_*m+h*y},dx:function(v){let m,y;return v===this._t&&(m=this._powER1T,y=this._powER2T),this._t=v,m||(m=this._powER1T=Math.pow(Math.E,u*v)),y||(y=this._powER2T=Math.pow(Math.E,f*v)),_*u*m+h*f*y}}}const a=Math.sqrt(4*r*s-o*o)/(2*r),l=-o/2*r,c=t,d=(n-l*t)/a;return{x:function(u){return Math.pow(Math.E,l*u)*(c*Math.cos(a*u)+d*Math.sin(a*u))},dx:function(u){const f=Math.pow(Math.E,l*u),h=Math.cos(a*u),_=Math.sin(a*u);return f*(d*a*h-c*a*_)+l*f*(d*_+c*h)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,n,o){if(o||(o=new Date().getTime()),t!==this._endPosition||!tr(n,.4)){n=n||0;let r=this._endPosition;this._solution&&(tr(n,.4)&&(n=this._solution.dx((o-this._startTime)/1e3)),r=this._solution.x((o-this._startTime)/1e3),tr(n,.4)&&(n=0),tr(r,.4)&&(r=0),r+=this._endPosition),this._solution&&tr(r-t,.4)&&tr(n,.4)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,n),this._startTime=o)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),K_(this.x(),this._endPosition,.4)&&tr(this.dx(),.4)}reconfigure(t,n,o){this._m=t,this._k=n,this._c=o,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(){function t(o,r){o.reconfigure(1,r,o.damping())}function n(o,r){o.reconfigure(1,o.springConstant(),r)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:n.bind(this,this),min:1,max:500}]}}class RA{constructor(t,n,o){this._extent=t,this._friction=n||new G_(.01),this._spring=o||new Y_(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,n){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(n)}set(t,n){this._friction.set(t,n),t>0&&n>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&n<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let n=this._friction.x(t),o=this.dx(t);return(n>0&&o>=0||n<-this._extent&&o<=0)&&(this._springing=!0,this._spring.setEnd(0,o),n<-this._extent?this._springOffset=-this._extent:this._springOffset=0,n=this._spring.x()+this._springOffset),n}dx(t){let n;return this._lastTime===t?n=this._lastDx:n=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=n,n}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){const t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function MA(e,t,n){const o={id:0,cancelled:!1};function r(i,a,l,c){if(!i||!i.cancelled){l(a);const d=a.done();d||i.cancelled||(i.id=requestAnimationFrame(r.bind(null,i,a,l,c))),d&&c&&c(a)}}function s(i){i&&i.id&&cancelAnimationFrame(i.id),i&&(i.cancelled=!0)}return r(o,e,t,n),{cancel:s.bind(null,o),model:e}}class DA{constructor(t,n){n=n||{},this._element=t,this._options=n,this._enableSnap=n.enableSnap||!1,this._itemSize=n.itemSize||0,this._enableX=n.enableX||!1,this._enableY=n.enableY||!1,this._shouldDispatchScrollEvent=!!n.onScroll,this._enableX?(this._extent=(n.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=n.scrollWidth):(this._extent=(n.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=n.scrollHeight),this._position=0,this._scroll=new RA(this._extent,n.friction,n.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(t,n){let o=this._startPosition;this._enableX?o+=t:this._enableY&&(o+=n),o>0?o*=.5:o<-this._extent&&(o=.5*(o+this._extent)-this._extent),this._position=o,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,n,o){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(n)this._itemSize/2?s-(this._itemSize-Math.abs(i)):s-i,r<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}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=MA(this._scroll,()=>{const s=Date.now(),i=(s-this._scroll._startTime)/1e3,a=this._scroll.x(i);this._position=a,this.updatePosition();const l=this._scroll.dx(i);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/l),this._lastTime=s)},()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),le(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 t=this._itemSize,n=this._position%t,o=Math.abs(n)>this._itemSize/2?this._position-(t-Math.abs(n)):this._position-n;this._position!==o&&(this._snapping=!0,this.scrollTo(-o),le(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,n){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const o="transform "+(n||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+o,this._element.style.transition=o,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(le(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const t={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(t)}}update(t,n,o){let r=0;const s=this._position;this._enableX?(r=this._element.childNodes.length?(n||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=n):(r=this._element.childNodes.length?(n||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=n),typeof t=="number"&&(this._position=-t),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=o||this._itemSize,this.updatePosition(),s!==this._position&&(this.dispatchScroll(),le(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}updatePosition(){let t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function NA(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new DA(e,t);function r(l){const c=l,d=l;return c.detail.state==="move"||c.detail.state==="end"?{x:c.detail.dx,y:c.detail.dy}:{x:d.screenX-n.x,y:d.screenY-n.y}}function s(l){const c=l,d=l;c.detail.state==="start"?(n.trackingID="touch",n.x=c.detail.x,n.y=c.detail.y):(n.trackingID="mouse",n.x=d.screenX,n.y=d.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[c.detail.timeStamp||d.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault()}function i(l){const c=l,d=l;if(n.trackingID!==-1){(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault();const u=r(l);if(u){for(n.maxDy=Math.max(n.maxDy,Math.abs(u.y)),n.maxDx=Math.max(n.maxDx,Math.abs(u.x)),n.historyX.push(u.x),n.historyY.push(u.y),n.historyTime.push(c.detail.timeStamp||d.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(u.x,u.y)}}}function a(l){if(n.trackingID!==-1){l.preventDefault();const c=r(l);if(c){const d=n.listener;n.trackingID=-1,n.listener=null;const u=n.historyTime.length,f={x:0,y:0};if(u>2)for(let h=n.historyTime.length-1,_=n.historyTime[h],v=n.historyX[h],m=n.historyY[h];h>0;){h--;const y=n.historyTime[h],b=_-y;if(b>30&&b<50){f.x=(v-n.historyX[h])/(b/1e3),f.y=(m-n.historyY[h])/(b/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],d&&d.onTouchEnd&&d.onTouchEnd(c.x,c.y,f)}}}return{scroller:o,handleTouchStart:s,handleTouchMove:i,handleTouchEnd:a}}function $A(e){let n=0,o=0;e.addEventListener("touchstart",r=>{const s=r.changedTouches[0];n=s.clientX,o=s.clientY}),e.addEventListener("touchend",r=>{const s=r.changedTouches[0];if(Math.abs(s.clientX-n)<20&&Math.abs(s.clientY-o)<20){const i={bubbles:!0,cancelable:!0,target:r.target,currentTarget:r.currentTarget},a=new CustomEvent("click",i);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(c=>{a[c]=s[c]}),r.target.dispatchEvent(a)}})}const r4=gt({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=q(null),r=q(null),s=$e("getPickerViewColumn"),i=it(),a=s?s(i):q(0),l=$e("pickerViewProps"),c=$e("pickerViewState"),d=q(34),u=q(null);Be(()=>{const k=u.value;d.value=k.$el.offsetHeight});const h=Y(()=>(c.height-d.value)/2),{state:_}=F_();let v;const m=Ee({current:a.value,length:0});let y;function b(){v&&!y&&(y=!0,st(()=>{y=!1;let k=Math.min(m.current,m.length-1);k=Math.max(k,0),v.update(k*d.value,void 0,d.value)}))}ne(()=>a.value,k=>{k!==m.current&&(m.current=k,b())}),ne(()=>m.current,k=>a.value=k),ne([()=>d.value,()=>m.length,()=>c.height],b);let p=0;function g(k){const C=p+k.deltaY;if(Math.abs(C)>10){p=0;let O=Math.min(m.current+(C<0?-1:1),m.length-1);m.current=O=Math.max(O,0),v.scrollTo(O*d.value)}else p=C;k.preventDefault()}function w({clientY:k}){const C=o.value;if(!v.isScrolling()){const O=C.getBoundingClientRect(),P=k-O.top-c.height/2,I=d.value/2;if(!(Math.abs(P)<=I)){const E=Math.ceil((Math.abs(P)-I)/d.value),N=P<0?-E:E;let J=Math.min(m.current+N,m.length-1);m.current=J=Math.max(J,0),v.scrollTo(J*d.value)}}}return Be(()=>{const k=o.value,C=r.value,{scroller:O,handleTouchStart:P,handleTouchMove:I,handleTouchEnd:E}=NA(C,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new G_(1e-4),spring:new Y_(2,90,20),onSnap:N=>{!isNaN(N)&&N!==m.current&&(m.current=N)}});v=O,Kd(k,N=>{switch(N.detail.state){case"start":P(N);break;case"move":I(N),N.stopPropagation();break;case"end":case"cancel":E(N)}},!0),$A(k),b()}),()=>{const k=t.default&&t.default();m.length=Jr(k).length;const C=`${h.value}px 0`;return L("uni-picker-view-column",{ref:o},[L("div",{onWheel:g,onClick:w,class:"uni-picker-view-group"},[L("div",At(_.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),L("div",At(_.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[L(zo,{ref:u,onResize:({height:O})=>d.value=O},null,8,["onResize"])],16),L("div",{ref:r,class:["uni-picker-view-content"],style:{padding:C,"--picker-view-column-indicator-height":`${d.value}px`}},[k],4)],40,["onWheel","onClick"])],512)}}}),BA=16,ar={activeColor:Wm,backgroundColor:"#EBEBEB",activeMode:"backwards"},FA={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:BA},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:ar.activeColor},activeColor:{type:String,default:ar.activeColor},backgroundColor:{type:String,default:ar.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:ar.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},s4=gt({name:"Progress",props:FA,setup(e){const t=q(null),n=UA(e);return Bp(n,e),ne(()=>n.realPercent,(o,r)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=r||0,Bp(n,e)}),()=>{const{showInfo:o}=e,{outerBarStyle:r,innerBarStyle:s,currentPercent:i}=n;return L("uni-progress",{class:"uni-progress",ref:t},[L("div",{style:r,class:"uni-progress-bar"},[L("div",{style:s,class:"uni-progress-inner-bar"},null,4)],4),o?L("p",{class:"uni-progress-info"},[i+"%"]):""],512)}}});function UA(e){const t=q(0),n=Y(()=>`background-color: ${e.backgroundColor}; height: ${Es(e.strokeWidth)}px;`),o=Y(()=>{const i=e.color!==ar.activeColor&&e.activeColor===ar.activeColor?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${i}`}),r=Y(()=>{if(typeof e.percent=="string"&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let i=parseFloat(e.percent);return Number.isNaN(i)||i<0?i=0:i>100&&(i=100),i});return Ee({outerBarStyle:n,innerBarStyle:o,realPercent:r,currentPercent:t,strokeTimer:0,lastPercent:0})}function Bp(e,t){t.active?(e.currentPercent=t.activeMode===ar.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}const qA={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:""},_c={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};function VA(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,n){return be(_c,n)&&_c[n]?_c[n]:/^#[0-9]{1,4}$/.test(n)?String.fromCharCode(n.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(n)?String.fromCharCode(0+n.slice(1)):t})}function HA(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}function WA(e,t){if(pt(t)){for(const n in t)if(be(t,n)){const o=t[n];e==="img"&&n==="src"&&(t[n]=Kt(o))}}}const X_=(e,t,n)=>!n||ce(n)&&!n.length?[]:n.map(o=>{var r;if(pt(o)){if(!be(o,"type")||o.type==="node"){let s={[e]:""};const i=(r=o.name)==null?void 0:r.toLowerCase();return be(qA,i)?(WA(i,o.attrs),s=pe(s,HA(o,t),o.attrs),_n(o.name,s,X_(e,t,o.children))):void 0}if(o.type==="text"&&Se(o.text)&&o.text!=="")return Bt(VA(o.text||""))}});function jA(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function zA(e){return e.reduce(function(t,n){let o=n.value;const r=n.name;return o.match(/ /)&&["style","src"].indexOf(r)===-1&&(o=o.split(" ")),t[r]?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o,t},{})}function GA(e){e=jA(e);const t=[],n={children:[]};return XO(e,{start:function(o,r,s){const i={name:o};if(r.length!==0&&(i.attrs=zA(r)),s){const a=t[0]||n;a.children||(a.children=[]),a.children.push(i)}else t.unshift(i)},end:function(o){const r=t.shift();if(r.name,t.length===0)n.children.push(r);else{const s=t[0];s.children||(s.children=[]),s.children.push(r)}},chars:function(o){const r={type:"text",text:o};if(t.length===0)n.children.push(r);else{const s=t[0];s.children||(s.children=[]),s.children.push(r)}},comment:function(o){const r={node:"comment",text:o},s=t[0];s&&(s.children||(s.children=[]),s.children.push(r))}}),n.children}const KA={nodes:{type:[Array,String],default:function(){return[]}}},i4=gt({name:"RichText",compatConfig:{MODE:3},props:KA,emits:["itemclick"],setup(e,{emit:t}){const n=it(),o=n&&n.vnode.scopeId||"",r=q(null),s=q([]),i=so(r,t);function a(c,d={}){i("itemclick",c,d)}function l(){let c=e.nodes;Se(c)&&(c=GA(e.nodes)),s.value=X_(o,a,c)}return ne(()=>e.nodes,l,{immediate:!0,deep:!0}),()=>_n("uni-rich-text",{ref:r},_n("div",{},s.value))}}),YA=gt({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=q(null),o=Y(()=>{const s={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":s.height=e.refresherHeight+"px";break;case"refreshing":s.height=e.refresherThreshold+"px",s.transition="height 0.3s";break;case"":case"refresherabort":case"restore":s.height="0px",s.transition="height 0.3s";break}return s}),r=Y(()=>{const s=e.refresherHeight/e.refresherThreshold;return(s>1?1:s)*360});return()=>{const{refreshState:s,refresherDefaultStyle:i,refresherThreshold:a}=e;return L("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},[i!=="none"?L("div",{class:"uni-scroll-view-refresh"},[L("div",{class:"uni-scroll-view-refresh-inner"},[s=="pulling"?L("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[L("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),L("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,s=="refreshing"?L("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[L("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,i==="none"?L("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Fp=Hr(!0),XA={direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},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:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},a4=gt({name:"ScrollView",compatConfig:{MODE:3},props:XA,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=q(null),s=q(null),i=q(null),a=q(null),l=so(r,t),{state:c,scrollTopNumber:d,scrollLeftNumber:u}=JA(e),{realScrollX:f,realScrollY:h}=QA(e,c,d,u,l,r,s,a,t),_=Y(()=>{let m="";return f.value?m+="overflow-x:auto;":m+="overflow-x:hidden;",h.value?m+="overflow-y:auto;":m+="overflow-y:hidden;",m}),v=Y(()=>{let m="uni-scroll-view";return e.showScrollbar===!1&&(m+=" uni-scroll-view-scrollbar-hidden"),m});return o({$getMain(){return s.value}}),()=>{const{refresherEnabled:m,refresherBackground:y,refresherDefaultStyle:b,refresherThreshold:p}=e,{refresherHeight:g,refreshState:w}=c;return L("uni-scroll-view",{ref:r},[L("div",{ref:i,class:"uni-scroll-view"},[L("div",{ref:s,style:_.value,class:v.value},[m?L(YA,{refreshState:w,refresherHeight:g,refresherThreshold:p,refresherDefaultStyle:b,refresherBackground:y},{default:()=>[b=="none"?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,L("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function JA(e){const t=Y(()=>Number(e.scrollTop)||0),n=Y(()=>Number(e.scrollLeft)||0);return{state:Ee({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}function QA(e,t,n,o,r,s,i,a,l){let c=!1,d=0,u=!1,f=()=>{};const h=Y(()=>e.scrollX),_=Y(()=>e.scrollY),v=Y(()=>{let P=Number(e.upperThreshold);return isNaN(P)?50:P}),m=Y(()=>{let P=Number(e.lowerThreshold);return isNaN(P)?50:P});function y(P,I){const E=i.value;let N=0,J="";if(P<0?P=0:I==="x"&&P>E.scrollWidth-E.offsetWidth?P=E.scrollWidth-E.offsetWidth:I==="y"&&P>E.scrollHeight-E.offsetHeight&&(P=E.scrollHeight-E.offsetHeight),I==="x"?N=E.scrollLeft-P:I==="y"&&(N=E.scrollTop-P),N===0)return;let R=a.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",I==="x"?J="translateX("+N+"px) translateZ(0)":I==="y"&&(J="translateY("+N+"px) translateZ(0)"),R.removeEventListener("transitionend",f),R.removeEventListener("webkitTransitionEnd",f),f=()=>S(P,I),R.addEventListener("transitionend",f),R.addEventListener("webkitTransitionEnd",f),I==="x"?E.style.overflowX="hidden":I==="y"&&(E.style.overflowY="hidden"),R.style.transform=J,R.style.webkitTransform=J}function b(P){const I=P.target;r("scroll",P,{scrollLeft:I.scrollLeft,scrollTop:I.scrollTop,scrollHeight:I.scrollHeight,scrollWidth:I.scrollWidth,deltaX:t.lastScrollLeft-I.scrollLeft,deltaY:t.lastScrollTop-I.scrollTop}),_.value&&(I.scrollTop<=v.value&&t.lastScrollTop-I.scrollTop>0&&P.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",P,{direction:"top"}),t.lastScrollToUpperTime=P.timeStamp),I.scrollTop+I.offsetHeight+m.value>=I.scrollHeight&&t.lastScrollTop-I.scrollTop<0&&P.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",P,{direction:"bottom"}),t.lastScrollToLowerTime=P.timeStamp)),h.value&&(I.scrollLeft<=v.value&&t.lastScrollLeft-I.scrollLeft>0&&P.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",P,{direction:"left"}),t.lastScrollToUpperTime=P.timeStamp),I.scrollLeft+I.offsetWidth+m.value>=I.scrollWidth&&t.lastScrollLeft-I.scrollLeft<0&&P.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",P,{direction:"right"}),t.lastScrollToLowerTime=P.timeStamp)),t.lastScrollTop=I.scrollTop,t.lastScrollLeft=I.scrollLeft}function p(P){_.value&&(e.scrollWithAnimation?y(P,"y"):i.value.scrollTop=P)}function g(P){h.value&&(e.scrollWithAnimation?y(P,"x"):i.value.scrollLeft=P)}function w(P){if(P){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(P))return;let I=s.value.querySelector("#"+P);if(I){let E=i.value.getBoundingClientRect(),N=I.getBoundingClientRect();if(h.value){let J=N.left-E.left,W=i.value.scrollLeft+J;e.scrollWithAnimation?y(W,"x"):i.value.scrollLeft=W}if(_.value){let J=N.top-E.top,W=i.value.scrollTop+J;e.scrollWithAnimation?y(W,"y"):i.value.scrollTop=W}}}}function S(P,I){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let E=i.value;I==="x"?(E.style.overflowX=h.value?"auto":"hidden",E.scrollLeft=P):I==="y"&&(E.style.overflowY=_.value?"auto":"hidden",E.scrollTop=P),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function k(P){if(e.refresherEnabled){switch(P){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:O.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=d=0,P==="restore"&&(u=!1,r("refresherrestore",{},{dy:O.y-C.y})),P==="refresherabort"&&u&&(u=!1,r("refresherabort",{},{dy:O.y-C.y}));break}t.refreshState=P}}let C={x:0,y:0},O={y:e.refresherThreshold};return Be(()=>{st(()=>{p(n.value),g(o.value)}),w(e.scrollIntoView);let P=function(R){R.preventDefault(),R.stopPropagation(),b(R)},I=null,E=function(R){if(C===null)return;let W=R.touches[0].pageX,Z=R.touches[0].pageY,X=i.value;if(Math.abs(W-C.x)>Math.abs(Z-C.y))if(h.value){if(X.scrollLeft===0&&W>C.x){I=!1;return}else if(X.scrollWidth===X.offsetWidth+X.scrollLeft&&WC.y)I=!1,e.refresherEnabled&&R.cancelable!==!1&&R.preventDefault();else if(X.scrollHeight===X.offsetHeight+X.scrollTop&&Z0&&(u=!0,r("refresherpulling",R,{deltaY:$,dy:$})))}},N=function(R){R.touches.length===1&&(C={x:R.touches[0].pageX,y:R.touches[0].pageY})},J=function(R){O={x:R.changedTouches[0].pageX,y:R.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?k("refreshing"):k("refresherabort"),C={x:0,y:0},O={x:0,y:e.refresherThreshold}};i.value.addEventListener("touchstart",N,Fp),i.value.addEventListener("touchmove",E,Hr(!1)),i.value.addEventListener("scroll",P,Hr(!1)),i.value.addEventListener("touchend",J,Fp),xt(()=>{i.value.removeEventListener("touchstart",N),i.value.removeEventListener("touchmove",E),i.value.removeEventListener("scroll",P),i.value.removeEventListener("touchend",J)})}),_i(()=>{_.value&&(i.value.scrollTop=t.lastScrollTop),h.value&&(i.value.scrollLeft=t.lastScrollLeft)}),ne(n,P=>{p(P)}),ne(o,P=>{g(P)}),ne(()=>e.scrollIntoView,P=>{w(P)}),ne(()=>e.refresherTriggered,P=>{P===!0?k("refreshing"):P===!1&&k("restore")}),{realScrollX:h,realScrollY:_,_scrollTopChanged:p,_scrollLeftChanged:g}}const ZA={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)"}};function eL(e){const t=Y(()=>{const s=Number(e.interval);return isNaN(s)?5e3:s}),n=Y(()=>{const s=Number(e.duration);return isNaN(s)?500:s}),o=Y(()=>{const s=Math.round(e.displayMultipleItems);return isNaN(s)?1:s});return Ee({interval:t,duration:n,displayMultipleItems:o,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}function tL(e,t,n,o,r,s){function i(){a&&(clearTimeout(a),a=null)}let a=null,l=!0,c=0,d=1,u=null,f=!1,h=0,_,v="",m;const y=Y(()=>n.value.length>t.displayMultipleItems),b=Y(()=>e.circular&&y.value);function p(R){if(!l)for(let W=n.value,Z=W.length,X=R+t.displayMultipleItems,$=0;$=te.length&&(R-=te.length),R=_%1>.5||_<0?R-1:R,s("transition",{},{dx:e.vertical?0:R*$.offsetWidth,dy:e.vertical?R*$.offsetHeight:0})}function w(){u&&(g(u.toPos),u=null)}function S(R){const W=n.value.length;if(!W)return-1;const Z=(Math.round(R)%W+W)%W;if(b.value){if(W<=t.displayMultipleItems)return 0}else if(Z>W-t.displayMultipleItems)return W-t.displayMultipleItems;return Z}function k(){u=null}function C(){if(!u){f=!1;return}const R=u,W=R.toPos,Z=R.acc,X=R.endTime,$=R.source,te=X-Date.now();if(te<=0){g(W),u=null,f=!1,_=null;const G=n.value[t.current];if(G){const H=G.getItemId();s("animationfinish",{},{current:t.current,currentItemId:H,source:$})}return}const U=Z*te*te/2,K=W+U;g(K),m=requestAnimationFrame(C)}function O(R,W,Z){k();const X=t.duration,$=n.value.length;let te=c;if(b.value)if(Z<0){for(;teR;)te-=$}else if(Z>0){for(;te>R;)te-=$;for(;te+$R;)te-=$;te+$-R0&&d<1||(d=1)}const Z=c;c=-2;const X=t.current;X>=0?(l=!1,t.userTracking?(g(Z+X-h),h=X):(g(X),e.autoplay&&P())):(l=!0,g(-t.displayMultipleItems-1))}ne([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let R=-1;if(e.currentItemId){for(let W=0,Z=n.value;We.vertical,()=>b.value,()=>t.displayMultipleItems,()=>[...n.value]],I),ne(()=>t.interval,()=>{a&&(i(),P())});function E(R,W){const Z=v;v="";const X=n.value;if(!Z){const te=X.length;O(R,"",b.value&&W+(te-R)%te>te/2?1:0)}const $=X[R];if($){const te=t.currentItemId=$.getItemId();s("change",{},{current:t.current,currentItemId:te,source:Z})}}ne(()=>t.current,(R,W)=>{E(R,W),r("update:current",R)}),ne(()=>t.currentItemId,R=>{r("update:currentItemId",R)});function N(R){R?P():i()}ne(()=>e.autoplay&&!t.userTracking,N),N(e.autoplay&&!t.userTracking),Be(()=>{let R=!1,W=0,Z=0;function X(){i(),h=c,W=0,Z=Date.now(),k()}function $(U){const K=Z;Z=Date.now();const H=n.value.length-t.displayMultipleItems;function tt(oe){return .5-.25/(oe+.5)}function je(oe,de){let A=h+oe;W=.6*W+.4*de,b.value||(A<0||A>H)&&(A<0?A=-tt(-A):A>H&&(A=H+tt(A-H)),W=0),g(A)}const j=Z-K||1,re=o.value;e.vertical?je(-U.dy/re.offsetHeight,-U.ddy/j):je(-U.dx/re.offsetWidth,-U.ddx/j)}function te(U){t.userTracking=!1;const K=W/Math.abs(W);let G=0;!U&&Math.abs(W)>.2&&(G=.5*K);const H=S(c+G);U?g(h):(v="touch",t.current=H,O(H,"touch",G!==0?G:H===0&&b.value&&c>=1?1:0))}Kd(o.value,U=>{if(!e.disableTouch&&!l){if(U.detail.state==="start")return t.userTracking=!0,R=!1,X();if(U.detail.state==="end")return te(!1);if(U.detail.state==="cancel")return te(!0);if(t.userTracking){if(!R){R=!0;const K=Math.abs(U.detail.dx),G=Math.abs(U.detail.dy);if((K>=G&&e.vertical||K<=G&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&P();return}}return $(U.detail),!1}}})}),An(()=>{i(),cancelAnimationFrame(m)});function J(R){O(t.current=R,v="click",b.value?1:0)}return{onSwiperDotClick:J,circularEnabled:b,swiperEnabled:y}}const nL=gt({name:"Swiper",props:ZA,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=q(null),r=so(o,n),s=q(null),i=q(null),a=eL(e),l=Y(()=>{let g={};return(e.nextMargin||e.previousMargin)&&(g=e.vertical?{left:0,right:0,top:Es(e.previousMargin,!0),bottom:Es(e.nextMargin,!0)}:{top:0,bottom:0,left:Es(e.previousMargin,!0),right:Es(e.nextMargin,!0)}),g}),c=Y(()=>{const g=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":g,height:e.vertical?g:"100%"}});let d=[];const u=[],f=q([]);function h(){const g=[];for(let w=0;wS===C.rootRef.value);k&&g.push($o(k))}f.value=g}_t("addSwiperContext",function(g){u.push(g),h()}),_t("removeSwiperContext",function(g){const w=u.indexOf(g);w>=0&&(u.splice(w,1),h())});const{onSwiperDotClick:m,circularEnabled:y,swiperEnabled:b}=tL(e,a,f,i,n,r);let p=()=>null;return p=oL(o,e,a,m,f,y,b),()=>{const g=t.default&&t.default();return d=Jr(g),L("uni-swiper",{ref:o},[L("div",{ref:s,class:"uni-swiper-wrapper"},[L("div",{class:"uni-swiper-slides",style:l.value},[L("div",{ref:i,class:"uni-swiper-slide-frame",style:c.value},[g],4)],4),e.indicatorDots&&L("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((w,S,k)=>L("div",{onClick:()=>m(S),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":S=a.current||S{let a=!1,l=!1,c=!1,d=q(!1);On(()=>{a=t.navigation==="auto",d.value=t.navigation!==!0||a,b()}),On(()=>{const g=r.value.length,w=!s.value;l=n.current===0&&w,c=n.current===g-1&&w||w&&n.current+n.displayMultipleItems>=g,i.value||(l=!0,c=!0,a&&(d.value=!0))});function u(g,w){const S=g.currentTarget;S&&(S.style.backgroundColor=w==="over"?t.navigationActiveColor:"")}const f={onMouseover:g=>u(g,"over"),onMouseout:g=>u(g,"out")};function h(g,w,S){if(g.stopPropagation(),S)return;const k=r.value.length;let C=n.current;switch(w){case"prev":C--,C<0&&s.value&&(C=k-1);break;case"next":C++,C>=k&&s.value&&(C=0);break}o(C)}const _=()=>gr(qa,t.navigationColor,26);let v;const m=g=>{clearTimeout(v);const{clientX:w,clientY:S}=g,{left:k,right:C,top:O,bottom:P,width:I,height:E}=e.value.getBoundingClientRect();let N=!1;if(t.vertical?N=!(S-O{d.value=N},300);d.value=N},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",m),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",m),e.value.addEventListener("mouseleave",y)))}Be(b);function p(){const g={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?L(ot,null,[L("div",At({class:["uni-swiper-navigation uni-swiper-navigation-prev",pe({"uni-swiper-navigation-disabled":l},g)],onClick:w=>h(w,"prev",l)},f),[_()],16,["onClick"]),L("div",At({class:["uni-swiper-navigation uni-swiper-navigation-next",pe({"uni-swiper-navigation-disabled":c},g)],onClick:w=>h(w,"next",c)},f),[_()],16,["onClick"])]):null}return p},rL={itemId:{type:String,default:""}},sL=gt({name:"SwiperItem",props:rL,setup(e,{slots:t}){const n=q(null),o={rootRef:n,getItemId(){return e.itemId},getBoundingClientRect(){return n.value.getBoundingClientRect()},updatePosition(r,s){const i=s?"0":100*r+"%",a=s?100*r+"%":"0",l=n.value,c=`translate(${i},${a}) translateZ(0)`;l&&(l.style.webkitTransform=c,l.style.transform=c)}};return Be(()=>{const r=$e("addSwiperContext");r&&r(o)}),An(()=>{const r=$e("removeSwiperContext");r&&r(o)}),()=>L("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),vs={ensp:" ",emsp:" ",nbsp:" "};function iL(e,{space:t,decode:n}){let o="",r=!1;for(let s of e)t&&vs[t]&&s===" "&&(s=vs[t]),r?(s==="n"?o+=ll:s==="\\"?o+="\\":o+="\\"+s,r=!1):s==="\\"?r=!0:o+=s;return n?o.replace(/ /g,vs.nbsp).replace(/ /g,vs.ensp).replace(/ /g,vs.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}function aL(e,t){return iL(e,t).split(ll)}const J_=gt({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=q(null);return()=>{const o=[];return t.default&&t.default().forEach(r=>{if(r.shapeFlag&8&&r.type!==Gt){const s=aL(r.children,{space:e.space,decode:e.decode}),i=s.length-1;s.forEach((a,l)=>{l===0&&!a||o.push(Bt(a)),l!==i&&o.push(L("br"))})}else o.push(r)}),L("uni-text",{ref:n,selectable:e.selectable?!0:null},[L("span",null,o)],8,["selectable"])}}}),lL=pe({},U_,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator(e){return Q_.concat("return").includes(e)}}});let Ou=!1;const Q_=["done","go","next","search","send"];function cL(){const e="(prefers-color-scheme: dark)";Ou=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}const l4=gt({name:"Textarea",props:lL,emits:["confirm","change","linechange",...q_],setup(e,{emit:t,expose:n}){const o=q(null),r=q(null),{fieldRef:s,state:i,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=V_(e,o,t),d=Y(()=>i.value.split(ll)),u=Y(()=>Q_.includes(e.confirmType)),f=q(0),h=q(null);ne(()=>f.value,p=>{const g=o.value,w=h.value,S=r.value;let k=parseFloat(getComputedStyle(g).lineHeight);isNaN(k)&&(k=w.offsetHeight);var C=Math.round(p/k);c("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:C}),e.autoHeight&&(S.style.height=p+"px")});function _({height:p}){f.value=p}function v(p){}function m(p){c("confirm",p,{value:i.value})}function y(p){p.key==="Enter"&&u.value&&p.preventDefault()}function b(p){if(p.key==="Enter"&&u.value){m(p);const g=p.target;!e.confirmHold&&g.blur()}}return cL(),n({$triggerInput:p=>{t("update:modelValue",p.value),t("update:value",p.value),i.value=p.value}}),()=>{let p=e.disabled&&l?L("textarea",{key:"disabled-textarea",ref:s,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Ou},style:se({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onFocus:g=>g.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):L("textarea",{key:"textarea",ref:s,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Ou},style:se({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onKeydown:y,onKeyup:b,onChange:v},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return L("uni-textarea",{ref:o,"auto-height":e.autoHeight},[L("div",{ref:r,class:"uni-textarea-wrapper"},[tn(L("div",At(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[nn,!i.value.length]]),L("div",{ref:h,class:"uni-textarea-line"},[" "],512),L("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[d.value.map(g=>L("div",null,[g.trim()?g:"."])),L(zo,{initial:!0,onResize:_},null,8,["initial","onResize"])],2),e.confirmType==="search"?L("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[p],40,["onSubmit"]):p],512)],8,["auto-height"])}}}),Jt=gt({name:"View",props:pe({},Jx),setup(e,{slots:t}){const n=q(null),{hovering:o,binding:r}=Qv(e);return()=>{const s=e.hoverClass;return s&&s!=="none"?L("uni-view",At({class:o.value?s:"",ref:n},r),[at(t,"default")],16):L("uni-view",{ref:n},[at(t,"default")],512)}}});function Xi(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Up(e,t,n){e&&Bv(n||Si(),e,({type:o,data:r},s)=>{t(o,r,s)})}function qp(e,t){e&&Fk(t||Si(),e)}function Z_(e,t,n,o){const s=it().proxy;o=o==null?kl():o,Be(()=>{Up(t||Xi(s),e,o),ne(()=>s.id,(i,a)=>{Up(Xi(s,i),e,o),qp(a&&Xi(s,a))})}),xt(()=>{qp(t||Xi(s),o)})}let uL=0;function e0(e){const t=kl(),o=it().proxy,r=o.$options.name.toLowerCase(),s=e||o.id||`context${uL++}`;return Be(()=>{const i=o.$el;i.__uniContextInfo={id:s,type:r,page:t}}),`${r}.${s}`}function dL(e){return e.__uniContextInfo}function Vp(e,t,n,o){le(t)&&Vo(e,t.bind(n),o)}function fL(e,t,n){const o=e.mpType||n.$mpType;if(!(!o||o==="component"||o==="page"&&t.renderer==="component")&&(Object.keys(e).forEach(r=>{if(NS(r,e[r],!1)){const s=e[r];ce(s)?s.forEach(i=>Vp(r,i,n,t)):Vp(r,s,n,t)}}),o==="page")){t.__isVisible=!0;try{let r=t.attrs.__pageQuery;qt(n,ss,r),t.vapor||delete t.attrs.__pageQuery;const s=n.$page;(s==null?void 0:s.openType)!=="preloadPage"&&qt(n,Zn)}catch(r){}}}function hL(e,t,n){fL(e,t,n)}function pL(e,t,n){return e[t]=n}function gL(e,...t){const n=this[e];return n?n(...t):null}function mL(e){const t=e.config.errorHandler;return function(o,r,s){t&&t(o,r,s);const i=e._instance;if(!i||!i.proxy)throw o;i[Ys]?qt(i.proxy,Ys,o):(r&&r.$.vnode,void 0)}}function yL(e,t){return e?[...new Set([].concat(e,t))]:t}function vL(e){py.forEach(t=>{e[t]=yL})}let Au;const Ji="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_L=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;typeof atob!="function"?Au=function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!_L.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");e+="==".slice(2-(e.length&3));for(var t,n="",o,r,s=0;s>16&255):r===64?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,t&255);return n}:Au=atob;function bL(e){return decodeURIComponent(Au(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function bc(){const e=ht("uni_id_token")||"",t=e.split(".");if(!e||t.length!==3)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse(bL(t[1]))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}return n.tokenExpired=n.exp*1e3,delete n.exp,delete n.iat,n}function wL(e){e.uniIDHasRole=function(t){const{role:n}=bc();return n.indexOf(t)>-1},e.uniIDHasPermission=function(t){const{permission:n}=bc();return this.uniIDHasRole("admin")||n.indexOf(t)>-1},e.uniIDTokenValid=function(){const{tokenExpired:t}=bc();return t>Date.now()}}function SL(e){const t=e.config;t.errorHandler=FS(e,mL),vL(t.optionMergeStrategies);const n=t.globalProperties;wL(n),n.$set=pL,n.$applyOptions=hL,n.$callMethod=gL,BS(e)}function TL(e){const t=ik(PL());t.beforeEach((n,o)=>{n&&o&&n.meta.isTabBar&&o.meta.isTabBar&&kL(o.meta.tabBarIndex)}),e.router=t,e.use(t)}let t0=Object.create(null);function CL(e){return t0[e]}function kL(e){typeof window!="undefined"&&(t0[e]={left:window.pageXOffset,top:window.pageYOffset})}const xL=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const o=CL(e.meta.tabBarIndex);if(o)return o}return{left:0,top:0}};function PL(){return{history:IL(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:xL}}function EL(e=1){const t=xi(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const s=_r(t[r]);Rl(Ml(s.path,s.id),!1)}}function IL(){let{routerBase:e}=__uniConfig.router;e==="/"&&(e="");const t=N1(e);return t.listen((n,o,r)=>{r.direction==="back"&&EL(Math.abs(r.delta))}),t}const OL={install(e){SL(e),Px(e),Wx(e),e.config.warnHandler||(e.config.warnHandler=AL),TL(e)}};function AL(e,t,n){if(t){if(t.$.type.name==="PageMetaHead")return;const s=t.$.parent;if(s&&s.type.name==="PageMeta")return}const o=[`[Vue warn]: ${e}`];n.length&&o.push(` `,n)}const LL={class:"uni-async-loading"},RL=L("i",{class:"uni-loading"},null,-1),wc=zn({name:"AsyncLoading",render(){return ge(),ve("div",LL,[RL])}});function ML(){window.location.reload()}const Sc=zn({name:"AsyncError",props:["error"],setup(){Pk();const{t:e}=ke();return()=>L("div",{class:"uni-async-error",onClick:ML},[e("uni.async.error")],8,["onClick"])}});let xr;function Pe(){return xr}function DL(e){xr=e,Object.defineProperty(xr.$.ctx,"$children",{get(){return xi().map(n=>n.$vm)}});const t=xr.$.appContext.app;t.component(wc.name)||t.component(wc.name,wc),t.component(Sc.name)||t.component(Sc.name,Sc),Ux(xr),jx(xr),Fx(),fx()}function Hp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=pe({},e)),r&&r(e);const s=e.setup;return e.setup=(i,a)=>{const l=it();if(n(l.proxy),o(l),s)return s(i,a)},e}function n0(e,t){return e&&(e.__esModule||e[Symbol.toStringTag]==="Module")?Hp(e.default,t):Hp(e,t)}function qe(e){return n0(e,{clone:!0,init:tO,setup(t){t.$pageInstance=t;const n=Ti(),o=dy(n.query);t.attrs.__pageQuery=o,_r(t.proxy).options=o,t.proxy.options=o;const r=qd();T_(r),t.onReachBottom=Ee([]),t.onPageScroll=Ee([]),ne([t.onReachBottom,t.onPageScroll],()=>{const i=vr();t.proxy===i&&x_(t,r)},{once:!0}),Ho(()=>{yp(t,r)}),Be(()=>{iO(t);const{onReady:i}=t;i&&sn(i),Wp(n)}),DT(()=>{if(!t.__isVisible){yp(t,r),t.__isVisible=!0;const{onShow:i}=t;i&&sn(i),st(()=>{Wp(n)})}}),NT(()=>{if(t.__isVisible&&!t.__isUnload){t.__isVisible=!1;{const{onHide:i}=t;i&&sn(i)}}});const s=Bs(t.proxy);return $k(s),xt(()=>{Bk(s)}),o}})}function NL(e){return n0(e,{init:DL,setup(t){const n=Ti(),o=()=>{gE(t);const{onLaunch:r,onShow:s,onPageNotFound:i}=t,a=n.path.slice(1),l=OO({path:a||__uniRoutes[0].meta.route,query:dy(n.query)});if(r&&sn(r,l),s&&sn(s,l),!n.matched.length){const c={notFound:!0,openType:"appLaunch",path:n.path,query:{},scene:1001};__(),i&&sn(i,c)}};return lk().isReady().then(o),Be(()=>{window.addEventListener("resize",fy($L,50,{setTimeout,clearTimeout})),window.addEventListener("message",BL),document.addEventListener("visibilitychange",FL),UL()}),n.query},before(t){t.mpType="app";const{setup:n}=t,o=()=>(ge(),ve(TM));t.setup=(r,s)=>{const i=n&&n(r,s);return le(i)?o:i},t.render=o}})}function $L(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=jn(),s=Math.abs(Number(window.orientation))===90?"landscape":"portrait";et.emit(ul,{deviceOrientation:s,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function BL(e){pt(e.data)&&e.data.type===uS&&et.emit(ay,e.data.data,e.data.pageId)}function FL(){const{emit:e}=et;document.visibilityState==="visible"?e(sy,EO()):e(iy)}function UL(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=n=>{et.emit(cl,{theme:n.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}function Wp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&qt("onTabItemTap",{index:n,text:t,pagePath:o})}function Qi(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,s=(n<10?"0":"")+n,i=(o<10?"0":"")+o;let a=s+":"+i;return r!=="00"&&(a=r+":"+a),a}function qL(e,t,n){const o=Ee({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let s=null;const i=()=>{o.gestureType!=="none"&&s!=null||(s=setTimeout(()=>{o.toastThin=!0},500))};let a;function l(){a==null&&(a=setTimeout(()=>{o.toastThin=!1,a=void 0},1e3))}function c(){clearTimeout(a),a=void 0}function d(v){const m=v.targetTouches[0];r.x=m.pageX,r.y=m.pageY,o.gestureType="none",o.volumeOld=0}function u(v){function m(){v.stopPropagation(),v.preventDefault()}n.fullscreen&&m();const y=o.gestureType;if(y==="stop")return;const b=v.targetTouches[0],p=b.pageX,g=b.pageY,w=r,S=t.value;if(y==="progress"?(h(p-w.x),o.seeking=!0):y==="volume"&&_(g-w.y),y==="none")if(Math.abs(p-w.x)>Math.abs(g-w.y)){if(!e.enableProgressGesture){o.gestureType="stop";return}o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=S.currentTime,n.fullscreen||m()}else{if(!e.pageGesture&&!e.vslideGesture){o.gestureType="stop";return}i(),o.gestureType="volume",o.volumeOld=S.volume,n.fullscreen||m()}}function f(v){const m=t.value;o.gestureType!=="none"&&o.gestureType!=="stop"&&(v.stopPropagation(),v.preventDefault()),o.gestureType==="progress"&&o.currentTimeOld!==o.currentTimeNew&&(m.currentTime=o.currentTimeNew),o.gestureType="none"}function h(v){const y=t.value.duration;let b=v/600*y+o.currentTimeOld;b<0?b=0:b>y&&(b=y),o.currentTimeNew=b}function _(v){const m=t.value,y=o.volumeOld;let b;typeof y=="number"&&(b=y-v/200,b<0?b=0:b>1&&(b=1),c(),l(),m.volume=b,o.volumeNew=b)}return{state:o,onTouchstart:d,onTouchmove:u,onTouchend:f}}function VL(e,t,n,o,r){const s=Ee({fullscreen:!1}),i=/^Apple/.test(navigator.vendor);function a(f,h){h&&document.fullscreenEnabled||l(!!(document.fullscreenElement||document.webkitFullscreenElement))}function l(f){s.fullscreen=f,e("fullscreenchange",{},{fullScreen:f,direction:"vertical"})}function c(f){const h=r.value,_=t.value,v=n.value;let m;f?(document.fullscreenEnabled||document.webkitFullscreenEnabled)&&(!i||o.userAction)?_[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():v.webkitEnterFullScreen?v.webkitEnterFullScreen():(m=!0,_.remove(),_.classList.add("uni-video-type-fullscreen"),document.body.appendChild(_)):document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():v.webkitExitFullScreen?v.webkitExitFullScreen():(m=!0,_.remove(),_.classList.remove("uni-video-type-fullscreen"),h.appendChild(_)),m&&l(f)}function d(){c(!0)}function u(){c(!1)}return xt(u),{state:s,onFullscreenChange:a,emitFullscreenChange:l,toggleFullscreen:c,requestFullScreen:d,exitFullScreen:u}}function HL(e,t,n){const o=q(null),r=Y(()=>Kt(e.src)),s=Y(()=>e.muted==="true"||e.muted===!0),i=Ee({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:s,pauseUpdatingCurrentTime:!1});ne(()=>r.value,()=>{i.playing=!1,i.currentTime=0}),ne(()=>i.buffered,S=>{n("progress",{},{buffered:S})}),ne(()=>s.value,S=>{const k=o.value;k.muted=S});function a({target:S}){i.duration=S.duration}function l(S){const k=Number(e.initialTime)||0,C=S.target;k>0&&(C.currentTime=k),n("loadedmetadata",S,{width:C.videoWidth,height:C.videoHeight,duration:C.duration}),c(S)}function c(S){const k=S.target,C=k.buffered;C.length&&(i.buffered=C.end(C.length-1)/k.duration*100)}function d(S){n("waiting",S,{})}function u(S){i.playing=!1,n("error",S,{})}function f(S){i.start=!0,i.playing=!0,n("play",S,{})}function h(S){i.playing=!1,n("pause",S,{})}function _(S){i.playing=!1,n("ended",S,{})}function v(S){const k=S.target;i.pauseUpdatingCurrentTime||(i.currentTime=k.currentTime);const C=k.currentTime;n("timeupdate",S,{currentTime:C,duration:k.duration})}function m(){const S=o.value;i.playing?S.pause():S.play()}function y(){const S=o.value;i.start=!0,S.play()}function b(){o.value.pause()}function p(S){const k=o.value;S=Number(S),typeof S=="number"&&!isNaN(S)&&(k.currentTime=S)}function g(){p(0),b()}function w(S){const k=o.value;k.playbackRate=S}return{videoRef:o,state:i,play:y,pause:b,stop:g,seek:p,playbackRate:w,toggle:m,onDurationChange:a,onLoadedMetadata:l,onProgress:c,onWaiting:d,onVideoError:u,onPlay:f,onPause:h,onEnded:_,onTimeUpdate:v}}function WL(e,t,n,o){const r=q(null),s=q(null),i=Y(()=>e.showCenterPlayBtn&&!t.start),a=q(!0),l=Y(()=>!i.value&&e.controls&&a.value),c=Ee({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:l,controlsVisible:a});function d(v){const m=r.value;let y=v.target,b=v.offsetX;for(;y&&y!==m;)b+=y.offsetLeft,y=y.parentNode;const p=m.offsetWidth;let g=0;b>=0&&b<=p&&(g=b/p,n(t.duration*g))}function u(){c.controlsVisible=!c.controlsVisible}let f;function h(){f=setTimeout(()=>{c.controlsVisible=!1},3e3)}function _(){f&&(clearTimeout(f),f=null)}return xt(()=>{f&&clearTimeout(f)}),ne(()=>c.controlsShow&&t.playing&&!c.controlsTouching,v=>{v?h():_()}),Be(()=>{const v=Hr(!1);let m,y,b=!0,p;const g=s.value;function w(k){const C=k.targetTouches[0],O=C.pageX,P=C.pageY;if(b&&Math.abs(O-m)100&&(N=100),t.progress=N,o==null||o(t.duration*N/100),c.seeking=!0,k.preventDefault(),k.stopPropagation()}function S(k){c.controlsTouching=!1,c.touching&&(g.removeEventListener("touchmove",w,v),b||(k.preventDefault(),k.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}g.addEventListener("touchstart",k=>{c.controlsTouching=!0;const C=k.targetTouches[0];m=C.pageX,y=C.pageY,p=t.progress,b=!0,c.touching=!0,g.addEventListener("touchmove",w,v)}),g.addEventListener("touchend",S),g.addEventListener("touchcancel",S)}),{state:c,progressRef:r,ballRef:s,clickProgress:d,toggleControls:u,autoHideStart:h,autoHideEnd:_}}function jL(e,t){const n=q(null),o=Ee({enable:!!e.enableDanmu});let r={time:0,index:-1};const s=ce(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];s.sort(function(d,u){return(d.time||0)-(u.time||0)});function i(){o.enable=!o.enable}function a(d){const f=d.target.currentTime,h=r,_={time:f,index:h.index};if(f>h.time)for(let v=h.index+1;v=(m.time||0))_.index=v,t.playing&&o.enable&&l(m);else break}else if(f-1;v--){const m=s[v];if(f<=(m.time||0))_.index=v-1;else break}r=_}function l(d){const u=document.createElement("p");u.className="uni-video-danmu-item",u.innerText=d.text;let f=`bottom: ${Math.random()*100}%;color: ${d.color};`;u.setAttribute("style",f),n.value.appendChild(u),setTimeout(function(){f+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",u.setAttribute("style",f),setTimeout(function(){u.remove()},4e3)},17)}function c(d){s.splice(r.index+1,0,{text:String(d.text),color:d.color,time:t.currentTime||0})}return{state:o,danmuRef:n,updateDanmu:a,toggleDanmu:i,sendDanmu:c}}function zL(e,t,n,o,r,s,i,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:s,requestFullScreen:i,exitFullScreen:a},c=e0();Z_((d,u)=>{let f;switch(d){case"seek":f=u.position;break;case"sendDanmu":f=u;break;case"playbackRate":f=u.rate;break}d in l&&l[d](f)},c)}function GL(e,t,n,o,r){const s=Y(()=>t.gestureType==="progress"||n.touching);return ne(s,i=>{e.pauseUpdatingCurrentTime=i,n.controlsTouching=i,t.gestureType==="progress"&&i&&(n.controlsVisible=i)}),ne([()=>e.currentTime,()=>{o0.duration}],()=>{e.progress=e.currentTime/e.duration*100}),ne(()=>t.currentTimeNew,i=>{e.currentTime=i}),s}const o0={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},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},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},c4=gt({name:"Video",props:o0,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=q(null),s=q(null),i=so(r,t),{state:a}=B_(),{$attrs:l}=Dl({excludeListeners:!0});ke(),Lk();const{videoRef:c,state:d,play:u,pause:f,stop:h,seek:_,playbackRate:v,toggle:m,onDurationChange:y,onLoadedMetadata:b,onProgress:p,onWaiting:g,onVideoError:w,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:O}=HL(e,n,i),{state:P,danmuRef:I,updateDanmu:E,toggleDanmu:N,sendDanmu:J}=jL(e,d),{state:R,onFullscreenChange:W,emitFullscreenChange:Z,toggleFullscreen:X,requestFullScreen:$,exitFullScreen:te}=VL(i,s,c,a,r),{state:U,onTouchstart:K,onTouchend:G,onTouchmove:H}=qL(e,c,R),{state:tt,progressRef:je,ballRef:j,clickProgress:re,toggleControls:oe}=WL(e,d,_,A=>{U.currentTimeNew=A});zL(u,f,h,_,J,v,$,te);const de=GL(d,U,tt);return()=>L("uni-video",{ref:r,id:e.id,onClick:oe},[L("div",{ref:s,class:"uni-video-container",onTouchstart:K,onTouchend:G,onTouchmove:H,onFullscreenchange:$t(W,["stop"]),onWebkitfullscreenchange:$t(A=>W(A,!0),["stop"])},[L("video",At({ref:c,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,onDurationchange:y,onLoadedmetadata:b,onProgress:p,onWaiting:g,onError:w,onPlay:S,onPause:k,onEnded:C,onTimeupdate:A=>{O(A),E(A)},onWebkitbeginfullscreen:()=>Z(!0),onX5videoenterfullscreen:()=>Z(!0),onWebkitendfullscreen:()=>Z(!1),onX5videoexitfullscreen:()=>Z(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),tn(L("div",{class:"uni-video-bar uni-video-bar-full",onClick:$t(()=>{},["stop"])},[L("div",{class:"uni-video-controls"},[tn(L("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:$t(m,["stop"])},null,10,["onClick"]),[[nn,e.showPlayBtn]]),tn(L("div",{class:"uni-video-current-time"},[Qi(d.currentTime)],512),[[nn,e.showProgress]]),tn(L("div",{ref:je,class:"uni-video-progress-container",onClick:$t(re,["stop"])},[L("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":de.value}},[L("div",{style:{width:d.buffered-d.progress+"%",left:d.progress+"%"},class:"uni-video-progress-buffered"},null,4),L("div",{style:{width:d.progress+"%"},class:"uni-video-progress-played"},null,4),L("div",{ref:j,style:{left:d.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":de.value}},[L("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[nn,e.showProgress]]),tn(L("div",{class:"uni-video-duration"},[Qi(Number(e.duration)||d.duration)],512),[[nn,e.showProgress]])]),tn(L("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":P.enable},onClick:$t(N,["stop"])},null,10,["onClick"]),[[nn,e.danmuBtn]]),tn(L("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":R.fullscreen},onClick:$t(()=>X(!R.fullscreen),["stop"])},null,10,["onClick"]),[[nn,e.showFullscreenBtn]])],8,["onClick"]),[[nn,tt.controlsShow]]),tn(L("div",{ref:I,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[nn,d.start&&P.enable]]),tt.centerPlayBtnShow&&L("div",{class:"uni-video-cover",onClick:$t(()=>{},["stop"])},[L("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:$t(u,["stop"])},null,8,["onClick"])],8,["onClick"]),L("div",{class:"uni-video-loading"},[U.gestureType==="volume"?L("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":U.toastThin},style:{marginTop:"5px"}},[!U.toastThin&&U.volumeNew>0&&U.gestureType==="volume"?L("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!U.toastThin&&L("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),L("div",{class:"uni-video-toast-draw",style:{width:`${U.volumeNew*100}%`}},null)],2):null]),L("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":de.value}},[L("div",{class:"uni-video-toast-title"},[L("span",{class:"uni-video-toast-title-current-time"},[Qi(U.currentTimeNew)])," / ",Number(e.duration)||Qi(d.duration)])],2),L("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),KL=({name:e,arg:t})=>{if(e!=="postMessage")switch(e){case"navigateTo":ef(t);break;case"navigateBack":Zd(t);break;case"switchTab":ki(t);break;case"reLaunch":Al(t);break;case"redirectTo":Ol(t);break}},YL=Vt(()=>et.on(ay,KL)),XL={src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},u4=gt({inheritAttrs:!1,name:"WebView",props:XL,emits:["load"],setup(e,{emit:t}){YL();const n=q(null),o=q(null),{$attrs:r,$excludeAttrs:s,$listeners:i}=Dl({excludeListeners:!0}),a=so(n,t);let l;return(()=>{const d=document.createElement("iframe");d.onload=function(u){a("load",u,{src:e.src})},On(()=>{for(const u in r.value)if(be(r.value,u)){const f=r.value[u];d[u]=f}}),On(()=>{d.src=Kt(e.src)}),o.value=d,l=JL(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(d)})(),Be(()=>{var d;l(),!e.fullscreen&&((d=n.value)==null||d.appendChild(o.value))}),_i(()=>{e.fullscreen&&(o.value.style.display="block")}),kd(()=>{e.fullscreen&&(o.value.style.display="none")}),xt(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>L(ot,null,[L("uni-web-view",At({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,s.value,{ref:n}),[L(zo,{onResize:l},null,8,["onResize"])],16)])}});function JL(e,t,n){return()=>{var r,s;if(n){const{top:i,left:a,width:l,height:c}=e.value.getBoundingClientRect();Kc(t.value,{position:"absolute",display:"block",border:"0",top:i+"px",left:a+"px",width:l+"px",height:c+"px"})}else Kc(t.value,{width:((r=e.value)==null?void 0:r.style.width)||"300px",height:((s=e.value)==null?void 0:s.style.height)||"150px"})}}let QL=0;function r0(e,t,n,o){var r=document.createElement("script"),s=t.callback||"callback",i="__uni_jsonp_callback_"+QL++,a=t.timeout||3e4,l;function c(){clearTimeout(l),delete window[i],r.remove()}window[i]=d=>{le(n)&&n(d),c()},r.onerror=()=>{le(o)&&o(),c()},l=setTimeout(function(){le(o)&&o(),c()},a),r.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+i,document.body.appendChild(r)}function jp(e){function t(){const l=this.div;this.getPanes().floatPane.appendChild(l)}function n(){const l=this.div.parentNode;l&&l.removeChild(this.div)}function o(){const l=this.option;this.Text=new e.Text({text:l.content,anchor:"bottom-center",offset:new e.Pixel(0,l.offsetY-16),style:{padding:(l.padding||8)+"px","line-height":(l.fontSize||14)+"px","border-radius":(l.borderRadius||0)+"px","border-color":`${l.bgColor||"#fff"} transparent transparent`,"background-color":l.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(l.fontSize||14)+"px",color:l.color||"#000"},position:l.position}),(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(l.map)}function r(){}function s(){this.Text&&this.option.map.remove(this.Text)}function i(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(c={},d){this.createAMapText=o,this.removeAMapText=s,this.createBMapText=r,this.removeBMapText=i,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=c||{};const u=this.visible=this.alwaysVisible=c.display==="ALWAYS";if(Ur())this.callback=d,this.visible&&this.createAMapText();else if(Vs())this.visible&&this.createBMapText();else{const f=c.map;this.position=c.position,this.index=1;const h=this.div=document.createElement("div"),_=h.style;_.position="absolute",_.whiteSpace="nowrap",_.transform="translateX(-50%) translateY(-100%)",_.zIndex="1",_.boxShadow=c.boxShadow||"none",_.display=u?"block":"none";const v=this.triangle=document.createElement("div");v.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(c),h.appendChild(v),f&&this.setMap(f)}}set onclick(c){this.div.onclick=c}get onclick(){return this.div.onclick}setOption(c){this.option=c,c.display==="ALWAYS"?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,Ur()?this.visible&&this.createAMapText():Vs()?this.visible&&this.createBMapText():(this.setPosition(c.position),this.setStyle(c))}setStyle(c){const d=this.div,u=d.style;d.innerText=c.content||"",u.lineHeight=(c.fontSize||14)+"px",u.fontSize=(c.fontSize||14)+"px",u.padding=(c.padding||8)+"px",u.color=c.color||"#000",u.borderRadius=(c.borderRadius||0)+"px",u.backgroundColor=c.bgColor||"#fff",u.marginTop="-"+((c.top||0)+5)+"px",this.triangle.style.borderColor=`${c.bgColor||"#fff"} transparent transparent`}setPosition(c){this.position=c,this.draw()}draw(){const c=this.getProjection();if(!this.position||!this.div||!c)return;const d=c.fromLatLngToDivPixel(this.position),u=this.div.style;u.left=d.x+"px",u.top=d.y+"px"}changed(){const c=this.div.style;c.display=this.visible?"block":"none"}}if(!Ur()&&!Vs()){const l=new(e.OverlayView||e.Overlay);a.prototype.setMap=l.setMap,a.prototype.getMap=l.getMap,a.prototype.getPanes=l.getPanes,a.prototype.getProjection=l.getProjection,a.prototype.map_changed=l.map_changed,a.prototype.set=l.set,a.prototype.get=l.get,a.prototype.setOptions=l.setValues,a.prototype.bindTo=l.bindTo,a.prototype.bindsTo=l.bindsTo,a.prototype.notify=l.notify,a.prototype.setValues=l.setValues,a.prototype.unbind=l.unbind,a.prototype.unbindAll=l.unbindAll,a.prototype.addListener=l.addListener}return a}let Sn;const zp={},ZL="__map_callback__";function s0(e,t){const n=Ei();if(!n.key)return;const o=zp[n.type]=zp[n.type]||[];if(Sn)t(Sn);else if(window[n.type]&&window[n.type].maps)Sn=Ur()||Vs()?window[n.type]:window[n.type].maps,Sn.Callout=Sn.Callout||jp(Sn),t(Sn);else if(o.length)o.push(t);else{o.push(t);const r=window,s=ZL+n.type;r[s]=function(){delete r[s],Sn=Ur()||Vs()?window[n.type]:window[n.type].maps,Sn.Callout=jp(Sn),o.forEach(l=>l(Sn)),o.length=0},Ur()&&tR(n);const i=document.createElement("script");let a=eR(n.type);n.type===Fr.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Fr.BMAP?i.src=`${a}ak=${n.key}&callback=${s}`:i.src=`${a}key=${n.key}&callback=${s}`,i.onerror=function(){},document.body.appendChild(i)}}const eR=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"})[e];function tR(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}var Fr=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Fr||{});function Ei(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let Gp=!1,Kp=!1;const Ur=()=>Kp?Gp:(Kp=!0,Gp=Ei().type==="AMap"),Vs=()=>Ei().type==="BMapGL";function nR(e,t,n){const o=Ei(),r=["google"];return e&&e.toUpperCase()==="WGS84"||r.includes(o.type)||n?Promise.resolve(t):o.type==="qq"?new Promise(s=>{r0(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},i=>{if("locations"in i&&i.locations.length){const{lng:a,lat:l}=i.locations[0];s({longitude:a,latitude:l,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else s(t)},()=>s(t))}):o.type==="AMap"?new Promise(s=>{s0([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(i,a)=>{if(a.info==="ok"&&a.locations.length){const{lat:l,lng:c}=a.locations[0];s({longitude:c,latitude:l,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else s(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))}const Yp="__DC_STAT_UUID",Xp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let wr;function oR(){if(wr=wr||Xp[Yp],!wr){wr=Date.now()+""+Math.floor(Math.random()*1e7);try{Xp[Yp]=wr}catch(e){}}return wr}function rR(){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 s=parseFloat(RegExp.$1);return s>6?s:6}else return n?-1:o?11:-1}function Nl(){if(__uniConfig.darkmode!==!0)return Se(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function sR(){let e,t="0",n="",o="phone";const r=navigator.language;if(E_){e="iOS";const u=Nt.match(/OS\s([\w_]+)\slike/);u&&(t=u[1].replace(/_/g,"."));const f=Nt.match(/\(([a-zA-Z]+);/);f&&(n=f[1])}else if(fO){e="Android";const u=Nt.match(/Android[\s/]([\w\.]+)[;\s]/);u&&(t=u[1]);const f=Nt.match(/\((.+?)\)/),h=f?f[1].split(";"):Nt.split(" "),_=[/\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 v=0;v0){n=m.split("Build")[0].trim();break}let y;for(let b=0;b<_.length;b++)if(_[b].test(m)){y=!0;break}if(!y){n=m.trim();break}}}else if(hO){if(n="iPad",e="iOS",o="pad",t=le(window.BigInt)?"14.0":"13.0",parseInt(t)===14){const u=Nt.match(/Version\/(\S*)\b/);u&&(t=u[1])}}else if(mc||Pu||_p){n="PC",e="PC",o="pc",t="0";let u=Nt.match(/\((.+?)\)/)[1];if(mc){switch(e="Windows",mc[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";break}const f=u&&u.match(/[Win|WOW]([\d]+)/);f&&(t+=` x${f[1]}`)}else if(Pu){e="macOS";const f=u&&u.match(/Mac OS X (.+)/)||"";t&&(t=f[1].replace(/_/g,"."),t.indexOf(";")!==-1&&(t=t.split(";")[0]))}else if(_p){e="Linux";const f=u&&u.match(/Linux (.*)/)||"";f&&(t=f[1],t.indexOf(";")!==-1&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const s=`${e} ${t}`,i=e.toLowerCase();let a="",l=String(rR());if(l!=="-1")a="IE";else{const u=["Version","Firefox","Chrome","Edge{0,1}"],f=["Safari","Firefox","Chrome","Edge"];for(let h=0;h{const e=window.devicePixelRatio,t=I_(),n=O_(t),o=A_(t,n),r=pO(t,n),s=L_(o);let i=window.innerHeight;const a=Tt.top,l={left:Tt.left,right:s-Tt.right,top:Tt.top,bottom:i-Tt.bottom,width:s-Tt.left-Tt.right,height:i-Tt.top-Tt.bottom},{top:c,bottom:d}=Vv();return i-=c,i-=d,{windowTop:c,windowBottom:d,windowWidth:s,windowHeight:i,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Tt.top,right:Tt.right,bottom:Tt.bottom,left:Tt.left},screenTop:r-i}});let $l,wa=!0;function Yd(){wa&&($l=sR())}const aR=ct("getDeviceInfo",()=>{Yd();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:s,deviceOrientation:i,deviceType:a,osname:l,osversion:c}=$l;return pe({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:oR(),deviceOrientation:i,deviceType:a,model:o,platform:r,system:s,osName:l?l.toLowerCase():void 0,osVersion:c})}),lR=ct("getAppBaseInfo",()=>{Yd();const{theme:e,language:t,browserName:n,browserVersion:o}=$l;return pe({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:no?no():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:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})}),jn=ct("getSystemInfoSync",()=>{wa=!0,Yd(),wa=!1;const e=iR(),t=aR(),n=lR();wa=!0;const{ua:o,browserName:r,browserVersion:s,osname:i,osversion:a}=$l,l=pe(e,t,n,{ua:o,browserName:r,browserVersion:s,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:i.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,vS(l)}),cR=Ge("getSystemInfo",(e,{resolve:t})=>t(jn()));function uR(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const dR=Ge("getNetworkType",(e,{resolve:t})=>{const n=uR();let o="unknown";return n?(o=n.type,o==="cellular"&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):navigator.onLine===!1&&(o="none"),t({networkType:o})});var fR=(e,t,n)=>new Promise((o,r)=>{var s=l=>{try{a(n.next(l))}catch(c){r(c)}},i=l=>{try{a(n.throw(l))}catch(c){r(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,i);a((n=n.apply(e,t)).next())});const hR=Ge(CE,(e,t)=>fR(void 0,[e,t],function*({data:n},{resolve:o,reject:r}){try{yield navigator.clipboard.writeText(n),o()}catch(s){pR(n,o,r)}}),xE,kE);function pR(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const s=document.execCommand("Copy",!1);r.blur(),s?t():n()}function gR(e){const t=["object","string","number","boolean","undefined"];try{const n=Se(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const r=Object.keys(n);if(r.length===2&&"data"in n){if(typeof n.data===o)return n.data;if(o==="object"&&/^\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(r.length===1)return""}}catch(n){}}const mt=ct(EE,(e,t)=>{const n=typeof t,o=n==="string"?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function mR(e){const t=localStorage&&localStorage.getItem(e);if(!Se(t))throw new Error("data not found");let n=t;try{const o=JSON.parse(t),r=gR(o);r!==void 0&&(n=r)}catch(o){}return n}const ht=ct(PE,e=>{try{return mR(e)}catch(t){return""}}),Lu=ct(IE,e=>{localStorage&&localStorage.removeItem(e)}),yR=ct("clearStorageSync",()=>{localStorage&&localStorage.clear()}),d4=Ge(OE,(e,{resolve:t,reject:n})=>{const o=document.activeElement;o&&(o.tagName==="TEXTAREA"||o.tagName==="INPUT")&&(o.blur(),t())}),vR={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"}},Jp="all";function _R(){const t=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!!(t&&t[0]==="micromessenger")}function Xd({count:e,sourceType:t,type:n,extension:o}){$_();const r=document.createElement("input");return r.type="file",Kc(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(s=>{if(n!==Jp){const i=s.replace(".","");return`${n}/${vR[n][i]||i}`}else return _R()?".":s.indexOf(".")===0?s:`.${s}`}).join(","),e&&e>1&&(r.multiple=!0),n!==Jp&&t instanceof Array&&t.length===1&&t[0]==="camera"&&r.setAttribute("capture","camera"),r}let fo=null;const bR=Ge(UE,({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:s})=>{Ld();const{t:i}=ke();fo&&(document.body.removeChild(fo),fo=null),fo=Xd({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(fo),fo.addEventListener("cancel",()=>{s("chooseFile:fail cancel")}),fo.addEventListener("change",function(a){const l=a.target,c=[];if(l&&l.files){const u=l.files.length;for(let f=0;fu)},tempFiles:c})}),fo.click(),Gd()},HE,VE);let ho=null;const wR=Ge(ME,({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Ld();const{t:s}=ke();ho&&(document.body.removeChild(ho),ho=null),ho=Xd({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(ho),ho.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),ho.addEventListener("change",function(i){const a=i.target,l=[];if(a&&a.files){const d=a.files.length;for(let u=0;ud)},tempFiles:l})}),ho.click(),Gd()},NE,DE),i0={esc:["Esc","Escape"],enter:["Enter"]},SR=Object.keys(i0);function a0(){const e=q(""),t=q(!1),n=o=>{if(t.value)return;const r=SR.find(s=>i0[s].indexOf(o.key)!==-1);r&&(e.value=r),st(()=>e.value="")};return Be(()=>{document.addEventListener("keyup",n)}),xt(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const TR=L("div",{class:"uni-mask"},null,-1);function Jd(e,t,n){return t.onClose=(...o)=>(t.visible=!1,n.apply(null,o)),wv(Ze({setup(){return()=>(ge(),ve(e,t,null,16))}}))}function Qd(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function l0(e,{onEsc:t,onEnter:n}){const o=q(e.visible),{key:r,disable:s}=a0();return ne(()=>e.visible,i=>o.value=i),ne(()=>o.value,i=>s.value=!i),On(()=>{const{value:i}=r;i==="esc"?t&&t():i==="enter"&&n&&n()}),o}let _s=0,Tc="";function Qp(e){let t=_s;_s+=e?1:-1,_s=Math.max(0,_s),_s>0?t===0&&(Tc=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Tc,Tc="")}function CR(){Be(()=>Qp(!0)),An(()=>Qp(!1))}const kR={src:{type:String,default:""}},xR=zn({name:"ImageView",props:kR,setup(e){const t=Ee({direction:"none"});let n=1,o=0,r=0,s=0,i=0;function a({detail:f}){n=f.scale}function l(f){const _=f.target.getBoundingClientRect();o=_.width,r=_.height}function c(f){const _=f.target.getBoundingClientRect();s=_.width,i=_.height,u(f)}function d(f){const h=n*o>s,_=n*r>i;h&&_?t.direction="all":h?t.direction="horizontal":_?t.direction="vertical":t.direction="none",u(f)}function u(f){(t.direction==="all"||t.direction==="horizontal")&&f.stopPropagation()}return()=>{const f={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return L(TA,{style:f,onTouchstart:rn(c),onTouchmove:rn(u),onTouchend:rn(d)},{default:()=>[L(xA,{style:f,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[L("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 PR(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const ER={urls:{type:Array,default(){return[]}},current:{type:[Number,String],default:0}};function Zp(e){let t=typeof e.current=="number"?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const IR=zn({name:"ImagePreview",props:ER,emits:["close"],setup(e,{emit:t}){CR();const{key:n}=a0(),o=q(null),r=q(Zp(e));ne(()=>e.current,()=>r.value=Zp(e)),ne(()=>n.value,c=>{c==="esc"&&i()});let s;Be(()=>{const c=o.value,d=20;let u=0,f=0;c.addEventListener("mousedown",h=>{s=!1,u=h.clientX,f=h.clientY}),c.addEventListener("mouseup",h=>{(Math.abs(h.clientX-u)>d||Math.abs(h.clientY-f)>d)&&(s=!0)})});function i(){s||st(()=>{t("close")})}function a(c){r.value=c.detail.current}const l={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 c;return L("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[L(nL,{navigation:"auto",current:r.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},PR(c=e.urls.map(d=>L(sL,null,{default:()=>[L(xR,{src:d},null,8,["src"])]})))?c:{default:()=>[c],_:1},8,["current","onChange"]),L("div",{style:l},[gr(zv,"#ffffff",26)],4)],8,["onClick"])}}});let Is=null,Hs;const OR=()=>{Is=null,st(()=>{Hs==null||Hs.unmount(),Hs=null})},f4=Ge(WE,(e,{resolve:t})=>{Is?pe(Is,e):(Is=Ee(e),st(()=>{Hs=Jd(IR,Is,OR),Hs.mount(Qd("u-a-p"))})),t()},zE,jE);let po=null;const AR=Ge($E,({sourceType:e,extension:t},{resolve:n,reject:o})=>{Ld();const{t:r}=ke();po&&(document.body.removeChild(po),po=null),po=Xd({sourceType:e,extension:t,type:"video"}),document.body.appendChild(po),po.addEventListener("cancel",()=>{o("chooseVideo:fail cancel")}),po.addEventListener("change",function(s){const a=s.target.files[0];let l="";const c={tempFilePath:l,tempFile:a,size:a.size,duration:0,width:0,height:0,name:a.name};Object.defineProperty(c,"tempFilePath",{get(){return l=l||Xr(this.tempFile),l}});const d=document.createElement("video");if(d.onloadedmetadata!==void 0){const u=Xr(a);d.onloadedmetadata=function(){wp(u),n(pe(c,{duration:d.duration||0,width:d.videoWidth||0,height:d.videoHeight||0}))},setTimeout(()=>{d.onloadedmetadata=null,wp(u),n(c)},300),d.src=u}else n(c)}),po.click(),Gd()},FE,BE),Bl=Pl(GE,({url:e,data:t,header:n={},method:o,dataType:r,responseType:s,enableChunked:i,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:d})=>{let u=null;const f=MR(n);if(o!=="GET")if(Se(t)||t instanceof ArrayBuffer)u=t;else if(f==="json")try{u=JSON.stringify(t)}catch(_){u=t.toString()}else if(f==="urlencoded"){const _=[];for(const v in t)be(t,v)&&_.push(encodeURIComponent(v)+"="+encodeURIComponent(t[v]));u=_.join("&")}else u=t.toString();let h;if(i){if(typeof window.fetch===void 0||typeof window.AbortController===void 0)throw new Error("fetch or AbortController is not supported in this environment");const _=new AbortController,v=_.signal;h=new eg(_);const m={method:o,headers:n,body:u,signal:v,credentials:a?"include":"same-origin"},y=setTimeout(function(){h.abort(),d("timeout",{errCode:5})},l);m.signal.addEventListener("abort",function(){clearTimeout(y),d("abort",{errCode:600003})}),window.fetch(e,m).then(b=>{const p=b.status,g=b.headers,w=b.body,S={};g.forEach((I,E)=>{S[E]=I});const k=LR(S);if(h._emitter.emit("headersReceived",{header:S,statusCode:p,cookies:k}),!w){c({data:"",statusCode:p,header:S,cookies:k});return}const C=w.getReader(),O=[],P=()=>{C.read().then(({done:I,value:E})=>{if(I){const J=RR(O);let R=s==="text"?new TextDecoder().decode(J):J;s==="text"&&(R=tg(R,s,r)),c({data:R,statusCode:p,header:S,cookies:k});return}const N=E;O.push(N),h._emitter.emit("chunkReceived",{data:N}),P()})};P()},b=>{d(b,{errCode:5})})}else{const _=new XMLHttpRequest;h=new eg(_),_.open(o,e);for(const m in n)be(n,m)&&_.setRequestHeader(m,n[m]);const v=setTimeout(function(){_.onload=_.onabort=_.onerror=null,h.abort(),d("timeout",{errCode:5})},l);_.responseType=s,_.onload=function(){clearTimeout(v);const m=_.status;let y=s==="text"?_.responseText:_.response;s==="text"&&(y=tg(y,s,r)),c({data:y,statusCode:m,header:DR(_.getAllResponseHeaders()),cookies:[]})},_.onabort=function(){clearTimeout(v),d("abort",{errCode:600003})},_.onerror=function(){clearTimeout(v),d(void 0,{errCode:5})},_.withCredentials=a,_.send(u)}return h},QE,ZE),LR=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];t[0]==="["&&t[t.length-1]==="]"&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;rr+s.byteLength,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}function MR(e){const t=Object.keys(e).find(o=>o.toLowerCase()==="content-type");if(!t)return;const n=e[t];return n.indexOf("application/json")===0?"json":n.indexOf("application/x-www-form-urlencoded")===0?"urlencoded":"string"}class eg{constructor(t){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new pd,this._controller=t}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(t){return this._emitter.on("headersReceived",t),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,t),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(t){if(t==null){this._emitter.off("headersReceived");return}if(typeof t=="function"){this._requestOnHeadersReceiveCallbacks.forEach((o,r)=>{o===t&&(this._requestOnHeadersReceiveCallbacks.delete(r),this._emitter.off("headersReceived",t))});return}const n=this._requestOnHeadersReceiveCallbacks.get(t);n&&(this._requestOnHeadersReceiveCallbacks.delete(t),this._emitter.off("headersReceived",n))}onChunkReceived(t){return this._emitter.on("chunkReceived",t),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,t),this._requestOnChunkReceiveCallbackId}offChunkReceived(t){if(t==null){this._emitter.off("chunkReceived");return}if(typeof t=="function"){this._requestOnChunkReceiveCallbacks.forEach((o,r)=>{o===t&&(this._requestOnChunkReceiveCallbacks.delete(r),this._emitter.off("chunkReceived",t))});return}const n=this._requestOnChunkReceiveCallbacks.get(t);n&&(this._requestOnChunkReceiveCallbacks.delete(t),this._emitter.off("chunkReceived",n))}}function DR(e){const t={};return e.split(ll).forEach(n=>{const o=n.match(/(\S+\s*):\s*(.*)/);!o||o.length!==3||(t[o[1]]=o[2])}),t}function tg(e,t,n){let o=e;if(t==="text"&&n==="json")try{o=JSON.parse(o)}catch(r){}return o}class NR{constructor(t){this._callbacks=[],this._xhr=t}onProgressUpdate(t){le(t)&&this._callbacks.push(t)}offProgressUpdate(t){const n=this._callbacks.indexOf(t);n>=0&&this._callbacks.splice(n,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(t){throw new Error("Method not implemented.")}offHeadersReceived(t){throw new Error("Method not implemented.")}}const $R=Pl(eI,({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var s,i=new XMLHttpRequest,a=new NR(i);return i.open("GET",e,!0),Object.keys(t).forEach(l=>{i.setRequestHeader(l,t[l])}),i.responseType="blob",i.onload=function(){clearTimeout(s);const l=i.status,c=this.response;let d;const u=i.getResponseHeader("content-disposition");if(u){const f=u.match(/filename="?(\S+)"?\b/);f&&(d=f[1])}c.name=d||xO(e),o({statusCode:l,tempFilePath:Xr(c)})},i.onabort=function(){clearTimeout(s),r("abort",{errCode:600003})},i.onerror=function(){clearTimeout(s),r("",{errCode:602001})},i.onprogress=function(l){a._callbacks.forEach(c=>{var d=l.loaded,u=l.total,f=Math.round(d/u*100);c({progress:f,totalBytesWritten:d,totalBytesExpectedToWrite:u})})},i.send(),s=setTimeout(function(){i.onprogress=i.onload=i.onabort=i.onerror=null,a.abort(),r("timeout",{errCode:5})},n),a},nI,tI);class BR{constructor(t){this._callbacks=[],this._xhr=t}onProgressUpdate(t){le(t)&&this._callbacks.push(t)}offProgressUpdate(t){const n=this._callbacks.indexOf(t);n>=0&&this._callbacks.splice(n,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(t){throw new Error("Method not implemented.")}offHeadersReceived(t){throw new Error("Method not implemented.")}}const FR=Pl(oI,({url:e,file:t,filePath:n,name:o,files:r,header:s={},formData:i={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var d=new BR;(!ce(r)||!r.length)&&(n||c("file error"),r=[{name:o,file:t,uri:n}]);function u(f){var h=new XMLHttpRequest,_=new FormData,v;Object.keys(i).forEach(m=>{_.append(m,i[m])}),Object.values(r).forEach(({name:m},y)=>{const b=f[y];_.append(m||"file",b,b.name||`file-${Date.now()}`)}),h.open("POST",e),Object.keys(s).forEach(m=>{h.setRequestHeader(m,s[m])}),h.upload.onprogress=function(m){d._callbacks.forEach(y=>{var b=m.loaded,p=m.total,g=Math.round(b/p*100);y({progress:g,totalBytesSent:b,totalBytesExpectedToSend:p})})},h.onerror=function(){clearTimeout(v),c("",{errCode:602001})},h.onabort=function(){clearTimeout(v),c("abort",{errCode:600003})},h.onload=function(){clearTimeout(v);const m=h.status;l({statusCode:m,data:h.responseText||h.response})},d._isAbort?c("abort",{errCode:600003}):(v=setTimeout(function(){h.upload.onprogress=h.onload=h.onabort=h.onerror=null,d.abort(),c("timeout",{errCode:5})},a),h.send(_),d._xhr=h)}return Promise.all(r.map(({file:f,uri:h})=>f instanceof Blob?Promise.resolve(M_(f)):R_(h))).then(u).catch(()=>{setTimeout(()=>{c("file error")},0)}),d},sI,rI),Sa=[],ng={open:"",close:"",error:"",message:""};class UR{constructor(t,n,o){this._callbacks={open:[],close:[],error:[],message:[]};let r;try{const s=this._webSocket=new WebSocket(t,n);s.binaryType="arraybuffer",["open","close","error","message"].forEach(l=>{this._callbacks[l]=[],s.addEventListener(l,c=>{const{data:d,code:u,reason:f}=c,h=l==="message"?{data:d}:l==="close"?{code:u,reason:f}:{};if(this._callbacks[l].forEach(_=>{try{_(h)}catch(v){}}),this===Sa[0]&&ng[l]&&et.invokeOnCallback(ng[l],h),l==="error"||l==="close"){const _=Sa.indexOf(this);_>=0&&Sa.splice(_,1)}})}),["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach(l=>{Object.defineProperty(this,l,{get(){return s[l]}})})}catch(s){r=s}o&&o(r,this)}send(t){const n=(t||{}).data,o=this._webSocket;try{if(o.readyState!==o.OPEN)throw Cr(t,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");o.send(n),Cr(t,"sendSocketMessage:ok")}catch(r){Cr(t,{errMsg:`sendSocketMessage:fail ${r}`,errCode:602001})}}close(t={}){const n=this._webSocket;try{const o=t.code||1e3,r=t.reason;Se(r)?n.close(o,r):n.close(o),Cr(t,"closeSocket:ok")}catch(o){Cr(t,`closeSocket:fail ${o}`)}}onOpen(t){this._callbacks.open.push(t)}onMessage(t){this._callbacks.message.push(t)}onError(t){this._callbacks.error.push(t)}onClose(t){this._callbacks.close.push(t)}}const qR=Pl(iI,({url:e,protocols:t},{resolve:n,reject:o})=>new UR(e,t,(r,s)=>{if(r){o(r.toString(),{errCode:600009});return}Sa.push(s),n()}),lI,aI),VR=Ge(AE,({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:s})=>{const i=Ei();new Promise((a,l)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(c=>a({coords:c.coords}),l,{enableHighAccuracy:o||t,timeout:n||1e3*100}):l(new Error("device nonsupport geolocation"))}).catch(a=>new Promise((l,c)=>{i.type===Fr.QQ?r0(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${i.key}`,{callback:"callback"},d=>{if("result"in d&&d.result.location){const u=d.result.location;l({coords:{latitude:u.lat,longitude:u.lng},skip:!0})}else c(new Error(d.message||JSON.stringify(d)))},()=>c(new Error("network error"))):i.type===Fr.GOOGLE?Bl({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${i.key}`,success(d){const u=d.data;"location"in u?l({coords:{latitude:u.location.lat,longitude:u.location.lng,accuracy:u.accuracy},skip:!0}):c(new Error(u.error&&u.error.message||JSON.stringify(d)))},fail(){c(new Error("network error"))}}):i.type===Fr.AMAP?s0([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((u,f)=>{u==="complete"?l({coords:{latitude:f.position.lat,longitude:f.position.lng,accuracy:f.accuracy},skip:!0}):c(new Error(f.message))})})}):c(a)})).then(({coords:a,skip:l})=>{nR(e,a,l).then(c=>{r({latitude:c.latitude,longitude:c.longitude,accuracy:c.accuracy,speed:c.altitude||0,altitude:c.altitude||0,verticalAccuracy:c.altitudeAccuracy||0,horizontalAccuracy:c.accuracy||0})}).catch(c=>{s(c.message)})}).catch(a=>{s(a.message||JSON.stringify(a))})},RE,LE),Zd=Ge(fI,(e,{resolve:t,reject:n})=>{let o=!0;return qt(Ia,{from:e.from||"navigateBack"})===!0&&(o=!1),o?(Pe().$router.go(-e.delta),t()):n(Ia)},gI,TI),ef=Ge(Fs,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(!Yr.handledBeforeEntryPageRoutes){Tu.push({args:{type:Fs,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r});return}return xo({type:Fs,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)},pI,_I);function tf(e){__uniConfig.darkmode&&et.on(cl,e)}function c0(e){et.off(cl,e)}function Ws(e){let t={};return __uniConfig.darkmode&&(t=Oa(e,__uniConfig.themeConfig,Nl())),__uniConfig.darkmode?t:e}function u0(e,t){const n=Jn(e),o=n?Ee(Ws(e)):Ws(e);return __uniConfig.darkmode&&n&&ne(e,r=>{const s=Ws(r);for(const i in s)o[i]=s[i]}),t&&tf(t),o}const HR={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},WR=(e,t)=>t.value=HR[e].cancelColor,jR={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},zR=Ze({props:jR,setup(e,{emit:t}){const n=q(""),o=()=>i.value=!1,r=()=>(o(),t("close","cancel")),s=()=>(o(),t("close","confirm",n.value)),i=l0(e,{onEsc:r,onEnter:()=>{!e.editable&&s()}}),a=GR(e);return()=>{const{title:l,content:c,showCancel:d,confirmText:u,confirmColor:f,editable:h,placeholderText:_}=e;return n.value=c,L(bl,{name:"uni-fade"},{default:()=>[tn(L("uni-modal",{onTouchmove:Dd},[TR,L("div",{class:"uni-modal"},[l?L("div",{class:"uni-modal__hd"},[L("strong",{class:"uni-modal__title",textContent:l||""},null,8,["textContent"])]):null,h?L("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:_,value:c,onInput:v=>n.value=v.target.value},null,40,["placeholder","value","onInput"]):L("div",{class:"uni-modal__bd",onTouchmovePassive:ex,textContent:c},null,40,["onTouchmovePassive","textContent"]),L("div",{class:"uni-modal__ft"},[d&&L("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),L("div",{style:{color:f},class:"uni-modal__btn uni-modal__btn_primary",onClick:s},[u],12,["onClick"])])])],40,["onTouchmove"]),[[nn,i.value]])]})}}});function GR(e){const t=q(e.cancelColor),n=({theme:o})=>{WR(o,t)};return On(()=>{e.visible?(t.value=e.cancelColor,e.cancelColor==="#000"&&(Nl()==="dark"&&n({theme:"dark"}),tf(n))):c0(n)}),t}let To;const KR=Vt(()=>{et.on("onHidePopup",()=>To.visible=!1)});let Ru;function YR(e,t){const n=e==="confirm",o={confirm:n,cancel:e==="cancel"};n&&To.editable&&(o.content=t),Ru&&Ru(o)}const XR=Ge($I,(e,{resolve:t})=>{KR(),Ru=t,To?(pe(To,e),To.visible=!0):(To=Ee(e),st(()=>(Jd(zR,To,YR).mount(Qd("u-a-m")),st(()=>To.visible=!0))))},BI,FI),JR={title:{type:String,default:""},icon:{default:"success",validator(e){return p_.indexOf(e)!==-1}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Ta="uni-toast__icon",QR={light:"#fff",dark:"rgba(255,255,255,0.9)"},og=e=>QR[e],ZR=Ze({name:"Toast",props:JR,setup(e){Ek(),Ik();const{Icon:t}=eM(e),n=l0(e,{});return()=>{const{mask:o,duration:r,title:s,image:i}=e;return L(bl,{name:"uni-fade"},{default:()=>[tn(L("uni-toast",{"data-duration":r},[o?L("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Dd},null,40,["onTouchmove"]):"",!i&&!t.value?L("div",{class:"uni-sample-toast"},[L("p",{class:"uni-simple-toast__text"},[s])]):L("div",{class:"uni-toast"},[i?L("img",{src:i,class:Ta},null,10,["src"]):t.value,L("p",{class:"uni-toast__content"},[s])])],8,["data-duration"]),[[nn,n.value]])]})}}});function eM(e){const t=q(og(Nl())),n=({theme:r})=>t.value=og(r);return On(()=>{e.visible?tf(n):c0(n)}),{Icon:Y(()=>{switch(e.icon){case"success":return L(gr(rx,t.value,38),{class:Ta});case"error":return L(gr(sx,t.value,38),{class:Ta});case"loading":return L("i",{class:[Ta,"uni-loading"]},null,2);default:return null}})}}let ko,lr="",bs;const tM=gd();function nM(){tM.run(()=>{ne([()=>ko.visible,()=>ko.duration],([e,t])=>{if(e){if(bs&&clearTimeout(bs),lr==="onShowLoading")return;bs=setTimeout(()=>{nf("onHideToast")},t)}else bs&&clearTimeout(bs)})})}function d0(e){ko?pe(ko,e):(ko=Ee(pe(e,{visible:!1})),st(()=>{nM(),et.on("onHidePopup",()=>nf("onHidePopup")),Jd(ZR,ko,()=>{}).mount(Qd("u-a-t"))})),setTimeout(()=>{ko.visible=!0},10)}const Fl=Ge(UI,(e,{resolve:t,reject:n})=>{d0(e),lr="onShowToast",t()},qI,VI),oM={icon:"loading",duration:1e8,image:""},f0=Ge(MI,(e,{resolve:t,reject:n})=>{pe(e,oM),d0(e),lr="onShowLoading",t()},DI,NI),Mu=Ge(xI,(e,{resolve:t,reject:n})=>{nf("onHideLoading"),t()});function nf(e){const{t}=ke();if(!lr)return;let n="";e==="onHideToast"&&lr!=="onShowToast"?n=t("uni.showToast.unpaired"):e==="onHideLoading"&&lr!=="onShowLoading"&&(n=t("uni.showLoading.unpaired")),!n&&(lr="",setTimeout(()=>{ko.visible=!1},10))}const rM=Ge(PI,({family:e,source:t,desc:n},{resolve:o,reject:r})=>{t.startsWith('url("')||t.startsWith("url('")?t=`url('${Kt(t.substring(5,t.length-2))}')`:t.startsWith("url(")?t=`url('${Kt(t.substring(4,t.length-1))}')`:t=Kt(t),ES(e,t,n).then(()=>{o()}).catch(s=>{r(`loadFontFace:fail ${s}`)})});function sM(e){document.title=e,et.emit(hS,{titleText:e})}function iM(e){function t(){sM(e.navigationBar.titleText)}On(t),_i(t)}function aM(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:s}=e;switch(t){case EI:const{frontColor:i,backgroundColor:a,animation:l}=n,{duration:c,timingFunc:d}=l;i&&(s.titleColor=i==="#000000"?"#000000":"#ffffff"),a&&(s.backgroundColor=a),s.duration=c+"ms",s.timingFunc=d;break;case II:s.loading=!0;break;case OI:s.loading=!1;break;case wu:const{title:u}=n;s.titleText=u;break}o()}const h4=Ge(wu,(e,{resolve:t,reject:n})=>{aM(Bd(),wu,e,t,n)}),p4=Ge(AI,({scrollTop:e,selector:t,duration:n},{resolve:o})=>{IS(t||e||0,n),o()},LI,RI),g4=Ge(gp,(e,{resolve:t})=>{et.invokeViewMethod(gp,{},Si()),t()}),lM="UniTabbarIconFont",cM=zn({name:"TabBar",setup(){const e=q([]),t=jd(),n=u0(t,()=>{const a=Ws(t);n.backgroundColor=a.backgroundColor,n.borderStyle=a.borderStyle,n.color=a.color,n.selectedColor=a.selectedColor,n.blurEffect=a.blurEffect,n.midButton=a.midButton,a.list&&a.list.length&&a.list.forEach((l,c)=>{n.list[c].iconPath=l.iconPath,n.list[c].selectedIconPath=l.selectedIconPath})});dM(n,e),uM(n);const o=fM(Tl(),n,e),{style:r,borderStyle:s,placeholderStyle:i}=gM(n);return Be(()=>{n.iconfontSrc&&rM({family:lM,source:`url("${n.iconfontSrc}")`})}),()=>{const a=mM(n,o,e);return L("uni-tabbar",{class:"uni-tabbar-"+n.position},[L("div",{class:"uni-tabbar",style:r.value},[L("div",{class:"uni-tabbar-border",style:s.value},null,4),a],4),L("div",{class:"uni-placeholder",style:i.value},null,4)],2)}}});function uM(e){ne(()=>e.shown,t=>{Hv({"--window-bottom":C_(t?parseInt(e.height):0)})})}function dM(e,t){q(pe({type:"midButton"},e.midButton));function n(){let o=[];o=e.list.filter(r=>r.visible!==!1),t.value=o}On(n)}function fM(e,t,n){return On(()=>{const o=e.meta;if(o.isTabBar){const r=o.route,s=n.value.findIndex(i=>i.pagePath===r);t.selectedIndex=s}}),(o,r)=>{const{type:s}=o;return()=>{const{pagePath:i,text:a}=o;let l=Xs(i);l===__uniRoutes[0].alias&&(l="/"),e.path!==l?ki({from:"tabBar",url:l,tabBarText:a}):qt("onTabItemTap",{index:r,text:a,pagePath:i})}}}const hM="#f7f7fa",h0="rgb(0, 0, 0, 0.8)",rg="rgb(250, 250, 250, 0.8)",pM={dark:h0,light:rg,extralight:rg},sg={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function gM(e){const t=Y(()=>{let r=e.backgroundColor;const s=e.blurEffect;return r||S_&&s&&s!=="none"&&(r=pM[s]),{backgroundColor:r||hM,backdropFilter:s!=="none"?"blur(10px)":s}}),n=Y(()=>{const{borderStyle:r,borderColor:s}=e;return s&&Se(s)?{backgroundColor:s}:{backgroundColor:sg[r]||sg.black}}),o=Y(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}function mM(e,t,n){const{selectedIndex:o,selectedColor:r,color:s}=e;return n.value.map((i,a)=>{const l=o===a,c=l?r:s,d=l&&i.selectedIconPath||i.iconPath||"",u=i.iconfont?l&&i.iconfont.selectedText||i.iconfont.text:void 0,f=i.iconfont?l&&i.iconfont.selectedColor||i.iconfont.color:void 0;return yM(c,d,u,f,i,e,a,t)})}function yM(e,t,n,o,r,s,i,a){return L("div",{key:i,class:"uni-tabbar__item",onClick:a(r,i)},[vM(e,t||"",n,o,r,s)],8,["onClick"])}function vM(e,t,n,o,r,s){const{height:i}=s;return L("div",{class:"uni-tabbar__bd",style:{height:i}},[n?bM(n,o||h0,r,s):t&&_M(t,r,s),r.text&&wM(e,r,s),r.redDot&&SM(r.badge)],4)}function _M(e,t,n){const{type:o,text:r}=t,{iconWidth:s}=n,i="uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":"");return L("div",{class:i,style:{width:s,height:s}},[o!=="midButton"&&L("img",{src:Kt(e)},null,8,["src"])],6)}function bM(e,t,n,o){var r;const{type:s,text:i}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),c={width:a,height:a},d={fontSize:((r=n.iconfont)==null?void 0:r.fontSize)||a,color:t};return L("div",{class:l,style:c},[s!=="midButton"&&L("div",{class:"uni-tabbar__iconfont",style:d},[e],4)],6)}function wM(e,t,n){const{iconPath:o,text:r}=t,{fontSize:s,spacing:i}=n;return L("div",{class:"uni-tabbar__label",style:{color:e,fontSize:s,lineHeight:o?"normal":1.8,marginTop:o?i:"inherit"}},[r],4)}function SM(e){const t="uni-tabbar__reddot"+(e?" uni-tabbar__badge":"");return L("div",{class:t},[e],2)}const Sr="0px",TM=zn({name:"Layout",setup(e,{emit:t}){const n=q(null);kM();const o=nO(),{layoutState:r,windowState:s}=PM();xM(r,n);const i=IM(),a=CM(i);return()=>{const l=EM(o),c=OM(i);return L("uni-app",{ref:n,class:a.value},[l,c],2)}}});function CM(e){const t=q(!1);return Y(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}function kM(){$r({"--status-bar-height":Sr,"--top-window-height":Sr,"--window-left":Sr,"--window-right":Sr,"--window-margin":Sr,"--tab-bar-height":Sr})}function xM(e,t){const n=Ti();function o(){const r=document.body.clientWidth,s=xi();let i={};if(s.length>0){const c=s[s.length-1];i=_r(c).meta}else{const c=Gv(n.path,!0);c&&(i=c.meta)}const a=parseInt(String((be(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let l=!1;r>a?l=!0:l=!1,l&&a?(e.marginWidth=(r-a)/2,st(()=>{const c=t.value;c&&c.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,st(()=>{const c=t.value;c&&c.removeAttribute("style")}))}ne([()=>n.path],o),Be(()=>{o(),window.addEventListener("resize",o)})}function PM(){Ti();{const e=Ee({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return ne(()=>e.marginWidth,t=>$r({"--window-margin":t+"px"})),ne(()=>e.leftWindowWidth+e.marginWidth,t=>{$r({"--window-left":t+"px"})}),ne(()=>e.rightWindowWidth+e.marginWidth,t=>{$r({"--window-right":t+"px"})}),{layoutState:e,windowState:Y(()=>({}))}}}function EM(e,t,n,o,r,s){return AM(e)}function IM(e){const t=Ti(),n=jd(),o=Y(()=>t.meta.isTabBar&&n.shown);return $r({"--tab-bar-height":n.height}),o}function OM(e){return tn(L(cM,null,null,512),[[nn,e.value]])}function AM({routeKey:e,isTabBar:t,routeCache:n}){return L(Mv,null,{default:me(({Component:o})=>[(ge(),ve(MT,{matchBy:"key",cache:n},[(ge(),ve(Vn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}const m4=Ge(fp,Wd(fp)),ig="saveFile",y4=Ge(ig,Wd(ig)),ag="removeSavedFile",v4=Ge(ag,Wd(ag)),Ft=pe(qk,{publishHandler(e,t,n){et.subscribeHandler(e,t,n)}}),et=pe(Ax,{publishHandler(e,t,n){Ft.subscribeHandler(e,t,n)}}),p0={none:"",forward:"M11 7.844q-0.25-0.219-0.25-0.578t0.25-0.578q0.219-0.25 0.563-0.25t0.563 0.25l9.656 9.125q0.125 0.125 0.188 0.297t0.063 0.328q0 0.188-0.063 0.359t-0.188 0.297l-9.656 9.125q-0.219 0.25-0.563 0.25t-0.563-0.25q-0.25-0.219-0.25-0.578t0.25-0.609l9.063-8.594-9.063-8.594z",back:qa,select:qa,share:"M26.563 24.844q0 0.125-0.109 0.234t-0.234 0.109h-17.938q-0.125 0-0.219-0.109t-0.094-0.234v-13.25q0-0.156 0.094-0.25t0.219-0.094h5.5v-1.531h-6q-0.531 0-0.906 0.391t-0.375 0.922v14.375q0 0.531 0.375 0.922t0.906 0.391h18.969q0.531 0 0.891-0.391t0.359-0.953v-5.156h-1.438v4.625zM29.813 10.969l-5.125-5.375-1.031 1.094 3.438 3.594-3.719 0.031q-2.313 0.188-4.344 1.125t-3.578 2.422-2.5 3.453-1.109 4.188l-0.031 0.25h1.469v-0.219q0.156-1.875 1-3.594t2.25-3.063 3.234-2.125 3.828-0.906l0.188-0.031 3.313-0.031-3.438 3.625 1.031 1.063 5.125-5.375-0.031-0.063 0.031-0.063z",favorite:"M27.594 13.375q-0.063-0.188-0.219-0.313t-0.344-0.156l-7.094-0.969-3.219-6.406q-0.094-0.188-0.25-0.281t-0.375-0.094q-0.188 0-0.344 0.094t-0.25 0.281l-3.125 6.438-7.094 1.094q-0.188 0.031-0.344 0.156t-0.219 0.313q-0.031 0.188 0.016 0.375t0.172 0.313l5.156 4.969-1.156 7.063q-0.031 0.188 0.047 0.375t0.234 0.313q0.094 0.063 0.188 0.094t0.219 0.031q0.063 0 0.141-0.031t0.172-0.063l6.313-3.375 6.375 3.313q0.063 0.031 0.141 0.047t0.172 0.016q0.188 0 0.344-0.094t0.25-0.281q0.063-0.094 0.078-0.234t-0.016-0.234q0-0.031 0-0.063l-1.25-6.938 5.094-5.031q0.156-0.156 0.203-0.344t-0.016-0.375zM11.469 19.063q0.031-0.188-0.016-0.344t-0.172-0.281l-4.406-4.25 6.063-0.906q0.156-0.031 0.297-0.125t0.203-0.25l2.688-5.531 2.75 5.5q0.063 0.156 0.203 0.25t0.297 0.125l6.094 0.844-4.375 4.281q-0.125 0.125-0.172 0.297t-0.016 0.328l1.063 6.031-5.438-2.813q-0.156-0.094-0.328-0.078t-0.297 0.078l-5.438 2.875 1-6.031z",home:"M23.719 16.5q-0.313 0-0.531 0.219t-0.219 0.5v7.063q0 0.219-0.172 0.391t-0.391 0.172h-12.344q-0.25 0-0.422-0.172t-0.172-0.391v-7.063q0-0.281-0.219-0.5t-0.531-0.219q-0.281 0-0.516 0.219t-0.234 0.5v7.063q0.031 0.844 0.625 1.453t1.438 0.609h12.375q0.844 0 1.453-0.609t0.609-1.453v-7.063q0-0.125-0.063-0.266t-0.156-0.234q-0.094-0.125-0.234-0.172t-0.297-0.047zM26.5 14.875l-8.813-8.813q-0.313-0.313-0.688-0.453t-0.781-0.141-0.781 0.141-0.656 0.422l-8.813 8.844q-0.188 0.219-0.188 0.516t0.219 0.484q0.094 0.125 0.234 0.172t0.297 0.047q0.125 0 0.25-0.047t0.25-0.141l8.781-8.781q0.156-0.156 0.406-0.156t0.406 0.156l8.813 8.781q0.219 0.188 0.516 0.188t0.516-0.219q0.188-0.188 0.203-0.484t-0.172-0.516z",menu:"M8.938 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM16.188 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM23.469 18.313q0.844 0 1.453-0.609t0.609-1.453-0.609-1.453-1.453-0.609q-0.875 0-1.484 0.609t-0.609 1.453 0.609 1.453 1.484 0.609z",close:zv},LM=zn({name:"PageHead",setup(){const e=q(null),t=qd(),n=u0(t.navigationBar,()=>{const i=Ws(t.navigationBar);n.backgroundColor=i.backgroundColor,n.titleColor=i.titleColor}),{clazz:o,style:r}=$M(n),s=BM(t);return()=>{const i=RM(n,t.isQuit),a=lg(s.left),l=lg(s.right),c=n.type||"default",d=c!=="transparent"&&c!=="float"&&L("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return L("uni-page-head",{"uni-page-head-type":c},[L("div",{ref:e,class:o.value,style:r.value},[L("div",{class:"uni-page-head-hd"},[i,...a]),MM(n),L("div",{class:"uni-page-head-ft"},[...l])],6),d],8,["uni-page-head-type"])}}});function RM(e,t){if(!t)return L("div",{class:"uni-page-head-btn",onClick:NM},[gr(qa,e.type==="transparent"?"#fff":e.titleColor,26)],8,["onClick"])}function lg(e){return e.map(({onClick:t,btnClass:n,btnStyle:o,btnText:r,btnIconPath:s,badgeText:i,iconStyle:a,btnSelect:l},c)=>L("div",{key:c,class:n,style:o,onClick:t,"badge-text":i},[s?gr(s,a.color,a.fontSize):l?L("span",{style:a},[L("i",{class:"uni-btn-icon",innerHTML:r},null,8,["innerHTML"]),gr(p0.select,"#000",14)],4):L("i",{class:"uni-btn-icon",style:a,innerHTML:r},null,12,["innerHTML"])],14,["onClick","badge-text"]))}function MM(e,t){return DM(e)}function DM({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return L("div",{class:"uni-page-head-bd"},[L("div",{style:{fontSize:n,opacity:e==="transparent"?0:1},class:"uni-page-head__title"},[t?L("i",{class:"uni-loading"},null):r?L("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}function NM(){Xt().length===1?Al({url:"/"}):Zd({from:"backbutton",success(){}})}function $M(e){const t=Y(()=>{const{type:o,titlePenetrate:r,shadowColorType:s}=e,i={"uni-page-head":!0,"uni-page-head-transparent":o==="transparent","uni-page-head-titlePenetrate":r==="YES","uni-page-head-shadow":!!s};return s&&(i[`uni-page-head-shadow-${s}`]=!0),i}),n=Y(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}function BM({id:e,navigationBar:t}){const n=[],o=[],{buttons:r}=t;if(ce(r)){const{type:s}=t,i=s==="transparent",a=Object.create(null);r.forEach((l,c)=>{if(l.fontSrc&&!l.fontFamily){const u=Kt(l.fontSrc);let f=a[u];f||(f=`font${Date.now()}`,a[u]=f,Ho(()=>tx("uni-btn-"+f,`@font-face{font-family: "${f}";src: url("${u}") format("truetype")}`))),l.fontFamily=f}const d=FM(e,c,l,i);l.float==="left"?n.push(d):o.push(d)})}return{left:n,right:o}}function FM(e,t,n,o){const r={color:n.color,fontSize:n.fontSize,fontWeight:n.fontWeight};return n.fontFamily&&(r.fontFamily=n.fontFamily),new Proxy({btnClass:{"uni-page-head-btn":!0,"uni-page-head-btn-red-dot":!!(n.redDot||n.badgeText),"uni-page-head-btn-select":!!n.select},btnStyle:{backgroundColor:o?n.background:"transparent",width:n.width},btnText:"",btnIconPath:p0[n.type],badgeText:n.badgeText,iconStyle:r,onClick(){qt(e,dl,pe({index:t},n))},btnSelect:n.select},{get(s,i,a){return["btnText"].includes(i)?n.fontSrc&&n.fontFamily?n.text.replace("\\u","&#x"):n.text:Reflect.get(s,i,a)}})}const UM=zn({name:"PageBody",setup(e,t){const o=q(null),r=null,s=q(null);return ne(()=>(!1).enablePullDownRefresh,()=>{s.value=(!1).enablePullDownRefresh?r:null},{immediate:!0}),()=>L(ot,null,[!1,L("uni-page-wrapper",At({ref:o},s.value),[L("uni-page-body",null,[at(t.slots,"default")]),null],16)])}}),qM=zn({name:"Page",setup(e,t){let n=oP(Vd());const o=n.navigationBar,r={};return iM(n),()=>L("uni-page",{"data-page":n.route,style:r},o.style!=="custom"?[L(LM),cg(t),null]:[cg(t),null])}});function cg(e){return ge(),ve(UM,{key:0},{default:me(()=>[at(e.slots,"page")]),_:3})}const VM="__UNI__BA8433E",HM="BandhuBuy",WM="1.0.1",jM="101",zM=!1,GM={"flex-direction":"column"},KM={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},YM={mode:"hash",base:"/",assets:"assets",routerBase:"/"},Lo={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},XM=void 0,JM=void 0,QM=void 0,ZM=void 0,eD=void 0,tD=void 0,nD={},oD="bn",rD="bn",sD=!1,iD={};window.uni={};window.wx={};window.rpx2px=Ci;const ug=Object.assign({"./locale/bn.json":Bw,"./locale/en.json":Fw,"./locale/zh-Hans.json":Uw}),Le=Object.assign;window.__uniConfig=Le({globalStyle:{backgroundColor:"#FFFFFF",pageOrientation:"auto",scrollIndicator:"none",screenOrientation:["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"],navigationBar:{backgroundColor:"#f8f8f8",titleText:"BandhuBuy",style:"default",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{autoscan:!0,custom:{"^fg-(.*)":"@/components/fg-$1/fg-$1.vue","^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},tabBar:{position:"bottom",color:"#999999",selectedColor:"#e61b28",borderStyle:"#c1c1c1",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/homeHL.png",pagePath:"pages/index/index"},{iconPath:"/static/tabbar/income.png",selectedIconPath:"/static/tabbar/incomeHL.png",pagePath:"pages/income/income"},{iconPath:"/static/tabbar/mine.png",selectedIconPath:"/static/tabbar/mineHL.png",pagePath:"pages/mine/mine"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},compilerVersion:"4.87"},{appId:VM,appName:HM,appVersion:WM,appVersionCode:jM,async:Lo,debug:zM,networkTimeout:KM,sdkConfigs:nD,qqMapKey:XM,bMapKey:JM,googleMapKey:QM,aMapKey:ZM,aMapSecurityJsCode:eD,aMapServiceHost:tD,nvue:GM,locale:oD,fallbackLocale:rD,locales:Object.keys(ug).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Le(e[n]||(e[n]={}),ug[t].default),e},{}),router:YM,darkmode:sD,themeConfig:iD});window.__uniLayout=window.__uniLayout||{};const Me={delay:Lo.delay,timeout:Lo.timeout,suspensible:Lo.suspensible};Lo.loading&&(Me.loadingComponent={name:"SystemAsyncLoading",render(){return L(jy(Lo.loading))}});Lo.error&&(Me.errorComponent={name:"SystemAsyncError",props:["error"],render(){return L(jy(Lo.error),{error:this.error})}});const g0=()=>Fe(()=>import("./pages-index-index.vvHOkkHG.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(e=>qe(e.default||e)),aD=Ue(Le({loader:g0},Me)),m0=()=>Fe(()=>import("./pages-bestSellers-bestSellers.CvgVK1eT.js"),__vite__mapDeps([15,16,17,10,11,12,13,2])).then(e=>qe(e.default||e)),lD=Ue(Le({loader:m0},Me)),y0=()=>Fe(()=>import("./pages-forgotPassword-forgotPassword.C477z7yr.js"),__vite__mapDeps([18,19,2,20])).then(e=>qe(e.default||e)),cD=Ue(Le({loader:y0},Me)),v0=()=>Fe(()=>import("./pages-income-income.CREZMEdb.js"),__vite__mapDeps([21,22,23,24,25,26,27,10,11,12,28,29])).then(e=>qe(e.default||e)),uD=Ue(Le({loader:v0},Me)),_0=()=>Fe(()=>import("./pages-login-login.DNKDCyLI.js"),__vite__mapDeps([30,19,2,20])).then(e=>qe(e.default||e)),dD=Ue(Le({loader:_0},Me)),b0=()=>Fe(()=>import("./pages-mine-addressBook.DuApvkvf.js"),__vite__mapDeps([31,32,8,33,10,11,12,34,35,36])).then(e=>qe(e.default||e)),fD=Ue(Le({loader:b0},Me)),w0=()=>Fe(()=>import("./pages-mine-addressBookOperate.EJlBqUfu.js"),__vite__mapDeps([37,38,39,40,41,19,2,10,11,12,34,42])).then(e=>qe(e.default||e)),hD=Ue(Le({loader:w0},Me)),S0=()=>Fe(()=>import("./pages-mine-helpCenter.CKoqgJmD.js"),__vite__mapDeps([43,7,8,9,10,11,12,44])).then(e=>qe(e.default||e)),pD=Ue(Le({loader:S0},Me)),T0=()=>Fe(()=>import("./pages-mine-helpCenterDetail.Bq9yiHAa.js"),__vite__mapDeps([45,44,46])).then(e=>qe(e.default||e)),gD=Ue(Le({loader:T0},Me)),C0=()=>Fe(()=>import("./pages-mine-mine.ksfE8GPe.js"),__vite__mapDeps([47,48,49,10,11,12,35,28])).then(e=>qe(e.default||e)),mD=Ue(Le({loader:C0},Me)),k0=()=>Fe(()=>import("./pages-mine-myFavorite.AmCQZ9p_.js"),__vite__mapDeps([50,1,2,10,11,12,34,51])).then(e=>qe(e.default||e)),yD=Ue(Le({loader:k0},Me)),x0=()=>Fe(()=>import("./pages-mine-myProfile.C3vAP0wI.js"),__vite__mapDeps([52,48,49,40,41,10,11,2])).then(e=>qe(e.default||e)),vD=Ue(Le({loader:x0},Me)),P0=()=>Fe(()=>import("./pages-mine-setting.DGPZ4xWy.js"),__vite__mapDeps([53,40,41,54,55,2])).then(e=>qe(e.default||e)),_D=Ue(Le({loader:P0},Me)),E0=()=>Fe(()=>import("./pages-mine-share.BaMOm3MO.js"),__vite__mapDeps([56,20,57])).then(e=>qe(e.default||e)),bD=Ue(Le({loader:E0},Me)),I0=()=>Fe(()=>import("./pages-missionCenter-missionCenter.CTwfToH8.js"),__vite__mapDeps([58,34,2])).then(e=>qe(e.default||e)),wD=Ue(Le({loader:I0},Me)),O0=()=>Fe(()=>import("./pages-myOrders-myOrders.D7LjDYDz.js"),__vite__mapDeps([59,7,8,9,3,4,60,61,26,27,10,11,12,35,62,63,64])).then(e=>qe(e.default||e)),SD=Ue(Le({loader:O0},Me)),A0=()=>Fe(()=>import("./pages-myOrders-orderDetail.C12V0VBp.js"),__vite__mapDeps([65,3,4,60,61,26,27,10,11,66,35,28,62,63,67,2])).then(e=>qe(e.default||e)),TD=Ue(Le({loader:A0},Me)),L0=()=>Fe(()=>import("./pages-notifications-notifications.CkgeW8oY.js"),__vite__mapDeps([68,16,17,7,8,9,32,33,10,11,12,69])).then(e=>qe(e.default||e)),CD=Ue(Le({loader:L0},Me)),R0=()=>Fe(()=>import("./pages-productDetail-checkOut.CAmX8Y-t.js"),__vite__mapDeps([70,10,11,66,35,28,71])).then(e=>qe(e.default||e)),kD=Ue(Le({loader:R0},Me)),M0=()=>Fe(()=>import("./pages-productDetail-productDetail.CXJY4vD6.js"),__vite__mapDeps([72,16,17,3,4,5,6,10,11,38,39,12,34,35,13,48,49,73])).then(e=>qe(e.default||e)),xD=Ue(Le({loader:M0},Me)),D0=()=>Fe(()=>import("./pages-referEarn-referEarn.B0hf8cz6.js"),__vite__mapDeps([74,16,17,48,49,10,11,12,34,2])).then(e=>qe(e.default||e)),PD=Ue(Le({loader:D0},Me)),N0=()=>Fe(()=>import("./pages-register-register.C0WvBQgb.js"),__vite__mapDeps([75,19,2,20])).then(e=>qe(e.default||e)),ED=Ue(Le({loader:N0},Me)),$0=()=>Fe(()=>import("./pages-search-search.C8ebmPqo.js"),__vite__mapDeps([76,1,2,16,17,10,11,12,13,77])).then(e=>qe(e.default||e)),ID=Ue(Le({loader:$0},Me)),B0=()=>Fe(()=>import("./pages-topChampions-topChampions.CDYv_67v.js"),__vite__mapDeps([78,16,17,48,49,22,23,10,11,12,28,2])).then(e=>qe(e.default||e)),OD=Ue(Le({loader:B0},Me)),F0=()=>Fe(()=>import("./pages-vipMembership-vipMembership.D9lGQNe_.js"),__vite__mapDeps([79,48,49,22,23,34,80])).then(e=>qe(e.default||e)),AD=Ue(Le({loader:F0},Me)),U0=()=>Fe(()=>import("./pages-wallet-frozenRecord.DJC1RKaH.js"),__vite__mapDeps([81,26,27,10,11,12,28,2])).then(e=>qe(e.default||e)),LD=Ue(Le({loader:U0},Me)),q0=()=>Fe(()=>import("./pages-wallet-myWallet.CQYZnaJS.js"),__vite__mapDeps([82,24,25,26,27,10,11,12,28,62,63,67,83])).then(e=>qe(e.default||e)),RD=Ue(Le({loader:q0},Me)),V0=()=>Fe(()=>import("./pages-wallet-recharge.BgAZUceh.js"),__vite__mapDeps([84,10,11,28,85])).then(e=>qe(e.default||e)),MD=Ue(Le({loader:V0},Me)),H0=()=>Fe(()=>import("./pages-wallet-rechargeRecord.D_wYDK9h.js"),__vite__mapDeps([86,26,27,10,11,12,28,2])).then(e=>qe(e.default||e)),DD=Ue(Le({loader:H0},Me)),W0=()=>Fe(()=>import("./pages-wallet-withdraw.C4MRJc1J.js"),__vite__mapDeps([87,16,17,54,55,19,2,28])).then(e=>qe(e.default||e)),ND=Ue(Le({loader:W0},Me)),j0=()=>Fe(()=>import("./pages-wallet-withdrawRecord.CsV3ZujN.js"),__vite__mapDeps([88,26,27,10,11,12,28,2])).then(e=>qe(e.default||e)),$D=Ue(Le({loader:j0},Me)),z0=()=>Fe(()=>import("./pages-webLink-webLink.CpLyKm10.js"),[]).then(e=>qe(e.default||e)),BD=Ue(Le({loader:z0},Me)),G0=()=>Fe(()=>import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.BkKSNH84.js"),__vite__mapDeps([89,90])).then(e=>qe(e.default||e)),FD=Ue(Le({loader:G0},Me));function Ne(e,t){return ge(),ve(qM,null,{page:me(()=>[L(e,Le({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(aD,t)}},loader:g0,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/bestSellers/bestSellers",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(lD,t)}},loader:m0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/forgotPassword/forgotPassword",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(cD,t)}},loader:y0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/income/income",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(uD,t)}},loader:v0,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{backgroundColor:"#fff",titleText:"%income.title%",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(dD,t)}},loader:_0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/addressBook",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(fD,t)}},loader:b0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%addressBook.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/addressBookOperate",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(hD,t)}},loader:w0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%addressBook.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/helpCenter",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(pD,t)}},loader:S0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%helpCenter.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/helpCenterDetail",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(gD,t)}},loader:T0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%helpCenter.detail.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/mine",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(mD,t)}},loader:C0,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/myFavorite",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(yD,t)}},loader:k0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%mine.pages.myFavorite.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/myProfile",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(vD,t)}},loader:x0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%myProfile.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/setting",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(_D,t)}},loader:P0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%setting.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/share",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(bD,t)}},loader:E0,meta:{navigationBar:{titleText:"%mine.pages.share.title%",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/missionCenter/missionCenter",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(wD,t)}},loader:I0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%missionCenter.title%",type:"default"},isNVue:!1}},{path:"/pages/myOrders/myOrders",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(SD,t)}},loader:O0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%myOrders.title%",type:"default"},isNVue:!1}},{path:"/pages/myOrders/orderDetail",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(TD,t)}},loader:A0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%orderDetail.title%",type:"default"},isNVue:!1}},{path:"/pages/notifications/notifications",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(CD,t)}},loader:L0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/productDetail/checkOut",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(kD,t)}},loader:R0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%checkout.title%",type:"default"},isNVue:!1}},{path:"/pages/productDetail/productDetail",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(xD,t)}},loader:M0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/referEarn/referEarn",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(PD,t)}},loader:D0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(ED,t)}},loader:N0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/search/search",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(ID,t)}},loader:$0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/topChampions/topChampions",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(OD,t)}},loader:B0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/vipMembership/vipMembership",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(AD,t)}},loader:F0,meta:{navigationBar:{backgroundColor:"#FFFFFF",titleText:"%vipMembership.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/frozenRecord",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(LD,t)}},loader:U0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.frozenRecord.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/myWallet",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(RD,t)}},loader:q0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.myWallet.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(MD,t)}},loader:V0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.recharge.title%",type:"default",buttons:[{text:"Record",fontSize:"28rpx",width:"85px"}]},isNVue:!1}},{path:"/pages/wallet/rechargeRecord",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(DD,t)}},loader:H0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.rechargeRecord.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/withdraw",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(ND,t)}},loader:W0,meta:{navigationBar:{titleText:"%wallet.withdraw.title%",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/wallet/withdrawRecord",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne($D,t)}},loader:j0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.withdrawRecord.title%",type:"default"},isNVue:!1}},{path:"/pages/webLink/webLink",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(BD,t)}},loader:z0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"",type:"default"},isNVue:!1}},{path:"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Ne(FD,t)}},loader:G0,meta:{disableScroll:!0,backgroundColorTop:"transparent",background:"transparent",titleNView:!1,scrollIndicator:!1,popGesture:"none",animationType:"fade-in",animationDuration:200,navigationBar:{type:"default",style:"custom"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));function Qn(e,t){return typeof e=="string"?t:e}const Go=(e,t=0)=>(n,o=it())=>{!is&&Vo(e,n,o)},UD=Go(Zn,3),qD=Go(No,3),VD=Go(jm,1),K0=Go(ss,2),_4=Go(Vr,2),b4=Go(mi,2),w4=Go(fd,2),S4=Go(dl,2);/*! * @intlify/shared v9.1.9 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */const HD=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",cs=e=>HD?Symbol(e):e,WD=(e,t,n)=>jD({l:e,k:t,s:n}),jD=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),mn=e=>typeof e=="number"&&isFinite(e),zD=e=>of(e)==="[object Date]",Qr=e=>of(e)==="[object RegExp]",Ul=e=>Ae(e)&&Object.keys(e).length===0;function GD(e,t){}const Ut=Object.assign;function dg(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const KD=Object.prototype.hasOwnProperty;function Y0(e,t){return KD.call(e,t)}const ft=Array.isArray,yn=e=>typeof e=="function",_e=e=>typeof e=="string",We=e=>typeof e=="boolean",bn=e=>e!==null&&typeof e=="object",YD=Object.prototype.toString,of=e=>YD.call(e),Ae=e=>of(e)==="[object Object]";/*! * @intlify/message-resolver v9.1.9 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */const XD=Object.prototype.hasOwnProperty;function JD(e,t){return XD.call(e,t)}const Ca=e=>e!==null&&typeof e=="object",Ko=[];Ko[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ko[1]={w:[1],".":[2],"[":[4],o:[7]};Ko[2]={w:[2],i:[3,0],0:[3,0]};Ko[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ko[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ko[5]={"'":[4,0],o:8,l:[5,0]};Ko[6]={'"':[4,0],o:8,l:[6,0]};const QD=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ZD(e){return QD.test(e)}function eN(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function tN(e){if(e==null)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 nN(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ZD(t)?eN(t):"*"+t}function oN(e){const t=[];let n=-1,o=0,r=0,s,i,a,l,c,d,u;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,i===void 0||(i=nN(i),i===!1))return!1;f[1]()}};function h(){const _=e[n+1];if(o===5&&_==="'"||o===6&&_==='"')return n++,a="\\"+_,f[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&h())){if(l=tN(s),u=Ko[o],c=u[l]||u.l||8,c===8||(o=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=s,d()===!1))))return;if(o===7)return t}}const fg=new Map;function Ka(e,t){if(!Ca(e))return null;let n=fg.get(t);if(n||(n=oN(t),n&&fg.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;stypeof e=="number"&&isFinite(e),X0=Object.assign,rN=Array.isArray,ws=e=>typeof e=="function",Or=e=>typeof e=="string",Cc=e=>e!==null&&typeof e=="object",J0=Object.prototype.toString,sN=e=>J0.call(e),ka=e=>sN(e)==="[object Object]",iN=e=>e==null?"":rN(e)||ka(e)&&e.toString===J0?JSON.stringify(e,null,2):String(e);/*! * @intlify/runtime v9.1.9 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */const aN=e=>e,lN=e=>"",cN="text",uN=e=>e.length===0?"":e.join(""),dN=iN;function hg(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function fN(e){const t=Pr(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Pr(e.named.count)||Pr(e.named.n))?Pr(e.named.count)?e.named.count:Pr(e.named.n)?e.named.n:t:t}function hN(e,t){t.count||(t.count=e),t.n||(t.n=e)}function pN(e={}){const t=e.locale,n=fN(e),o=Cc(e.pluralRules)&&Or(t)&&ws(e.pluralRules[t])?e.pluralRules[t]:hg,r=Cc(e.pluralRules)&&Or(t)&&ws(e.pluralRules[t])?hg:void 0,s=m=>m[o(n,m.length,r)],i=e.list||[],a=m=>i[m],l=e.named||{};Pr(e.pluralIndex)&&hN(n,l);const c=m=>l[m];function d(m){const y=ws(e.messages)?e.messages(m):Cc(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):lN)}const u=m=>e.modifiers?e.modifiers[m]:aN,f=ka(e.processor)&&ws(e.processor.normalize)?e.processor.normalize:uN,h=ka(e.processor)&&ws(e.processor.interpolate)?e.processor.interpolate:dN,_=ka(e.processor)&&Or(e.processor.type)?e.processor.type:cN,v={list:a,named:c,plural:s,linked:(m,y)=>{const b=d(m)(v);return Or(y)?u(y)(b):b},message:d,type:_,interpolate:h,normalize:f};return v}/*! * @intlify/message-compiler v9.1.9 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */function ql(e,t,n={}){const{domain:o,messages:r,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=o,a}function gN(e){throw e}function mN(e,t,n){return{line:e,column:t,offset:n}}function Nu(e,t,n){return{start:e,end:t}}const Kn=" ",yN="\r",Dt=` `,vN="\u2028",_N="\u2029";function bN(e){const t=e;let n=0,o=1,r=1,s=0;const i=k=>t[k]===yN&&t[k+1]===Dt,a=k=>t[k]===Dt,l=k=>t[k]===_N,c=k=>t[k]===vN,d=k=>i(k)||a(k)||l(k)||c(k),u=()=>n,f=()=>o,h=()=>r,_=()=>s,v=k=>i(k)||l(k)||c(k)?Dt:t[k],m=()=>v(n),y=()=>v(n+s);function b(){return s=0,d(n)&&(o++,r=0),i(n)&&n++,n++,r++,t[n]}function p(){return i(n+s)&&s++,s++,t[n+s]}function g(){n=0,o=1,r=1,s=0}function w(k=0){s=k}function S(){const k=n+s;for(;k!==n;)b();s=0}return{index:u,line:f,column:h,peekOffset:_,charAt:v,currentChar:m,currentPeek:y,next:b,peek:p,reset:g,resetPeek:w,skipToPeek:S}}const go=void 0,pg="'",wN="tokenizer";function SN(e,t={}){const n=t.location!==!1,o=bN(e),r=()=>o.index(),s=()=>mN(o.line(),o.column(),o.index()),i=s(),a=r(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function u(A,D,T,...x){const M=c();if(D.column+=T,D.offset+=T,d){const V=Nu(M.startLoc,D),z=ql(A,V,{domain:wN,args:x});d(z)}}function f(A,D,T){A.endLoc=s(),A.currentType=D;const x={type:D};return n&&(x.loc=Nu(A.startLoc,A.endLoc)),T!=null&&(x.value=T),x}const h=A=>f(A,14);function _(A,D){return A.currentChar()===D?(A.next(),D):(u(0,s(),0,D),"")}function v(A){let D="";for(;A.currentPeek()===Kn||A.currentPeek()===Dt;)D+=A.currentPeek(),A.peek();return D}function m(A){const D=v(A);return A.skipToPeek(),D}function y(A){if(A===go)return!1;const D=A.charCodeAt(0);return D>=97&&D<=122||D>=65&&D<=90||D===95}function b(A){if(A===go)return!1;const D=A.charCodeAt(0);return D>=48&&D<=57}function p(A,D){const{currentType:T}=D;if(T!==2)return!1;v(A);const x=y(A.currentPeek());return A.resetPeek(),x}function g(A,D){const{currentType:T}=D;if(T!==2)return!1;v(A);const x=A.currentPeek()==="-"?A.peek():A.currentPeek(),M=b(x);return A.resetPeek(),M}function w(A,D){const{currentType:T}=D;if(T!==2)return!1;v(A);const x=A.currentPeek()===pg;return A.resetPeek(),x}function S(A,D){const{currentType:T}=D;if(T!==8)return!1;v(A);const x=A.currentPeek()===".";return A.resetPeek(),x}function k(A,D){const{currentType:T}=D;if(T!==9)return!1;v(A);const x=y(A.currentPeek());return A.resetPeek(),x}function C(A,D){const{currentType:T}=D;if(!(T===8||T===12))return!1;v(A);const x=A.currentPeek()===":";return A.resetPeek(),x}function O(A,D){const{currentType:T}=D;if(T!==10)return!1;const x=()=>{const V=A.currentPeek();return V==="{"?y(A.peek()):V==="@"||V==="%"||V==="|"||V===":"||V==="."||V===Kn||!V?!1:V===Dt?(A.peek(),x()):y(V)},M=x();return A.resetPeek(),M}function P(A){v(A);const D=A.currentPeek()==="|";return A.resetPeek(),D}function I(A,D=!0){const T=(M=!1,V="",z=!1)=>{const Q=A.currentPeek();return Q==="{"?V==="%"?!1:M:Q==="@"||!Q?V==="%"?!0:M:Q==="%"?(A.peek(),T(M,"%",!0)):Q==="|"?V==="%"||z?!0:!(V===Kn||V===Dt):Q===Kn?(A.peek(),T(!0,Kn,z)):Q===Dt?(A.peek(),T(!0,Dt,z)):!0},x=T();return D&&A.resetPeek(),x}function E(A,D){const T=A.currentChar();return T===go?go:D(T)?(A.next(),T):null}function N(A){return E(A,T=>{const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36})}function J(A){return E(A,T=>{const x=T.charCodeAt(0);return x>=48&&x<=57})}function R(A){return E(A,T=>{const x=T.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102})}function W(A){let D="",T="";for(;D=J(A);)T+=D;return T}function Z(A){let D="";for(;;){const T=A.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T==="%")if(I(A))D+=T,A.next();else break;else if(T===Kn||T===Dt)if(I(A))D+=T,A.next();else{if(P(A))break;D+=T,A.next()}else D+=T,A.next()}return D}function X(A){m(A);let D="",T="";for(;D=N(A);)T+=D;return A.currentChar()===go&&u(6,s(),0),T}function $(A){m(A);let D="";return A.currentChar()==="-"?(A.next(),D+=`-${W(A)}`):D+=W(A),A.currentChar()===go&&u(6,s(),0),D}function te(A){m(A),_(A,"'");let D="",T="";const x=V=>V!==pg&&V!==Dt;for(;D=E(A,x);)D==="\\"?T+=U(A):T+=D;const M=A.currentChar();return M===Dt||M===go?(u(2,s(),0),M===Dt&&(A.next(),_(A,"'")),T):(_(A,"'"),T)}function U(A){const D=A.currentChar();switch(D){case"\\":case"'":return A.next(),`\\${D}`;case"u":return K(A,D,4);case"U":return K(A,D,6);default:return u(3,s(),0,D),""}}function K(A,D,T){_(A,D);let x="";for(let M=0;MM!=="{"&&M!=="}"&&M!==Kn&&M!==Dt;for(;D=E(A,x);)T+=D;return T}function H(A){let D="",T="";for(;D=N(A);)T+=D;return T}function tt(A){const D=(T=!1,x)=>{const M=A.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||!M||M===Kn?x:M===Dt?(x+=M,A.next(),D(T,x)):(x+=M,A.next(),D(!0,x))};return D(!1,"")}function je(A){m(A);const D=_(A,"|");return m(A),D}function j(A,D){let T=null;switch(A.currentChar()){case"{":return D.braceNest>=1&&u(8,s(),0),A.next(),T=f(D,2,"{"),m(A),D.braceNest++,T;case"}":return D.braceNest>0&&D.currentType===2&&u(7,s(),0),A.next(),T=f(D,3,"}"),D.braceNest--,D.braceNest>0&&m(A),D.inLinked&&D.braceNest===0&&(D.inLinked=!1),T;case"@":return D.braceNest>0&&u(6,s(),0),T=re(A,D)||h(D),D.braceNest=0,T;default:let M=!0,V=!0,z=!0;if(P(A))return D.braceNest>0&&u(6,s(),0),T=f(D,1,je(A)),D.braceNest=0,D.inLinked=!1,T;if(D.braceNest>0&&(D.currentType===5||D.currentType===6||D.currentType===7))return u(6,s(),0),D.braceNest=0,oe(A,D);if(M=p(A,D))return T=f(D,5,X(A)),m(A),T;if(V=g(A,D))return T=f(D,6,$(A)),m(A),T;if(z=w(A,D))return T=f(D,7,te(A)),m(A),T;if(!M&&!V&&!z)return T=f(D,13,G(A)),u(1,s(),0,T.value),m(A),T;break}return T}function re(A,D){const{currentType:T}=D;let x=null;const M=A.currentChar();switch((T===8||T===9||T===12||T===10)&&(M===Dt||M===Kn)&&u(9,s(),0),M){case"@":return A.next(),x=f(D,8,"@"),D.inLinked=!0,x;case".":return m(A),A.next(),f(D,9,".");case":":return m(A),A.next(),f(D,10,":");default:return P(A)?(x=f(D,1,je(A)),D.braceNest=0,D.inLinked=!1,x):S(A,D)||C(A,D)?(m(A),re(A,D)):k(A,D)?(m(A),f(D,12,H(A))):O(A,D)?(m(A),M==="{"?j(A,D)||x:f(D,11,tt(A))):(T===8&&u(9,s(),0),D.braceNest=0,D.inLinked=!1,oe(A,D))}}function oe(A,D){let T={type:14};if(D.braceNest>0)return j(A,D)||h(D);if(D.inLinked)return re(A,D)||h(D);const x=A.currentChar();switch(x){case"{":return j(A,D)||h(D);case"}":return u(5,s(),0),A.next(),f(D,3,"}");case"@":return re(A,D)||h(D);default:if(P(A))return T=f(D,1,je(A)),D.braceNest=0,D.inLinked=!1,T;if(I(A))return f(D,0,Z(A));if(x==="%")return A.next(),f(D,4,"%");break}return T}function de(){const{currentType:A,offset:D,startLoc:T,endLoc:x}=l;return l.lastType=A,l.lastOffset=D,l.lastStartLoc=T,l.lastEndLoc=x,l.offset=r(),l.startLoc=s(),o.currentChar()===go?f(l,14):oe(o,l)}return{nextToken:de,currentOffset:r,currentPosition:s,context:c}}const TN="parser",CN=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function kN(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function xN(e={}){const t=e.location!==!1,{onError:n}=e;function o(y,b,p,g,...w){const S=y.currentPosition();if(S.offset+=g,S.column+=g,n){const k=Nu(p,S),C=ql(b,k,{domain:TN,args:w});n(C)}}function r(y,b,p){const g={type:y,start:b,end:b};return t&&(g.loc={start:p,end:p}),g}function s(y,b,p,g){y.end=b,t&&y.loc&&(y.loc.end=p)}function i(y,b){const p=y.context(),g=r(3,p.offset,p.startLoc);return g.value=b,s(g,y.currentOffset(),y.currentPosition()),g}function a(y,b){const p=y.context(),{lastOffset:g,lastStartLoc:w}=p,S=r(5,g,w);return S.index=parseInt(b,10),y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function l(y,b){const p=y.context(),{lastOffset:g,lastStartLoc:w}=p,S=r(4,g,w);return S.key=b,y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function c(y,b){const p=y.context(),{lastOffset:g,lastStartLoc:w}=p,S=r(9,g,w);return S.value=b.replace(CN,kN),y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function d(y){const b=y.nextToken(),p=y.context(),{lastOffset:g,lastStartLoc:w}=p,S=r(8,g,w);return b.type!==12?(o(y,11,p.lastStartLoc,0),S.value="",s(S,g,w),{nextConsumeToken:b,node:S}):(b.value==null&&o(y,13,p.lastStartLoc,0,Nn(b)),S.value=b.value||"",s(S,y.currentOffset(),y.currentPosition()),{node:S})}function u(y,b){const p=y.context(),g=r(7,p.offset,p.startLoc);return g.value=b,s(g,y.currentOffset(),y.currentPosition()),g}function f(y){const b=y.context(),p=r(6,b.offset,b.startLoc);let g=y.nextToken();if(g.type===9){const w=d(y);p.modifier=w.node,g=w.nextConsumeToken||y.nextToken()}switch(g.type!==10&&o(y,13,b.lastStartLoc,0,Nn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 11:g.value==null&&o(y,13,b.lastStartLoc,0,Nn(g)),p.key=u(y,g.value||"");break;case 5:g.value==null&&o(y,13,b.lastStartLoc,0,Nn(g)),p.key=l(y,g.value||"");break;case 6:g.value==null&&o(y,13,b.lastStartLoc,0,Nn(g)),p.key=a(y,g.value||"");break;case 7:g.value==null&&o(y,13,b.lastStartLoc,0,Nn(g)),p.key=c(y,g.value||"");break;default:o(y,12,b.lastStartLoc,0);const w=y.context(),S=r(7,w.offset,w.startLoc);return S.value="",s(S,w.offset,w.startLoc),p.key=S,s(p,w.offset,w.startLoc),{nextConsumeToken:g,node:p}}return s(p,y.currentOffset(),y.currentPosition()),{node:p}}function h(y){const b=y.context(),p=b.currentType===1?y.currentOffset():b.offset,g=b.currentType===1?b.endLoc:b.startLoc,w=r(2,p,g);w.items=[];let S=null;do{const O=S||y.nextToken();switch(S=null,O.type){case 0:O.value==null&&o(y,13,b.lastStartLoc,0,Nn(O)),w.items.push(i(y,O.value||""));break;case 6:O.value==null&&o(y,13,b.lastStartLoc,0,Nn(O)),w.items.push(a(y,O.value||""));break;case 5:O.value==null&&o(y,13,b.lastStartLoc,0,Nn(O)),w.items.push(l(y,O.value||""));break;case 7:O.value==null&&o(y,13,b.lastStartLoc,0,Nn(O)),w.items.push(c(y,O.value||""));break;case 8:const P=f(y);w.items.push(P.node),S=P.nextConsumeToken||null;break}}while(b.currentType!==14&&b.currentType!==1);const k=b.currentType===1?b.lastOffset:y.currentOffset(),C=b.currentType===1?b.lastEndLoc:y.currentPosition();return s(w,k,C),w}function _(y,b,p,g){const w=y.context();let S=g.items.length===0;const k=r(1,b,p);k.cases=[],k.cases.push(g);do{const C=h(y);S||(S=C.items.length===0),k.cases.push(C)}while(w.currentType!==14);return S&&o(y,10,p,0),s(k,y.currentOffset(),y.currentPosition()),k}function v(y){const b=y.context(),{offset:p,startLoc:g}=b,w=h(y);return b.currentType===14?w:_(y,p,g,w)}function m(y){const b=SN(y,X0({},e)),p=b.context(),g=r(0,p.offset,p.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=v(b),p.currentType!==14&&o(b,13,p.lastStartLoc,0,y[p.offset]||""),s(g,b.currentOffset(),b.currentPosition()),g}return{parse:m}}function Nn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function PN(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function gg(e,t){for(let n=0;ns;function a(_,v){s.code+=_}function l(_,v=!0){const m=v?o:"";a(r?m+" ".repeat(_):m)}function c(_=!0){const v=++s.indentLevel;_&&l(v)}function d(_=!0){const v=--s.indentLevel;_&&l(v)}function u(){l(s.indentLevel)}return{context:i,push:a,indent:c,deindent:d,newline:u,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function ON(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Zr(e,t.key),t.modifier&&(e.push(", "),Zr(e,t.modifier)),e.push(")")}function AN(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let s=0;s{const n=Or(t.mode)?t.mode:"normal",o=Or(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=IN(e,{filename:o,breakLineCode:r,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${i.map(d=>`${d}: _${d}`).join(", ")} } = ctx`),a.newline()),a.push("return "),Zr(a,e),a.deindent(s),a.push("}");const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function DN(e,t={}){const n=X0({},t),r=xN(n).parse(e);return EN(r,n),MN(r,n)}/*! * @intlify/core-base v9.1.9 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */const NN="9.1.9",Vl=-1,mg="";function $N(){return{upper:e=>_e(e)?e.toUpperCase():e,lower:e=>_e(e)?e.toLowerCase():e,capitalize:e=>_e(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Q0;function BN(e){Q0=e}let yg=0;function FN(e={}){const t=_e(e.version)?e.version:NN,n=_e(e.locale)?e.locale:"en-US",o=ft(e.fallbackLocale)||Ae(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=Ae(e.messages)?e.messages:{[n]:{}},s=Ae(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=Ae(e.numberFormats)?e.numberFormats:{[n]:{}},a=Ut({},e.modifiers||{},$N()),l=e.pluralRules||{},c=yn(e.missing)?e.missing:null,d=We(e.missingWarn)||Qr(e.missingWarn)?e.missingWarn:!0,u=We(e.fallbackWarn)||Qr(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,h=!!e.unresolving,_=yn(e.postTranslation)?e.postTranslation:null,v=Ae(e.processor)?e.processor:null,m=We(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=yn(e.messageCompiler)?e.messageCompiler:Q0,p=yn(e.onWarn)?e.onWarn:GD,g=e,w=bn(g.__datetimeFormatters)?g.__datetimeFormatters:new Map,S=bn(g.__numberFormatters)?g.__numberFormatters:new Map,k=bn(g.__meta)?g.__meta:{};return yg++,{version:t,cid:yg,locale:n,fallbackLocale:o,messages:r,datetimeFormats:s,numberFormats:i,modifiers:a,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:u,fallbackFormat:f,unresolving:h,postTranslation:_,processor:v,warnHtmlMessage:m,escapeParameter:y,messageCompiler:b,onWarn:p,__datetimeFormatters:w,__numberFormatters:S,__meta:k}}function sf(e,t,n,o,r){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,r);return _e(a)?a:t}else return t}function Ii(e,t,n){const o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(n);if(!r){r=[];let s=[n];for(;ft(s);)s=vg(r,s,t);const i=ft(t)?t:Ae(t)?t.default?t.default:null:t;s=_e(i)?[i]:i,ft(s)&&vg(r,s,!1),o.__localeChainCache.set(n,r)}return r}function vg(e,t,n){let o=!0;for(let r=0;re;let _g=Object.create(null);function HN(e,t={}){{const o=(t.onCacheKey||VN)(e),r=_g[o];if(r)return r;let s=!1;const i=t.onError||gN;t.onError=c=>{s=!0,i(c)};const{code:a}=DN(e,t),l=new Function(`return ${a}`)();return s?l:_g[o]=l}}function Ar(e){return ql(e,null,void 0)}const bg=()=>"",fr=e=>yn(e);function wg(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,fallbackLocale:s,messages:i}=e,[a,l]=$u(...t),c=We(l.missingWarn)?l.missingWarn:e.missingWarn,d=We(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,u=We(l.escapeParameter)?l.escapeParameter:e.escapeParameter,f=!!l.resolvedMessage,h=_e(l.default)||We(l.default)?We(l.default)?a:l.default:n?a:"",_=n||h!=="",v=_e(l.locale)?l.locale:e.locale;u&&WN(l);let[m,y,b]=f?[a,v,i[v]||{}]:jN(e,a,v,s,d,c),p=a;if(!f&&!(_e(m)||fr(m))&&_&&(m=h,p=m),!f&&(!(_e(m)||fr(m))||!_e(y)))return r?Vl:a;let g=!1;const w=()=>{g=!0},S=fr(m)?m:Z0(e,a,y,m,p,w);if(g)return m;const k=KN(e,y,b,l),C=pN(k),O=zN(e,S,C);return o?o(O):O}function WN(e){ft(e.list)?e.list=e.list.map(t=>_e(t)?dg(t):t):bn(e.named)&&Object.keys(e.named).forEach(t=>{_e(e.named[t])&&(e.named[t]=dg(e.named[t]))})}function jN(e,t,n,o,r,s){const{messages:i,onWarn:a}=e,l=Ii(e,o,n);let c={},d,u=null;const f="translate";for(let h=0;h{throw s&&s(i),i},onCacheKey:i=>WD(t,n,i)}}function KN(e,t,n,o){const{modifiers:r,pluralRules:s}=e,a={locale:t,modifiers:r,pluralRules:s,messages:l=>{const c=Ka(n,l);if(_e(c)){let d=!1;const f=Z0(e,l,t,c,l,()=>{d=!0});return d?bg:f}else return fr(c)?c:bg}};return e.processor&&(a.processor=e.processor),o.list&&(a.list=o.list),o.named&&(a.named=o.named),mn(o.plural)&&(a.pluralIndex=o.plural),a}function Sg(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s}=e,{__datetimeFormatters:i}=e,[a,l,c,d]=Bu(...t),u=We(c.missingWarn)?c.missingWarn:e.missingWarn;We(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,h=_e(c.locale)?c.locale:e.locale,_=Ii(e,r,h);if(!_e(a)||a==="")return new Intl.DateTimeFormat(h).format(l);let v={},m,y=null;const b="datetime format";for(let w=0;w<_.length&&(m=_[w],v=n[m]||{},y=v[a],!Ae(y));w++)sf(e,a,m,u,b);if(!Ae(y)||!_e(m))return o?Vl:a;let p=`${m}__${a}`;Ul(d)||(p=`${p}__${JSON.stringify(d)}`);let g=i.get(p);return g||(g=new Intl.DateTimeFormat(m,Ut({},y,d)),i.set(p,g)),f?g.formatToParts(l):g.format(l)}function Bu(...e){const[t,n,o,r]=e;let s={},i={},a;if(_e(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw Ar(16);a=new Date(t);try{a.toISOString()}catch(l){throw Ar(16)}}else if(zD(t)){if(isNaN(t.getTime()))throw Ar(15);a=t}else if(mn(t))a=t;else throw Ar(14);return _e(n)?s.key=n:Ae(n)&&(s=n),_e(o)?s.locale=o:Ae(o)&&(i=o),Ae(r)&&(i=r),[s.key||"",a,s,i]}function Tg(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function Cg(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s}=e,{__numberFormatters:i}=e,[a,l,c,d]=Fu(...t),u=We(c.missingWarn)?c.missingWarn:e.missingWarn;We(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,h=_e(c.locale)?c.locale:e.locale,_=Ii(e,r,h);if(!_e(a)||a==="")return new Intl.NumberFormat(h).format(l);let v={},m,y=null;const b="number format";for(let w=0;w<_.length&&(m=_[w],v=n[m]||{},y=v[a],!Ae(y));w++)sf(e,a,m,u,b);if(!Ae(y)||!_e(m))return o?Vl:a;let p=`${m}__${a}`;Ul(d)||(p=`${p}__${JSON.stringify(d)}`);let g=i.get(p);return g||(g=new Intl.NumberFormat(m,Ut({},y,d)),i.set(p,g)),f?g.formatToParts(l):g.format(l)}function Fu(...e){const[t,n,o,r]=e;let s={},i={};if(!mn(t))throw Ar(14);const a=t;return _e(n)?s.key=n:Ae(n)&&(s=n),_e(o)?s.locale=o:Ae(o)&&(i=o),Ae(r)&&(i=r),[s.key||"",a,s,i]}function kg(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}/*! * vue-i18n v9.1.9 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */const YN="9.1.9";function Ot(e,...t){return ql(e,null,void 0)}const Uu=cs("__transrateVNode"),qu=cs("__datetimeParts"),Vu=cs("__numberParts"),eb=cs("__setPluralRules"),tb=cs("__injectWithOption");let xg=0;function Pg(e){return(t,n,o,r)=>e(n,o,it()||void 0,r)}function af(e,t){const{messages:n,__i18n:o}=t,r=Ae(n)?n:ft(o)?{}:{[e]:{}};if(ft(o)&&o.forEach(({locale:s,resource:i})=>{s?(r[s]=r[s]||{},Ya(i,r[s])):Ya(i,r)}),t.flatJson)for(const s in r)Y0(r,s)&&Du(r[s]);return r}const Zi=e=>!bn(e)||ft(e);function Ya(e,t){if(Zi(e)||Zi(t))throw Ot(20);for(const n in e)Y0(e,n)&&(Zi(e[n])||Zi(t[n])?t[n]=e[n]:Ya(e[n],t[n]))}function lf(e={}){const{__root:t}=e,n=t===void 0;let o=We(e.inheritLocale)?e.inheritLocale:!0;const r=q(t&&o?t.locale.value:_e(e.locale)?e.locale:"en-US"),s=q(t&&o?t.fallbackLocale.value:_e(e.fallbackLocale)||ft(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r.value),i=q(af(r.value,e)),a=q(Ae(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),l=q(Ae(e.numberFormats)?e.numberFormats:{[r.value]:{}});let c=t?t.missingWarn:We(e.missingWarn)||Qr(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:We(e.fallbackWarn)||Qr(e.fallbackWarn)?e.fallbackWarn:!0,u=t?t.fallbackRoot:We(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.fallbackFormat,h=yn(e.missing)?e.missing:null,_=yn(e.missing)?Pg(e.missing):null,v=yn(e.postTranslation)?e.postTranslation:null,m=We(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const b=t?t.modifiers:Ae(e.modifiers)?e.modifiers:{};let p=e.pluralRules||t&&t.pluralRules,g;function w(){return FN({version:YN,locale:r.value,fallbackLocale:s.value,messages:i.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:b,pluralRules:p,missing:_===null?void 0:_,missingWarn:c,fallbackWarn:d,fallbackFormat:f,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:m,escapeParameter:y,__datetimeFormatters:Ae(g)?g.__datetimeFormatters:void 0,__numberFormatters:Ae(g)?g.__numberFormatters:void 0,__v_emitter:Ae(g)?g.__v_emitter:void 0,__meta:{framework:"vue"}})}g=w(),Ss(g,r.value,s.value);function S(){return[r.value,s.value,i.value,a.value,l.value]}const k=Y({get:()=>r.value,set:B=>{r.value=B,g.locale=r.value}}),C=Y({get:()=>s.value,set:B=>{s.value=B,g.fallbackLocale=s.value,Ss(g,r.value,B)}}),O=Y(()=>i.value),P=Y(()=>a.value),I=Y(()=>l.value);function E(){return yn(v)?v:null}function N(B){v=B,g.postTranslation=B}function J(){return h}function R(B){B!==null&&(_=Pg(B)),h=B,g.missing=_}function W(B,F,ae,fe,ye,Te){S();let xe;if(xe=B(g),mn(xe)&&xe===Vl){const[Ve,Ye]=F();return t&&u?fe(t):ye(Ve)}else{if(Te(xe))return xe;throw Ot(14)}}function Z(...B){return W(F=>wg(F,...B),()=>$u(...B),"translate",F=>F.t(...B),F=>F,F=>_e(F))}function X(...B){const[F,ae,fe]=B;if(fe&&!bn(fe))throw Ot(15);return Z(F,ae,Ut({resolvedMessage:!0},fe||{}))}function $(...B){return W(F=>Sg(F,...B),()=>Bu(...B),"datetime format",F=>F.d(...B),()=>mg,F=>_e(F))}function te(...B){return W(F=>Cg(F,...B),()=>Fu(...B),"number format",F=>F.n(...B),()=>mg,F=>_e(F))}function U(B){return B.map(F=>_e(F)?L(jr,null,F,0):F)}const G={normalize:U,interpolate:B=>B,type:"vnode"};function H(...B){return W(F=>{let ae;const fe=F;try{fe.processor=G,ae=wg(fe,...B)}finally{fe.processor=null}return ae},()=>$u(...B),"translate",F=>F[Uu](...B),F=>[L(jr,null,F,0)],F=>ft(F))}function tt(...B){return W(F=>Cg(F,...B),()=>Fu(...B),"number format",F=>F[Vu](...B),()=>[],F=>_e(F)||ft(F))}function je(...B){return W(F=>Sg(F,...B),()=>Bu(...B),"datetime format",F=>F[qu](...B),()=>[],F=>_e(F)||ft(F))}function j(B){p=B,g.pluralRules=p}function re(B,F){const ae=_e(F)?F:r.value,fe=A(ae);return Ka(fe,B)!==null}function oe(B){let F=null;const ae=Ii(g,s.value,r.value);for(let fe=0;fe{o&&(r.value=B,g.locale=B,Ss(g,r.value,s.value))}),ne(t.fallbackLocale,B=>{o&&(s.value=B,g.fallbackLocale=B,Ss(g,r.value,s.value))})),{id:xg,locale:k,fallbackLocale:C,get inheritLocale(){return o},set inheritLocale(B){o=B,B&&t&&(r.value=t.locale.value,s.value=t.fallbackLocale.value,Ss(g,r.value,s.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:O,datetimeFormats:P,numberFormats:I,get modifiers(){return b},get pluralRules(){return p||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(B){c=B,g.missingWarn=c},get fallbackWarn(){return d},set fallbackWarn(B){d=B,g.fallbackWarn=d},get fallbackRoot(){return u},set fallbackRoot(B){u=B},get fallbackFormat(){return f},set fallbackFormat(B){f=B,g.fallbackFormat=f},get warnHtmlMessage(){return m},set warnHtmlMessage(B){m=B,g.warnHtmlMessage=B},get escapeParameter(){return y},set escapeParameter(B){y=B,g.escapeParameter=B},t:Z,rt:X,d:$,n:te,te:re,tm:de,getLocaleMessage:A,setLocaleMessage:D,mergeLocaleMessage:T,getDateTimeFormat:x,setDateTimeFormat:M,mergeDateTimeFormat:V,getNumberFormat:z,setNumberFormat:Q,mergeNumberFormat:ie,getPostTranslationHandler:E,setPostTranslationHandler:N,getMissingHandler:J,setMissingHandler:R,[Uu]:H,[Vu]:tt,[qu]:je,[eb]:j,[tb]:e.__injectWithOption}}function XN(e){const t=_e(e.locale)?e.locale:"en-US",n=_e(e.fallbackLocale)||ft(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=yn(e.missing)?e.missing:void 0,r=We(e.silentTranslationWarn)||Qr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=We(e.silentFallbackWarn)||Qr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=We(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Ae(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=yn(e.postTranslation)?e.postTranslation:void 0,u=_e(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=We(e.sync)?e.sync:!0;let _=e.messages;if(Ae(e.sharedMessages)){const w=e.sharedMessages;_=Object.keys(w).reduce((k,C)=>{const O=k[C]||(k[C]={});return Ut(O,w[C]),k},_||{})}const{__i18n:v,__root:m,__injectWithOption:y}=e,b=e.datetimeFormats,p=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:_,flatJson:g,datetimeFormats:b,numberFormats:p,missing:o,missingWarn:r,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:f,inheritLocale:h,__i18n:v,__root:m,__injectWithOption:y}}function Hu(e={}){const t=lf(XN(e)),n={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},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(){return[]}}},set formatter(o){},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return We(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=We(o)?!o:o},get silentFallbackWarn(){return We(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=We(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){const[r,s,i]=o,a={};let l=null,c=null;if(!_e(r))throw Ot(15);const d=r;return _e(s)?a.locale=s:ft(s)?l=s:Ae(s)&&(c=s),ft(i)?l=i:Ae(i)&&(c=i),t.t(d,l||c||{},a)},rt(...o){return t.rt(...o)},tc(...o){const[r,s,i]=o,a={plural:1};let l=null,c=null;if(!_e(r))throw Ot(15);const d=r;return _e(s)?a.locale=s:mn(s)?a.plural=s:ft(s)?l=s:Ae(s)&&(c=s),_e(i)?a.locale=i:ft(i)?l=i:Ae(i)&&(c=i),t.t(d,l||c||{},a)},te(o,r){return t.te(o,r)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,r){t.setLocaleMessage(o,r)},mergeLocaleMessage(o,r){t.mergeLocaleMessage(o,r)},d(...o){return t.d(...o)},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,r){t.setDateTimeFormat(o,r)},mergeDateTimeFormat(o,r){t.mergeDateTimeFormat(o,r)},n(...o){return t.n(...o)},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,r){t.setNumberFormat(o,r)},mergeNumberFormat(o,r){t.mergeNumberFormat(o,r)},getChoiceIndex(o,r){return-1},__onComponentInstanceCreated(o){const{componentInstanceCreatedListener:r}=e;r&&r(o,n)}};return n}const cf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},Eg={name:"i18n-t",props:Ut({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>mn(e)||!isNaN(e)}},cf),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||uf({useScope:e.scope,__useComponent:!0}),s=Object.keys(n).filter(i=>i!=="_");return()=>{const i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=_e(e.plural)?+e.plural:e.plural);const a=JN(t,s),l=r[Uu](e.keypath,a,i),c=Ut({},o);return _e(e.tag)||bn(e.tag)?_n(e.tag,c,l):_n(ot,c,l)}}};function JN({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function nb(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),_e(e.format)?i.key=e.format:bn(e.format)&&(_e(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((u,f)=>n.includes(f)?Ut({},u,{[f]:e.format[f]}):u,{}));const l=o(e.value,i,a);let c=[i.key];ft(l)?c=l.map((u,f)=>{const h=r[u.type];return h?h({[u.type]:u.value,index:f,parts:l}):[u.value]}):_e(l)&&(c=[l]);const d=Ut({},s);return _e(e.tag)||bn(e.tag)?_n(e.tag,d,c):_n(ot,d,c)}}const QN=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Ig={name:"i18n-n",props:Ut({value:{type:Number,required:!0},format:{type:[String,Object]}},cf),setup(e,t){const n=e.i18n||uf({useScope:"parent",__useComponent:!0});return nb(e,t,QN,(...o)=>n[Vu](...o))}},ZN=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],Og={name:"i18n-d",props:Ut({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},cf),setup(e,t){const n=e.i18n||uf({useScope:"parent",__useComponent:!0});return nb(e,t,ZN,(...o)=>n[qu](...o))}};function e$(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function t$(e){const t=(n,{instance:o,value:r,modifiers:s})=>{if(!o||!o.$)throw Ot(22);const i=e$(e,o.$),a=n$(r);n.textContent=i.t(...o$(a))};return{beforeMount:t,beforeUpdate:t}}function n$(e){if(_e(e))return{path:e};if(Ae(e)){if(!("path"in e))throw Ot(19,"path");return e}else throw Ot(20)}function o$(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,i={},a=o||{};return _e(n)&&(i.locale=n),mn(r)&&(i.plural=r),mn(s)&&(i.plural=s),[t,a,i]}function r$(e,t,...n){const o=Ae(n[0])?n[0]:{},r=!!o.useI18nComponentName;(We(o.globalInstall)?o.globalInstall:!0)&&(e.component(r?"i18n":Eg.name,Eg),e.component(Ig.name,Ig),e.component(Og.name,Og)),e.directive("t",t$(t))}function s$(e,t,n){return{beforeCreate(){const o=it();if(!o)throw Ot(22);const r=this.$options;if(r.i18n){const s=r.i18n;r.__i18n&&(s.__i18n=r.__i18n),s.__root=t,this===this.$root?this.$i18n=Ag(e,s):(s.__injectWithOption=!0,this.$i18n=Hu(s))}else r.__i18n?this===this.$root?this.$i18n=Ag(e,r):this.$i18n=Hu({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},beforeUnmount(){const o=it();if(!o)throw Ot(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(o),delete this.$i18n}}}function Ag(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[eb](t.pluralizationRules||e.pluralizationRules);const n=af(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}function i$(e={}){const t=We(e.legacy)?e.legacy:!0,n=!!e.globalInjection,o=new Map,r=t?Hu(e):lf(e),s=cs(""),i={get mode(){return t?"legacy":"composition"},install(l,...c){return ue(this,null,function*(){l.__VUE_I18N_SYMBOL__=s,l.provide(l.__VUE_I18N_SYMBOL__,i),!t&&n&&d$(l,i.global),r$(l,i,...c),t&&l.mixin(s$(r,r.__composer,i))})},get global(){return r},__instances:o,__getInstance(l){return o.get(l)||null},__setInstance(l,c){o.set(l,c)},__deleteInstance(l){o.delete(l)}};return i}function uf(e={}){const t=it();if(t==null)throw Ot(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ot(17);const n=$e(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ot(22);const o=n.mode==="composition"?n.global:n.global.__composer,r=Ul(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(r==="global"){let a=bn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=af(o.locale.value,{messages:a,__i18n:t.type.__i18nGlobal}));const l=Object.keys(a);if(l.length&&l.forEach(c=>{o.mergeLocaleMessage(c,a[c])}),bn(e.datetimeFormats)){const c=Object.keys(e.datetimeFormats);c.length&&c.forEach(d=>{o.mergeDateTimeFormat(d,e.datetimeFormats[d])})}if(bn(e.numberFormats)){const c=Object.keys(e.numberFormats);c.length&&c.forEach(d=>{o.mergeNumberFormat(d,e.numberFormats[d])})}return o}if(r==="parent"){let a=a$(n,t,e.__useComponent);return a==null&&(a=o),a}if(n.mode==="legacy")throw Ot(18);const s=n;let i=s.__getInstance(t);if(i==null){const a=t.type,l=Ut({},e);a.__i18n&&(l.__i18n=a.__i18n),o&&(l.__root=o),i=lf(l),l$(s,t),s.__setInstance(t,i)}return i}function a$(e,t,n=!1){let o=null;const r=t.root;let s=t.parent;for(;s!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(s);else{const a=i.__getInstance(s);a!=null&&(o=a.__composer),n&&o&&!o[tb]&&(o=null)}if(o!=null||r===s)break;s=s.parent}return o}function l$(e,t,n){Be(()=>{},t),An(()=>{e.__deleteInstance(t)},t)}const c$=["locale","fallbackLocale","availableLocales"],u$=["t","rt","d","n","tm"];function d$(e,t){const n=Object.create(null);c$.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Ot(22);const s=lt(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,u$.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Ot(22);Object.defineProperty(e.config.globalProperties,`$${o}`,r)})}BN(HN);class Wu{constructor(t){this._reject=null,this.promise=new Promise((n,o)=>{t(n,o),this._reject=o})}abort(t){this._reject&&this._reject(t)}then(t,n){return this.promise.then(t,n)}catch(t){return this.promise.catch(t)}}function T4(){return mo()+mo()+mo()+mo()+mo()+mo()+mo()+mo()}function mo(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function xn(e){return Number.isNaN(Number(e))?`${e}`:`${e}px`}function es(e){return Object.prototype.toString.call(e)==="[object Object]"||typeof e=="object"}function Xa(e){const n=Object.prototype.toString.call(e).match(/\[object (\w+)\]/);return n&&n.length?n[1].toLowerCase():""}const C4=function(e,t){const n=(t==null?void 0:t.labelKey)||"value";return Array.isArray(e)?e.map(o=>o[n]).join(", "):e[n]},Ie=e=>e!=null,k4=(e,t="value")=>{if(e<0)throw new Error(`${t} shouldn't be less than zero`)};function f$(e,t,n){const o=(e<<16|t<<8|n).toString(16);return"#"+"0".repeat(Math.max(0,6-o.length))+o}function Lg(e){const t=[];for(let n=1;n<7;n+=2)t.push(parseInt("0x"+e.slice(n,n+2),16));return t}const h$=(e,t,n=2)=>{const o=Lg(e),r=Lg(t),s=(r[0]-o[0])/n,i=(r[1]-o[1])/n,a=(r[2]-o[2])/n,l=[];for(let c=0;cMath.min(Math.max(e,t),n),p$=(e,t)=>{if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n{let i=null;n?i=lp().in(n):i=lp();const a=t?"selectAll":"select",l=c=>{t&&rb(c)&&c.length>0||!t&&c?r(c):s(new Error("No nodes found"))};i[a](e).boundingClientRect(l).exec()})}function g$(e){return e.replace(/[A-Z]/g,function(n){return"-"+n}).toLowerCase()}function m$(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function rb(e){return typeof Array.isArray=="function"?Array.isArray(e):Object.prototype.toString.call(e)==="[object Array]"}function Cn(e){return Xa(e)==="function"||Xa(e)==="asyncfunction"}function y$(e){return Xa(e)==="string"}function sb(e){return Xa(e)==="number"}function xc(e){return es(e)&&Ie(e)?Cn(e.then)&&Cn(e.catch):!1}function P4(e){return typeof e=="boolean"}function Ja(e){return typeof e=="undefined"}function E4(e){if(typeof e!="number")throw new Error("输入必须为数字");return e%2===1}function Rn(e){if(rb(e)){const t=e.filter(function(n){return n!=null&&n!==""}).map(function(n){return Rn(n)}).join(";");return t?t.endsWith(";")?t:t+";":""}if(y$(e))return e?e.endsWith(";")?e:e+";":"";if(es(e)){const t=Object.keys(e).filter(function(n){return e[n]!=null&&e[n]!==""}).map(function(n){return[g$(n),e[n]].join(":")}).join(";");return t?t.endsWith(";")?t:t+";":""}return""}const sr=(e=1e3/30)=>new Wu(t=>{const n=setTimeout(()=>{clearTimeout(n),t(!0)},e)});function df(e,t=new Map){if(e===null||typeof e!="object")return e;if(_$(e))return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);if(e instanceof Error){const o=new Error(e.message);return o.stack=e.stack,o}if(t.has(e))return t.get(e);const n=Array.isArray(e)?[]:{};t.set(e,n);for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=df(e[o],t));return n}function Pc(e,t){if(e=df(e),typeof e!="object"||typeof t!="object")throw new Error("Both target and source must be objects.");for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function li(e,t){return Object.keys(t).forEach(n=>{const o=e[n],r=t[n];es(o)&&es(r)?li(o,r):e[n]=r}),e}function I4(e,t,n={}){let o=null,r,s,i;const a=Ie(n.leading)?n.leading:!1,l=Ie(n.trailing)?n.trailing:!0;function c(){r!==void 0&&(i=e.apply(s,r),r=void 0)}function d(){o=setTimeout(()=>{o=null,l&&c()},t)}function u(){o!==null&&(clearTimeout(o),o=null)}function f(...h){return r=h,s=this,o===null?(a&&c(),d()):l&&(u(),d()),i}return f}const v$=(e,t)=>{const n=t.split(".");try{return n.reduce((o,r)=>o!=null?o[r]:void 0,e)}catch(o){return}},_$=e=>Object.prototype.toString.call(e)==="[object Date]"&&!Number.isNaN(e.getTime());function O4(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|video)/i.test(e)}const Qa=(()=>{let e=!1;return e=!0,e})();function Za(e,t){const n=df(e);return Object.keys(n).forEach(o=>t(n[o],o)&&delete n[o]),n}const Rg="__TOAST_OPTION__",ju={duration:2e3,show:!1},Mg=Symbol("None");function A4(e=""){const t=ib(e),n=$e(t,q(Mg));n.value===Mg&&(n.value=ju,_t(t,n));let o=null;const r=f=>h=>s(Pc(f,typeof h=="string"?{msg:h}:h)),s=f=>{const h=Pc(ju,typeof f=="string"?{msg:f}:f);n.value=Pc(h,{show:!0}),o&&clearTimeout(o),n.value.duration&&n.value.duration>0&&(o=setTimeout(()=>{o&&clearTimeout(o),u()},h.duration))},i=r({iconName:"loading",duration:0,cover:!0}),a=r({iconName:"success",duration:1500}),l=r({iconName:"error"}),c=r({iconName:"warning"}),d=r({iconName:"info"}),u=()=>{n.value={show:!1}};return{show:s,loading:i,success:a,error:l,warning:c,info:d,close:u}}const ib=e=>e?`${Rg}${e}`:Rg,b$={success(){return'成功Created with Sketch.'},warning(){return'警告Created with Sketch. '},info(){return'常规Created with Sketch.'},error(){return'toastCreated with Sketch. '}},Dg="__MESSAGE_OPTION__",w$={title:"",showCancelButton:!1,show:!1,closeOnClickModal:!0,msg:"",type:"alert",inputType:"text",inputValue:"",showErr:!1,zIndex:99,lazyRender:!0,inputError:""},S$=e=>e?`${Dg}${e}`:Dg,ab="__QUEUE_KEY__";function L4(){const e=q([]);function t(s){e.value.push(s)}function n(s){e.value=e.value.filter(i=>i.$.uid!==s.$.uid)}function o(s){e.value.forEach(i=>{i.$.uid!==s.$.uid&&i.$.exposed.close()})}function r(){e.value.forEach(s=>{s.$.exposed.close()})}return _t(ab,{queue:e,pushToQueue:t,removeFromQueue:n,closeOther:o,closeOutside:r}),{closeOther:o,closeOutside:r}}let el=[];function T$(e){el.push(e)}function C$(e){el=el.filter(t=>t.$.uid!==e.$.uid)}function k$(e){el.forEach(t=>{t.$.uid!==e.$.uid&&t.$.exposed.close()})}const x$={calendar:{placeholder:"请选择",title:"选择日期",day:"日",week:"周",month:"月",confirm:"确定",startTime:"开始时间",endTime:"结束时间",to:"至",timeFormat:"YY年MM月DD日 HH:mm:ss",dateFormat:"YYYY年MM月DD日",weekFormat:(e,t)=>`${e} 第 ${t} 周`,startWeek:"开始周",endWeek:"结束周",startMonth:"开始月",endMonth:"结束月",monthFormat:"YYYY年MM月"},calendarView:{startTime:"开始",endTime:"结束",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},rangePrompt:e=>`选择天数不能超过${e}天`,rangePromptWeek:e=>`选择周数不能超过${e}周`,rangePromptMonth:e=>`选择月份不能超过${e}个月`,monthTitle:"YYYY年M月",yearTitle:"YYYY年",month:"M月",hour:e=>`${e}时`,minute:e=>`${e}分`,second:e=>`${e}秒`},collapse:{expand:"展开",retract:"收起"},colPicker:{title:"请选择",placeholder:"请选择",select:"请选择"},datetimePicker:{start:"开始时间",end:"结束时间",to:"至",placeholder:"请选择",confirm:"完成",cancel:"取消"},loadmore:{loading:"正在努力加载中...",finished:"已加载完毕",error:"加载失败",retry:"点击重试"},messageBox:{inputPlaceholder:"请输入",confirm:"确定",cancel:"取消",inputNoValidate:"输入的数据不合法"},numberKeyboard:{confirm:"完成"},pagination:{prev:"上一页",next:"下一页",page:e=>`当前页:${e}`,total:e=>`当前数据:${e}条`,size:e=>`分页大小:${e}`},picker:{cancel:"取消",done:"完成",placeholder:"请选择"},imgCropper:{confirm:"完成",cancel:"取消"},search:{search:"搜索",cancel:"取消"},steps:{wait:"未开始",finished:"已完成",process:"进行中",failed:"失败"},tabs:{all:"全部"},upload:{error:"上传失败"},input:{placeholder:"请输入..."},selectPicker:{title:"请选择",placeholder:"请选择",select:"请选择",confirm:"确认",filterPlaceholder:"搜索"},tag:{placeholder:"请输入",add:"新增标签"},textarea:{placeholder:"请输入..."},tableCol:{indexLabel:"序号"},signature:{confirmText:"确认",clearText:"清空",revokeText:"撤销",restoreText:"恢复"}},Ng=q("zh-CN"),$g=Ee({"zh-CN":x$}),lb={messages(){return $g[Ng.value]},use(e,t){Ng.value=e,t&&this.add({[e]:t})},add(e={}){li($g,e)}},P$={calendar:{placeholder:"Select",title:"Select Date",day:"Date",week:"Week",month:"Month",confirm:"OK",startTime:"Start Date",endTime:"End Date",to:"To",timeFormat:"YY-MM-DD HH:mm:ss",dateFormat:"YYYY-MM-DD",weekFormat:(e,t)=>`${e} W${t}`,startWeek:"Start Week",endWeek:"End Week",startMonth:"Start Month",endMonth:"End Month",monthFormat:"YYYY-MM"},calendarView:{startTime:"Start Time",endTime:"End Time",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},rangePrompt:e=>`The number of selected days cannot exceed ${e} days`,rangePromptWeek:e=>`The number of weeks selected cannot exceed ${e} weeks`,rangePromptMonth:e=>`The selected month cannot exceed ${e} months`,monthTitle:"YYYY-MM",yearTitle:"YYYY",month:"MM",hour:e=>`${e}`,minute:e=>`${e}`,second:e=>`${e}`},datetimePicker:{start:"From",end:"To",to:"To",placeholder:"Select",confirm:"OK",cancel:"Cancel"},collapse:{expand:"Expand",retract:"Fold"},colPicker:{title:"Select",placeholder:"Select",select:"Select"},loadmore:{loading:"Loading...",finished:"Finished loading",error:"Failed to load...",retry:"Refresh"},imgCropper:{confirm:"OK",cancel:"Cancel"},messageBox:{inputPlaceholder:"Please input information",confirm:"OK",cancel:"Cancel",inputNoValidate:"Please ensure you input correct information"},numberKeyboard:{confirm:"done"},pagination:{prev:"Previous",next:"Next",page:e=>`Page: ${e}`,total:e=>`Total: ${e}`,size:e=>`${e}/page`},picker:{cancel:"Cancel",done:"Done",placeholder:"Select"},search:{search:"Search",cancel:"Cancel"},steps:{wait:"Not Started",finished:"Expired",process:"In Progress",failed:"Failed"},tabs:{all:"All"},upload:{error:"Failed to upload"},input:{placeholder:"Please input information..."},selectPicker:{title:"Select",placeholder:"Select",select:"Select",confirm:"Ok",filterPlaceholder:"Search"},tag:{placeholder:"Enter",add:"Add Tag"},textarea:{placeholder:"Please input information..."},tableCol:{indexLabel:"index"},signature:{confirmText:"OK",clearText:"Clear",revokeText:"Undo",restoreText:"Restore"}},cb={en:Mm,"zh-Hans":Nm,bn:Lm},E$=["en","zh-Hans","bn"];function Bg(e){return e?E$.includes(e)?e:e.toLowerCase().startsWith("en")?"en":"bn":"bn"}function I$(){const e=ht("app_locale");if(e)return Bg(e);const t=jn().language||no();return Bg(t)==="en"?"en":"bn"}const ub=i$({locale:I$(),messages:cb});lb.use("en-US",P$);function O$(e){if(!e)return"";const t=no(),n=cb[t];if(Object.keys(n).includes(e))return n[e];try{return e.split(".").reduce((r,s)=>r[s],n)}catch(o){return""}}function A$(e,t){return e.replace(/\{([^}]+)\}/g,(n,o)=>{const r=o.trim().split(".");let s=t;for(;r.length;){const i=r.shift();s=s[i]}return s})}function En(e,t){return A$(O$(e),t)}function db(e){return e?e.replace(/\n/g,"
"):""}function L$(e,t){const n=En(e,t);return db(n)}/*! * pinia v2.0.36 * (c) 2023 Eduardo San Martin Morote * @license MIT */let fb;const Hl=e=>fb=e,hb=Symbol();function zu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var js;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(js||(js={}));function R$(){const e=gd(!0),t=e.run(()=>q({}));let n=[],o=[];const r=$o({install(s){Hl(r),r._a=s,s.provide(hb,r),s.config.globalProperties.$pinia=r,o.forEach(i=>n.push(i)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const pb=()=>{};function Fg(e,t,n,o=pb){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&_y()&&HS(r),r}function Tr(e,...t){e.slice().forEach(n=>{n(...t)})}function Gu(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),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];zu(r)&&zu(o)&&e.hasOwnProperty(n)&&!lt(o)&&!Jn(o)?e[n]=Gu(r,o):e[n]=o}return e}const M$=Symbol();function D$(e){return!zu(e)||!e.hasOwnProperty(M$)}const{assign:yo}=Object;function N$(e){return!!(lt(e)&&e.effect)}function $$(e,t,n,o){const{state:r,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=r?r():{});const d=hT(n.state.value[e]);return yo(d,s,Object.keys(i||{}).reduce((u,f)=>(u[f]=$o(Y(()=>{Hl(n);const h=n._s.get(e);return i[f].call(h,h)})),u),{}))}return l=gb(e,c,t,n,o,!0),l}function gb(e,t,n={},o,r,s){let i;const a=yo({actions:{}},n),l={deep:!0};let c,d,u=$o([]),f=$o([]),h;const _=o.state.value[e];!s&&!_&&(o.state.value[e]={}),q({});let v;function m(k){let C;c=d=!1,typeof k=="function"?(k(o.state.value[e]),C={type:js.patchFunction,storeId:e,events:h}):(Gu(o.state.value[e],k),C={type:js.patchObject,payload:k,storeId:e,events:h});const O=v=Symbol();st().then(()=>{v===O&&(c=!0)}),d=!0,Tr(u,C,o.state.value[e])}const y=s?function(){const{state:C}=n,O=C?C():{};this.$patch(P=>{yo(P,O)})}:pb;function b(){i.stop(),u=[],f=[],o._s.delete(e)}function p(k,C){return function(){Hl(o);const O=Array.from(arguments),P=[],I=[];function E(R){P.push(R)}function N(R){I.push(R)}Tr(f,{args:O,name:k,store:w,after:E,onError:N});let J;try{J=C.apply(this&&this.$id===e?this:w,O)}catch(R){throw Tr(I,R),R}return J instanceof Promise?J.then(R=>(Tr(P,R),R)).catch(R=>(Tr(I,R),Promise.reject(R))):(Tr(P,J),J)}}const g={_p:o,$id:e,$onAction:Fg.bind(null,f),$patch:m,$reset:y,$subscribe(k,C={}){const O=Fg(u,k,C.detached,()=>P()),P=i.run(()=>ne(()=>o.state.value[e],I=>{(C.flush==="sync"?d:c)&&k({storeId:e,type:js.direct,events:h},I)},yo({},l,C)));return O},$dispose:b},w=Ee(g);o._s.set(e,w);const S=o._e.run(()=>(i=gd(),i.run(()=>t())));for(const k in S){const C=S[k];if(lt(C)&&!N$(C)||Jn(C))s||(_&&D$(C)&&(lt(C)?C.value=_[k]:Gu(C,_[k])),o.state.value[e][k]=C);else if(typeof C=="function"){const O=p(k,C);S[k]=O,a.actions[k]=C}}return yo(w,S),yo(De(w),S),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:k=>{m(C=>{yo(C,k)})}}),o._p.forEach(k=>{yo(w,i.run(()=>k({store:w,app:o._a,pinia:o,options:a})))}),_&&s&&n.hydrate&&n.hydrate(w.$state,_),c=!0,d=!0,w}function mb(e,t,n){let o,r;const s=typeof t=="function";typeof e=="string"?(o=e,r=s?n:t):(r=e,o=e.id);function i(a,l){const c=it();return a=a||c&&$e(hb,null),a&&Hl(a),a=fb,a._s.has(o)||(s?gb(o,t,r,a):$$(o,r,a)),a._s.get(o)}return i.$id=o,i}const Oi="/cif";function R4(e){return nt.get(`${Oi}/api/user/getCode`,{phoneNo:e})}function M4(e){return nt.post(`${Oi}/api/user/register`,e)}function B$(e){return nt.post(`${Oi}/api/user/login`,e)}function F$(){return nt.get(`${Oi}/api/user/getUserInfo`)}function D4(e){return nt.get(`${Oi}/api/user/resetPwdByCode`,e)}const U$=!1,q$=[{iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/homeHL.png",pagePath:"pages/index/index",iconType:"uiLib",text:"home"},{iconPath:"/static/tabbar/income.png",selectedIconPath:"/static/tabbar/incomeHL.png",pagePath:"pages/income/income",iconType:"uiLib",text:"income"},{iconPath:"/static/tabbar/mine.png",selectedIconPath:"/static/tabbar/mineHL.png",pagePath:"pages/mine/mine",iconType:"uiLib",text:"mine"}];function ff(e){return!e||typeof e!="object"||Array.isArray(e)?"":Object.entries(e).filter(([t,n])=>n!=null).map(([t,n])=>{const o=encodeURIComponent(t);return Array.isArray(n)?n.filter(r=>r!=null).map(r=>`${o}=${encodeURIComponent(r)}`).join("&"):`${o}=${encodeURIComponent(n)}`}).join("&")}function N4(e=1){Zd({delta:e})}function ts({url:e,params:t,isRedirect:n=!1,isReLaunch:o=!1}){let r=e+(o?"?isReLaunch=1":"");const s=["/pages/index/index","/pages/income/income","/pages/mine/mine"];if(t&&Object.keys(t).length>0){const i=ff(t);r=`${e}?${i+(o?"&isReLaunch=1":"")}`}s.includes(e)?ki({url:r}):n?Ol({url:r}):o?Al({url:r}):ef({url:r})}function ea(e){const t={type:"info",duration:2e3,position:"middle",message:""},n=typeof e=="string"?we(se({},t),{message:e}):se(se({},t),e),o={top:"top",middle:"center",bottom:"bottom"},r={success:"success",error:"error",warning:"fail",info:"none"};Fl({title:n.message,duration:n.duration,position:o[n.position],icon:n.icon||r[n.type],mask:!0})}const Pn={success:(e,t)=>ea(we(se({},t),{type:"success",message:e})),error:(e,t)=>ea(we(se({},t),{type:"error",message:e})),warning:(e,t)=>ea(we(se({},t),{type:"warning",message:e})),info:(e,t)=>ea(we(se({},t),{type:"info",message:e}))},Ug={headPic:"/static/images/default-avatar.png"},Ai=mb("user",()=>{const e=q(se({},Ug)),t=q(""),n=i=>{e.value=i},o=()=>{e.value=se({},Ug),t.value="",Lu("userInfo"),Lu("token")},r=()=>ue(void 0,null,function*(){const i=yield F$(),a=i.data;return n(a),mt("userInfo",a),i});return{userInfo:e,token:t,getUserInfo:r,setUserInfo:n,removeUserInfo:o,login:(i,a)=>ue(void 0,null,function*(){try{f0({title:En("auth.login.loading"),mask:!0});const l=yield B$(i);return Mu(),l.code==="200"&&l.data&&l.data.token&&(t.value=l.data.token,mt("token",l.data.token),Tb({jpushDeviceId:ht("registerID")}),yield r()),Pn.success(En("auth.login.success")),setTimeout(()=>{ts(a?{url:decodeURIComponent(a),isRedirect:!0}:{url:"/pages/index/index",isReLaunch:!0})},1500),l}catch(l){throw Mu(),Pn.error(l.message||En("auth.login.error.failed")),l}})}},{persist:!0}),V$={navigationStyle:"default",navigationBarTitleText:"BandhuBuy",navigationBarBackgroundColor:"#f8f8f8",navigationBarTextStyle:"black",backgroundColor:"#FFFFFF",pageOrientation:"auto","app-plus":{scrollIndicator:"none",screenOrientation:["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"]}},H$={autoscan:!0,custom:{"^fg-(.*)":"@/components/fg-$1/fg-$1.vue","^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},W$={color:"#999999",selectedColor:"#e61b28",backgroundColor:"#ffffff",borderStyle:"#c1c1c1",height:"50px",fontSize:"10px",iconWidth:"24px",spacing:"3px",list:[{iconPath:"static/tabbar/home.png",selectedIconPath:"static/tabbar/homeHL.png",pagePath:"pages/index/index"},{iconPath:"static/tabbar/income.png",selectedIconPath:"static/tabbar/incomeHL.png",pagePath:"pages/income/income"},{iconPath:"static/tabbar/mine.png",selectedIconPath:"static/tabbar/mineHL.png",pagePath:"pages/mine/mine"}]},yb=[{path:"pages/index/index",type:"home",layout:"tabbar",style:{navigationStyle:"custom"}},{path:"pages/bestSellers/bestSellers",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/forgotPassword/forgotPassword",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/income/income",type:"page",layout:"tabbar",style:{navigationBarTitleText:"%income.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/login/login",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/mine/addressBook",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%addressBook.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/addressBookOperate",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%addressBook.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/helpCenter",type:"page",layout:"default",style:{navigationBarTitleText:"%helpCenter.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/helpCenterDetail",type:"page",layout:"default",style:{navigationBarTitleText:"%helpCenter.detail.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/mine",type:"page",layout:"tabbar",style:{navigationStyle:"custom"}},{path:"pages/mine/myFavorite",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%mine.pages.myFavorite.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/myProfile",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%myProfile.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/setting",type:"page",layout:"default",style:{navigationBarTitleText:"%setting.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/share",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom",navigationBarTitleText:"%mine.pages.share.title%"}},{path:"pages/missionCenter/missionCenter",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%missionCenter.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/myOrders/myOrders",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%myOrders.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/myOrders/orderDetail",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%orderDetail.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/notifications/notifications",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom"}},{path:"pages/productDetail/checkOut",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%checkout.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/productDetail/productDetail",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/referEarn/referEarn",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom"}},{path:"pages/register/register",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/search/search",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/topChampions/topChampions",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/vipMembership/vipMembership",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%vipMembership.title%",navigationBarBackgroundColor:"#FFFFFF"}},{path:"pages/wallet/frozenRecord",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.frozenRecord.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/wallet/myWallet",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.myWallet.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/wallet/recharge",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.recharge.title%",navigationBarBackgroundColor:"#fff","app-plus":{titleNView:{buttons:[{text:"Record",fontSize:"28rpx",width:"85px"}]}}}},{path:"pages/wallet/rechargeRecord",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.rechargeRecord.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/wallet/withdraw",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom",navigationBarTitleText:"%wallet.withdraw.title%"}},{path:"pages/wallet/withdrawRecord",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.withdrawRecord.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/webLink/webLink",type:"page",layout:"default",style:{navigationBarTitleText:"",navigationBarBackgroundColor:"#fff"}},{path:"uni_modules/uni-upgrade-center-app/pages/upgrade-popup",style:{disableScroll:!0,"app-plus":{backgroundColorTop:"transparent",background:"transparent",titleNView:!1,scrollIndicator:!1,popGesture:"none",animationType:"fade-in",animationDuration:200}}}],vb=[],_b={globalStyle:V$,easycom:H$,tabBar:W$,pages:yb,subPackages:vb},j$="h5",z$="h5".startsWith("mp-weixin");function bb(){const e=Xt();return e[e.length-1]}function G$(){const{route:e,options:t}=bb();let n=`/${e}`;if(t&&Object.keys(t).length>0){const o=ff(t);n=`${n}?${o}`}return n}function K$(e="needLogin"){const t=yb.filter(r=>!e||r[e]).map(r=>we(se({},r),{path:`/${r.path}`})),n=[];return vb.forEach(r=>{const{root:s}=r;r.pages.filter(i=>!e||i[e]).forEach(i=>{n.push(we(se({},i),{path:`/${s}/${i.path}`}))})}),[...t,...n]}const wb=K$("needLogin").map(e=>e.path);function Y$(){let e="https://api.bandhubuy.com";if(z$){const{miniProgram:{envVersion:t}}=uni.getAccountInfoSync();switch(t){case"develop":e="https://ukw0y1.laf.run";break;case"trial":e="https://ukw0y1.laf.run";break;case"release":e="https://ukw0y1.laf.run";break}}return e}function $4(e){return Object.entries(e).map(([t,n])=>{const o=encodeURIComponent(t),r=n==null?"":encodeURIComponent(String(n));return`${o}=${r}`}).join("&")}function B4(e,t=2){if(e==null||e==="")return t===0?"0":`0.${"0".repeat(t)}`;const n=typeof e=="string"?Number.parseFloat(e):e;return Number.isNaN(n)?t===0?"0":`0.${"0".repeat(t)}`:(t===0?Math.round(n).toString():n.toFixed(t)).replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g,"$&,")}function F4(e){if(e==null||e==="")return"0";const t=typeof e=="string"?Number.parseFloat(e):e;if(Number.isNaN(t))return"0";if(t<1e3)return Math.round(t).toString();const n=t/1e3;return n%1===0?`${Math.round(n)}K`:`${n.toFixed(1)}K`}function nt(e){return new Promise((t,n)=>{Bl(we(se({},e),{dataType:"json",responseType:"json",success(o){const r=Ai();if(o.statusCode>=200&&o.statusCode<300)if(o.data.code==="200")t(o.data);else if(o.data.code==="598"){r.removeUserInfo(),Pn.error(o.data.msg||o.data.message);const s=G$();ts({url:"/pages/login/login",params:{redirect:s},isReLaunch:!0})}else Pn.error(o.data.msg||o.data.message||En("common.error.request")),n(o.data);else o.statusCode===401||!e.hideErrorToast&&Pn.info(o.data.msg||o.data.message||En("common.error.request")),n(o)},fail(o){Pn.error(En("common.error.network")),n(o)}}))})}function X$(e,t,n,o){return nt(se({url:e,query:t,method:"GET",header:n},o))}function J$(e,t,n,o,r){return nt(se({url:e,query:n,data:t,method:"POST",header:o},r))}function Q$(e,t,n,o,r){return nt(se({url:e,data:t,query:n,method:"PUT",header:o},r))}function Z$(e,t,n,o){return nt(se({url:e,query:t,method:"DELETE",header:n},o))}nt.get=X$;nt.post=J$;nt.put=Q$;nt.delete=Z$;const Yo="/mall",eB="/cif",Sb="/operating";function tB(e){return nt.get(`${eB}/api/user/getEnum`,e)}function U4(e){return nt.get(`${Sb}/divisions/treeList`,e)}function q4(e){return nt.post(`${Yo}/app/banner/list`,e)}function nB(e){return nt.get(`${Sb}/config/getConfigByCode`,e)}function V4(e){return nt.get(`${Yo}/app/notice/page`,e)}function H4(){return nt.get(`${Yo}/app/notice/unread`)}function W4(e){return nt.put(`${Yo}/app/notice/read/${e}`)}function j4(){return nt.get(`${Yo}/app/notice/readAll`)}function z4(e){return nt.delete(`${Yo}/app/notice/delete/${e}`)}function Tb(e){return nt.post(`${Yo}/app/jpush/bindUser`,e)}function G4(e){return nt.get(`${Yo}/app/adv/advList`,e)}function oB(e){return typeof e=="object"&&e!==null}function qg(e,t){return e=oB(e)?e:Object.create(null),new Proxy(e,{get(n,o,r){return o==="key"?Reflect.get(n,o,r):Reflect.get(n,o,r)||Reflect.get(t,o,r)}})}function rB(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function sB(e,t,n){return t.slice(0,-1).reduce((o,r)=>/^(__proto__)$/.test(r)?{}:o[r]=o[r]||{},e)[t[t.length-1]]=n,e}function iB(e,t){return t.reduce((n,o)=>{const r=o.split(".");return sB(n,r,rB(e,r))},{})}function aB(e,t){return n=>{var o;try{const{storage:r=localStorage,beforeRestore:s=void 0,afterRestore:i=void 0,serializer:a={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:d=!1}=n;return{storage:r,beforeRestore:s,afterRestore:i,serializer:a,key:((o=e.key)!=null?o:u=>u)(typeof l=="string"?l:l(t.$id)),paths:c,debug:d}}catch(r){return n.debug,null}}}function Vg(e,{storage:t,serializer:n,key:o,debug:r}){try{const s=t==null?void 0:t.getItem(o);s&&e.$patch(n==null?void 0:n.deserialize(s))}catch(s){}}function Hg(e,{storage:t,serializer:n,key:o,paths:r,debug:s}){try{const i=Array.isArray(r)?iB(e,r):e;t.setItem(o,n.serialize(i))}catch(i){}}function lB(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:r,pinia:s}=t;if(!o)return;if(!(r.$id in s.state.value)){const a=s._s.get(r.$id.replace("__hot:",""));a&&Promise.resolve().then(()=>a.$persist());return}const i=(Array.isArray(o)?o.map(a=>qg(a,e)):[qg(o,e)]).map(aB(e,r)).filter(Boolean);r.$persist=()=>{i.forEach(a=>{Hg(r.$state,a)})},r.$hydrate=({runHooks:a=!0}={})=>{i.forEach(l=>{const{beforeRestore:c,afterRestore:d}=l;a&&(c==null||c(t)),Vg(r,l),a&&(d==null||d(t))})},i.forEach(a=>{const{beforeRestore:l,afterRestore:c}=a;l==null||l(t),Vg(r,a),c==null||c(t),r.$subscribe((d,u)=>{Hg(u,a)},{detached:!0})})}}mb("dict",()=>{const e=q({});function t(n){return ue(this,null,function*(){const o=yield tB({id:n});e.value=o.data})}return{dict:e,getDict:t}},{persist:!0});const Cb=R$();Cb.use(lB({storage:{getItem:ht,setItem:mt}}));const cB="/pages/login/login";function kb(){return!!Ai().token}function K4(){return Ai().userInfo}function Y4(e){return kb()?!0:(ts({url:"/pages/login/login"}),!1)}function uB(){K0(e=>{const t=Xt(),o=`/${t[t.length-1].route}`;let r=[];if(r=wb,!r.includes(o))return;if(kb())return!0;const a=Object.entries(e||{}).map(([d,u])=>`${d}=${encodeURIComponent(String(u))}`).join("&"),l=a?`${o}?${a}`:o,c=`${cB}?redirect=${encodeURIComponent(l)}`;Ol({url:c})})}var dB=[];function fB(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Wn(e,t,n){return e(n={path:t,exports:{},require:function(o,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(r==null&&n.path)}},n.exports),n.exports}var hB=Wn(function(e,t){var n;e.exports=(n=n||function(o,r){var s=Object.create||function(){function m(){}return function(y){var b;return m.prototype=y,b=new m,m.prototype=null,b}}(),i={},a=i.lib={},l=a.Base={extend:function(m){var y=s(this);return m&&y.mixIn(m),y.hasOwnProperty("init")&&this.init!==y.init||(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var y in m)m.hasOwnProperty(y)&&(this[y]=m[y]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=l.extend({init:function(m,y){m=this.words=m||[],this.sigBytes=y!=r?y:4*m.length},toString:function(m){return(m||u).stringify(this)},concat:function(m){var y=this.words,b=m.words,p=this.sigBytes,g=m.sigBytes;if(this.clamp(),p%4)for(var w=0;w>>2]>>>24-w%4*8&255;y[p+w>>>2]|=S<<24-(p+w)%4*8}else for(w=0;w>>2]=b[w>>>2];return this.sigBytes+=g,this},clamp:function(){var m=this.words,y=this.sigBytes;m[y>>>2]&=4294967295<<32-y%4*8,m.length=o.ceil(y/4)},clone:function(){var m=l.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var y,b=[],p=function(S){var k=987654321,C=4294967295;return function(){var O=((k=36969*(65535&k)+(k>>16)&C)<<16)+(S=18e3*(65535&S)+(S>>16)&C)&C;return O/=4294967296,(O+=.5)*(o.random()>.5?1:-1)}},g=0;g>>2]>>>24-g%4*8&255;p.push((w>>>4).toString(16)),p.push((15&w).toString(16))}return p.join("")},parse:function(m){for(var y=m.length,b=[],p=0;p>>3]|=parseInt(m.substr(p,2),16)<<24-p%8*4;return new c.init(b,y/2)}},f=d.Latin1={stringify:function(m){for(var y=m.words,b=m.sigBytes,p=[],g=0;g>>2]>>>24-g%4*8&255;p.push(String.fromCharCode(w))}return p.join("")},parse:function(m){for(var y=m.length,b=[],p=0;p>>2]|=(255&m.charCodeAt(p))<<24-p%4*8;return new c.init(b,y)}},h=d.Utf8={stringify:function(m){try{return decodeURIComponent(escape(f.stringify(m)))}catch(y){throw new Error("Malformed UTF-8 data")}},parse:function(m){return f.parse(unescape(encodeURIComponent(m)))}},_=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=h.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var y=this._data,b=y.words,p=y.sigBytes,g=this.blockSize,w=p/(4*g),S=(w=m?o.ceil(w):o.max((0|w)-this._minBufferSize,0))*g,k=o.min(4*S,p);if(S){for(var C=0;C>>24)|4278255360&(p<<24|p>>>8)}var g=this._hash.words,w=v[m+0],S=v[m+1],k=v[m+2],C=v[m+3],O=v[m+4],P=v[m+5],I=v[m+6],E=v[m+7],N=v[m+8],J=v[m+9],R=v[m+10],W=v[m+11],Z=v[m+12],X=v[m+13],$=v[m+14],te=v[m+15],U=g[0],K=g[1],G=g[2],H=g[3];U=u(U,K,G,H,w,7,c[0]),H=u(H,U,K,G,S,12,c[1]),G=u(G,H,U,K,k,17,c[2]),K=u(K,G,H,U,C,22,c[3]),U=u(U,K,G,H,O,7,c[4]),H=u(H,U,K,G,P,12,c[5]),G=u(G,H,U,K,I,17,c[6]),K=u(K,G,H,U,E,22,c[7]),U=u(U,K,G,H,N,7,c[8]),H=u(H,U,K,G,J,12,c[9]),G=u(G,H,U,K,R,17,c[10]),K=u(K,G,H,U,W,22,c[11]),U=u(U,K,G,H,Z,7,c[12]),H=u(H,U,K,G,X,12,c[13]),G=u(G,H,U,K,$,17,c[14]),U=f(U,K=u(K,G,H,U,te,22,c[15]),G,H,S,5,c[16]),H=f(H,U,K,G,I,9,c[17]),G=f(G,H,U,K,W,14,c[18]),K=f(K,G,H,U,w,20,c[19]),U=f(U,K,G,H,P,5,c[20]),H=f(H,U,K,G,R,9,c[21]),G=f(G,H,U,K,te,14,c[22]),K=f(K,G,H,U,O,20,c[23]),U=f(U,K,G,H,J,5,c[24]),H=f(H,U,K,G,$,9,c[25]),G=f(G,H,U,K,C,14,c[26]),K=f(K,G,H,U,N,20,c[27]),U=f(U,K,G,H,X,5,c[28]),H=f(H,U,K,G,k,9,c[29]),G=f(G,H,U,K,E,14,c[30]),U=h(U,K=f(K,G,H,U,Z,20,c[31]),G,H,P,4,c[32]),H=h(H,U,K,G,N,11,c[33]),G=h(G,H,U,K,W,16,c[34]),K=h(K,G,H,U,$,23,c[35]),U=h(U,K,G,H,S,4,c[36]),H=h(H,U,K,G,O,11,c[37]),G=h(G,H,U,K,E,16,c[38]),K=h(K,G,H,U,R,23,c[39]),U=h(U,K,G,H,X,4,c[40]),H=h(H,U,K,G,w,11,c[41]),G=h(G,H,U,K,C,16,c[42]),K=h(K,G,H,U,I,23,c[43]),U=h(U,K,G,H,J,4,c[44]),H=h(H,U,K,G,Z,11,c[45]),G=h(G,H,U,K,te,16,c[46]),U=_(U,K=h(K,G,H,U,k,23,c[47]),G,H,w,6,c[48]),H=_(H,U,K,G,E,10,c[49]),G=_(G,H,U,K,$,15,c[50]),K=_(K,G,H,U,P,21,c[51]),U=_(U,K,G,H,Z,6,c[52]),H=_(H,U,K,G,C,10,c[53]),G=_(G,H,U,K,R,15,c[54]),K=_(K,G,H,U,S,21,c[55]),U=_(U,K,G,H,N,6,c[56]),H=_(H,U,K,G,te,10,c[57]),G=_(G,H,U,K,I,15,c[58]),K=_(K,G,H,U,X,21,c[59]),U=_(U,K,G,H,O,6,c[60]),H=_(H,U,K,G,W,10,c[61]),G=_(G,H,U,K,k,15,c[62]),K=_(K,G,H,U,J,21,c[63]),g[0]=g[0]+U|0,g[1]=g[1]+K|0,g[2]=g[2]+G|0,g[3]=g[3]+H|0},_doFinalize:function(){var v=this._data,m=v.words,y=8*this._nDataBytes,b=8*v.sigBytes;m[b>>>5]|=128<<24-b%32;var p=o.floor(y/4294967296),g=y;m[15+(b+64>>>9<<4)]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),m[14+(b+64>>>9<<4)]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),v.sigBytes=4*(m.length+1),this._process();for(var w=this._hash,S=w.words,k=0;k<4;k++){var C=S[k];S[k]=16711935&(C<<8|C>>>24)|4278255360&(C<<24|C>>>8)}return w},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});function u(v,m,y,b,p,g,w){var S=v+(m&y|~m&b)+p+w;return(S<>>32-g)+m}function f(v,m,y,b,p,g,w){var S=v+(m&b|y&~b)+p+w;return(S<>>32-g)+m}function h(v,m,y,b,p,g,w){var S=v+(m^y^b)+p+w;return(S<>>32-g)+m}function _(v,m,y,b,p,g,w){var S=v+(y^(m|~b))+p+w;return(S<>>32-g)+m}r.MD5=a._createHelper(d),r.HmacMD5=a._createHmacHelper(d)}(Math),n.MD5)}),Wn(function(e,t){var n;e.exports=(n=Ro,void function(){var o=n,r=o.lib.Base,s=o.enc.Utf8;o.algo.HMAC=r.extend({init:function(i,a){i=this._hasher=new i.init,typeof a=="string"&&(a=s.parse(a));var l=i.blockSize,c=4*l;a.sigBytes>c&&(a=i.finalize(a)),a.clamp();for(var d=this._oKey=a.clone(),u=this._iKey=a.clone(),f=d.words,h=u.words,_=0;_>>6-u%4*2;c[d>>>2]|=(f|h)<<24-d%4*8,d++}return r.create(c,d)}o.enc.Base64={stringify:function(i){var a=i.words,l=i.sigBytes,c=this._map;i.clamp();for(var d=[],u=0;u>>2]>>>24-u%4*8&255)<<16|(a[u+1>>>2]>>>24-(u+1)%4*8&255)<<8|a[u+2>>>2]>>>24-(u+2)%4*8&255,h=0;h<4&&u+.75*h>>6*(3-h)&63));var _=c.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(i){var a=i.length,l=this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var d=0;d(this.status=vB,Promise.resolve(t)),t=>(this.status=jg,Promise.reject(t))),this.promise):this.promise}}class bB{constructor(){this._callback={}}addListener(t,n){this._callback[t]||(this._callback[t]=[]),this._callback[t].push(n)}on(t,n){return this.addListener(t,n)}removeListener(t,n){if(!n)throw new Error('The "listener" argument must be of type function. Received undefined');const o=this._callback[t];if(!o)return;const r=function(s,i){for(let a=s.length-1;a>=0;a--)if(s[a]===i)return a;return-1}(o,n);o.splice(r,1)}off(t,n){return this.removeListener(t,n)}removeAllListener(t){delete this._callback[t]}emit(t,...n){const o=this._callback[t];if(o)for(let r=0;r{Lb.indexOf(n)>-1&&function(o,r,s){let i=qn[o][r];i||(i=qn[o][r]=[]),i.indexOf(s)===-1&&Ib(s)&&i.push(s)}(e,n,t[n])})}function xB(e,t){qn[e]||(qn[e]={}),Eb(t)?Object.keys(t).forEach(n=>{Lb.indexOf(n)>-1&&function(o,r,s){const i=qn[o][r];if(!i)return;const a=i.indexOf(s);a>-1&&i.splice(a,1)}(e,n,t[n])}):delete qn[e]}function Ht(e,t){return e&&e.length!==0?e.reduce((n,o)=>n.then(()=>o(t)),Promise.resolve()):Promise.resolve()}function Wt(e,t){return qn[e]&&qn[e][t]||[]}function PB(e){Rb("callObject",e)}const Oc=ns("_globalUniCloudListener"),dt={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},Po={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function Ri(e){return Oc[e]||(Oc[e]=[]),Oc[e]}function Ac(e,t){const n=Ri(e);n.includes(t)||n.push(t)}function Lc(e,t){const n=Ri(e),o=n.indexOf(t);o!==-1&&n.splice(o,1)}function vn(e,t){const n=Ri(e);for(let o=0;o{Mc&&e(),function t(){if(typeof Xt=="function"){const n=Xt();n&&n[0]&&(Mc=!0,e())}Mc||setTimeout(()=>{t()},30)}()}),Rc)}function Db(e){const t={};for(const n in e){const o=e[n];Ib(o)&&(t[n]=_B(o))}return t}class he extends Error{constructor(t){const n=t.message||t.errMsg||"unknown system error";super(n),this.errMsg=n,this.code=this.errCode=t.code||t.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=t.subject||t.errSubject,this.cause=t.cause,this.requestId=t.requestId}toJson(t=0){if(!(t>=10))return t++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(t):this.cause}}}var St={request:e=>Bl(e),uploadFile:e=>FR(e),setStorageSync:(e,t)=>mt(e,t),getStorageSync:e=>ht(e),removeStorageSync:e=>Lu(e),clearStorageSync:()=>yR(),connectSocket:e=>qR(e)};function Nb(e){return e&&Nb(e.__v_raw)||e}function ui(){return{token:St.getStorageSync(xb)||St.getStorageSync(yB),tokenExpired:St.getStorageSync(Pb)}}function $b({token:e,tokenExpired:t}={}){e&&St.setStorageSync(xb,e),t&&St.setStorageSync(Pb,t)}let Dc,ta;function Bb(){return Dc||(Dc=jn()),Dc}function EB(){let e,t;try{if(ga){if(ga.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:o}=ga();e=o,t=n}}catch(n){}return{channel:e,scene:t}}let Ku={};function Yu(){const e=no&&no()||"en";if(ta)return we(se(se({},Ku),ta),{locale:e,LOCALE:e});const t=Bb(),{deviceId:n,osName:o,uniPlatform:r,appId:s}=t,i=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const a in t)Object.hasOwnProperty.call(t,a)&&i.indexOf(a)===-1&&delete t[a];return ta=se(se({PLATFORM:r,OS:o,APPID:s,DEVICEID:n},EB()),t),we(se(se({},Ku),ta),{locale:e,LOCALE:e})}var Lr={sign:function(e,t){let n="";return Object.keys(e).sort().forEach(function(o){e[o]&&(n=n+"&"+o+"="+e[o])}),n=n.slice(1),pB(n,t).toString()},wrappedRequest:function(e,t){return new Promise((n,o)=>{t(Object.assign(e,{complete(r){r||(r={});const s=r.data&&r.data.header&&r.data.header["x-serverless-request-id"]||r.header&&r.header["request-id"];if(!r.statusCode||r.statusCode>=400){const a=r.data&&r.data.error&&r.data.error.code||"SYS_ERR",l=r.data&&r.data.error&&r.data.error.message||r.errMsg||"request:fail";return o(new he({code:a,message:l,requestId:s}))}const i=r.data;if(i.error)return o(new he({code:i.error.code,message:i.error.message,requestId:s}));i.result=i.data,i.requestId=s,delete i.data,n(i)}}))})},toBase64:function(e){return mB.stringify(gB.parse(e))}},IB=class{constructor(e){["spaceId","clientSecret"].forEach(t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)}),this.config=Object.assign({},{endpoint:e.spaceId.indexOf("mp-")===0?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=St,this._getAccessTokenPromiseHub=new Ab({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then(t=>{if(!t.result||!t.result.accessToken)throw new he({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(t.result.accessToken)}),retryRule:Ob})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return Lr.wrappedRequest(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then(()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch(n=>new Promise((o,r)=>{!n||n.code!=="GATEWAY_INVALID_TOKEN"&&n.code!=="InvalidParameter.InvalidToken"?r(n):o()}).then(()=>this.getAccessToken()).then(()=>{const o=this.rebuildRequest(e);return this.request(o,!0)})):this.getAccessToken().then(()=>{const n=this.rebuildRequest(e);return this.request(n,!0)}))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Lr.sign(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),o={"Content-Type":"application/json"};return t!=="auth"&&(n.token=this.accessToken,o["x-basement-token"]=this.accessToken),o["x-serverless-sign"]=Lr.sign(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:o}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}authorize(){return ue(this,null,function*(){yield this.getAccessToken()})}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(we(se({},this.setupRequest(t)),{timeout:e.timeout}))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:o,fileType:r,onUploadProgress:s}){return new Promise((i,a)=>{const l=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:o,fileType:r,header:{"X-OSS-server-side-encrpytion":"AES256"},success(c){c&&c.statusCode<400?i(c):a(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(c){a(new he({code:c.code||"UPLOAD_FAILED",message:c.message||c.errMsg||"文件上传失败"}))}});typeof s=="function"&&l&&typeof l.onProgressUpdate=="function"&&l.onProgressUpdate(c=>{s({loaded:c.totalBytesSent,total:c.totalBytesExpectedToSend})})})}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFile(i){return ue(this,arguments,function*({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:o=!1,onUploadProgress:r,config:s}){if(ci(t)!=="string")throw new he({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new he({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new he({code:"INVALID_PARAM",message:"cloudPath不合法"});const a=s&&s.envType||this.config.envType;if(o&&(t[0]!=="/"&&(t="/"+t),t.indexOf("\\")>-1))throw new he({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const l=(yield this.getOSSUploadOptionsFromPath({env:a,filename:o?t.split("/").pop():t,fileId:o?t:void 0})).result,c="https://"+l.cdnDomain+"/"+l.ossPath,{securityToken:d,accessKeyId:u,signature:f,host:h,ossPath:_,id:v,policy:m,ossCallbackUrl:y}=l,b={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:u,Signature:f,host:h,id:v,key:_,policy:m,success_action_status:200};if(d&&(b["x-oss-security-token"]=d),y){const g=JSON.stringify({callbackUrl:y,callbackBody:JSON.stringify({fileId:v,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});b.callback=Lr.toBase64(g)}const p={url:"https://"+l.host,formData:b,fileName:"file",name:"file",filePath:e,fileType:n};if(yield this.uploadFileToOSS(Object.assign({},p,{onUploadProgress:r})),y)return{success:!0,filePath:e,fileID:c};if((yield this.reportOSSUpload({id:v})).success)return{success:!0,filePath:e,fileID:c};throw new he({code:"UPLOAD_FAILED",message:"文件上传失败"})})}getTempFileURL({fileList:e}={}){return new Promise((t,n)=>{Array.isArray(e)&&e.length!==0||n(new he({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),this.getFileInfo({fileList:e}).then(o=>{t({fileList:e.map((r,s)=>{const i=o.fileList[s];return{fileID:r,tempFileURL:i&&i.url||r}})})})})}getFileInfo(){return ue(this,arguments,function*({fileList:e}={}){if(!Array.isArray(e)||e.length===0)throw new he({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map(n=>n.split("?")[0]).join(",")})};return{fileList:(yield this.request(this.setupRequest(t))).result}})}},OB={init(e){const t=new IB(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const AB=typeof location!="undefined"&&location.protocol==="http:"?"http:":"https:";var Gg;(function(e){e.local="local",e.none="none",e.session="session"})(Gg||(Gg={}));var LB=function(){},RB=Wn(function(e,t){var n;e.exports=(n=Ro,function(o){var r=n,s=r.lib,i=s.WordArray,a=s.Hasher,l=r.algo,c=[],d=[];(function(){function h(y){for(var b=o.sqrt(y),p=2;p<=b;p++)if(!(y%p))return!1;return!0}function _(y){return 4294967296*(y-(0|y))|0}for(var v=2,m=0;m<64;)h(v)&&(m<8&&(c[m]=_(o.pow(v,.5))),d[m]=_(o.pow(v,1/3)),m++),v++})();var u=[],f=l.SHA256=a.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(h,_){for(var v=this._hash.words,m=v[0],y=v[1],b=v[2],p=v[3],g=v[4],w=v[5],S=v[6],k=v[7],C=0;C<64;C++){if(C<16)u[C]=0|h[_+C];else{var O=u[C-15],P=(O<<25|O>>>7)^(O<<14|O>>>18)^O>>>3,I=u[C-2],E=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;u[C]=P+u[C-7]+E+u[C-16]}var N=m&y^m&b^y&b,J=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),R=k+((g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25))+(g&w^~g&S)+d[C]+u[C];k=S,S=w,w=g,g=p+R|0,p=b,b=y,y=m,m=R+(J+N)|0}v[0]=v[0]+m|0,v[1]=v[1]+y|0,v[2]=v[2]+b|0,v[3]=v[3]+p|0,v[4]=v[4]+g|0,v[5]=v[5]+w|0,v[6]=v[6]+S|0,v[7]=v[7]+k|0},_doFinalize:function(){var h=this._data,_=h.words,v=8*this._nDataBytes,m=8*h.sigBytes;return _[m>>>5]|=128<<24-m%32,_[14+(m+64>>>9<<4)]=o.floor(v/4294967296),_[15+(m+64>>>9<<4)]=v,h.sigBytes=4*_.length,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});r.SHA256=a._createHelper(f),r.HmacSHA256=a._createHmacHelper(f)}(Math),n.SHA256)}),Xu=RB,Fb=Wn(function(e,t){e.exports=Ro.HmacSHA256});const Mi=()=>{let e;if(!Promise){e=()=>{},e.promise={};const n=()=>{throw new he({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:n}),Object.defineProperty(e.promise,"catch",{get:n}),e}const t=new Promise((n,o)=>{e=(r,s)=>r?o(r):n(s)});return e.promise=t,e};function MB(e){return e===void 0}function DB(e){return Object.prototype.toString.call(e)==="[object Null]"}function Kg(e=""){return e.replace(/([\s\S]+)\s+(请前往云开发AI小助手查看问题:.*)/,"$1")}function Yg(e=32){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let o=0;o=0?JSON.parse(o).content:""}removeStore(t){this._storage.removeItem(t)}}const Ub={},qb={};function us(e){return Ub[e]}class Vb{constructor(t,n){this.data=n||null,this.name=t}}class BB extends Vb{constructor(t,n){super("error",{error:t,data:n}),this.error=t}}const pf=new class{constructor(){this._listeners={}}on(e,t){return function(n,o,r){r[n]=r[n]||[],r[n].push(o)}(e,t,this._listeners),this}off(e,t){return function(n,o,r){if(r&&r[n]){const s=r[n].indexOf(o);s!==-1&&r[n].splice(s,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof BB)return this;const n=typeof e=="string"?new Vb(e,t||{}):e,o=n.name;if(this._listens(o)){n.target=this;const r=this._listeners[o]?[...this._listeners[o]]:[];for(const s of r)s.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function vo(e,t){pf.on(e,t)}function jt(e,t={}){pf.fire(e,t)}function FB(e,t){pf.off(e,t)}const os="loginStateChanged",Hb="loginStateExpire",Mo="loginTypeChanged",Ju="anonymousConverted",Wb="refreshAccessToken";var yt;(function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"})(yt||(yt={}));class UB{constructor(){this._fnPromiseMap=new Map}run(t,n){return ue(this,null,function*(){let o=this._fnPromiseMap.get(t);return o||(o=new Promise((r,s)=>ue(this,null,function*(){try{yield this._runIdlePromise();const i=n();r(yield i)}catch(i){s(i)}finally{this._fnPromiseMap.delete(t)}})),this._fnPromiseMap.set(t,o)),o})}_runIdlePromise(){return Promise.resolve()}}class qB{constructor(t){this._singlePromise=new UB,this._cache=us(t.env),this._baseURL=`https://${t.env}.ap-shanghai.tcb-api.tencentcloudapi.com`,this._reqClass=new Et.adapter.reqClass({timeout:t.timeout,timeoutMsg:`请求在${t.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]})}_getDeviceId(){if(this._deviceID)return this._deviceID;const{deviceIdKey:t}=this._cache.keys;let n=this._cache.getStore(t);return typeof n=="string"&&n.length>=16&&n.length<=48||(n=Yg(),this._cache.setStore(t,n)),this._deviceID=n,n}_request(r,s){return ue(this,arguments,function*(t,n,o={}){const i={"x-request-id":Yg(),"x-device-id":this._getDeviceId()};if(o.withAccessToken){const{tokenTypeKey:a}=this._cache.keys,l=yield this.getAccessToken(),c=this._cache.getStore(a);i.authorization=`${c} ${l}`}return this._reqClass[o.method==="get"?"get":"post"]({url:`${this._baseURL}${t}`,data:n,headers:i})})}_fetchAccessToken(){return ue(this,null,function*(){const{loginTypeKey:t,accessTokenKey:n,accessTokenExpireKey:o,tokenTypeKey:r}=this._cache.keys,s=this._cache.getStore(t);if(s&&s!==yt.ANONYMOUS)throw new he({code:"INVALID_OPERATION",message:"非匿名登录不支持刷新 access token"});const i=yield this._singlePromise.run("fetchAccessToken",()=>ue(this,null,function*(){return(yield this._request("/auth/v1/signin/anonymously",{},{method:"post"})).data})),{access_token:a,expires_in:l,token_type:c}=i;return this._cache.setStore(r,c),this._cache.setStore(n,a),this._cache.setStore(o,Date.now()+1e3*l),a})}isAccessTokenExpired(t,n){let o=!0;return t&&n&&(o=nue(this,null,function*(){return(yield this._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"})).data}))})}}const Zg=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],VB={"X-SDK-Version":"1.3.5"};function $c(e,t,n){const o=e[t];e[t]=function(r){const s={},i={};n.forEach(l=>{const{data:c,headers:d}=l.call(e,r);Object.assign(s,c),Object.assign(i,d)});const a=r.data;return a&&(()=>{var l;if(l=a,Object.prototype.toString.call(l)!=="[object FormData]")r.data=se(se({},a),s);else for(const c in s)a.append(c,s[c])})(),r.headers=se(se({},r.headers||{}),i),o.call(e,r)}}function Bc(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:we(se({},VB),{"x-seqid":e})}}class HB{constructor(t={}){var n;this.config=t,this._reqClass=new Et.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=us(this.config.env),this._localCache=(n=this.config.env,qb[n]),this.oauth=new qB(this.config),$c(this._reqClass,"post",[Bc]),$c(this._reqClass,"upload",[Bc]),$c(this._reqClass,"download",[Bc])}post(t){return ue(this,null,function*(){return yield this._reqClass.post(t)})}upload(t){return ue(this,null,function*(){return yield this._reqClass.upload(t)})}download(t){return ue(this,null,function*(){return yield this._reqClass.download(t)})}refreshAccessToken(){return ue(this,null,function*(){let t,n;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{t=yield this._refreshAccessTokenPromise}catch(o){n=o}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,n)throw n;return t})}_refreshAccessToken(){return ue(this,null,function*(){const{accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:o,loginTypeKey:r,anonymousUuidKey:s}=this._cache.keys;this._cache.removeStore(t),this._cache.removeStore(n);let i=this._cache.getStore(o);if(!i)throw new he({message:"未登录CloudBase"});const a={refresh_token:i},l=yield this.request("auth.fetchAccessTokenWithRefreshToken",a);if(l.data.code){const{code:c}=l.data;if(c==="SIGN_PARAM_INVALID"||c==="REFRESH_TOKEN_EXPIRED"||c==="INVALID_REFRESH_TOKEN"){if(this._cache.getStore(r)===yt.ANONYMOUS&&c==="INVALID_REFRESH_TOKEN"){const d=this._cache.getStore(s),u=this._cache.getStore(o),f=yield this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:u});return this.setRefreshToken(f.refresh_token),this._refreshAccessToken()}jt(Hb),this._cache.removeStore(o)}throw new he({code:l.data.code,message:`刷新access token失败:${l.data.code}`})}if(l.data.access_token)return jt(Wb),this._cache.setStore(t,l.data.access_token),this._cache.setStore(n,l.data.access_token_expire+Date.now()),{accessToken:l.data.access_token,accessTokenExpire:l.data.access_token_expire};l.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,l.data.refresh_token),this._refreshAccessToken())})}getAccessToken(){return ue(this,null,function*(){const{accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:o}=this._cache.keys;if(!this._cache.getStore(o))throw new he({message:"refresh token不存在,登录状态异常"});let r=this._cache.getStore(t),s=this._cache.getStore(n),i=!0;return this._shouldRefreshAccessTokenHook&&!(yield this._shouldRefreshAccessTokenHook(r,s))&&(i=!1),(!r||!s||s{r.wxOpenId&&r.wxPublicId&&(n=!0)}),{users:o,hasPrimaryUid:n}})}setPrimaryUid(t){return this._request.send("auth.setPrimaryUid",{uid:t})}unlink(t){return this._request.send("auth.unlink",{platform:t})}update(t){return ue(this,null,function*(){const{nickName:n,gender:o,avatarUrl:r,province:s,country:i,city:a}=t,{data:l}=yield this._request.send("auth.updateUserInfo",{nickName:n,gender:o,avatarUrl:r,province:s,country:i,city:a});this.setLocalUserInfo(l)})}refresh(){return ue(this,null,function*(){const t=yield this._request.oauth.getUserInfo();return this.setLocalUserInfo(t),t})}setUserInfo(){const{userInfoKey:t}=this._cache.keys,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach(o=>{this[o]=n[o]}),this.location={country:n.country,province:n.province,city:n.city}}setLocalUserInfo(t){const{userInfoKey:n}=this._cache.keys;this._cache.setStore(n,t),this.setUserInfo()}}class Di{constructor(t){if(!t)throw new he({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=us(t);const{refreshTokenKey:n,accessTokenKey:o,accessTokenExpireKey:r}=this._cache.keys,s=this._cache.getStore(n),i=this._cache.getStore(o),a=this._cache.getStore(r);this.credential={refreshToken:s,accessToken:i,accessTokenExpire:a},this.user=new WB(t)}get isAnonymousAuth(){return this.loginType===yt.ANONYMOUS}get isCustomAuth(){return this.loginType===yt.CUSTOM}get isWeixinAuth(){return this.loginType===yt.WECHAT||this.loginType===yt.WECHAT_OPEN||this.loginType===yt.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class Fc extends Wl{signIn(){return ue(this,null,function*(){this._cache.updatePersistence("local"),yield this._request.oauth.getAccessToken(),jt(os),jt(Mo,{env:this.config.env,loginType:yt.ANONYMOUS,persistence:"local"});const t=new Di(this.config.env);return yield t.user.refresh(),t})}linkAndRetrieveDataWithTicket(t){return ue(this,null,function*(){const{anonymousUuidKey:n,refreshTokenKey:o}=this._cache.keys,r=this._cache.getStore(n),s=this._cache.getStore(o),i=yield this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:r,refresh_token:s,ticket:t});if(i.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(i.refresh_token),yield this._request.refreshAccessToken(),jt(Ju,{env:this.config.env}),jt(Mo,{loginType:yt.CUSTOM,persistence:"local"}),{credential:{refreshToken:i.refresh_token}};throw new he({message:"匿名转化失败"})})}_setAnonymousUUID(t){const{anonymousUuidKey:n,loginTypeKey:o}=this._cache.keys;this._cache.removeStore(n),this._cache.setStore(n,t),this._cache.setStore(o,yt.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class em extends Wl{signIn(t){return ue(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:n}=this._cache.keys,o=yield this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(n)||""});if(o.refresh_token)return this.setRefreshToken(o.refresh_token),yield this._request.refreshAccessToken(),jt(os),jt(Mo,{env:this.config.env,loginType:yt.CUSTOM,persistence:this.config.persistence}),yield this.refreshUserInfo(),new Di(this.config.env);throw new he({message:"自定义登录失败"})})}}class tm extends Wl{signIn(t,n){return ue(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:o}=this._cache.keys,r=yield this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:n,refresh_token:this._cache.getStore(o)||""}),{refresh_token:s,access_token:i,access_token_expire:a}=r;if(s)return this.setRefreshToken(s),i&&a?this.setAccessToken(i,a):yield this._request.refreshAccessToken(),yield this.refreshUserInfo(),jt(os),jt(Mo,{env:this.config.env,loginType:yt.EMAIL,persistence:this.config.persistence}),new Di(this.config.env);throw r.code?new he({code:r.code,message:`邮箱登录失败: ${r.message}`}):new he({message:"邮箱登录失败"})})}activate(t){return ue(this,null,function*(){return this._request.send("auth.activateEndUserMail",{token:t})})}resetPasswordWithToken(t,n){return ue(this,null,function*(){return this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:n})})}}class nm extends Wl{signIn(t,n){return ue(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"username must be a string"});typeof n!="string"&&(n="");const{refreshTokenKey:o}=this._cache.keys,r=yield this._request.send("auth.signIn",{loginType:yt.USERNAME,username:t,password:n,refresh_token:this._cache.getStore(o)||""}),{refresh_token:s,access_token_expire:i,access_token:a}=r;if(s)return this.setRefreshToken(s),a&&i?this.setAccessToken(a,i):yield this._request.refreshAccessToken(),yield this.refreshUserInfo(),jt(os),jt(Mo,{env:this.config.env,loginType:yt.USERNAME,persistence:this.config.persistence}),new Di(this.config.env);throw r.code?new he({code:r.code,message:`用户名密码登录失败: ${r.message}`}):new he({message:"用户名密码登录失败"})})}}class jB{constructor(t){this.config=t,this._cache=us(t.env),this._request=io(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),vo(Mo,this._onLoginTypeChanged)}get currentUser(){const t=this.hasLoginState();return t&&t.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new Fc(this.config)}customAuthProvider(){return new em(this.config)}emailAuthProvider(){return new tm(this.config)}usernameAuthProvider(){return new nm(this.config)}signInAnonymously(){return ue(this,null,function*(){return new Fc(this.config).signIn()})}signInWithEmailAndPassword(t,n){return ue(this,null,function*(){return new tm(this.config).signIn(t,n)})}signInWithUsernameAndPassword(t,n){return new nm(this.config).signIn(t,n)}linkAndRetrieveDataWithTicket(t){return ue(this,null,function*(){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Fc(this.config)),vo(Ju,this._onAnonymousConverted),yield this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t)})}signOut(){return ue(this,null,function*(){if(this.loginType===yt.ANONYMOUS)throw new he({message:"匿名用户不支持登出操作"});const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:o}=this._cache.keys,r=this._cache.getStore(t);if(!r)return;const s=yield this._request.send("auth.logout",{refresh_token:r});return this._cache.removeStore(t),this._cache.removeStore(n),this._cache.removeStore(o),jt(os),jt(Mo,{env:this.config.env,loginType:yt.NULL,persistence:this.config.persistence}),s})}signUpWithEmailAndPassword(t,n){return ue(this,null,function*(){return this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:n})})}sendPasswordResetEmail(t){return ue(this,null,function*(){return this._request.send("auth.sendPasswordResetEmail",{email:t})})}onLoginStateChanged(t){vo(os,()=>{const o=this.hasLoginState();t.call(this,o)});const n=this.hasLoginState();t.call(this,n)}onLoginStateExpired(t){vo(Hb,t.bind(this))}onAccessTokenRefreshed(t){vo(Wb,t.bind(this))}onAnonymousConverted(t){vo(Ju,t.bind(this))}onLoginTypeChanged(t){vo(Mo,()=>{const n=this.hasLoginState();t.call(this,n)})}getAccessToken(){return ue(this,null,function*(){return{accessToken:(yield this._request.getAccessToken()).accessToken,env:this.config.env}})}hasLoginState(){const{accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n);return this._request.oauth.isAccessTokenExpired(o,r)?null:new Di(this.config.env)}isUsernameRegistered(t){return ue(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"username must be a string"});const{data:n}=yield this._request.send("auth.isUsernameRegistered",{username:t});return n&&n.isRegistered})}getLoginState(){return Promise.resolve(this.hasLoginState())}signInWithTicket(t){return ue(this,null,function*(){return new em(this.config).signIn(t)})}shouldRefreshAccessToken(t){this._request._shouldRefreshAccessTokenHook=t.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then(t=>t.code?t:we(se({},t.data),{requestId:t.seqId}))}getAuthHeader(){const{refreshTokenKey:t,accessTokenKey:n}=this._cache.keys,o=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+o}}_onAnonymousConverted(t){const{env:n}=t.data;n===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(t){const{loginType:n,persistence:o,env:r}=t.data;r===this.config.env&&(this._cache.updatePersistence(o),this._cache.setStore(this._cache.keys.loginTypeKey,n))}}const zB=function(e,t){t=t||Mi();const n=io(this.config.env),{cloudPath:o,filePath:r,onUploadProgress:s,fileType:i="image"}=e;return n.send("storage.getUploadMetadata",{path:o}).then(a=>{const{data:{url:l,authorization:c,token:d,fileId:u,cosFileId:f},requestId:h}=a,_={key:o,signature:c,"x-cos-meta-fileid":f,success_action_status:"201","x-cos-security-token":d};n.upload({url:l,data:_,file:r,name:o,fileType:i,onUploadProgress:s}).then(v=>{v.statusCode===201?t(null,{fileID:u,requestId:h}):t(new he({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${v.data}`}))}).catch(v=>{t(v)})}).catch(a=>{t(a)}),t.promise},GB=function(e,t){t=t||Mi();const n=io(this.config.env),{cloudPath:o}=e;return n.send("storage.getUploadMetadata",{path:o}).then(r=>{t(null,r)}).catch(r=>{t(r)}),t.promise},KB=function({fileList:e},t){if(t=t||Mi(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let o of e)if(!o||typeof o!="string")return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return io(this.config.env).send("storage.batchDeleteFile",n).then(o=>{o.code?t(null,o):t(null,{fileList:o.data.delete_list,requestId:o.requestId})}).catch(o=>{t(o)}),t.promise},zb=function({fileList:e},t){t=t||Mi(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let r of e)typeof r=="object"?(r.hasOwnProperty("fileID")&&r.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:r.fileID,max_age:r.maxAge})):typeof r=="string"?n.push({fileid:r}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const o={file_list:n};return io(this.config.env).send("storage.batchGetDownloadUrl",o).then(r=>{r.code?t(null,r):t(null,{fileList:r.data.download_list,requestId:r.requestId})}).catch(r=>{t(r)}),t.promise},YB=function(n,o){return ue(this,arguments,function*({fileID:e},t){const r=(yield zb.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if(r.code!=="SUCCESS")return t?t(r):new Promise(a=>{a(r)});const s=io(this.config.env);let i=r.download_url;if(i=encodeURI(i),!t)return s.download({url:i});t(yield s.download({url:i}))})},XB=function({name:e,data:t,query:n,parse:o,search:r,timeout:s},i){const a=i||Mi();let l;try{l=t?JSON.stringify(t):""}catch(d){return Promise.reject(d)}if(!e)return Promise.reject(new he({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:o,search:r,function_name:e,request_data:l};return io(this.config.env).send("functions.invokeFunction",c,{timeout:s}).then(d=>{if(d.code)a(null,d);else{let u=d.data.response_data;if(o)a(null,{result:u,requestId:d.requestId});else try{u=JSON.parse(d.data.response_data),a(null,{result:u,requestId:d.requestId})}catch(f){a(new he({message:"response data must be json"}))}}return a.promise}).catch(d=>{a(d)}),a.promise},om={timeout:15e3,persistence:"session"},rm=6e5,sm={};class gf{constructor(t){this.config=t||this.config,this.authObj=void 0}init(t){switch(Et.adapter||(this.requestClient=new Et.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:`请求在${(t.timeout||5e3)/1e3}s内未完成,已中断`})),this.config=se(se({},om),t),!0){case this.config.timeout>rm:this.config.timeout=rm;break;case this.config.timeout<100:this.config.timeout=100}return new gf(this.config)}auth({persistence:t}={}){if(this.authObj)return this.authObj;const n=t||Et.adapter.primaryStorage||om.persistence;var o;return n!==this.config.persistence&&(this.config.persistence=n),function(r){const{env:s}=r;Ub[s]=new Qg(r),qb[s]=new Qg(we(se({},r),{persistence:"local"}))}(this.config),o=this.config,jb[o.env]=new HB(o),this.authObj=new jB(this.config),this.authObj}on(t,n){return vo.apply(this,[t,n])}off(t,n){return FB.apply(this,[t,n])}callFunction(t,n){return XB.apply(this,[t,n])}deleteFile(t,n){return KB.apply(this,[t,n])}getTempFileURL(t,n){return zb.apply(this,[t,n])}downloadFile(t,n){return YB.apply(this,[t,n])}uploadFile(t,n){return zB.apply(this,[t,n])}getUploadMetadata(t,n){return GB.apply(this,[t,n])}registerExtension(t){sm[t.name]=t}invokeExtension(t,n){return ue(this,null,function*(){const o=sm[t];if(!o)throw new he({message:`扩展${t} 必须先注册`});return yield o.invoke(n,this)})}useAdapters(t){const{adapter:n,runtime:o}=NB(t)||{};n&&(Et.adapter=n),o&&(Et.runtime=o)}}var Gb=new gf;function Uc(e,t,n){n===void 0&&(n={});var o=/\?/.test(t),r="";for(var s in n)r===""?!o&&(t+="?"):r+="&",r+=s+"="+encodeURIComponent(n[s]);return/^http(s)?:\/\//.test(t+=r)?t:""+e+t}class JB{get(t){const{url:n,data:o,headers:r,timeout:s}=t;return new Promise((i,a)=>{St.request({url:Uc("https:",n),data:o,method:"GET",header:r,timeout:s,success(l){i(l)},fail(l){a(l)}})})}post(t){const{url:n,data:o,headers:r,timeout:s}=t;return new Promise((i,a)=>{St.request({url:Uc("https:",n),data:o,method:"POST",header:r,timeout:s,success(l){i(l)},fail(l){a(l)}})})}upload(t){return new Promise((n,o)=>{const{url:r,file:s,data:i,headers:a,fileType:l}=t,c=St.uploadFile({url:Uc("https:",r),name:"file",formData:Object.assign({},i),filePath:s,fileType:l,header:a,success(d){const u={statusCode:d.statusCode,data:d.data||{}};d.statusCode===200&&i.success_action_status&&(u.statusCode=parseInt(i.success_action_status,10)),n(u)},fail(d){o(new Error(d.errMsg||"uploadFile:fail"))}});typeof t.onUploadProgress=="function"&&c&&typeof c.onProgressUpdate=="function"&&c.onProgressUpdate(d=>{t.onUploadProgress({loaded:d.totalBytesSent,total:d.totalBytesExpectedToSend})})})}}const QB={setItem(e,t){St.setStorageSync(e,t)},getItem:e=>St.getStorageSync(e),removeItem(e){St.removeStorageSync(e)},clear(){St.clearStorageSync()}};var ZB={genAdapter:function(){return{root:{},reqClass:JB,localStorage:QB,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Gb.useAdapters(ZB);const mf=Gb,eF=mf.init;mf.init=function(e){e.env=e.spaceId;const t=eF.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(o){const r=n.call(this,o);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach(s=>{var i;r[s]=(i=r[s],function(a){a=a||{};const{success:l,fail:c,complete:d}=Db(a);if(!(l||c||d))return i.call(this,a);i.call(this,a).then(u=>{l&&l(u),d&&d(u)},u=>{c&&c(u),d&&d(u)})}).bind(r)}),r},t.customAuth=t.auth,t};var im=mf;function tF(e,t){return ue(this,null,function*(){const n=`http://${e}:${t}/system/ping`;try{const r=yield(o={url:n,timeout:500},new Promise((s,i)=>{St.request(we(se({},o),{success(a){s(a)},fail(a){i(a)}}))}));return!(!r.data||r.data.code!==0)}catch(r){return!1}var o})}function nF(e,t){return ue(this,null,function*(){let n;for(let o=0;o{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)}),!e.endpoint)throw new Error("集群空间未配置ApiEndpoint,配置后需要重新关联服务空间后生效");this.config=Object.assign({},e),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=St}request(e,t=!0){return ue(this,null,function*(){return e=this.setupRequest(e),Promise.resolve().then(()=>Lr.wrappedRequest(e,this.adapter.request))})}requestLocal(e){return new Promise((t,n)=>{this.adapter.request(Object.assign(e,{complete(o){if(o||(o={}),!o.statusCode||o.statusCode>=400){const r=o.data&&o.data.code||"SYS_ERR",s=o.data&&o.data.message||"request:fail";return n(new he({code:r,message:s}))}t({success:!0,result:o.data})}}))})}setupRequest(e){const t=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};n["x-serverless-sign"]=Lr.sign(t,this.config.clientSecret);const o=Yu();n["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:r}=ui();return n["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:t,dataType:"json",header:JSON.parse(JSON.stringify(n))}}setupLocalRequest(e){return ue(this,null,function*(){const t=Yu(),{token:n}=ui(),o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:t,token:n}),{address:r,servePort:s}=this.__dev__&&this.__dev__.debugInfo||{},{address:i}=yield nF(r,s);return{url:`http://${i}:${s}/${oF[e.method]}`,method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))}})}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(t,!1)}getUploadFileOptions(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(t)}reportUploadFile(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(t)}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:o}){if(!t)throw new he({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let r;return this.getUploadFileOptions({cloudPath:t}).then(s=>{const{url:i,formData:a,name:l}=s.result;return r=s.result.fileUrl,new Promise((c,d)=>{const u=this.adapter.uploadFile({url:i,formData:a,name:l,filePath:e,fileType:n,success(f){f&&f.statusCode<400?c(f):d(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(f){d(new he({code:f.code||"UPLOAD_FAILED",message:f.message||f.errMsg||"文件上传失败"}))}});typeof o=="function"&&u&&typeof u.onProgressUpdate=="function"&&u.onProgressUpdate(f=>{o({loaded:f.totalBytesSent,total:f.totalBytesExpectedToSend})})})}).then(()=>this.reportUploadFile({cloudPath:t})).then(s=>new Promise((i,a)=>{s.success?i({success:!0,filePath:e,fileID:r}):a(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(t).then(n=>{if(n.success)return n.result;throw new he({code:"DELETE_FILE_FAILED",message:"删除文件失败"})})}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||e.length===0)throw new he({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(n).then(o=>{if(o.success)return{fileList:o.result.fileList.map(r=>({fileID:r.fileID,tempFileURL:r.tempFileURL}))};throw new he({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})})}},am={init(e){const t=new rF(e),n={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},zs=Wn(function(e,t){e.exports=Ro.enc.Hex});function Kb(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return(e==="x"?t:3&t|8).toString(16)})}function Yb(e="",t={}){const{data:n,functionName:o,method:r,headers:s,signHeaderKeys:i=[],config:a}=t,l=String(Date.now()),c=Kb(),d=Object.assign({},s,{"x-from-app-id":a.spaceAppId,"x-from-env-id":a.spaceId,"x-to-env-id":a.spaceId,"x-from-instance-id":l,"x-from-function-name":o,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":c,"x-alipay-callid":c,"x-trace-id":c}),u=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(i),[f="",h=""]=e.split("?")||[],_=function(v){const m="HMAC-SHA256",y=v.signedHeaders.join(";"),b=v.signedHeaders.map(C=>`${C.toLowerCase()}:${v.headers[C]} `).join(""),p=Xu(v.body).toString(zs),g=`${v.method.toUpperCase()} ${v.path} ${v.query} ${b} ${y} ${p} `,w=Xu(g).toString(zs),S=`${m} ${v.timestamp} ${w} `,k=Fb(S,v.secretKey).toString(zs);return`${m} Credential=${v.secretId}, SignedHeaders=${y}, Signature=${k}`}({path:f,query:h,method:r,headers:d,timestamp:l,body:JSON.stringify(n),secretId:a.accessKey,secretKey:a.secretKey,signedHeaders:u.sort()});return{url:`${a.endpoint}${e}`,headers:Object.assign({},d,{Authorization:_})}}function Xb({url:e,data:t,method:n="POST",headers:o={},timeout:r}){return new Promise((s,i)=>{St.request({url:e,method:n,data:typeof t=="object"?JSON.stringify(t):t,header:o,dataType:"json",timeout:r,complete:(a={})=>{const l=o["x-trace-id"]||"";if(!a.statusCode||a.statusCode>=400){const{message:c,errMsg:d,trace_id:u}=a.data||{};return i(new he({code:"SYS_ERR",message:c||d||"request:fail",requestId:u||l}))}s({status:a.statusCode,data:a.data,headers:a.header,requestId:l})}})})}function lm(e,t){const{path:n,data:o,method:r="GET"}=e,{url:s,headers:i}=Yb(n,{functionName:"",data:o,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":String(Date.now()+6e4)},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return Xb({url:s,data:o,method:r,headers:i}).then(a=>{const l=a.data||{};if(!l.success)throw new he({code:a.errCode,message:a.errMsg,requestId:a.requestId});return l.data||{}}).catch(a=>{throw new he({code:a.errCode,message:a.errMsg,requestId:a.requestId})})}function sF(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new he({code:"INVALID_PARAM",message:"fileID不合法"});const o=t.substring(0,n),r=t.substring(n+1);return this.config.spaceId,r}function iF(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class aF{constructor(t){this.config=t}signedURL(t,n={}){const o=`/ws/function/${t}`,r=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),s=Object.assign({},n,{accessKeyId:this.config.accessKey,signatureNonce:Kb(),timestamp:""+Date.now()}),i=[o,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map(function(d){return s[d]?"".concat(d,"=").concat(s[d]):null}).filter(Boolean).join("&"),`host:${r}`].join(` `),a=["HMAC-SHA256",Xu(i).toString(zs)].join(` `),l=Fb(a,this.config.secretKey).toString(zs),c=Object.keys(s).map(d=>`${d}=${encodeURIComponent(s[d])}`).join("&");return`${this.config.wsEndpoint}${o}?${c}&signature=${l}`}}var lF=class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach(t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)}),e.endpoint){if(typeof e.endpoint!="string")throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new aF(this.config)}callFunction(e){return function(t,n){const{name:o,data:r,async:s=!1,timeout:i}=t,a="POST",l={"x-to-function-name":o};s&&(l["x-function-invoke-type"]="async");const{url:c,headers:d}=Yb("/functions/invokeFunction",{functionName:o,data:r,method:a,headers:l,signHeaderKeys:["x-to-function-name"],config:n});return Xb({url:c,data:r,method:a,headers:d,timeout:i}).then(u=>{let f=0;if(s){const h=u.data||{};f=h.errCode==="200"?0:h.errCode,u.data=h.data||{},u.errMsg=h.errMsg}if(f!==0)throw new he({code:f,message:u.errMsg,requestId:u.requestId});return{errCode:f,success:f===0,requestId:u.requestId,result:u.data}}).catch(u=>{throw new he({code:u.errCode,message:u.errMsg,requestId:u.requestId})})}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:o,onUploadProgress:r}){return new Promise((s,i)=>{const a=St.uploadFile({url:e,filePath:t,fileType:n,formData:o,name:"file",success(l){l&&l.statusCode<400?s(l):i(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(l){i(new he({code:l.code||"UPLOAD_FAILED",message:l.message||l.errMsg||"文件上传失败"}))}});typeof r=="function"&&a&&typeof a.onProgressUpdate=="function"&&a.onProgressUpdate(l=>{r({loaded:l.totalBytesSent,total:l.totalBytesExpectedToSend})})})}uploadFile(r){return ue(this,arguments,function*({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:o}){if(ci(t)!=="string")throw new he({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new he({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new he({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=yield lm({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:i,upload_url:a,form_data:l}=s,c=l&&l.reduce((d,u)=>(d[u.key]=u.value,d),{});return this.uploadFileToOSS({url:a,filePath:e,fileType:n,formData:c,onUploadProgress:o}).then(()=>({fileID:i}))})}getTempFileURL(t){return ue(this,arguments,function*({fileList:e}){return new Promise((n,o)=>{(!e||e.length<0)&&n({code:"INVALID_PARAM",message:"fileList不能为空数组"}),e.length>50&&n({code:"INVALID_PARAM",message:"fileList数组长度不能超过50"});const r=[];for(const s of e){let i;ci(s)!=="string"&&n({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});try{i=sF.call(this,s)}catch(a){i=s}r.push({file_id:i,expire:600})}lm({path:"/?download_url",data:{file_list:r},method:"POST"},this.config).then(s=>{const{file_list:i=[]}=s;n({fileList:i.map(a=>({fileID:iF.call(this,a.file_id),tempFileURL:a.download_url}))})}).catch(s=>o(s))})})}connectWebSocket(e){return ue(this,null,function*(){const{name:t,query:n}=e;return St.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})})}},cF={init:e=>{e.provider="alipay";const t=new lF(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function uF({data:e}){let t;t=Yu();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:o}=ui();o&&(n.uniIdToken=o)}return n}const dF=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Jb=/[\\^$.*+?()[\]{}|]/g,fF=RegExp(Jb.source);function cm(e,t,n){return e.replace(new RegExp((o=t)&&fF.test(o)?o.replace(Jb,"\\$&"):o,"g"),n);var o}const qc={REQUEST:"request",RESPONSE:"response",BOTH:"both"},um="_globalUniCloudStatus",hF="_globalUniCloudSecureNetworkCache__{spaceId}",pF="uni-secure-network",Qb={SYSTEM_ERROR:{code:2e4},APP_INFO_INVALID:{code:20101,message:"Invalid client"}};function Zb(e){const{errSubject:t,subject:n,errCode:o,errMsg:r,code:s,message:i,cause:a}=e||{};return new he({subject:t||n||pF,code:o||s||Qb.SYSTEM_ERROR.code,message:r||i,cause:a})}let Qu;function dm({secretType:e}={}){return e===qc.REQUEST||e===qc.RESPONSE||e===qc.BOTH}function fm({name:e,data:t={}}={}){return Li==="app"}function gF({provider:e,spaceId:t,functionName:n}={}){const{appId:o,uniPlatform:r,osName:s}=Bb();let i=r;r==="app"&&(i=s);const a=function({provider:u,spaceId:f}={}){const h=SB;if(!h)return{};u=function(v){return v==="tencent"?"tcb":v}(u);const _=h.find(v=>v.provider===u&&v.spaceId===f);return _&&_.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const l=a.accessControl.function||{},c=Object.keys(l);if(c.length===0)return!0;const d=function(u,f){let h,_,v;for(let m=0;mb.trim()).indexOf(f)>-1&&(_=y):v=y:h=y}return h||_||v}(c,n);if(!d)return!1;if((l[d]||[]).find((u={})=>u.appId===o&&(u.platform||"").toLowerCase()===i.toLowerCase()))return!0;throw Zb(Qb.APP_INFO_INVALID)}function hm({functionName:e,result:t,logPvd:n}){}function mF(e){const t=e.callFunction,n=function(o){const r=o.name;o.data=uF.call(e,{data:o.data});const s={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],i=dm(o),a=fm(o),l=i||a;return t.call(this,o).then(c=>(c.errCode=0,!l&&hm.call(this,{functionName:r,result:c,logPvd:s}),Promise.resolve(c)),c=>(!l&&hm.call(this,{functionName:r,result:c,logPvd:s}),c&&c.message&&(c.message=function({message:d="",extraInfo:u={},formatter:f=[]}={}){for(let h=0;h({})}),l.then(c=>c)}}Qu=class{constructor(){throw Zb({message:`Platform ${Li} is not supported by secure network`})}};const ew=Symbol("CLIENT_DB_INTERNAL");function nl(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=ew,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(n,o,r){if(o==="_uniClient")return null;if(typeof o=="symbol")return n[o];if(o in n||typeof o!="string"){const s=n[o];return typeof s=="function"?s.bind(n):s}return t.get(n,o,r)}})}function pm(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const o=e[t].indexOf(n);o!==-1&&e[t].splice(o,1)}}}const yF=["db.Geo","db.command","command.aggregate"];function tw(e,t){return yF.indexOf(`${e}.${t}`)>-1}function hr(e){switch(ci(e=Nb(e))){case"array":return e.map(t=>hr(t));case"object":return e._internalType===ew||Object.keys(e).forEach(t=>{e[t]=hr(e[t])}),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Ts(e){return e&&e.content&&e.content.$method}class vF{constructor(t,n,o){this.content=t,this.prevStage=n||null,this.udb=null,this._database=o}toJSON(){let t=this;const n=[t.content];for(;t.prevStage;)t=t.prevStage,n.push(t.content);return{$db:n.reverse().map(o=>({$method:o.$method,$param:hr(o.$param)}))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const t=this.toJSON().$db.find(n=>n.$method==="action");return t&&t.$param&&t.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter(t=>t.$method!=="action")}}get isAggregate(){let t=this;for(;t;){const n=Ts(t),o=Ts(t.prevStage);if(n==="aggregate"&&o==="collection"||n==="pipeline")return!0;t=t.prevStage}return!1}get isCommand(){let t=this;for(;t;){if(Ts(t)==="command")return!0;t=t.prevStage}return!1}get isAggregateCommand(){let t=this;for(;t;){const n=Ts(t),o=Ts(t.prevStage);if(n==="aggregate"&&o==="command")return!0;t=t.prevStage}return!1}getNextStageFn(t){const n=this;return function(){return di({$method:t,$param:hr(Array.from(arguments))},n,n._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(t,n){const o=this.getAction(),r=this.getCommand();return r.$db.push({$method:t,$param:hr(n)}),this._database._callCloudFunction({action:o,command:r})}}function di(e,t,n){return nl(new vF(e,t,n),{get(o,r){let s="db";return o&&o.content&&(s=o.content.$method),tw(s,r)?di({$method:r},o,n):function(){return di({$method:r,$param:hr(Array.from(arguments))},o,n)}}})}function Vc({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map(n=>({$method:n})),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}class _F{constructor({uniClient:t={},isJQL:n=!1}={}){this._uniClient=t,this._authCallBacks={},this._dbCallBacks={},t._isDefault&&(this._dbCallBacks=ns("_globalUniCloudDatabaseCallback")),n||(this.auth=pm(this._authCallBacks)),this._isJQL=n,Object.assign(this,pm(this._dbCallBacks)),this.env=nl({},{get:(o,r)=>({$env:r})}),this.Geo=nl({},{get:(o,r)=>Vc({path:["Geo"],method:r})}),this.serverDate=Vc({path:[],method:"serverDate"}),this.RegExp=Vc({path:[],method:"RegExp"})}getCloudEnv(t){if(typeof t!="string"||!t.trim())throw new Error("getCloudEnv参数错误");return{$env:t.replace("$cloudEnv_","")}}_callback(t,n){const o=this._dbCallBacks;o[t]&&o[t].forEach(r=>{r(...n)})}_callbackAuth(t,n){const o=this._authCallBacks;o[t]&&o[t].forEach(r=>{r(...n)})}multiSend(){const t=Array.from(arguments),n=t.map(o=>{const r=o.getAction(),s=o.getCommand();if(s.$db[s.$db.length-1].$method!=="getTemp")throw new Error("multiSend只支持子命令内使用getTemp");return{action:r,command:s}});return this._callCloudFunction({multiCommand:n,queryList:t})}}function gm(e,t={}){return nl(new e(t),{get:(n,o)=>tw("db",o)?di({$method:o},null,n):function(){return di({$method:o,$param:hr(Array.from(arguments))},null,n)}})}class mm extends _F{_parseResult(t){return this._isJQL?t.result:t}_callCloudFunction({action:t,command:n,multiCommand:o,queryList:r}){function s(u,f){if(o&&r)for(let h=0;hHt(Wt(a,"complete"),u)).then(()=>(s(null,u),vn(dt.RESPONSE,{type:Po.CLIENT_DB,content:u}),Promise.reject(u)))}const c=Ht(Wt(a,"invoke")),d=this._uniClient;return c.then(()=>d.callFunction({name:"DCloud-clientDB",type:tl.CLIENT_DB,data:{action:t,command:n,multiCommand:o}})).then(u=>{const{code:f,message:h,token:_,tokenExpired:v,systemInfo:m=[]}=u.result;if(m)for(let b=0;bw})}}return function(b){return Ht(Wt(a,"success"),b).then(()=>Ht(Wt(a,"complete"),b)).then(()=>{s(b,null);const p=i._parseResult(b);return vn(dt.RESPONSE,{type:Po.CLIENT_DB,content:p}),Promise.resolve(p)})}(u)},u=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(u.message),l(new he({code:u.code||"SYSTEM_ERROR",message:u.message,requestId:u.requestId}))))}}const cr="token无效,跳转登录页面",nw="token过期,跳转登录页面",ow={TOKEN_INVALID_TOKEN_EXPIRED:nw,TOKEN_INVALID_INVALID_CLIENTID:cr,TOKEN_INVALID:cr,TOKEN_INVALID_WRONG_TOKEN:cr,TOKEN_INVALID_ANONYMOUS_USER:cr},bF={"uni-id-token-expired":nw,"uni-id-check-token-failed":cr,"uni-id-token-not-exist":cr,"uni-id-check-device-feature-failed":cr},Zu=we(se(se({},ow),bF),{default:"用户未登录或登录状态过期,自动跳转登录页面"});function ym(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function vm(e=[],t=""){const n=[],o=[];return e.forEach(r=>{r.needLogin===!0?n.push(ym(t,r.path)):r.needLogin===!1&&o.push(ym(t,r.path))}),{needLoginPage:n,notNeedLoginPage:o}}function fi(e){return e.split("?")[0].replace(/^\//,"")}function yf(){return function(e){let t=e&&e.$page&&e.$page.fullPath;return t?(t.charAt(0)!=="/"&&(t="/"+t),t):""}(function(){const e=Xt();return e[e.length-1]}())}function rw(){return fi(yf())}function wF(e="",t={}){if(!e||!(t&&t.list&&t.list.length))return!1;const n=t.list,o=fi(e);return n.some(r=>r.pagePath===o)}const SF=!!_b.uniIdRouter,{loginPage:hi,routerNeedLogin:TF,resToLogin:CF,needLoginPage:sw,notNeedLoginPage:kF,loginPageInTabBar:xF}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:o={}}=_b){const{loginPage:r,needLogin:s=[],resToLogin:i=!0}=n,{needLoginPage:a,notNeedLoginPage:l}=vm(e),{needLoginPage:c,notNeedLoginPage:d}=function(u=[]){const f=[],h=[];return u.forEach(_=>{const{root:v,pages:m=[]}=_,{needLoginPage:y,notNeedLoginPage:b}=vm(m,v);f.push(...y),h.push(...b)}),{needLoginPage:f,notNeedLoginPage:h}}(t);return{loginPage:r,routerNeedLogin:s,resToLogin:i,needLoginPage:[...a,...c],notNeedLoginPage:[...l,...d],loginPageInTabBar:wF(r,o)}}();if(sw.indexOf(hi)>-1)throw new Error(`Login page [${hi}] should not be "needLogin", please check your pages.json`);function iw(e){const t=rw();if(e.charAt(0)==="/")return e;const[n,o]=e.split("?"),r=n.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(let i=0;i-1)&&(sw.indexOf(t)>-1||TF.some(n=>function(o,r){return new RegExp(r).test(o)}(e,n)))}function aw({redirect:e}){const t=fi(e),n=fi(hi);return rw()!==n&&t!==n}function ed({api:e,redirect:t}={}){if(!t||!aw({redirect:t}))return;const n=function(r,s){return r.charAt(0)!=="/"&&(r="/"+r),s?r.indexOf("?")>-1?r+`&uniIdRedirectUrl=${encodeURIComponent(s)}`:r+`?uniIdRedirectUrl=${encodeURIComponent(s)}`:r}(hi,t);xF?e!=="navigateTo"&&e!=="redirectTo"||(e="switchTab"):e==="switchTab"&&(e="navigateTo");const o={navigateTo:ef,redirectTo:Ol,switchTab:ki,reLaunch:Al};setTimeout(()=>{o[e]({url:n})},0)}function _m({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:o,tokenExpired:r}=ui();let s;if(o){if(r0)return setTimeout(()=>{vn(dt.NEED_LOGIN,n)},0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function EF(){(function(){const t=yf(),{abortLoginPageJump:n,autoToLoginPage:o}=_m({url:t});n||o&&ed({api:"redirectTo",redirect:t})})();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let o=!1;switch(t){case"cloudobject":o=function(r){if(typeof r!="object")return!1;const{errCode:s}=r||{};return s in Zu}(n);break;case"clientdb":o=function(r){if(typeof r!="object")return!1;const{errCode:s}=r||{};return s in ow}(n)}o&&function(r={}){const s=Ri(dt.NEED_LOGIN);Mb().then(()=>{const i=yf();if(i&&aw({redirect:i}))return s.length>0?vn(dt.NEED_LOGIN,Object.assign({uniIdRedirectUrl:i},r)):void(hi&&ed({api:"navigateTo",redirect:i}))})}(n)})}function OF(e){(function(t){t.onResponse=function(n){Ac(dt.RESPONSE,n)},t.offResponse=function(n){Lc(dt.RESPONSE,n)}})(e),function(t){t.onNeedLogin=function(n){Ac(dt.NEED_LOGIN,n)},t.offNeedLogin=function(n){Lc(dt.NEED_LOGIN,n)},SF&&(ns(um).needLoginInit||(ns(um).needLoginInit=!0,Mb().then(()=>{EF.call(t)}),CF&&IF.call(t)))}(e),function(t){t.onRefreshToken=function(n){Ac(dt.REFRESH_TOKEN,n)},t.offRefreshToken=function(n){Lc(dt.REFRESH_TOKEN,n)}}(e)}let lw;const na="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",AF=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function LF(){const e=ui().token||"",t=e.split(".");if(!e||t.length!==3)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((o=t[1],decodeURIComponent(lw(o).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var o;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}lw=typeof atob!="function"?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!AF.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,r="",s=0;s>16&255):o===64?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;var RF=Wn(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",o="chooseAndUploadFile:fail";function r(i,a){return i.tempFiles.forEach((l,c)=>{l.name||(l.name=l.path.substring(l.path.lastIndexOf("/")+1)),a&&(l.fileType=a),l.cloudPath=Date.now()+"_"+c+l.name.substring(l.name.lastIndexOf("."))}),i.tempFilePaths||(i.tempFilePaths=i.tempFiles.map(l=>l.path)),i}function s(i,a,{onChooseFile:l,onUploadProgress:c}){return a.then(d=>{if(l){const u=l(d);if(u!==void 0)return Promise.resolve(u).then(f=>f===void 0?d:f)}return d}).then(d=>d===!1?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(u,f,h=5,_){(f=Object.assign({},f)).errMsg=n;const v=f.tempFiles,m=v.length;let y=0;return new Promise(b=>{for(;y=m)return void(!v.find(S=>!S.url&&!S.errMsg)&&b(f));const w=v[g];u.uploadFile({provider:w.provider,filePath:w.path,cloudPath:w.cloudPath,fileType:w.fileType,cloudPathAsRealPath:w.cloudPathAsRealPath,onUploadProgress(S){S.index=g,S.tempFile=w,S.tempFilePath=w.path,_&&_(S)}}).then(S=>{w.url=S.fileID,g{w.errMsg=S.errMsg||S.message,g{wR({count:c,sizeType:d,sourceType:u,extension:f,success(v){h(r(v,"image"))},fail(v){_({errMsg:v.errMsg.replace("chooseImage:fail",o)})}})})}(a),a):a.type==="video"?s(i,function(l){const{camera:c,compressed:d,maxDuration:u,sourceType:f=["album","camera"],extension:h}=l;return new Promise((_,v)=>{AR({camera:c,compressed:d,maxDuration:u,sourceType:f,extension:h,success(m){const{tempFilePath:y,duration:b,size:p,height:g,width:w}=m;_(r({errMsg:"chooseVideo:ok",tempFilePaths:[y],tempFiles:[{name:m.tempFile&&m.tempFile.name||"",path:y,size:p,type:m.tempFile&&m.tempFile.type||"",width:w,height:g,duration:b,fileType:"video",cloudPath:""}]},"video"))},fail(m){v({errMsg:m.errMsg.replace("chooseVideo:fail",o)})}})})}(a),a):s(i,function(l){const{count:c,extension:d}=l;return new Promise((u,f)=>{let h=bR;if(typeof wx!="undefined"&&typeof wx.chooseMessageFile=="function"&&(h=wx.chooseMessageFile),typeof h!="function")return f({errMsg:o+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});h({type:"all",count:c,extension:d,success(_){u(r(_))},fail(_){f({errMsg:_.errMsg.replace("chooseFile:fail",o)})}})})}(a),a)}}}),MF=fB(RF);const DF={manual:"manual"};function cw(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch(()=>{var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach(n=>{t.push(this[n])}),t},(t,n)=>{if(this.loadtime===DF.manual)return;let o=!1;const r=[];for(let s=2;s{this.mixinDatacomLoading=!1;const{data:s,count:i}=r.result;this.getcount&&(this.mixinDatacomPage.count=i),this.mixinDatacomHasMore=s.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=r,this.mixinDatacomError=r,o&&o(r)}))},mixinDatacomGet(t={}){let n;t=t||{},n=typeof __uniX!="undefined"&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const o=t.action||this.action;o&&(n=n.action(o));const r=t.collection||this.collection;n=Array.isArray(r)?n.collection(...r):n.collection(r);const s=t.where||this.where;s&&Object.keys(s).length&&(n=n.where(s));const i=t.field||this.field;i&&(n=n.field(i));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const l=t.groupby||this.groupby;l&&(n=n.groupBy(l));const c=t.groupField||this.groupField;c&&(n=n.groupField(c)),(t.distinct!==void 0?t.distinct:this.distinct)===!0&&(n=n.distinct());const d=t.orderby||this.orderby;d&&(n=n.orderBy(d));const u=t.pageCurrent!==void 0?t.pageCurrent:this.mixinDatacomPage.current,f=t.pageSize!==void 0?t.pageSize:this.mixinDatacomPage.size,h=t.getcount!==void 0?t.getcount:this.getcount,_=t.gettree!==void 0?t.gettree:this.gettree,v=t.gettreepath!==void 0?t.gettreepath:this.gettreepath,m={getCount:h},y={limitLevel:t.limitlevel!==void 0?t.limitlevel:this.limitlevel,startWith:t.startwith!==void 0?t.startwith:this.startwith};return _&&(m.getTree=y),v&&(m.getTreePath=y),n=n.skip(f*(u-1)).limit(f).get(m),n}}}}function NF(e){return function(t,n={}){n=function(l,c={}){return l.customUI=c.customUI||l.customUI,l.parseSystemError=c.parseSystemError||l.parseSystemError,Object.assign(l.loadingOptions,c.loadingOptions),Object.assign(l.errorOptions,c.errorOptions),typeof c.secretMethods=="object"&&(l.secretMethods=c.secretMethods),l}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);const{customUI:o,loadingOptions:r,errorOptions:s,parseSystemError:i}=n,a=!o;return new Proxy({},{get(l,c){switch(c){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:d,interceptorName:u,getCallbackArgs:f}={}){return function(...h){return ue(this,null,function*(){const _=f?f({params:h}):{};let v,m;try{return yield Ht(Wt(u,"invoke"),se({},_)),v=yield d(...h),yield Ht(Wt(u,"success"),we(se({},_),{result:v})),v}catch(y){throw m=y,yield Ht(Wt(u,"fail"),we(se({},_),{error:m})),m}finally{yield Ht(Wt(u,"complete"),m?we(se({},_),{error:m}):we(se({},_),{result:v}))}})}}({fn:function d(...u){return ue(this,null,function*(){let f;a&&f0({title:r.title,mask:r.mask});const h={name:t,type:tl.OBJECT,data:{method:c,params:u}};typeof n.secretMethods=="object"&&function(p,g){const w=g.data.method,S=p.secretMethods||{},k=S[w]||S["*"];k&&(g.secretType=k)}(n,h);let _=!1;try{f=yield e.callFunction(h)}catch(p){_=!0,f={result:new he(p)}}const{errSubject:v,errCode:m,errMsg:y,newToken:b}=f.result||{};if(a&&Mu(),b&&b.token&&b.tokenExpired&&($b(b),vn(dt.REFRESH_TOKEN,se({},b))),m){let p=y;if(_&&i&&(p=(yield i({objectName:t,methodName:c,params:u,errSubject:v,errCode:m,errMsg:y})).errMsg||y),a)if(s.type==="toast")Fl({title:p,icon:"none"});else{if(s.type!=="modal")throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:w}=yield function(){return ue(this,arguments,function*({title:S,content:k,showCancel:C,cancelText:O,confirmText:P}={}){return new Promise((I,E)=>{XR({title:S,content:k,showCancel:C,cancelText:O,confirmText:P,success(N){I(N)},fail(){I({confirm:!1,cancel:!0})}})})})}({title:"提示",content:p,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&w)return d(...u)}}const g=new he({subject:v,code:m,message:y,requestId:f.requestId});throw g.detail=f.result,vn(dt.RESPONSE,{type:Po.CLOUD_OBJECT,content:g}),g}return vn(dt.RESPONSE,{type:Po.CLOUD_OBJECT,content:f.result}),f.result})},interceptorName:"callObject",getCallbackArgs:function({params:d}={}){return{objectName:t,methodName:c,params:d}}})}})}}function uw(e){return ns(hF.replace("{spaceId}",e.config.spaceId))}function $F(){return ue(this,arguments,function*({openid:e,callLoginByWeixin:t=!1}={}){throw uw(this),new Error(`[SecureNetwork] API \`initSecureNetworkByWeixin\` is not supported on platform \`${Li}\``)})}function BF(e){return ue(this,null,function*(){const t=uw(this);return t.initPromise||(t.initPromise=$F.call(this,e).then(n=>n).catch(n=>{throw delete t.initPromise,n})),t.initPromise})}function FF(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return BF.call(e,{openid:t,callLoginByWeixin:n})}}function UF(e){(function(t){Ku=t})(e)}function bm(e){const t={getAppBaseInfo:cR,getPushClientId:bu};return function(n){return new Promise((o,r)=>{t[e](we(se({},n),{success(s){o(s)},fail(s){r(s)}}))})}}class qF extends bB{constructor(){super(),this._uniPushMessageCallback=this._receivePushMessage.bind(this),this._currentMessageId=-1,this._payloadQueue=[]}init(){return Promise.all([bm("getAppBaseInfo")(),bm("getPushClientId")()]).then(([{appId:t}={},{cid:n}={}]=[])=>{if(!t)throw new Error("Invalid appId, please check the manifest.json file");if(!n)throw new Error("Invalid push client id");this._appId=t,this._pushClientId=n,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()},t=>{throw this.emit("error",t),this.close(),t})}open(){return ue(this,null,function*(){return this.init()})}_isUniCloudSSE(t){if(t.type!=="receive")return!1;const n=t&&t.data&&t.data.payload;return!(!n||n.channel!=="UNI_CLOUD_SSE"||n.seqId!==this._seqId)}_receivePushMessage(t){if(!this._isUniCloudSSE(t))return;const n=t&&t.data&&t.data.payload,{action:o,messageId:r,message:s}=n;this._payloadQueue.push({action:o,messageId:r,message:s}),this._consumMessage()}_consumMessage(){for(;;){const t=this._payloadQueue.find(n=>n.messageId===this._currentMessageId+1);if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}_parseMessagePayload(t){const{action:n,messageId:o,message:r}=t;n==="end"?this._end({messageId:o,message:r}):n==="message"&&this._appendMessage({messageId:o,message:r})}_appendMessage({messageId:t,message:n}={}){this.emit("message",n)}_end({messageId:t,message:n}={}){this.emit("end",n),this.close()}_initMessageListener(){wE(this._uniPushMessageCallback)}_destroy(){SE(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}function VF(e){e._initPromiseHub||(e._initPromiseHub=new Ab({createPromise:function(){let t=Promise.resolve();var n;n=1,t=new Promise(r=>{setTimeout(()=>{r()},n)});const o=e.auth();return t.then(()=>o.getLoginState()).then(r=>r?Promise.resolve():o.signInAnonymously())}}))}const HF={tcb:im,tencent:im,aliyun:OB,private:am,dcloud:am,alipay:cF};let un=new class{init(e){let t={};const n=HF[e.provider];if(!n)throw new Error("未提供正确的provider参数");return t=n.init(e),VF(t),mF(t),function(o){const r=o.uploadFile;o.uploadFile=function(s){return r.call(this,s)}}(t),function(o){o.database=function(r){if(r&&Object.keys(r).length>0)return o.init(r).database();if(this._database)return this._database;const s=gm(mm,{uniClient:o});return this._database=s,s},o.databaseForJQL=function(r){if(r&&Object.keys(r).length>0)return o.init(r).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const s=gm(mm,{uniClient:o,isJQL:!0});return this._databaseForJQL=s,s}}(t),function(o){o.getCurrentUserInfo=LF,o.chooseAndUploadFile=MF.initChooseAndUploadFile(o),Object.assign(o,{get mixinDatacom(){return cw(o)}}),o.SSEChannel=qF,o.initSecureNetworkByWeixin=FF(o),o.setCustomClientInfo=UF,o.importObject=NF(o)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach(o=>{if(!t[o])return;const r=t[o];t[o]=function(){return r.apply(t,Array.from(arguments))},t[o]=function(s,i){return function(a){let l=!1;i==="callFunction"&&(l=(a&&a.type||tl.DEFAULT)!==tl.DEFAULT);const c=i==="callFunction"&&!l,d=this._initPromiseHub.exec();a=a||{};const{success:u,fail:f,complete:h}=Db(a),_=d.then(()=>l?Promise.resolve():Ht(Wt(i,"invoke"),a)).then(()=>s.call(this,a)).then(v=>l?Promise.resolve(v):Ht(Wt(i,"success"),v).then(()=>Ht(Wt(i,"complete"),v)).then(()=>(c&&vn(dt.RESPONSE,{type:Po.CLOUD_FUNCTION,content:v}),Promise.resolve(v))),v=>l?Promise.reject(v):Ht(Wt(i,"fail"),v).then(()=>Ht(Wt(i,"complete"),v)).then(()=>(vn(dt.RESPONSE,{type:Po.CLOUD_FUNCTION,content:v}),Promise.reject(v))));if(!(u||f||h))return _;_.then(v=>{u&&u(v),h&&h(v),c&&vn(dt.RESPONSE,{type:Po.CLOUD_FUNCTION,content:v})},v=>{f&&f(v),h&&h(v),c&&vn(dt.RESPONSE,{type:Po.CLOUD_FUNCTION,content:v})})}}(t[o],o).bind(t)}),t.init=this.init,t}};(()=>{const e=TB;let t={};if(e&&e.length===1)t=e[0],un=un.init(t),un._isDefault=!0;else{const n=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile"],o=["database","getCurrentUserInfo","importObject"];let r;r=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",[...n,...o].forEach(s=>{un[s]=function(){if(o.indexOf(s)===-1)return Promise.reject(new he({code:"SYS_ERR",message:r}))}})}if(Object.assign(un,{get mixinDatacom(){return cw(un)}}),OF(un),un.addInterceptor=Rb,un.removeInterceptor=xB,un.interceptObject=PB,Li==="web"){const n=kB();n.uniCloud=un,n.UniCloudError=he}})();var td=un;function WF(){return new Promise((e,t)=>{t({message:"请在App中使用"})})}function jF(){return new Promise((e,t)=>{WF().then(n=>ue(this,null,function*(){const o=n.code;n.message;const r=n.url;if(o>0){if(/^cloud:\/\//.test(r)){const s=yield td.getTempFileURL({fileList:[r]});typeof s.fileList[0].tempFileURL!="undefined"&&(n.url=s.fileList[0].tempFileURL)}if(n.is_silently){$R({url:n.url,success:s=>{s.statusCode==200&&plus.runtime.install(s.tempFilePath,{force:!1})}});return}return e(n)}else if(o<0)return t(n);return e(n)})).catch(n=>{t(n)})})}var zF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};(function(e){e()})(function(){function e(C,O){(O==null||O>C.length)&&(O=C.length);for(var P=0,I=Array(O);P=C.length?{done:!0}:{done:!1,value:C[I++]}},e:function(W){throw W},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N,J=!0,R=!1;return{s:function(){P=P.call(C)},n:function(){var W=P.next();return J=W.done,W},e:function(W){R=!0,N=W},f:function(){try{J||P.return==null||P.return()}finally{if(R)throw N}}}}function a(){return a=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(C,O,P){var I=h(C,O);if(I){var E=Object.getOwnPropertyDescriptor(I,O);return E.get?E.get.call(arguments.length<3?C:P):E.value}},a.apply(null,arguments)}function l(C){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(O){return O.__proto__||Object.getPrototypeOf(O)},l(C)}function c(C,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(O&&O.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),O&&f(C,O)}function d(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(O){}return(d=function(){return!!C})()}function u(C,O){if(O&&(typeof O=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return t(C)}function f(C,O){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,I){return P.__proto__=I,P},f(C,O)}function h(C,O){for(;!{}.hasOwnProperty.call(C,O)&&(C=l(C))!==null;);return C}function _(C,O,P,I){var E=a(l(C.prototype),O,P);return typeof E=="function"?function(N){return E.apply(P,N)}:E}function v(C,O){if(typeof C!="object"||!C)return C;var P=C[Symbol.toPrimitive];if(P!==void 0){var I=P.call(C,O);if(typeof I!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(C)}function m(C){var O=v(C,"string");return typeof O=="symbol"?O:O+""}function y(C,O){if(C){if(typeof C=="string")return e(C,O);var P={}.toString.call(C).slice(8,-1);return P==="Object"&&C.constructor&&(P=C.constructor.name),P==="Map"||P==="Set"?Array.from(C):P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P)?e(C,O):void 0}}function b(C){var O;try{O=new Event("abort")}catch(P){typeof document!="undefined"?document.createEvent?(O=document.createEvent("Event"),O.initEvent("abort",!1,!1)):(O=document.createEventObject(),O.type="abort"):O={type:"abort",bubbles:!1,cancelable:!1}}return O.reason=C,O}function p(C){if(C===void 0)if(typeof document=="undefined")C=new Error("This operation was aborted"),C.name="AbortError";else try{C=new DOMException("signal is aborted without reason"),Object.defineProperty(C,"name",{value:"AbortError"})}catch(O){C=new Error("This operation was aborted"),C.name="AbortError"}return C}var g=function(){function C(){o(this,C),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return s(C,[{key:"addEventListener",value:function(P,I,E){P in this.listeners||(this.listeners[P]=[]),this.listeners[P].push({callback:I,options:E})}},{key:"removeEventListener",value:function(P,I){if(P in this.listeners){for(var E=this.listeners[P],N=0,J=E.length;N!!n.token);return VD(()=>{o.value&&n.getUserInfo(),jn().platform==="ios"&&t.requestNotificationAuthorization(r=>{r.status<2&&Fl({icon:"none",title:En("app.notificationPermission"),duration:3e3})}),t.setSiteName("Singapore"),t.setLoggerEnable(!0),t.initPushService(),t.addConnectEventListener(r=>{const s=r.connectEnable;FP("connectStatusChange",s)}),t.getRegistrationID(r=>{mt("registerID",r.registerID),Tb({jpushDeviceId:r.registerID})})}),UD(()=>{jF()}),qD(()=>{}),()=>{}}};NL(dw);const GF={install(){typeof Array.prototype.at!="function"&&(Array.prototype.at=function(e){if(e<0)return this[this.length+e];if(!(e>=this.length))return this[e]})}},KF=Y$();function YF(e){const t="/mall",n="/cif",o="/operating";let r=KF,s=e;return(e.startsWith(t)||e.startsWith(n)||e.startsWith(o))&&(r="https://api.bandhubuy.com"),{baseUrl:r,processedUrl:s}}const wm={invoke(e){var n,o;if(e.query){const r=ff(e.query);e.url.includes("?")?e.url+=`&${r}`:e.url+=`?${r}`}if(!e.url.startsWith("http")){const{baseUrl:r,processedUrl:s}=YF(e.url);JSON.parse("false")?e.url="/api"+s:e.url=r+s}if(e.timeout=1e4,e.header=se({platform:j$},e.header),e.header["accept-language"]=ub.global.locale,!(((n=e.url)==null?void 0:n.includes("/login"))||((o=e.url)==null?void 0:o.includes("/register")))){const r=ht("token");r&&(e.header.Token=r)}}},XF={install(){pn("request",wm),pn("uploadFile",wm)}},JF="/pages/login/login";function QF(){return!!Ai().token}const oa={invoke({url:e}){let t=e.split("?")[0];if(!t.startsWith("/")){const i=bb().route,a=i.startsWith("/")?i:`/${i}`;t=`${a.substring(0,a.lastIndexOf("/"))}/${t}`}let n=[];if(n=wb,!n.includes(t)||QF())return!0;const s=`${JF}?redirect=${encodeURIComponent(e)}`;return ts({url:s}),!1}},ZF={install(){pn("navigateTo",oa),pn("reLaunch",oa),pn("redirectTo",oa),pn("switchTab",oa)}},e5={install(e){e.config.globalProperties.$tWithBreaks=L$,e.config.globalProperties.$formatTextWithBreaks=db}},qr=[Number,String],fw=e=>({type:e,required:!0}),t5=()=>({type:Array,default:()=>[]}),Ce=e=>({type:Boolean,default:e}),Eo=e=>({type:Number,default:e}),vf=e=>({type:qr,default:e}),Oe=e=>({type:String,default:e}),Lt={customStyle:Oe(""),customClass:Oe("")},n5=we(se({},Lt),{name:fw(String),color:String,size:qr,classPrefix:Oe("wd-icon")}),o5={name:"wd-icon",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},r5=Ze(we(se({},o5),{props:n5,emits:["click","touch"],setup(e,{emit:t}){const n=e,o=t,r=Y(()=>Ie(n.name)&&n.name.includes("/")),s=Y(()=>{const l=n.classPrefix;return`${l} ${n.customClass} ${r.value?"wd-icon--image":l+"-"+n.name}`}),i=Y(()=>{const l={};return n.color&&(l.color=n.color),n.size&&(l["font-size"]=xn(n.size)),`${Rn(l)} ${n.customStyle}`});function a(l){o("click",l)}return(l,c)=>{const d=N_,u=Jt;return ge(),ve(u,{onClick:a,class:Je(s.value),style:rt(i.value)},{default:me(()=>[r.value?(ge(),ve(d,{key:0,class:"wd-icon__image",src:l.name},null,8,["src"])):Ke("",!0)]),_:1},8,["class","style"])}}})),Qt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Un=Qt(r5,[["__scopeId","data-v-bef80b7c"]]),ra=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],hw=e=>e.replace(/[+/]/g,t=>t==="+"?"-":"_").replace(/=+\$/m,""),s5=(e,t=!1)=>{let n="";for(let o=0,r=e.length;o>>18],n+=ra[l>>>12&63],n+=typeof i!="undefined"?ra[l>>>6&63]:"=",n+=typeof a!="undefined"?ra[l&63]:"="}return t?hw(n):n},i5=typeof btoa=="function"?e=>btoa(e):e=>{if(e.charCodeAt(0)>255)throw new RangeError("The string contains invalid characters.");return s5(Uint8Array.from(e,t=>t.charCodeAt(0)))},a5=e=>unescape(encodeURIComponent(e));function _f(e,t=!1){const n=i5(a5(e));return t?hw(n):n}const l5=we(se({},Lt),{type:Oe("ring"),color:Oe("#4D80F0"),size:vf("")}),c5={name:"wd-loading",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},u5=Ze(we(se({},c5),{props:l5,setup(e){const t=kc.id++,n=kc.id++,o=kc.id++,r={outline(u="#4D80F0"){return``},ring(u="#4D80F0",f="#a6bff7"){return` `}},s=e,i=q(""),a=q(""),l=q(null);ne(()=>s.size,u=>{l.value=xn(u)},{deep:!0,immediate:!0}),ne(()=>s.type,()=>{d()},{deep:!0,immediate:!0});const c=Y(()=>{const u={};return Ie(l.value)&&(u.height=xn(l.value),u.width=xn(l.value)),`${Rn(u)} ${s.customStyle}`});Ho(()=>{a.value=h$(s.color,"#ffffff",2)[1],d()});function d(){const{type:u,color:f}=s;let h=Ie(u)?u:"ring";const _=`"data:image/svg+xml;base64,${_f(h==="ring"?r[h](f,a.value):r[h](f))}"`;i.value=_}return(u,f)=>{const h=Jt;return ge(),ve(h,{class:Je(`wd-loading ${s.customClass}`),style:rt(c.value)},{default:me(()=>[L(h,{class:"wd-loading__body"},{default:me(()=>[L(h,{class:"wd-loading__svg",style:rt(`background-image: url(${i.value});`)},null,8,["style"])]),_:1})]),_:1},8,["class","style"])}}})),d5=Qt(u5,[["__scopeId","data-v-4224d8d3"]]),f5=we(se({},Lt),{show:Ce(!1),duration:{type:[Object,Number,Boolean],default:300},lazyRender:Ce(!1),name:[String,Array],destroy:Ce(!0),enterClass:Oe(""),enterActiveClass:Oe(""),enterToClass:Oe(""),leaveClass:Oe(""),leaveActiveClass:Oe(""),leaveToClass:Oe("")}),h5={name:"wd-transition",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},p5=Ze(we(se({},h5),{props:f5,emits:["click","before-enter","enter","before-leave","leave","after-leave","after-enter"],setup(e,{emit:t}){const n=k=>{let C=`${o.enterClass} ${o.enterActiveClass}`,O=`${o.enterToClass} ${o.enterActiveClass}`,P=`${o.leaveClass} ${o.leaveActiveClass}`,I=`${o.leaveToClass} ${o.leaveActiveClass}`;if(Array.isArray(k))for(let E=0;E`-webkit-transition-duration:${c.value}ms;transition-duration:${c.value}ms;${i.value||!o.destroy?"":"display: none;"}${o.customStyle}`),v=Y(()=>`wd-transition ${o.customClass} ${d.value}`);Ho(()=>{o.show&&p()}),ne(()=>o.show,k=>{y(k)},{deep:!0});function m(){r("click")}function y(k){k?(b(),p()):g()}function b(){xc(u.value)&&u.value.abort(),xc(f.value)&&f.value.abort(),xc(h.value)&&h.value.abort(),u.value=null,f.value=null,h.value=null}function p(){u.value=new Wu(k=>ue(this,null,function*(){try{const C=n(o.name),O=es(o.duration)?o.duration.enter:o.duration;a.value="enter",r("before-enter"),f.value=sr(),yield f.value,r("enter"),d.value=C.enter,c.value=O,f.value=sr(),yield f.value,s.value=!0,i.value=!0,f.value=sr(),yield f.value,f.value=null,l.value=!1,d.value=C["enter-to"],k()}catch(C){}}))}function g(){return ue(this,null,function*(){if(!u.value)return l.value=!1,S();try{if(yield u.value,!i.value)return;const k=n(o.name),C=es(o.duration)?o.duration.leave:o.duration;a.value="leave",r("before-leave"),c.value=C,h.value=sr(),yield h.value,r("leave"),d.value=k.leave,h.value=sr(),yield h.value,l.value=!1,d.value=k["leave-to"],h.value=w(c.value),yield h.value,h.value=null,S(),u.value=null}catch(k){}})}function w(k){return new Wu(C=>{const O=setTimeout(()=>{clearTimeout(O),C()},k)})}function S(){l.value||(l.value=!0,a.value==="leave"?r("after-leave"):a.value==="enter"&&r("after-enter"),!o.show&&i.value&&(i.value=!1))}return(k,C)=>{const O=Jt;return!k.lazyRender||s.value?(ge(),ve(O,{key:0,class:Je(v.value),style:rt(_.value),onTransitionend:S,onClick:m},{default:me(()=>[at(k.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])):Ke("",!0)}}})),jl=Qt(p5,[["__scopeId","data-v-1fc69211"]]),g5=we(se({},Lt),{show:Ce(!1),duration:{type:[Object,Number,Boolean],default:300},lockScroll:Ce(!0),zIndex:Eo(10)});function m5(e){const t=q(0),n=()=>{t.value===0&&(document.getElementsByTagName("body")[0].style.overflow="hidden"),t.value++},o=()=>{t.value>0&&(t.value--,t.value===0&&(document.getElementsByTagName("body")[0].style.overflow=""))},r=()=>{e()&&o()};return ne(e,s=>{s?n():o()}),kd(r),xt(r),{lock:n,unlock:o}}const y5={name:"wd-overlay",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},v5=Ze(we(se({},y5),{props:g5,emits:["click"],setup(e,{emit:t}){const n=e,o=t;function r(){o("click")}function s(){}return m5(()=>n.show&&n.lockScroll),(i,a)=>(ge(),ve(jl,{show:i.show,name:"fade","custom-class":"wd-overlay",duration:i.duration,"custom-style":`z-index: ${i.zIndex}; ${i.customStyle}`,onClick:r,onTouchmove:a[0]||(a[0]=$t(l=>i.lockScroll?s:"",["stop","prevent"]))},{default:me(()=>[at(i.$slots,"default",{},void 0,!0)]),_:3},8,["show","duration","custom-style"]))}})),pw=Qt(v5,[["__scopeId","data-v-ec0037f9"]]),_5=we(se({},Lt),{selector:Oe(""),msg:{type:String,default:""},direction:Oe("horizontal"),iconName:{type:String,default:""},iconSize:Number,loadingType:Oe("outline"),loadingColor:{type:String,default:"#4D80F0"},loadingSize:Number,iconColor:String,position:Oe("middle-top"),zIndex:{type:Number,default:100},cover:{type:Boolean,default:!1},iconClass:{type:String,default:""},classPrefix:{type:String,default:"wd-icon"},opened:Function,closed:Function}),b5={name:"wd-toast",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},w5=Ze(we(se({},b5),{props:_5,setup(e){const t=e,n=q(""),o=q(""),r=q("middle"),s=q(!1),i=q(100),a=q("outline"),l=q("#4D80F0"),c=q(),d=q(),u=q(""),f=q(!1),h=q("wd-icon"),_=q(""),v=q("horizontal");let m=null,y=null;const b=ib(t.selector),p=$e(b,q(ju));ne(()=>p.value,E=>{P(E)},{deep:!0,immediate:!0}),ne(()=>n.value,()=>{O()},{deep:!0,immediate:!0});const g=Y(()=>{const E={"z-index":i.value,position:"fixed",top:"50%",left:0,width:"100%",transform:"translate(0, -50%)","text-align":"center","pointer-events":"none"};return Rn(E)}),w=Y(()=>`wd-toast ${t.customClass} wd-toast--${r.value} ${(n.value!=="loading"||o.value)&&(n.value||_.value)?"wd-toast--with-icon":""} ${n.value==="loading"&&!o.value?"wd-toast--loading":""} ${v.value==="vertical"?"is-vertical":""}`),S=Y(()=>{const E={backgroundImage:`url(${u.value})`};return Ie(c.value)&&(E.width=c.value,E.height=c.value),Rn(E)});Ho(()=>{O()});function k(){Cn(m)&&m()}function C(){Cn(y)&&y()}function O(){if(n.value!=="success"&&n.value!=="warning"&&n.value!=="info"&&n.value!=="error")return;const E=b$[n.value](),N=`"data:image/svg+xml;base64,${_f(E)}"`;u.value=N}function P(E){s.value=Ie(E.show)?E.show:!1,s.value&&I(E,t)}function I(E,N){n.value=Ie(E.iconName)?E.iconName:N.iconName,_.value=Ie(E.iconClass)?E.iconClass:N.iconClass,o.value=Ie(E.msg)?E.msg:N.msg,r.value=Ie(E.position)?E.position:N.position,i.value=Ie(E.zIndex)?E.zIndex:N.zIndex,a.value=Ie(E.loadingType)?E.loadingType:N.loadingType,l.value=Ie(E.loadingColor)?E.loadingColor:N.loadingColor,c.value=Ie(E.iconSize)?xn(E.iconSize):Ie(N.iconSize)?xn(N.iconSize):void 0,d.value=Ie(E.loadingSize)?xn(E.loadingSize):Ie(N.loadingSize)?xn(N.loadingSize):void 0,f.value=Ie(E.cover)?E.cover:N.cover,h.value=Ie(E.classPrefix)?E.classPrefix:N.classPrefix,v.value=Ie(E.direction)?E.direction:N.direction,y=Cn(E.closed)?E.closed:Cn(N.closed)?N.closed:null,m=Cn(E.opened)?E.opened:Cn(N.opened)?N.opened:null}return(E,N)=>{const J=Jt;return ge(),yl(ot,null,[f.value?(ge(),ve(pw,{key:0,"z-index":i.value,"lock-scroll":"",show:s.value,"custom-style":"background-color: transparent;pointer-events: auto;"},null,8,["z-index","show"])):Ke("",!0),L(jl,{name:"fade",show:s.value,"custom-style":g.value,onAfterEnter:k,onAfterLeave:C},{default:me(()=>[L(J,{class:Je(w.value)},{default:me(()=>[n.value==="loading"?(ge(),ve(d5,{key:0,type:a.value,color:l.value,size:d.value,"custom-class":`wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`},null,8,["type","color","size","custom-class"])):n.value==="success"||n.value==="warning"||n.value==="info"||n.value==="error"?(ge(),ve(J,{key:1,class:Je(`wd-toast__iconWrap wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`)},{default:me(()=>[L(J,{class:"wd-toast__iconBox"},{default:me(()=>[L(J,{class:"wd-toast__iconSvg",style:rt(S.value)},null,8,["style"])]),_:1})]),_:1},8,["class"])):_.value?(ge(),ve(Un,{key:2,"custom-class":`wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`,size:c.value,"class-prefix":h.value,name:_.value},null,8,["custom-class","size","class-prefix","name"])):Ke("",!0),o.value?(ge(),ve(J,{key:3,class:"wd-toast__msg"},{default:me(()=>[Bt(fn(o.value),1)]),_:1})):Ke("",!0)]),_:1},8,["class"])]),_:1},8,["show","custom-style"])],64)}}})),gw=Qt(w5,[["__scopeId","data-v-d24ac773"]]),S5=we(se({},Lt),{transition:String,closable:Ce(!1),position:Oe("center"),closeOnClickModal:Ce(!0),duration:{type:[Number,Boolean],default:300},modal:Ce(!0),zIndex:Eo(10),hideWhenClose:Ce(!0),modalStyle:Oe(""),safeAreaInsetBottom:Ce(!1),modelValue:Ce(!1),lazyRender:Ce(!0),lockScroll:Ce(!0)}),T5={name:"wd-popup",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},C5=Ze(we(se({},T5),{props:S5,emits:["update:modelValue","before-enter","enter","before-leave","leave","after-leave","after-enter","click-modal","close"],setup(e,{emit:t}){const n=e,o=t,r=Y(()=>n.transition?n.transition:n.position==="center"?["zoom-in","fade"]:n.position==="left"?"slide-left":n.position==="right"?"slide-right":n.position==="bottom"?"slide-up":n.position==="top"?"slide-down":"slide-up"),s=q(0),i=Y(()=>`z-index:${n.zIndex}; padding-bottom: ${s.value}px;${n.customStyle}`),a=Y(()=>`wd-popup wd-popup--${n.position} ${!n.transition&&n.position==="center"?"is-deep":""} ${n.customClass||""}`);Ho(()=>{if(n.safeAreaInsetBottom){const{safeArea:u,screenHeight:f,safeAreaInsets:h}=jn();u?s.value=h?h.bottom:0:s.value=0}});function l(){o("click-modal"),n.closeOnClickModal&&c()}function c(){o("close"),o("update:modelValue",!1)}function d(){}return(u,f)=>{const h=Jt;return ge(),ve(h,{class:"wd-popup-wrapper"},{default:me(()=>[u.modal?(ge(),ve(pw,{key:0,show:u.modelValue,"z-index":u.zIndex,"lock-scroll":u.lockScroll,duration:u.duration,"custom-style":u.modalStyle,onClick:l,onTouchmove:d},null,8,["show","z-index","lock-scroll","duration","custom-style"])):Ke("",!0),L(jl,{"lazy-render":u.lazyRender,"custom-class":a.value,"custom-style":i.value,duration:u.duration,show:u.modelValue,name:r.value,destroy:u.hideWhenClose,onBeforeEnter:f[0]||(f[0]=_=>o("before-enter")),onEnter:f[1]||(f[1]=_=>o("enter")),onAfterEnter:f[2]||(f[2]=_=>o("after-enter")),onBeforeLeave:f[3]||(f[3]=_=>o("before-leave")),onLeave:f[4]||(f[4]=_=>o("leave")),onAfterLeave:f[5]||(f[5]=_=>o("after-leave"))},{default:me(()=>[at(u.$slots,"default",{},void 0,!0),u.closable?(ge(),ve(Un,{key:0,"custom-class":"wd-popup__close",name:"add",onClick:c})):Ke("",!0)]),_:3},8,["lazy-render","custom-class","custom-style","duration","show","name","destroy"])]),_:3})}}})),k5=Qt(C5,[["__scopeId","data-v-974776cf"]]),x5=we(se({},Lt),{plain:Ce(!1),round:Ce(!0),disabled:Ce(!1),hairline:Ce(!1),block:Ce(!1),type:Oe("primary"),size:Oe("medium"),icon:String,classPrefix:Oe("wd-icon"),loading:Ce(!1),loadingColor:String,openType:String,hoverStopPropagation:Boolean,lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,appParameter:String,showMessageCard:Boolean,buttonId:String,scope:String}),P5={name:"wd-button",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},E5=Ze(we(se({},P5),{props:x5,emits:["click","getuserinfo","contact","getphonenumber","error","launchapp","opensetting","chooseavatar","agreeprivacyauthorization"],setup(e,{emit:t}){const n=(g="#4D80F0",w=!0)=>``,o=e,r=t,s=q(20),i=q(70),a=q(""),l=Y(()=>`background-image: url(${a.value});`);ne(()=>o.loading,()=>{p()},{deep:!0,immediate:!0});function c(g){!o.disabled&&!o.loading&&r("click",g)}function d(g){o.scope==="phoneNumber"?h(g):o.scope==="userInfo"&&u(g)}function u(g){r("getuserinfo",g.detail)}function f(g){r("contact",g.detail)}function h(g){r("getphonenumber",g.detail)}function _(g){r("error",g.detail)}function v(g){r("launchapp",g.detail)}function m(g){r("opensetting",g.detail)}function y(g){r("chooseavatar",g.detail)}function b(g){r("agreeprivacyauthorization",g.detail)}function p(){const{loadingColor:g,type:w,plain:S}=o;let k=g;if(!k)switch(w){case"primary":k="#4D80F0";break;case"success":k="#34d19d";break;case"info":k="#333";break;case"warning":k="#f0883a";break;case"error":k="#fa4350";break;case"default":k="#333";break}const C=n(k,!S);a.value=`"data:image/svg+xml;base64,${_f(C)}"`}return(g,w)=>{const S=Jt,k=tP;return ge(),ve(k,{id:g.buttonId,"hover-class":`${g.disabled||g.loading?"":"wd-button--active"}`,style:rt(g.customStyle),class:Je(["wd-button","is-"+g.type,"is-"+g.size,g.round?"is-round":"",g.hairline?"is-hairline":"",g.plain?"is-plain":"",g.disabled?"is-disabled":"",g.block?"is-block":"",g.loading?"is-loading":"",g.customClass]),"hover-start-time":s.value,"hover-stay-time":i.value,"open-type":g.disabled||g.loading?void 0:g.openType,"send-message-title":g.sendMessageTitle,"send-message-path":g.sendMessagePath,"send-message-img":g.sendMessageImg,"app-parameter":g.appParameter,"show-message-card":g.showMessageCard,"session-from":g.sessionFrom,lang:g.lang,"hover-stop-propagation":g.hoverStopPropagation,scope:g.scope,onClick:c,onGetAuthorize:d,onGetuserinfo:u,onContact:f,onGetphonenumber:h,onError:_,onLaunchapp:v,onOpensetting:m,onChooseavatar:y,onAgreeprivacyauthorization:b},{default:me(()=>[L(S,{class:"wd-button__content"},{default:me(()=>[g.loading?(ge(),ve(S,{key:0,class:"wd-button__loading"},{default:me(()=>[L(S,{class:"wd-button__loading-svg",style:rt(l.value)},null,8,["style"])]),_:1})):g.icon?(ge(),ve(Un,{key:1,"custom-class":"wd-button__icon",name:g.icon,classPrefix:g.classPrefix},null,8,["name","classPrefix"])):Ke("",!0),L(S,{class:"wd-button__text"},{default:me(()=>[at(g.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3},8,["id","hover-class","style","class","hover-start-time","hover-stay-time","open-type","send-message-title","send-message-path","send-message-img","app-parameter","show-message-card","session-from","lang","hover-stop-propagation","scope"])}}})),nd=Qt(E5,[["__scopeId","data-v-7f9ef195"]]);function bf(e){const t=$e(e,null);if(t){const n=it(),{link:o,unlink:r,internalChildren:s}=t;o(n),An(()=>r(n));const i=Y(()=>s.indexOf(n));return{parent:t,index:i}}return{parent:null,index:q(-1)}}const I5=Symbol("wd-cell-group"),X4=we(se({},Lt),{title:String,value:String,useSlot:Ce(!1),border:Ce(!1)});function O5(){const{parent:e,index:t}=bf(I5);return{border:Y(()=>e&&e.props.border&&t.value)}}const A5=Symbol("wd-form"),J4=we(se({},Lt),{model:fw(Object),rules:{type:Object,default:()=>({})},resetOnChange:Ce(!0),errorType:{type:String,default:"message"}}),mw=e=>{const t=e?m$(e)+".":"";return{translate:(o,...r)=>{const s=lb.messages(),i=v$(s,t+o);return Cn(i)?i(...r):Ie(i)?i:`${t}${o}`}}},L5=we(se({},Lt),{customInputClass:Oe(""),customLabelClass:Oe(""),placeholder:String,placeholderStyle:String,placeholderClass:Oe(""),cursorSpacing:Eo(0),cursor:Eo(-1),selectionStart:Eo(-1),selectionEnd:Eo(-1),adjustPosition:Ce(!0),holdKeyboard:Ce(!1),confirmType:Oe("done"),confirmHold:Ce(!1),focus:Ce(!1),type:Oe("text"),maxlength:{type:Number,default:-1},disabled:Ce(!1),alwaysEmbed:Ce(!1),alignRight:Ce(!1),modelValue:vf(""),showPassword:Ce(!1),clearable:Ce(!1),readonly:Ce(!1),prefixIcon:String,suffixIcon:String,showWordLimit:Ce(!1),label:String,labelWidth:Oe(""),size:String,error:Ce(!1),center:Ce(!1),noBorder:Ce(!1),required:Ce(!1),prop:String,rules:t5(),clearTrigger:Oe("always"),focusWhenClear:Ce(!0),ignoreCompositionEvent:Ce(!0),inputmode:Oe("text")}),R5={name:"wd-input",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},M5=Ze(we(se({},R5),{props:L5,emits:["update:modelValue","clear","blur","focus","input","keyboardheightchange","confirm","clicksuffixicon","clickprefixicon","click"],setup(e,{emit:t}){const n=e,o=t,r=GT(),{translate:s}=mw("input"),i=q(!1),a=q(!1),l=q(!1),c=q(!1),d=q(S()),u=O5();ne(()=>n.focus,$=>{l.value=$},{immediate:!0,deep:!0}),ne(()=>n.modelValue,$=>{d.value=Ie($)?String($):""});const{parent:f}=bf(A5),h=Y(()=>Ie(n.placeholder)?n.placeholder:s("placeholder")),_=Y(()=>{const{disabled:$,readonly:te,clearable:U,clearTrigger:K}=n;return!!(U&&!te&&!$&&d.value&&(K==="always"||n.clearTrigger==="focus"&&c.value))}),v=Y(()=>{const{disabled:$,readonly:te,maxlength:U,showWordLimit:K}=n;return!!(!$&&!te&&Ie(U)&&U>-1&&K)}),m=Y(()=>f&&n.prop&&f.errorMessages&&f.errorMessages[n.prop]?f.errorMessages[n.prop]:""),y=Y(()=>{let $=!1;if(f&&f.props.rules){const te=f.props.rules;for(const U in te)Object.prototype.hasOwnProperty.call(te,U)&&U===n.prop&&Array.isArray(te[U])&&($=te[U].some(K=>K.required))}return n.required||n.rules.some(te=>te.required)||$}),b=Y(()=>`wd-input ${n.label||r.label?"is-cell":""} ${n.center?"is-center":""} ${u.border.value?"is-border":""} ${n.size?"is-"+n.size:""} ${n.error?"is-error":""} ${n.disabled?"is-disabled":""} ${d.value&&String(d.value).length>0?"is-not-empty":""} ${n.noBorder?"is-no-border":""} ${n.customClass}`),p=Y(()=>`wd-input__label ${n.customLabelClass} ${y.value?"is-required":""}`),g=Y(()=>`wd-input__placeholder ${n.placeholderClass}`),w=Y(()=>n.labelWidth?Rn({"min-width":n.labelWidth,"max-width":n.labelWidth}):"");function S(){const $=k(n.modelValue);return X($,n.modelValue)||o("update:modelValue",$),$}function k($){const{maxlength:te}=n;return Ie(te)&&te!==-1&&String($).length>te?$.toString().slice(0,te):$}function C(){i.value=!i.value}function O(){return ue(this,null,function*(){c.value=!1,d.value="",n.focusWhenClear&&(a.value=!0,l.value=!1),yield sr(),n.focusWhenClear&&(l.value=!0,c.value=!0),o("update:modelValue",d.value),o("clear")})}function P(){return ue(this,null,function*(){if(yield sr(150),a.value){a.value=!1;return}c.value=!1,o("blur",{value:d.value})})}function I({detail:$}){c.value=!0,o("focus",$)}function E({detail:$}){o("update:modelValue",d.value),o("input",$)}function N({detail:$}){o("keyboardheightchange",$)}function J({detail:$}){o("confirm",$)}function R(){o("clicksuffixicon")}function W(){o("clickprefixicon")}function Z($){o("click",$)}function X($,te){return p$(String($),String(te))}return($,te)=>{const U=Jt,K=vA,G=J_;return ge(),ve(U,{class:Je(b.value),style:rt($.customStyle),onClick:Z},{default:me(()=>[$.label||$.$slots.label?(ge(),ve(U,{key:0,class:Je(p.value),style:rt(w.value)},{default:me(()=>[$.prefixIcon||$.$slots.prefix?(ge(),ve(U,{key:0,class:"wd-input__prefix"},{default:me(()=>[$.prefixIcon&&!$.$slots.prefix?(ge(),ve(Un,{key:0,"custom-class":"wd-input__icon",name:$.prefixIcon,onClick:W},null,8,["name"])):at($.$slots,"prefix",{key:1},void 0,!0)]),_:3})):Ke("",!0),L(U,{class:"wd-input__label-inner"},{default:me(()=>[$.label&&!$.$slots.label?(ge(),yl(ot,{key:0},[Bt(fn($.label),1)],64)):at($.$slots,"label",{key:1},void 0,!0)]),_:3})]),_:3},8,["class","style"])):Ke("",!0),L(U,{class:"wd-input__body"},{default:me(()=>[L(U,{class:"wd-input__value"},{default:me(()=>[($.prefixIcon||$.$slots.prefix)&&!$.label?(ge(),ve(U,{key:0,class:"wd-input__prefix"},{default:me(()=>[$.prefixIcon&&!$.$slots.prefix?(ge(),ve(Un,{key:0,"custom-class":"wd-input__icon",name:$.prefixIcon,onClick:W},null,8,["name"])):at($.$slots,"prefix",{key:1},void 0,!0)]),_:3})):Ke("",!0),L(K,{class:Je(["wd-input__inner",$.prefixIcon?"wd-input__inner--prefix":"",v.value?"wd-input__inner--count":"",$.alignRight?"is-align-right":"",$.customInputClass]),type:$.type,password:$.showPassword&&!i.value,modelValue:d.value,"onUpdate:modelValue":te[0]||(te[0]=H=>d.value=H),placeholder:h.value,disabled:$.disabled||$.readonly,maxlength:$.maxlength,focus:l.value,"confirm-type":$.confirmType,"confirm-hold":$.confirmHold,cursor:$.cursor,"cursor-spacing":$.cursorSpacing,"placeholder-style":$.placeholderStyle,"selection-start":$.selectionStart,"selection-end":$.selectionEnd,"adjust-position":$.adjustPosition,"hold-keyboard":$.holdKeyboard,"always-embed":$.alwaysEmbed,"placeholder-class":g.value,ignoreCompositionEvent:$.ignoreCompositionEvent,inputmode:$.inputmode,onInput:E,onFocus:I,onBlur:P,onConfirm:J,onKeyboardheightchange:N},null,8,["class","type","password","modelValue","placeholder","disabled","maxlength","focus","confirm-type","confirm-hold","cursor","cursor-spacing","placeholder-style","selection-start","selection-end","adjust-position","hold-keyboard","always-embed","placeholder-class","ignoreCompositionEvent","inputmode"]),n.readonly?(ge(),ve(U,{key:1,class:"wd-input__readonly-mask"})):Ke("",!0),_.value||$.showPassword||$.suffixIcon||v.value||$.$slots.suffix?(ge(),ve(U,{key:2,class:"wd-input__suffix"},{default:me(()=>[_.value?(ge(),ve(Un,{key:0,"custom-class":"wd-input__clear",name:"error-fill",onClick:O})):Ke("",!0),$.showPassword?(ge(),ve(Un,{key:1,"custom-class":"wd-input__icon",name:i.value?"view":"eye-close",onClick:C},null,8,["name"])):Ke("",!0),v.value?(ge(),ve(U,{key:2,class:"wd-input__count"},{default:me(()=>[L(G,{class:Je([d.value&&String(d.value).length>0?"wd-input__count-current":"",String(d.value).length>$.maxlength?"is-error":""])},{default:me(()=>[Bt(fn(String(d.value).length),1)]),_:1},8,["class"]),Bt(" /"+fn($.maxlength),1)]),_:1})):Ke("",!0),$.suffixIcon&&!$.$slots.suffix?(ge(),ve(Un,{key:3,"custom-class":"wd-input__icon",name:$.suffixIcon,onClick:R},null,8,["name"])):at($.$slots,"suffix",{key:4},void 0,!0)]),_:3})):Ke("",!0)]),_:3}),m.value?(ge(),ve(U,{key:0,class:"wd-input__error-message"},{default:me(()=>[Bt(fn(m.value),1)]),_:1})):Ke("",!0)]),_:3})]),_:3},8,["class","style"])}}})),D5=Qt(M5,[["__scopeId","data-v-b402172f"]]),N5=we(se({},Lt),{selector:Oe("")}),$5={name:"wd-message-box",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},B5=Ze(we(se({},$5),{props:N5,setup(e){const t=e,{translate:n}=mw("message-box"),o=Y(()=>`wd-message-box__container ${t.customClass}`),r=Y(()=>`wd-message-box__body ${a.title?"":"is-no-title"} ${a.type==="prompt"?"is-prompt":""}`),s=S$(t.selector),i=$e(s,q(w$)),a=Ee({msg:"",show:!1,title:"",showCancelButton:!1,closeOnClickModal:!0,confirmButtonText:"",cancelButtonText:"",type:"alert",inputType:"text",inputValue:"",inputPlaceholder:"",inputError:"",showErr:!1,zIndex:99,lazyRender:!0}),l=Y(()=>{const y=li({block:!0},Ie(a.confirmButtonProps)?Za(a.confirmButtonProps,Ja):{});return y.customClass=`${y.customClass||""} wd-message-box__actions-btn`,y}),c=Y(()=>{const y=li({block:!0,type:"info"},Ie(a.cancelButtonProps)?Za(a.cancelButtonProps,Ja):{});return y.customClass=`${y.customClass||""} wd-message-box__actions-btn`,y});ne(()=>i.value,y=>{m(y)},{deep:!0,immediate:!0}),ne(()=>a.show,y=>{_(!!y)},{deep:!0,immediate:!0});function d(y){if(!(y==="modal"&&!a.closeOnClickModal)&&!(a.type==="prompt"&&y==="confirm"&&!h()))switch(y){case"confirm":a.beforeConfirm?a.beforeConfirm({resolve:b=>{b&&u({action:y,value:a.inputValue})}}):u({action:y,value:a.inputValue});break;case"cancel":f({action:y});break;default:f({action:"modal"});break}}function u(y){a.show=!1,Cn(a.success)&&a.success(y)}function f(y){a.show=!1,Cn(a.fail)&&a.fail(y)}function h(){return a.inputPattern&&!a.inputPattern.test(String(a.inputValue))||typeof a.inputValidate=="function"&&!a.inputValidate(a.inputValue)?(a.showErr=!0,!1):(a.showErr=!1,!0)}function _(y){y===!1&&(a.showErr=!1)}function v({value:y}){if(y===""){a.showErr=!1;return}a.inputValue=y}function m(y){y&&(a.title=Ie(y.title)?y.title:"",a.showCancelButton=Ie(y.showCancelButton)?y.showCancelButton:!1,a.show=y.show,a.closeOnClickModal=y.closeOnClickModal,a.confirmButtonText=y.confirmButtonText,a.cancelButtonText=y.cancelButtonText,a.msg=y.msg,a.type=y.type,a.inputType=y.inputType,a.inputSize=y.inputSize,a.inputValue=y.inputValue,a.inputPlaceholder=y.inputPlaceholder,a.inputPattern=y.inputPattern,a.inputValidate=y.inputValidate,a.success=y.success,a.fail=y.fail,a.beforeConfirm=y.beforeConfirm,a.inputError=y.inputError,a.showErr=y.showErr,a.zIndex=y.zIndex,a.lazyRender=y.lazyRender,a.confirmButtonProps=y.confirmButtonProps,a.cancelButtonProps=y.cancelButtonProps)}return(y,b)=>{const p=Jt;return ge(),ve(p,null,{default:me(()=>[L(k5,{transition:"zoom-in",modelValue:a.show,"onUpdate:modelValue":b[3]||(b[3]=g=>a.show=g),"close-on-click-modal":a.closeOnClickModal,"lazy-render":a.lazyRender,"custom-class":"wd-message-box",onClickModal:b[4]||(b[4]=g=>d("modal")),"z-index":a.zIndex,duration:200},{default:me(()=>[L(p,{class:Je(o.value)},{default:me(()=>[L(p,{class:Je(r.value)},{default:me(()=>[a.title?(ge(),ve(p,{key:0,class:"wd-message-box__title"},{default:me(()=>[Bt(fn(a.title),1)]),_:1})):Ke("",!0),L(p,{class:"wd-message-box__content"},{default:me(()=>[a.type==="prompt"?(ge(),yl(ot,{key:0},[L(D5,{modelValue:a.inputValue,"onUpdate:modelValue":b[0]||(b[0]=g=>a.inputValue=g),type:a.inputType,size:a.inputSize,placeholder:a.inputPlaceholder,onInput:v},null,8,["modelValue","type","size","placeholder"]),a.showErr?(ge(),ve(p,{key:0,class:"wd-message-box__input-error"},{default:me(()=>[Bt(fn(a.inputError||kt(n)("inputNoValidate")),1)]),_:1})):Ke("",!0)],64)):Ke("",!0),at(y.$slots,"default",{},()=>[Bt(fn(a.msg),1)],!0)]),_:3})]),_:3},8,["class"]),L(p,{class:Je(`wd-message-box__actions ${a.showCancelButton?"wd-message-box__flex":"wd-message-box__block"}`)},{default:me(()=>[a.showCancelButton?(ge(),ve(nd,At({key:0},c.value,{onClick:b[1]||(b[1]=g=>d("cancel"))}),{default:me(()=>[Bt(fn(a.cancelButtonText||kt(n)("cancel")),1)]),_:1},16)):Ke("",!0),L(nd,At(l.value,{onClick:b[2]||(b[2]=g=>d("confirm"))}),{default:me(()=>[Bt(fn(a.confirmButtonText||kt(n)("confirm")),1)]),_:1},16)]),_:1},8,["class"])]),_:3},8,["class"])]),_:3},8,["modelValue","close-on-click-modal","lazy-render","z-index"])]),_:3})}}})),yw=Qt(B5,[["__scopeId","data-v-05f973d9"]]),F5=we(se({},Lt),{theme:Oe("light"),themeVars:{type:Object,default:()=>({})}}),U5={name:"wd-config-provider",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},vw=Ze(we(se({},U5),{props:F5,setup(e){const t=e,n=Y(()=>`wot-theme-${t.theme} ${t.customClass}`),o=Y(()=>{const i=s(t.themeVars);return i?`${Rn(i)}${t.customStyle}`:t.customStyle}),r=i=>(i=i.replace(i.charAt(0),i.charAt(0).toLocaleLowerCase()),i.replace(/([a-z])([A-Z])/g,(a,l,c)=>l+"-"+c.toLowerCase())),s=i=>{if(!i)return;const a={};return Object.keys(i).forEach(l=>{a[`--wot-${r(l)}`]=i[l]}),a};return(i,a)=>{const l=Jt;return ge(),ve(l,{class:Je(n.value),style:rt(o.value)},{default:me(()=>[at(i.$slots,"default")]),_:3},8,["class","style"])}}})),q5=we(se({},Lt),{active:Ce(!1),type:Oe("primary"),position:Oe("right-bottom"),direction:Oe("top"),disabled:Ce(!1),inactiveIcon:Oe("add"),activeIcon:Oe("close"),zIndex:Eo(99),draggable:Ce(!1),gap:{type:Object,default:()=>({})},expandable:Ce(!0)});function V5(e){const t=q(null),n=()=>{const r=s=>{e(s)};Qa?t.value=requestAnimationFrame(r):t.value=setTimeout(()=>r(Date.now()),1e3/30)},o=()=>{Qa&&sb(t.value)?cancelAnimationFrame(t.value):Ie(t.value)&&clearTimeout(t.value)};return An(()=>{o()}),{start:n,cancel:o}}const H5={name:"wd-fab",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},W5=Ze(we(se({},H5),{props:q5,emits:["update:active","click"],setup(e,{expose:t,emit:n}){const o=e,r=n,s=q(!1),i=q(!1),a=$e(ab,null),{proxy:l}=it();ne(()=>o.active,P=>{i.value=P},{immediate:!0,deep:!0}),ne(()=>i.value,P=>{P&&(a&&a.closeOther?a.closeOther(l):k$(l))});const c=q(o.direction);ne(()=>o.direction,P=>c.value=P),ne(()=>o.position,()=>m());const d=q(0),u=q(0),f=Ee({width:0,height:0}),h=Ee({width:56,height:56}),_=Ee({minTop:0,minLeft:0,maxTop:0,maxLeft:0});function v(){return ue(this,null,function*(){const P=jn();try{const R=yield ob("#trigger",!1,l);h.width=R.width||56,h.height=R.height||56}catch(R){}const{top:I=16,left:E=16,right:N=16,bottom:J=16}=o.gap;f.width=P.windowWidth,f.height=Qa?P.windowTop+P.windowHeight:P.windowHeight,_.minTop=Qa?P.windowTop+I:I,_.minLeft=E,_.maxLeft=f.width-h.width-N,_.maxTop=f.height-h.height-J})}function m(){const P=o.position,{minLeft:I,minTop:E,maxLeft:N,maxTop:J}=_,R=(J+E)/2,W=(N+I)/2;switch(P){case"left-top":d.value=E,u.value=I;break;case"right-top":d.value=E,u.value=N;break;case"left-bottom":d.value=J,u.value=I;break;case"right-bottom":d.value=J,u.value=N;break;case"left-center":d.value=R,u.value=I;break;case"right-center":d.value=R,u.value=N;break;case"top-center":d.value=E,u.value=W;break;case"bottom-center":d.value=J,u.value=W;break}}const y=Ee({x:0,y:0}),b=q(!1);function p(P){if(o.draggable===!1)return;const I=P.touches[0];y.x=I.clientX-u.value,y.y=I.clientY-d.value,b.value=!1}function g(P){if(o.draggable===!1)return;const I=P.touches[0],{minLeft:E,minTop:N,maxLeft:J,maxTop:R}=_;let W=I.clientX-y.x,Z=I.clientY-y.y;WJ&&(W=J),ZR&&(Z=R),d.value=Z,u.value=W}function w(){if(o.draggable===!1)return;const P=f.width/2,I=u.value+h.width/2;b.value=!0,I{const P={top:d.value+"px",left:u.value+"px",transition:b.value?"all ease 0.3s":"none"};return Ie(o.zIndex)&&(P["z-index"]=o.zIndex),`${Rn(P)}${o.customStyle}`});Be(()=>{a&&a.pushToQueue?a.pushToQueue(l):T$(l);const{start:P}=V5(()=>ue(this,null,function*(){yield v(),m(),s.value=!0}));P()}),xt(()=>{a&&a.removeFromQueue?a.removeFromQueue(l):C$(l)});function k(){if(!o.disabled){if(!o.expandable){r("click");return}i.value=!i.value,r("update:active",i.value)}}function C(){i.value=!0,r("update:active",!0)}function O(){i.value=!1,r("update:active",!1)}return t({open:C,close:O}),(P,I)=>{const E=Jt;return ge(),ve(E,{onTouchmove:$t(g,["stop","prevent"]),onTouchstart:p,onTouchend:w,class:Je(`wd-fab ${P.customClass}`),style:rt(S.value),onClick:I[1]||(I[1]=$t(()=>{},["stop"]))},{default:me(()=>[L(E,{onClick:I[0]||(I[0]=$t(()=>{},["stop"])),style:rt({visibility:s.value?"visible":"hidden"}),id:"trigger"},{default:me(()=>[P.$slots.trigger?at(P.$slots,"trigger",{key:0},void 0,!0):(ge(),ve(nd,{key:1,onClick:k,"custom-class":"wd-fab__trigger",round:"",type:P.type,disabled:P.disabled},{default:me(()=>[L(Un,{"custom-class":"wd-fab__icon",name:i.value?P.activeIcon:P.inactiveIcon},null,8,["name"])]),_:1},8,["type","disabled"]))]),_:3},8,["style"]),P.expandable?(ge(),ve(jl,{key:0,"enter-class":`wd-fab__transition-enter--${c.value}`,"enter-active-class":"wd-fab__transition-enter-active","leave-to-class":`wd-fab__transition-leave-to--${c.value}`,"leave-active-class":"wd-fab__transition-leave-active","custom-class":`wd-fab__actions wd-fab__actions--${c.value}`,show:i.value,duration:300},{default:me(()=>[at(P.$slots,"default",{},void 0,!0)]),_:3},8,["enter-class","leave-to-class","custom-class","show"])):Ke("",!0)]),_:3},8,["class","style"])}}})),j5=Qt(W5,[["__scopeId","data-v-c443589e"]]),z5="/static/icons/whatsapp-fb.png",G5="/static/icons/help-fb.png";function zl(){const e=globalThis==null?void 0:globalThis.plus;return e==null?void 0:e.runtime}function _w(e){const t=zl();if(!t)return!1;const o={facebook:{pname:"com.facebook.katana",scheme:"fb://"},whatsapp:{pname:"com.whatsapp",scheme:"whatsapp://"},instagram:{pname:"com.instagram.android",scheme:"instagram://"},twitter:{pname:"com.twitter.android",scheme:"twitter://"}}[e];return o?t.isApplicationExist({pname:o.pname,action:o.scheme}):!1}function bw(e,t){const{url:n,text:o}=t,s={facebook:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(n)}`,whatsapp:`https://wa.me/?text=${encodeURIComponent(o)}`,twitter:`https://twitter.com/intent/tweet?text=${encodeURIComponent(o)}`,instagram:"https://www.instagram.com/"}[e];s&&typeof window!="undefined"&&typeof window.open=="function"&&window.open(s,"_blank")}function K5(e,t){const{url:n,text:o}=t,r=zl();if(!r){bw(e,t);return}hR({data:o,success:()=>{}});const i={facebook:`fb://facewebmodal/f?href=${encodeURIComponent(n)}`,whatsapp:`whatsapp://send?text=${encodeURIComponent(o)}`,instagram:"instagram://camera",twitter:`twitter://post?message=${encodeURIComponent(o)}`}[e];i&&r.openURL(i,a=>{Pn.info(En("share.appNotInstalled"))})}function Q4(e,t){if(!zl()){bw(e,t);return}if(!_w(e)){Pn.info(En("share.appNotInstalled"));return}K5(e,t)}function ww(e,t=""){const n=(t||"").replace(/\s+/g,""),o=e==="activity_group"?`https://chat.whatsapp.com/${encodeURIComponent(t||"")}`:`https://wa.me/message/${encodeURIComponent(n)}`;typeof window!="undefined"&&typeof window.open=="function"&&window.open(o,"_blank")}function Z4(e,t=""){const n=zl();if(!n){ww(e,t);return}if(!_w("whatsapp")){Pn.info(En("share.appNotInstalled"));return}e==="live_chat"?n.openURL(`whatsapp://send?phone=${t}`):e==="activity_group"&&n.openURL(`https://chat.whatsapp.com/${t}`)}const Y5=Ze({__name:"CustomerServiceFab",props:{bottomOffset:{}},setup(e){const t=e,n=q(!1),o=["pages/index/index","pages/income/income","pages/mine/mine"];function r(u){const h=jn().windowWidth||375;return u*h/750}function s(){const u=Xt(),f=u==null?void 0:u[u.length-1];return String((f==null?void 0:f.route)||"").replace(/^\//,"")}function i(){const u=s();return o.includes(u)}function a(){var v,m;const u=jn(),f=r((v=t.bottomOffset)!=null?v:0),h=Number((m=u==null?void 0:u.safeAreaInsets)==null?void 0:m.bottom)||0,_=i()?50:0;return f+h+_}const l=Y(()=>`bottom: ${a()}px;`);function c(){return ue(this,null,function*(){var u;n.value=!1;try{const f=yield nB({code:"live_chat"}),h=(u=f==null?void 0:f.data)==null?void 0:u.valueInfo;if(!h){Pn.info("客服暂不可用");return}ww("live_chat",h)}catch(f){Pn.info("客服暂不可用")}})}function d(){n.value=!1,ts({url:"/pages/mine/helpCenter"})}return(u,f)=>{const h=N_,_=Jt,v=Qn(Vn("wd-fab"),j5);return ge(),ve(v,{active:kt(n),"onUpdate:active":f[0]||(f[0]=m=>lt(n)?n.value=m:null),position:"right-bottom","z-index":999,direction:"top","custom-style":kt(l),expandable:!1,draggable:!0},{trigger:me(()=>[L(_,{class:"w-68rpx"},{default:me(()=>[L(h,{src:z5,class:"customer-fab-action__icon mb-12rpx",mode:"heightFix",onClick:c}),L(h,{src:G5,class:"customer-fab-action__icon",mode:"heightFix",onClick:d})]),_:1})]),_:1},8,["active","custom-style"])}}}),Sw=Qt(Y5,[["__scopeId","data-v-e76b4a75"]]),X5=Ze({__name:"default",setup(e){const t={};return(n,o)=>{const r=Qn(Vn("wd-toast"),gw),s=Qn(Vn("wd-message-box"),yw),i=Qn(Vn("wd-config-provider"),vw);return ge(),ve(i,{"theme-vars":t},{default:me(()=>[at(n.$slots,"default"),L(Sw,{"bottom-offset":120}),L(r),L(s)]),_:3})}}}),J5=we(se({},Lt),{modelValue:qr,showZero:Ce(!1),bgColor:String,max:Number,isDot:Boolean,hidden:Boolean,type:Oe(void 0),top:qr,right:qr}),Q5={name:"wd-badge",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},Z5=Ze(we(se({},Q5),{props:J5,setup(e){const t=e,n=Y(()=>{const{modelValue:s,max:i,isDot:a}=t;if(a)return"";let l=s;return l&&i&&sb(l)&&!Number.isNaN(l)&&!Number.isNaN(i)&&(l=i{const s={};return Ie(t.bgColor)&&(s.backgroundColor=t.bgColor),Ie(t.top)&&(s.top=xn(t.top)),Ie(t.right)&&(s.right=xn(t.right)),Rn(s)}),r=Y(()=>!t.hidden&&(n.value||n.value===0&&t.showZero||t.isDot));return(s,i)=>{const a=Jt;return ge(),ve(a,{class:Je(["wd-badge",s.customClass]),style:rt(s.customStyle)},{default:me(()=>[at(s.$slots,"default",{},void 0,!0),r.value?(ge(),ve(a,{key:0,class:Je(["wd-badge__content","is-fixed",s.type?"wd-badge__content--"+s.type:"",s.isDot?"is-dot":""]),style:rt(o.value)},{default:me(()=>[Bt(fn(n.value),1)]),_:1},8,["class","style"])):Ke("",!0)]),_:3},8,["class","style"])}}})),e8=Qt(Z5,[["__scopeId","data-v-019b04f1"]]),Tw=Symbol("wd-tabbar"),t8=we(se({},Lt),{modelValue:vf(0),fixed:Ce(!1),bordered:Ce(!0),safeAreaInsetBottom:Ce(!1),shape:Oe("default"),activeColor:String,inactiveColor:String,placeholder:Ce(!1),zIndex:Eo(99)}),n8=we(se({},Lt),{title:String,name:qr,icon:String,value:{type:[Number,String,null],default:null},isDot:{type:Boolean,default:void 0},max:Number,badgeProps:Object}),o8={name:"wd-tabbar-item",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},r8=Ze(we(se({},o8),{props:n8,setup(e){const t=e,{parent:n,index:o}=bf(Tw),r=Y(()=>{const l=li(Ie(t.badgeProps)?Za(t.badgeProps,Ja):{},Za({max:t.max,isDot:t.isDot,modelValue:t.value},Ja));return Ie(l.max)||(l.max=99),l}),s=Y(()=>{const l={};return n&&(i.value&&n.props.activeColor&&(l.color=n.props.activeColor),!i.value&&n.props.inactiveColor&&(l.color=n.props.inactiveColor)),`${Rn(l)}`}),i=Y(()=>{const l=Ie(t.name)?t.name:o.value;return n?n.props.modelValue===l:!1});function a(){const l=Ie(t.name)?t.name:o.value;n&&n.setChange({name:l})}return(l,c)=>{const d=J_,u=Jt;return ge(),ve(u,{class:Je(`wd-tabbar-item ${l.customClass}`),style:rt(l.customStyle),onClick:a},{default:me(()=>[L(e8,SS(pv(r.value)),{default:me(()=>[L(u,{class:"wd-tabbar-item__body"},{default:me(()=>[at(l.$slots,"icon",{active:i.value},void 0,!0),!l.$slots.icon&&l.icon?(ge(),ve(Un,{key:0,name:l.icon,"custom-style":s.value,"custom-class":`wd-tabbar-item__body-icon ${i.value?"is-active":"is-inactive"}`},null,8,["name","custom-style","custom-class"])):Ke("",!0),l.title?(ge(),ve(d,{key:1,style:rt(s.value),class:Je(`wd-tabbar-item__body-title ${i.value?"is-active":"is-inactive"}`)},{default:me(()=>[Bt(fn(l.title),1)]),_:1},8,["style","class"])):Ke("",!0)]),_:3})]),_:3},16)]),_:3},8,["class","style"])}}})),s8=Qt(r8,[["__scopeId","data-v-ee9e8b0e"]]);function i8(e){return e?e.__v_isVNode===!0:!1}function a8(e){const t=[],n=o=>{Array.isArray(o)&&o.forEach(r=>{var s;i8(r)&&(t.push(r),(s=r.component)!=null&&s.subTree&&(t.push(r.component.subTree),n(r.component.subTree.children)),r.children&&n(r.children))})};return n(e),t}const Sm=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(o=>t.key!==void 0&&t.key!==null&&o.type===t.type&&o.key===t.key):n};function l8(e,t,n){const o=e&&e.subTree&&e.subTree.children?a8(e.subTree.children):[];n.sort((s,i)=>Sm(o,s.vnode)-Sm(o,i.vnode));const r=n.map(s=>s.proxy);t.sort((s,i)=>{const a=r.indexOf(s),l=r.indexOf(i);return a-l})}function c8(e){const t=Ee([]),n=Ee([]),o=it();return{children:t,linkChildren:s=>{_t(e,Object.assign({link:l=>{l.proxy&&(n.push(l),t.push(l.proxy),l8(o,t,n))},unlink:l=>{const c=n.indexOf(l);t.splice(c,1),n.splice(c,1)},children:t,internalChildren:n},s))}}}const u8={name:"wd-tabbar",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},d8=Ze(we(se({},u8),{props:t8,emits:["change","update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=q(""),{proxy:s}=it(),{linkChildren:i}=c8(Tw);i({props:n,setChange:l});const a=Y(()=>{const d={};return Ie(n.zIndex)&&(d["z-index"]=n.zIndex),`${Rn(d)}${n.customStyle}`});ne([()=>n.fixed,()=>n.placeholder],()=>{c()},{deep:!0,immediate:!1}),Be(()=>{n.fixed&&n.placeholder&&st(()=>{c()})});function l(d){let u=d.name;o("update:modelValue",u),o("change",{value:u})}function c(){!n.fixed||!n.placeholder||ob(".wd-tabbar",!1,s).then(d=>{r.value=Number(d.height)})}return(d,u)=>{const f=Jt;return ge(),ve(f,{class:Je({"wd-tabbar__placeholder":d.fixed&&d.placeholder&&d.safeAreaInsetBottom&&d.shape==="round"}),style:rt({height:kt(xn)(r.value)})},{default:me(()=>[L(f,{class:Je(`wd-tabbar wd-tabbar--${d.shape} ${d.customClass} ${d.fixed?"is-fixed":""} ${d.safeAreaInsetBottom?"is-safe":""} ${d.bordered?"is-border":""}`),style:rt(a.value)},{default:me(()=>[at(d.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])]),_:3},8,["class","style"])}}})),f8=Qt(d8,[["__scopeId","data-v-eb3a4869"]]),sa=Ee({curIdx:ht("app-tabbar-index")||0,setCurIdx(e){this.curIdx=e,mt("app-tabbar-index",e)}}),Cw=Ze({__name:"fg-tabbar",setup(e){const t=q$.map(o=>we(se({},o),{path:`/${o.pagePath}`}));function n({value:o}){const r=t[o].path;sa.setCurIdx(o),ki({url:r})}return K0(()=>{}),(o,r)=>{const s=Qn(Vn("wd-tabbar-item"),s8),i=Qn(Vn("wd-tabbar"),f8);return kt(U$)?(ge(),ve(i,{key:0,modelValue:kt(sa).curIdx,"onUpdate:modelValue":r[0]||(r[0]=a=>kt(sa).curIdx=a),"custom-class":"bg-white/60! backdrop-blur-20",bordered:!1,"safe-area-inset-bottom":"",placeholder:"",fixed:"",onChange:n},{default:me(()=>[(ge(!0),yl(ot,null,WT(kt(t),(a,l)=>(ge(),ve(s,{key:a.path,icon:l===kt(sa).curIdx?a.selectedIconPath:a.iconPath},null,8,["icon"]))),128))]),_:1},8,["modelValue"])):Ke("",!0)}}}),h8=Ze({__name:"tabbar",setup(e){const t={};return(n,o)=>{const r=Qn(Vn("wd-toast"),gw),s=Qn(Vn("wd-message-box"),yw),i=Qn(Vn("wd-config-provider"),vw);return ge(),ve(i,{"theme-vars":t},{default:me(()=>[at(n.$slots,"default"),L(Sw,{"bottom-offset":120}),L(Cw),L(r),L(s)]),_:3})}}});var p8={},g8={"pages/income/income":"%income.title%","pages/mine/addressBook":"%addressBook.title%","pages/mine/addressBookOperate":"%addressBook.title%","pages/mine/helpCenter":"%helpCenter.title%","pages/mine/helpCenterDetail":"%helpCenter.detail.title%","pages/mine/myFavorite":"%mine.pages.myFavorite.title%","pages/mine/myProfile":"%myProfile.title%","pages/mine/setting":"%setting.title%","pages/mine/share":"%mine.pages.share.title%","pages/missionCenter/missionCenter":"%missionCenter.title%","pages/myOrders/myOrders":"%myOrders.title%","pages/myOrders/orderDetail":"%orderDetail.title%","pages/productDetail/checkOut":"%checkout.title%","pages/vipMembership/vipMembership":"%vipMembership.title%","pages/wallet/frozenRecord":"%wallet.frozenRecord.title%","pages/wallet/myWallet":"%wallet.myWallet.title%","pages/wallet/recharge":"%wallet.recharge.title%","pages/wallet/rechargeRecord":"%wallet.rechargeRecord.title%","pages/wallet/withdraw":"%wallet.withdraw.title%","pages/wallet/withdrawRecord":"%wallet.withdrawRecord.title%"},m8={};const Pt=jn(),ol="4.87",y8="https://tongji.dcloud.io/uni/stat",v8="https://tongji.dcloud.io/uni/stat.gif",_8=1800,b8=300,w8=10,S8=60*1e3*60*24,Io="__UNI__BA8433E",Xo=(e,t)=>{let n=ht("$$STAT__DBDATA:"+Io)||{};n||(n={}),n[e]=t,mt("$$STAT__DBDATA:"+Io,n)},qo=e=>{let t=ht("$$STAT__DBDATA:"+Io)||{};if(!t[e]){let n=ht("$$STAT__DBDATA:"+Io);if(n||(n={}),!n[e])return;t[e]=n[e]}return t[e]},kw=e=>{let t=ht("$$STAT__DBDATA:"+Io)||{};t[e]?(delete t[e],mt("$$STAT__DBDATA:"+Io,t)):(t=ht("$$STAT__DBDATA:"+Io),t[e]&&(delete t[e],mt("$$STAT__DBDATA:"+Io,t)))},pi=p8;let T8={appid:"__UNI__BA8433E"},od={};od=g8;const Hc="__DC_STAT_UUID",Tm="__DC_UUID_VALUE";function xw(){let e="";if(bt()==="n"){try{e=plus.runtime.getDCloudId()}catch(t){e=""}return e}try{e=ht(Hc)}catch(t){e=Tm}if(!e){e=Date.now()+""+Math.floor(Math.random()*1e7);try{mt(Hc,e)}catch(t){mt(Hc,Tm)}}return e}const C8=e=>Pt.deviceId||xw(),k8=e=>{let t="";if(bt()==="n"){try{t=plus.device.uuid}catch(n){t=""}return t}return Pt.deviceId||xw()},Pw=T8,x8=e=>{let n=Object.keys(e).sort(),o={},r="";for(var s in n)o[n[s]]=e[n[s]],r+=n[s]+"="+e[n[s]]+"&";return{sign:"",options:r.substr(0,r.length-1)}},P8=e=>{let t={};for(let n in e)t[n]=encodeURIComponent(e[n]);return t},bt=()=>{const t={h5:"h5",[["y","a","p","mp-ali"].reverse().join("")]:"ali"};if(t.h5==="ali"&&my&&my.env){const n=my.env.clientName;if(n==="ap")return"ali";if(n==="dingtalk")return"dt"}return t.h5||"h5"},E8=()=>{let e="";return(bt()==="wx"||bt()==="qq")&&KI("getAccountInfoSync")&&(e=uni.getAccountInfoSync().miniProgram.appId||""),bt(),e},I8=()=>bt()==="n"?plus.runtime.version:"",O8=()=>{const e=bt();let t="";return e==="n"&&(t=plus.runtime.channel),t},Cm=e=>{const t=bt();let n="";return e||(t==="wx"&&(n=ga().scene),n)},rd=e=>{let t=e||rl();if(bt()==="bd"){let n=t.$mp&&t.$mp.page&&t.$mp.page.is,o=t.$scope&&t.$scope.is;return n||o||""}else return t.route||t.$scope&&t.$scope.route||t.$mp&&t.$mp.page.route},Wc=e=>{let t=e&&(e.$page||e.$scope&&e.$scope.$page),n=ht("_STAT_LAST_PAGE_ROUTE");return t?t.fullPath==="/"?t.route:t.fullPath||t.route:n||""},rl=()=>{let e=Xt(),t=e[e.length-1];return t?t.$vm:null},ia=e=>e.mpType==="page"||e.$mpType==="page"||e.$mp&&e.$mp.mpType==="page"||e.$options.mpType==="page"?"page":e.mpType==="app"||e.$mpType==="app"||e.$mp&&e.$mp.mpType==="app"||e.$options.mpType==="app"?"app":null,km=e=>{let t=[],n=[],o=[];for(let r in e)e[r].forEach(i=>{let a="";a=i,r===0?t.push(a):r===3?o.push(a):n.push(a)});return t.push(...n,...o),JSON.stringify(t)},A8=(e,t)=>{if(!e||typeof e!="string"||e.length>255||typeof t!="string"&&typeof t!="object"||typeof t=="string"&&t.length>255||e==="title"&&typeof t!="string")return!0},jc=e=>od&&od[e]||"",aa="Report_Data_Time",xa="Report_Status",L8=()=>new Promise((e,t)=>{let n="",o=new Date().getTime(),r=S8,s=1;try{n=ht(aa),s=ht(xa)}catch(i){n="",s=1}if(s===""){xm(({enable:i})=>{mt(aa,o),mt(xa,i),i===1&&e()});return}s===1&&e(),n||(mt(aa,o),n=o),o-n>r&&xm(({enable:i})=>{mt(aa,o),mt(xa,i)})}),xm=e=>{let n={usv:ol,conf:JSON.stringify({ak:"__UNI__BA8433E"})};Bl({url:y8,method:"GET",data:n,success:o=>{const{data:r}=o;r.ret===0&&typeof e=="function"&&e({enable:r.enable})},fail:o=>{let r=1;try{r=ht(xa)}catch(s){r=1}r===""&&(r=1),typeof e=="function"&&e({enable:r})}})},R8=()=>m8||{},M8=e=>{const t=R8(),{spaceId:n,provider:o,clientSecret:r,secretKey:s,secretId:i}=t;return["tcb","tencent","aliyun","alipay","private","dcloud"].indexOf(o)!==-1&&(o==="aliyun"&&n&&r||(o==="tcb"||o==="tencent")&&n||o==="alipay"&&n&&s&&i||o==="private"&&n&&r||o==="dcloud"&&n&&r)?t:e&&e.spaceId?e:null},D8=e=>{let t=pi.reportInterval;return Number(t)===0?0:(t=t||e,/(^[1-9]\d*$)/.test(t)?Number(t):e)},N8=()=>{if(pi.collectItems){const e=pi.collectItems.uniPushClientID;return typeof e=="boolean"?e:!1}return!1},Pm=()=>{if(pi.collectItems){const e=pi.collectItems.uniStatPageLog;return e===void 0?!0:typeof e=="boolean"?e:!0}return!0},Em="is_handle_device_id",$8=()=>{let e=qo(Em)||"";return Xo(Em,"1"),e==="1"},Im="__first__visit__time",sd="__last__visit__time",on=()=>parseInt(new Date().getTime()/1e3),B8=()=>{const e=qo(Im);let t=0;return e?t=e:(t=on(),Xo(Im,t),kw(sd)),t},F8=()=>{const e=qo(sd);let t=0;return e&&(t=e),Xo(sd,on()),t},Ew="__page__residence__time";let Gs=0,Om=0;const Iw=()=>(Gs=on(),Xo(Ew,Gs),Gs),U8=()=>(Om=on(),Gs=qo(Ew),Om-Gs),Am="__total__visit__count",q8=()=>{const e=qo(Am);let t=1;return e&&(t=e,t++),Xo(Am,t),t},Ow="__first_time",zc=()=>{let e=on();return Xo(Ow,e)},la=e=>{let t=0;const n=qo(Ow),o=on();if(n!==0&&(t=o-n),t=t<1?1:t,e==="app"){let r=t>b8;return{residenceTime:t,overtime:r}}if(e==="page"){let r=t>_8;return{residenceTime:t,overtime:r}}return{residenceTime:t}},V8=D8(w8);let Ks={uuid:C8(),ak:Pw.appid,p:"",ut:bt(),mpn:E8(),usv:ol,v:I8(),ch:O8(),cn:"",pn:"",ct:"",t:on(),tt:"",brand:Pt.brand||"",md:Pt.model,sv:"",mpsdk:Pt.SDKVersion||"",mpv:Pt.version||"",lang:Pt.language,pr:Pt.pixelRatio,ww:Pt.windowWidth,wh:Pt.windowHeight,sw:Pt.screenWidth,sh:Pt.screenHeight};if(Pt.platform)switch(Pt.platform){case"android":Ks.p="a";break;case"ios":Ks.p="i";break;case"harmonyos":Ks.p="h";break}Pt.system&&(Ks.sv=Pt.system.replace(/(Android|iOS)\s/,""));class H8{constructor(){this.self="",this.__licationShow=!1,this.__licationHide=!1,this.statData=Ks,this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._query={},typeof pn=="function"&&(this.addInterceptorInit(),this.interceptLogin(),this.interceptShare(!0),this.interceptRequestPayment())}addInterceptorInit(){let t=this;pn("setNavigationBarTitle",{invoke(n){t._navigationBarTitle.page=n.title}})}interceptLogin(){let t=this;pn("login",{complete(){t._login()}})}interceptShare(t){let n=this;if(!t){n._share();return}pn("share",{success(){n._share()},fail(){n._share()}})}interceptRequestPayment(){let t=this;pn("requestPayment",{success(){t._payment("pay_success")},fail(){t._payment("pay_fail")}})}_login(){this.sendEventRequest({key:"login"},0)}_share(){this.sendEventRequest({key:"share"},0)}_payment(t){this.sendEventRequest({key:t},0)}applicationShow(){if(this.__licationHide){if(la("app").overtime){let o={path:ht("_STAT_LAST_PAGE_ROUTE"),scene:this.statData.sc,cst:2};this.sendReportRequest(o)}else{const n=Cm();if(n!==this.statData.sc){let r={path:ht("_STAT_LAST_PAGE_ROUTE"),scene:n,cst:2};this.sendReportRequest(r)}}this.__licationHide=!1}}applicationHide(t,n){t||(t=rl()),this.__licationHide=!0;const o=la(),r=Wc(t);mt("_STAT_LAST_PAGE_ROUTE",r),this.sendHideRequest({urlref:r,urlref_ts:o.residenceTime},n),zc()}pageShow(t){this._navigationBarTitle={config:"",page:"",report:"",lt:""};const n=Wc(t),o=rd(t);if(this._navigationBarTitle.config=jc(o),this.__licationShow){zc(),mt("_STAT_LAST_PAGE_ROUTE",n),this.__licationShow=!1;return}if(la("page").overtime){let s={path:n,scene:this.statData.sc,cst:3};this.sendReportRequest(s)}zc()}pageHide(t){if(!this.__licationHide){const n=la("page");let o=Wc(t),r=ht("_STAT_LAST_PAGE_ROUTE");r||(r=o),mt("_STAT_LAST_PAGE_ROUTE",o),this.sendPageRequest({url:o,urlref:r,urlref_ts:n.residenceTime});return}}sendReportRequest(t,n){this._navigationBarTitle.lt="1",this._navigationBarTitle.config=jc(t.path);let r=t.query&&JSON.stringify(t.query)!=="{}"?"?"+JSON.stringify(t.query):"";const s=F8();if(s!==0||!s){const i=k8();$8()||(this.statData.odid=i)}Object.assign(this.statData,{lt:"1",url:t.path+r||"",t:on(),sc:Cm(t.scene),fvts:B8(),lvts:s,tvc:q8(),cst:t.cst||1}),bt()==="n"?this.getProperty(n):this.getNetworkInfo(n)}sendPageRequest(t){let{url:n,urlref:o,urlref_ts:r}=t;this._navigationBarTitle.lt="11";let s={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"11",ut:this.statData.ut,url:n,tt:this.statData.tt,urlref:o,urlref_ts:r,ch:this.statData.ch,usv:this.statData.usv,t:on()};this.request(s)}sendHideRequest(t,n){let{urlref:o,urlref_ts:r}=t,s={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"3",ut:this.statData.ut,urlref:o,urlref_ts:r,ch:this.statData.ch,usv:this.statData.usv,t:on()};this.request(s,n)}sendEventRequest({key:t="",value:n=""}={}){let o="";try{o=rd()}catch(s){o=qo("__launch_options").path}this._navigationBarTitle.config=jc(o),this._navigationBarTitle.lt="21";let r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"21",ut:this.statData.ut,url:o,ch:this.statData.ch,e_n:t,e_v:typeof n=="object"?JSON.stringify(n):n.toString(),usv:this.statData.usv,t:on()};this.request(r)}sendPushRequest(t,n){let o=on();const r={lt:"101",cid:n,t:o,ut:this.statData.ut},s=km({101:[r]});let i={usv:ol,t:o,requests:s};if(bt()==="n"&&this.statData.p==="a"){setTimeout(()=>{this.sendRequest(i)},200);return}this.sendRequest(i)}getProperty(t){plus.runtime.getProperty(plus.runtime.appid,n=>{this.statData.v=n.version||"",this.getNetworkInfo(t)})}getNetworkInfo(t){dR({success:n=>{this.statData.net=n.networkType,this.getLocation(t)}})}getLocation(t){Pw.getLocation?VR({type:"wgs84",geocode:!0,success:n=>{n.address&&(this.statData.cn=n.address.country,this.statData.pn=n.address.province,this.statData.ct=n.address.city),this.statData.lat=n.latitude,this.statData.lng=n.longitude,this.request(this.statData,t)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData,t))}request(t,n){let o=on();const r=this._navigationBarTitle;Object.assign(t,{ttn:r.page,ttpj:r.config,ttc:r.report});let s=qo("__UNI__STAT__DATA")||{};if(s[t.lt]||(s[t.lt]=[]),s[t.lt].push(t),Xo("__UNI__STAT__DATA",s),U8(){this.sendRequest(l)},200);return}this.sendRequest(l)}getIsReportData(){return L8()}sendRequest(t){{if(!uni.__stat_uniCloud_space)return;uni.__stat_uniCloud_space.importObject("uni-stat-receiver",{customUI:!0}).report(t).then(()=>{}).catch(o=>{})}}imageRequest(t){this.getIsReportData().then(()=>{let n=new Image,o=x8(P8(t)).options;n.src=v8+"?"+o})}sendEvent(t,n){if(!A8(t,n)){if(t==="title"){this._navigationBarTitle.report=n;return}this.sendEventRequest({key:t,value:typeof n=="object"?JSON.stringify(n):n},1)}}}class wf extends H8{static getInstance(){uni.__stat_instance||(uni.__stat_instance=new wf);{let t=M8(td.config);if(!uni.__stat_uniCloud_space&&t&&Object.keys(t).length!==0){let n={provider:t.provider,spaceId:t.spaceId,clientSecret:t.clientSecret};t.endpoint&&(n.endpoint=t.endpoint),t.provider==="alipay"&&(n.secretKey=t.secretKey,n.accessKey=t.accessKey||t.secretId,n.spaceAppId=t.spaceAppId||t.appId),uni.__stat_uniCloud_space=td.init(n)}}return uni.__stat_instance}constructor(){super()}pushEvent(t){const n=N8();bu&&n&&bu({success:o=>{const r=o.cid||!1;r&&this.sendPushRequest(t,r)}})}launch(t,n){Iw(),this.__licationShow=!0,Xo("__launch_options",t),t.cst=1,this.sendReportRequest(t,!0)}load(t,n){this.self=n,this._query=t}appHide(t){this.applicationHide(t,!0)}appShow(t){this.applicationShow(t)}show(t){this.self=t,ia(t)==="page"&&Pm()&&this.pageShow(t),(bt()==="h5"||bt()==="n")&&ia(t)==="app"&&this.appShow()}hide(t){this.self=t,ia(t)==="page"&&Pm()&&this.pageHide(t),(bt()==="h5"||bt()==="n")&&ia(t)==="app"&&this.appHide()}error(t){let n="";t.message?n=t.stack:n=JSON.stringify(t);let o="";try{o=rd()}catch(s){o=""}let r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"31",url:o,ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:n,usv:this.statData.usv,t:parseInt(new Date().getTime()/1e3)};this.request(r)}}const Tn=wf.getInstance();let ca=!1;const W8={onLaunch(e){Tn.launch(e,this),Tn.pushEvent(e)},onLoad(e){if(Tn.load(e,this),this.$scope&&this.$scope.onShareAppMessage){let t=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(n){return Tn.interceptShare(!1),t.call(this,n)}}},onShow(){ca=!1,Tn.show(this)},onHide(){ca=!0,Tn.hide(this)},onUnload(){if(ca){ca=!1;return}Tn.hide(this)},onError(e){try{Tn.error(e)}catch(t){}}};function j8(){$S(e=>{e.mixin(W8),uni.report=function(t,n){Tn.sendEvent(t,n)}}),bt()!=="h5"&&bt()!=="n"&&(yE(()=>{Tn.appHide(rl())}),mE(()=>{Tn.appShow(rl())}))}function z8(){j8()}z8();uni.$zp={config:{"default-page-size":20,"refresher-default-text":{en:"Pull down to refresh","zh-Hans":"继续下拉刷新",bn:"রিফ্রেশ করতে নিচে টানুন"},"refresher-pulling-text":{en:"Release to refresh","zh-Hans":"松开立即刷新",bn:"রিফ্রেশ করতে ছেড়ে দিন"},"refresher-refreshing-text":{en:"Refreshing...","zh-Hans":"正在刷新...",bn:"রিফ্রেশ হচ্ছে..."},"refresher-complete-text":{en:"Refresh succeeded","zh-Hans":"刷新成功",bn:"রিফ্রেশ সফল হয়েছে"},"loading-more-default-text":{en:"Click to load more","zh-Hans":"点击加载更多",bn:"আরও লোড করতে ক্লিক করুন"},"loading-more-loading-text":{en:"Loading...","zh-Hans":"正在加载...",bn:"লোড হচ্ছে..."},"loading-more-no-more-text":{en:"No more data","zh-Hans":"没有更多了",bn:"আর কোনো ডেটা নেই"},"loading-more-fail-text":{en:"Load failed,click to reload","zh-Hans":"加载失败,点击重新加载",bn:"লোড ব্যর্থ, আবার লোড করতে ক্লিক করুন"},"empty-view-text":{en:"No data","zh-Hans":"没有数据哦~",bn:"কোনো ডেটা নেই"},"empty-view-reload-text":{en:"Reload","zh-Hans":"重新加载",bn:"আবার লোড করুন"},"empty-view-error-text":{en:"Sorry,load failed","zh-Hans":"很抱歉,加载失败",bn:"দুঃখিত, লোড ব্যর্থ হয়েছে"}}};function G8(){const e=wv(dw);return e.use(Cb),e.use(ub),e.use(e5),e.use(ZF),e.use(XF),e.use(GF),e.component("layout-default-uni",X5),e.component("layout-fg-tabbar-uni",Cw),e.component("layout-tabbar-uni",h8),{app:e}}G8().app.use(OL).mount("#app");export{f0 as $,q4 as A,Qn as B,e8 as C,Vn as D,lt as E,kt as F,yl as G,ot as H,WT as I,Ke as J,ts as K,Bt as L,fn as M,lp as N,p4 as O,J_ as P,B4 as Q,En as R,a4 as S,F4 as T,N4 as U,Ai as V,An as W,D5 as X,nd as Y,Pn as Z,Un as _,Eo as a,W4 as a$,R4 as a0,Mu as a1,D4 as a2,tB as a3,Je as a4,mw as a5,Rn as a6,$t as a7,vA as a8,XR as a9,hR as aA,zl as aB,_w as aC,Z4 as aD,nB as aE,K4 as aF,ht as aG,no as aH,t4 as aI,mt as aJ,Ol as aK,X4 as aL,c8 as aM,I5 as aN,Q8 as aO,Z8 as aP,tn as aQ,n4 as aR,nn as aS,Ci as aT,m4 as aU,Fl as aV,Q4 as aW,v$ as aX,hv as aY,At as aZ,V4 as a_,qr as aa,t5 as ab,fw as ac,it as ad,O5 as ae,I4 as af,bf as ag,A5 as ah,Be as ai,ob as aj,rb as ak,d5 as al,P4 as am,Ie as an,xn as ao,Cn as ap,vf as aq,GT as ar,Ho as as,l4 as at,sr as au,U4 as av,h4 as aw,ub as ax,i4 as ay,nt as az,Lt as b,z4 as b0,j4 as b1,$e as b2,ab as b3,T$ as b4,xt as b5,C$ as b6,k$ as b7,sb as b8,y$ as b9,r4 as bA,df as bB,x4 as bC,C4 as bD,J4 as bE,A4 as bF,gw as bG,_$ as bH,w4 as bI,b4 as bJ,KI as bK,Pe as bL,Tk as bM,d4 as bN,g4 as bO,X8 as bP,Y8 as bQ,Zd as bR,u4 as bS,Lu as bT,v4 as bU,y4 as bV,$R as bW,s4 as bX,T4 as ba,e4 as bb,st as bc,SS as bd,k4 as be,nL as bf,sL as bg,xc as bh,p$ as bi,_4 as bj,ki as bk,Y4 as bl,es as bm,c4 as bn,J8 as bo,O4 as bp,tP as bq,$4 as br,M4 as bs,pw as bt,L4 as bu,E4 as bv,f4 as bw,S4 as bx,Xa as by,o4 as bz,Ce as c,Ze as d,Y as e,ve as f,me as g,L as h,k5 as i,Jt as j,at as k,N_ as l,Oe as m,rt as n,ge as o,ef as p,Qt as q,q as r,jn as s,Ee as t,K0 as u,UD as v,ne as w,H4 as x,G4 as y,jy as z};