From 5a983d9e2c76c643997fab685443b05adf93bc58 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 1 Jul 2026 10:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A0=94=E5=AD=A6=E7=BA=BF=E8=B7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Support/StudyTourPayload.php | 10 +++++++++- public/h5/assets/TiandituMap-CYZgwKMn.css | 1 - public/h5/assets/TiandituMap.phxVrsFe.js | 1 - .../{content.BfcEEng6.js => content.CWxBtEbN.js} | 2 +- public/h5/assets/coordChina.DSiWE9WA.js | 1 - public/h5/assets/detail-BN-pxm-i.css | 1 - public/h5/assets/detail-BRErN3UC.css | 1 + .../h5/assets/{index-CC6J0dtG.js => index-D9YO76Ut.js} | 6 +++--- public/h5/assets/index-DFbFISSF.css | 1 + public/h5/assets/index-hK3ZiQtD.css | 1 - ...calProfile.w3dNAYL8.js => localProfile.DAR2ddcd.js} | 2 +- .../h5/assets/pages-activity-behind-scenes.Ba9BUMxV.js | 1 - .../h5/assets/pages-activity-behind-scenes.DJIyEJWF.js | 1 + public/h5/assets/pages-activity-detail.CwCFh4m6.js | 1 + public/h5/assets/pages-activity-detail.D42i0ZGw.js | 1 - ...ex.CpOqsSzs.js => pages-activity-index.DFRXtq0i.js} | 2 +- .../h5/assets/pages-activity-registrations.CBIb58lK.js | 1 - .../h5/assets/pages-activity-registrations.Dm0eI0G7.js | 1 + public/h5/assets/pages-activity-reserve.CLL5_v0n.js | 1 - public/h5/assets/pages-activity-reserve.GaDhZhMR.js | 1 + ...ex.DMFdGkDJ.js => pages-discover-index.Rr3PZ3j4.js} | 2 +- public/h5/assets/pages-index-index.BwLscgpE.js | 1 - public/h5/assets/pages-index-index.C5qF5PDt.js | 1 + public/h5/assets/pages-map-index.7Ur7Md9J.js | 1 - public/h5/assets/pages-map-index.BWtgkiYt.js | 1 + public/h5/assets/pages-mine-index.BigDkNCj.js | 1 - public/h5/assets/pages-mine-index.CbEaOtOy.js | 1 + public/h5/assets/pages-mine-orders.DSJn__4h.js | 1 + public/h5/assets/pages-mine-orders.jHn0X0qO.js | 1 - public/h5/assets/pages-mine-profile.B0i8Br8b.js | 1 + public/h5/assets/pages-mine-profile.Cx1vm1pe.js | 1 - ...w9.js => pages-mine-reservation-detail.CluhMTEj.js} | 2 +- public/h5/assets/pages-stats-index.C9uW77Qa.js | 1 + public/h5/assets/pages-stats-index.I6pKoYw2.js | 1 - public/h5/assets/pages-study-tour-detail.8Ku-CFZm.js | 1 + public/h5/assets/pages-study-tour-detail.DXNgTVif.js | 1 - public/h5/assets/pages-ticket-grab-detail.GEKRgo9i.js | 1 + public/h5/assets/pages-ticket-grab-detail.zhd9RT8q.js | 1 - public/h5/assets/pages-ticket-grab-reserve.DM2tgpLy.js | 1 - public/h5/assets/pages-ticket-grab-reserve.Dq3BP2x1.js | 1 + ...dex.BZrXn9cM.js => pages-traffic-index.ObsDwTJH.js} | 2 +- public/h5/assets/pages-venue-detail.DR_idxYG.js | 1 - public/h5/assets/pages-venue-detail.DZRhch0b.js | 1 + ...Counting.CH-rEjWp.js => peopleCounting.BfwgNXhn.js} | 2 +- .../h5/assets/{phone.CX37tqZE.js => phone.BuoI0HSZ.js} | 2 +- .../{profile.CBiER3ty.js => profile.DNiRgAnN.js} | 2 +- public/h5/assets/suzhouDistrictPolygons.C_blUQfv.js | 1 + public/h5/assets/suzhouDistrictPolygons.CpNycQAn.js | 1 - public/h5/index.html | 2 +- 49 files changed, 39 insertions(+), 34 deletions(-) delete mode 100644 public/h5/assets/TiandituMap-CYZgwKMn.css delete mode 100644 public/h5/assets/TiandituMap.phxVrsFe.js rename public/h5/assets/{content.BfcEEng6.js => content.CWxBtEbN.js} (96%) delete mode 100644 public/h5/assets/coordChina.DSiWE9WA.js delete mode 100644 public/h5/assets/detail-BN-pxm-i.css create mode 100644 public/h5/assets/detail-BRErN3UC.css rename public/h5/assets/{index-CC6J0dtG.js => index-D9YO76Ut.js} (96%) create mode 100644 public/h5/assets/index-DFbFISSF.css delete mode 100644 public/h5/assets/index-hK3ZiQtD.css rename public/h5/assets/{localProfile.w3dNAYL8.js => localProfile.DAR2ddcd.js} (77%) delete mode 100644 public/h5/assets/pages-activity-behind-scenes.Ba9BUMxV.js create mode 100644 public/h5/assets/pages-activity-behind-scenes.DJIyEJWF.js create mode 100644 public/h5/assets/pages-activity-detail.CwCFh4m6.js delete mode 100644 public/h5/assets/pages-activity-detail.D42i0ZGw.js rename public/h5/assets/{pages-activity-index.CpOqsSzs.js => pages-activity-index.DFRXtq0i.js} (52%) delete mode 100644 public/h5/assets/pages-activity-registrations.CBIb58lK.js create mode 100644 public/h5/assets/pages-activity-registrations.Dm0eI0G7.js delete mode 100644 public/h5/assets/pages-activity-reserve.CLL5_v0n.js create mode 100644 public/h5/assets/pages-activity-reserve.GaDhZhMR.js rename public/h5/assets/{pages-discover-index.DMFdGkDJ.js => pages-discover-index.Rr3PZ3j4.js} (74%) delete mode 100644 public/h5/assets/pages-index-index.BwLscgpE.js create mode 100644 public/h5/assets/pages-index-index.C5qF5PDt.js delete mode 100644 public/h5/assets/pages-map-index.7Ur7Md9J.js create mode 100644 public/h5/assets/pages-map-index.BWtgkiYt.js delete mode 100644 public/h5/assets/pages-mine-index.BigDkNCj.js create mode 100644 public/h5/assets/pages-mine-index.CbEaOtOy.js create mode 100644 public/h5/assets/pages-mine-orders.DSJn__4h.js delete mode 100644 public/h5/assets/pages-mine-orders.jHn0X0qO.js create mode 100644 public/h5/assets/pages-mine-profile.B0i8Br8b.js delete mode 100644 public/h5/assets/pages-mine-profile.Cx1vm1pe.js rename public/h5/assets/{pages-mine-reservation-detail.DJgfBOw9.js => pages-mine-reservation-detail.CluhMTEj.js} (79%) create mode 100644 public/h5/assets/pages-stats-index.C9uW77Qa.js delete mode 100644 public/h5/assets/pages-stats-index.I6pKoYw2.js create mode 100644 public/h5/assets/pages-study-tour-detail.8Ku-CFZm.js delete mode 100644 public/h5/assets/pages-study-tour-detail.DXNgTVif.js create mode 100644 public/h5/assets/pages-ticket-grab-detail.GEKRgo9i.js delete mode 100644 public/h5/assets/pages-ticket-grab-detail.zhd9RT8q.js delete mode 100644 public/h5/assets/pages-ticket-grab-reserve.DM2tgpLy.js create mode 100644 public/h5/assets/pages-ticket-grab-reserve.Dq3BP2x1.js rename public/h5/assets/{pages-traffic-index.BZrXn9cM.js => pages-traffic-index.ObsDwTJH.js} (79%) delete mode 100644 public/h5/assets/pages-venue-detail.DR_idxYG.js create mode 100644 public/h5/assets/pages-venue-detail.DZRhch0b.js rename public/h5/assets/{peopleCounting.CH-rEjWp.js => peopleCounting.BfwgNXhn.js} (95%) rename public/h5/assets/{phone.CX37tqZE.js => phone.BuoI0HSZ.js} (97%) rename public/h5/assets/{profile.CBiER3ty.js => profile.DNiRgAnN.js} (65%) create mode 100644 public/h5/assets/suzhouDistrictPolygons.C_blUQfv.js delete mode 100644 public/h5/assets/suzhouDistrictPolygons.CpNycQAn.js diff --git a/app/Support/StudyTourPayload.php b/app/Support/StudyTourPayload.php index f7fa05e..c1022e1 100644 --- a/app/Support/StudyTourPayload.php +++ b/app/Support/StudyTourPayload.php @@ -456,6 +456,13 @@ class StudyTourPayload ->filter() ->values() ->all(); + $coverImage = self::listCoverImage($row, collect($venues['venue_items']) + ->filter(fn ($item) => ($item['type'] ?? '') === 'system' && ! empty($item['id'])) + ->map(fn ($item) => (object) [ + 'id' => (int) $item['id'], + 'cover_image' => $item['cover_image'] ?? null, + ]) + ->keyBy('id')); return [ 'id' => $row->id, @@ -471,7 +478,8 @@ class StudyTourPayload 'contact_person' => $row->contact_person, 'contact_phones' => $row->contact_phones, 'contact_phone_list' => self::contactPhoneList($row->contact_phones), - 'image' => $row->cover_image, + 'cover_image' => $coverImage, + 'image' => $coverImage, 'gallery_media' => $row->gallery_media ?? [], 'carousel' => ActivityH5View::buildGalleryCarousel($row), 'intro_html' => $row->intro_html, diff --git a/public/h5/assets/TiandituMap-CYZgwKMn.css b/public/h5/assets/TiandituMap-CYZgwKMn.css deleted file mode 100644 index e271679..0000000 --- a/public/h5/assets/TiandituMap-CYZgwKMn.css +++ /dev/null @@ -1 +0,0 @@ -.tdt-wrap[data-v-b885381f]{position:relative;width:100%;height:100%;overflow:hidden;touch-action:none;z-index:1}.tdt-map[data-v-b885381f]{width:100%;height:100%;touch-action:none}.tdt-err[data-v-b885381f]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:.75rem;font-size:.8125rem;color:#86909c;background:#f2f3f5;text-align:center;z-index:2}.tdt-copy[data-v-b885381f]{position:absolute;left:.25rem;bottom:.1875rem;font-size:.5625rem;color:rgba(29,33,41,.55);z-index:3;pointer-events:none;line-height:1.2} diff --git a/public/h5/assets/TiandituMap.phxVrsFe.js b/public/h5/assets/TiandituMap.phxVrsFe.js deleted file mode 100644 index 82d6461..0000000 --- a/public/h5/assets/TiandituMap.phxVrsFe.js +++ /dev/null @@ -1 +0,0 @@ -import{d as t,r as e,a as n,b as o,w as i,j as r,e as l,i as a,x as u,f as c,ad as s,m as f,v as d,B as m,k as v,l as p,_ as g}from"./index-CC6J0dtG.js";import{g as w,w as h}from"./coordChina.DSiWE9WA.js";const y=new Map,T="#05c9ac";function E(t){const e=function(t){if(!t||"string"!=typeof t)return T;let e=t.trim();if(e.startsWith("#")||(e=`#${e}`),/^#[0-9A-Fa-f]{6}$/.test(e))return e;if(/^#[0-9A-Fa-f]{3}$/.test(e)){const t=e[1],n=e[2],o=e[3];return`#${t}${t}${n}${n}${o}${o}`}return T}(t||"");if(y.has(e))return y.get(e);if("undefined"==typeof document)return y.set(e,""),"";const n=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(`\n\n\n\n`)}`;return y.set(e,n),n}const b=120;function L(t,e){const n=t.venue_type_color;return n&&"string"==typeof n&&function(t){if(!t||"string"!=typeof t)return null;let e=t.trim();e.startsWith("#")||(e=`#${e}`);const n=e.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(!n)return null;let o=n[1];return 3===o.length&&(o=`${o[0]}${o[0]}${o[1]}${o[1]}${o[2]}${o[2]}`),o.toLowerCase()}(n.trim())?n.trim():e()}let k=null;function I(t){k=t}let N=null;function F(){return String("ebd6693edf7730d8f8f9a7ba1719f5c1").trim()}function $(t){const e=window.T,n=new e.TileLayer(function(t){return`https://t0.tianditu.gov.cn/vec_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vec&STYLE=default&TILEMATRIXSET=c&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=${t}`}(t),{minZoom:1,maxZoom:18}),o=new e.TileLayer(function(t){return`https://t0.tianditu.gov.cn/cva_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&STYLE=default&TILEMATRIXSET=c&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=${t}`}(t),{minZoom:1,maxZoom:18});return[n,o]}function C(t,e){const n=w(t,e);return new window.T.LngLat(n.lng,n.lat)}function R(t){const{lng:e,lat:n}=function(t){if(!t)throw new Error("missing lnglat");const e="function"==typeof t.getLng?t.getLng():"number"==typeof t.lng?t.lng:NaN,n="function"==typeof t.getLat?t.getLat():"number"==typeof t.lat?t.lat:NaN;if(!Number.isFinite(e)||!Number.isFinite(n))throw new Error("invalid lnglat");return{lng:e,lat:n}}(t.lnglat),o=h(e,n);return{lat:Number(o.lat.toFixed(6)),lng:Number(o.lng.toFixed(6))}}function S(t){const e=(t||"").trim();if(!e.startsWith("#"))return{color:"#05C9AC",opacity:.9};if(9===e.length){const t=e.slice(0,7),n=parseInt(e.slice(7,9),16)/255;return{color:t,opacity:Number.isFinite(n)?n:.9}}return{color:e.slice(0,7),opacity:.9}}const x=g(t({__name:"TiandituMap",props:{latitude:{},longitude:{},zoom:{},markers:{default:()=>[]},polygons:{default:()=>[]},fitPoints:{default:()=>[]},fitKey:{default:""},useFitPoints:{type:Boolean,default:!0},markerTapFn:{}},emits:["venue-marker-tap","markertap","tap","zoomchange"],setup(t,{emit:g}){const w=t,h=g,y=e(null),T=e(""),E=e(!1),b=e(!F());let L=null,I=[];const x=new WeakMap;let A=[],P=!1,_="",z=!1,M=0;function O(t){var e;const n=Number(t);Number.isFinite(n)&&(M=Date.now()+500,null==(e=w.markerTapFn)||e.call(w,n),function(t){const e=Number(t);Number.isFinite(e)&&(null==k||k(e))}(n),h("venue-marker-tap",n),h("markertap",{detail:{markerId:n}}))}function Z(t){var e,n;if(!t||"object"!=typeof t)return null;const o=x.get(t);if("number"==typeof o&&Number.isFinite(o))return o;for(const r of I)if(r.overlay===t)return r.id;const i=t.options;return null!=(null==(e=null==i?void 0:i.extData)?void 0:e.venueId)?Number(i.extData.venueId):null!=(null==(n=null==i?void 0:i.item)?void 0:n.id)?Number(i.item.id):null}function D(t){t.stopPropagation()}function W(t,e){const n=e;"function"==typeof n.addEventListener&&n.addEventListener("click",e=>{O(Z(null==e?void 0:e.target)??t)})}function K(){var t,e;if(!L||!E.value)return;null==(t=L.checkResize)||t.call(L);const n=w.fitKey??"";w.useFitPoints&&((null==(e=w.fitPoints)?void 0:e.length)??0)>0?n!==_&&(_=n,function(){var t;if(L){if(w.useFitPoints&&(null==(t=w.fitPoints)?void 0:t.length)){const t=w.fitPoints.map(t=>C(t.longitude,t.latitude));return L.setViewport(t),void h("zoomchange",L.getZoom())}L.centerAndZoom(C(w.longitude,w.latitude),w.zoom)}}()):(_="",L.setZoom(w.zoom),L.centerAndZoom(C(w.longitude,w.latitude),w.zoom)),function(){if(!L||!window.T)return;const t=window.T;for(const e of A)L.removeOverLay(e);A=[];for(const e of w.polygons){const n=(e.points||[]).filter(t=>Number.isFinite(t.latitude)&&Number.isFinite(t.longitude));if(n.length<3)continue;const o=S(e.strokeColor||"#05C9ACE6"),i=S(e.fillColor||"#05C9AC14"),r=n.map(t=>C(t.longitude,t.latitude)),l=new t.Polygon(r,{color:o.color,weight:e.strokeWidth??2,opacity:o.opacity,fillColor:i.color,fillOpacity:.35*i.opacity});L.addOverLay(l),A.push(l)}}(),function(){var t,e;if(!L||!window.T)return;const n=window.T;for(const o of I)L.removeOverLay(o.overlay);I=[];for(const o of w.markers){const i=Number(o.latitude),r=Number(o.longitude);if(!Number.isFinite(i)||!Number.isFinite(r))continue;const l={};if(o.iconPath){const i=o.width||28,r=o.height||32,a=((null==(t=o.anchor)?void 0:t.x)??.5)*i,u=((null==(e=o.anchor)?void 0:e.y)??1)*r;l.icon=new n.Icon({iconUrl:o.iconPath,iconSize:new n.Point(i,r),iconAnchor:new n.Point(a,u)})}const a=new n.Marker(C(r,i),{...l,extData:{venueId:o.id},item:{id:o.id}});x.set(a,o.id),W(o.id,a),L.addOverLay(a),I.push({id:o.id,overlay:a})}}()}function U(t){const e=Z(t.target);if(null==e){try{const{lat:e,lng:n}=R(t),o=function(t,e){const n=(null==L?void 0:L.getZoom())??w.zoom??12,o=.006/Math.pow(2,.5*Math.max(0,n-11)),i=o*o;let r=null,l=1/0;for(const a of w.markers){const n=Number(a.latitude),o=Number(a.longitude);if(!Number.isFinite(n)||!Number.isFinite(o))continue;const u=1.15*(n-t),c=o-e,s=u*u+c*c;s<=i&&s{const o=document.createElement("script");o.src=`https://api.tianditu.gov.cn/api?v=4.0&tk=${encodeURIComponent(t)}`,o.async=!0,o.onload=()=>e(),o.onerror=()=>n(new Error("天地图 SDK 加载失败")),document.head.appendChild(o)})),await N,!window.T)throw new Error("天地图 SDK 未就绪")}(),L)return;L=function(t,e,n,o){var i,r,l,a;const u=F(),c=new window.T.Map(t,{projection:"EPSG:4326",layers:$(u)});return c.centerAndZoom(C(e,n),o),null==(i=c.enableScrollWheelZoom)||i.call(c),null==(r=c.enableDrag)||r.call(c),null==(l=c.enableDoubleClickZoom)||l.call(c),null==(a=c.enablePinchToZoom)||a.call(c),c}(y.value,w.longitude,w.latitude,w.zoom),function(t){if(z)return;z=!0;const e=["touchstart","touchmove","touchend","wheel"];for(const n of e)t.addEventListener(n,D,!1);t.addEventListener("click",D,!1)}(y.value),L&&!P&&(L.addEventListener("click",t=>U(t)),L.addEventListener("zoomend",()=>{L&&h("zoomchange",L.getZoom())}),P=!0),E.value=!0,_="",K(),setTimeout(()=>{var t;null==(t=null==L?void 0:L.checkResize)||t.call(L)},200)}catch(t){T.value=(null==t?void 0:t.message)||"地图加载失败"}}}return n(()=>{V()}),o(()=>{!function(){if(L){for(const t of I)L.removeOverLay(t.overlay);I=[];for(const t of A)L.removeOverLay(t);A=[]}}(),L=null,E.value=!1,_="",P=!1,z=!1}),i(()=>[w.latitude,w.longitude,w.zoom,w.fitKey,w.useFitPoints,w.markers,w.polygons,w.fitPoints],()=>K(),{deep:!0}),(t,e)=>{const n=a,o=p;return r(),l(n,{class:"tdt-wrap",onTouchmove:e[0]||(e[0]=u(()=>{},["stop"]))},{default:c(()=>[s("div",{ref_key:"rootRef",ref:y,class:"tdt-map"},null,512),T.value?(r(),l(n,{key:0,class:"tdt-err"},{default:c(()=>[f(d(T.value),1)]),_:1})):b.value?(r(),l(n,{key:1,class:"tdt-err"},{default:c(()=>[f("未配置 VITE_TIANDITU_TK")]),_:1})):m("",!0),v(o,{class:"tdt-copy"},{default:c(()=>[f("审图号:GS(2024)0568号 · 数据来源:天地图")]),_:1})]),_:1})}}}),[["__scopeId","data-v-b885381f"]]);export{b as S,x as T,E as g,I as s,L as t}; diff --git a/public/h5/assets/content.BfcEEng6.js b/public/h5/assets/content.CWxBtEbN.js similarity index 96% rename from public/h5/assets/content.BfcEEng6.js rename to public/h5/assets/content.CWxBtEbN.js index 3577839..7d239c9 100644 --- a/public/h5/assets/content.BfcEEng6.js +++ b/public/h5/assets/content.CWxBtEbN.js @@ -1 +1 @@ -import{h as t}from"./index-CC6J0dtG.js";function i(i={}){const{include_ticket_grab:e,bookable_only:n,...s}=i,r={...s};return e&&(r.include_ticket_grab=1),n&&(r.bookable_only=1),t.get("/h5/activities",r,{withAuth:!1})}function e(i){return t.get(`/h5/activities/${i}`,{})}function n(i,e){return t.get(`/h5/activities/${i}/registrations`,{...e||{}},{withAuth:!1})}function s(i){return t.post(`/h5/activities/${i}/view`,{},{withAuth:!1})}function r(i){return t.post(`/h5/activities/${i}/external-link-click`,{},{withAuth:!1})}function u(i){return t.get(`/h5/ticket-grab-events/${i}`,{},{withAuth:!1})}function o(i,e){return t.get(`/h5/ticket-grab-events/${i}/booking-info`,{venue_id:e},{withAuth:!0})}function h(i,e){return t.post(`/h5/ticket-grab-events/${i}/reservations`,e,{withAuth:!0})}function c(i={}){const e={};return i.only_included_in_stats&&(e.only_included_in_stats=1),t.get("/h5/venues",e,{withAuth:!1})}function a(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function _(i,e={}){const n={};return e.ticket_grab_event_id&&e.ticket_grab_event_id>0&&(n.ticket_grab_event_id=e.ticket_grab_event_id),t.get(`/h5/venues/${i}`,n,{withAuth:!1})}function g(i){return t.get(`/h5/study-tours/${i}`,{},{withAuth:!1})}function v(i={}){return t.get("/h5/study-tours",i,{withAuth:!1})}function f(i){return t.get(`/h5/activities/${i}/booking-info`,{},{withAuth:!0})}function d(i,e){return t.post(`/h5/activities/${i}/reservations`,e,{withAuth:!0})}function w(i){return t.get("/h5/my/reservations",{},{withAuth:!0})}function A(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.get(`/h5/my/reservations/${i}`,n,{withAuth:!0})}function b(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.post(`/h5/my/reservations/${i}/cancel`,n,{withAuth:!0})}export{c as a,i as b,v as c,w as d,b as e,e as f,a as g,r as h,n as i,u as j,o as k,_ as l,h as m,f as n,d as o,s as p,A as q,g as r}; +import{h as t}from"./index-D9YO76Ut.js";function i(i={}){const{include_ticket_grab:e,bookable_only:n,...s}=i,r={...s};return e&&(r.include_ticket_grab=1),n&&(r.bookable_only=1),t.get("/h5/activities",r,{withAuth:!1})}function e(i){return t.get(`/h5/activities/${i}`,{})}function n(i,e){return t.get(`/h5/activities/${i}/registrations`,{...e||{}},{withAuth:!1})}function s(i){return t.post(`/h5/activities/${i}/view`,{},{withAuth:!1})}function r(i){return t.post(`/h5/activities/${i}/external-link-click`,{},{withAuth:!1})}function u(i){return t.get(`/h5/ticket-grab-events/${i}`,{},{withAuth:!1})}function o(i,e){return t.get(`/h5/ticket-grab-events/${i}/booking-info`,{venue_id:e},{withAuth:!0})}function h(i,e){return t.post(`/h5/ticket-grab-events/${i}/reservations`,e,{withAuth:!0})}function c(i={}){const e={};return i.only_included_in_stats&&(e.only_included_in_stats=1),t.get("/h5/venues",e,{withAuth:!1})}function a(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function _(i,e={}){const n={};return e.ticket_grab_event_id&&e.ticket_grab_event_id>0&&(n.ticket_grab_event_id=e.ticket_grab_event_id),t.get(`/h5/venues/${i}`,n,{withAuth:!1})}function g(i){return t.get(`/h5/study-tours/${i}`,{},{withAuth:!1})}function v(i={}){return t.get("/h5/study-tours",i,{withAuth:!1})}function f(i){return t.get(`/h5/activities/${i}/booking-info`,{},{withAuth:!0})}function d(i,e){return t.post(`/h5/activities/${i}/reservations`,e,{withAuth:!0})}function w(i){return t.get("/h5/my/reservations",{},{withAuth:!0})}function A(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.get(`/h5/my/reservations/${i}`,n,{withAuth:!0})}function b(i,e){const n={};return e&&/^1\d{10}$/.test(e)&&(n.visitor_phone=e),t.post(`/h5/my/reservations/${i}/cancel`,n,{withAuth:!0})}export{c as a,i as b,v as c,w as d,b as e,e as f,a as g,r as h,n as i,u as j,o as k,_ as l,h as m,f as n,d as o,s as p,A as q,g as r}; diff --git a/public/h5/assets/coordChina.DSiWE9WA.js b/public/h5/assets/coordChina.DSiWE9WA.js deleted file mode 100644 index a904db1..0000000 --- a/public/h5/assets/coordChina.DSiWE9WA.js +++ /dev/null @@ -1 +0,0 @@ -const t=Math.PI;function n(t,n){return t<72.004||t>137.8347||n<.8293||n>55.8271}function a(a,s){if(n(a,s))return{lng:a,lat:s};const h=6378245,i=.006693421622965943;let M=function(n,a){let s=2*n-100+3*a+.2*a*a+.1*n*a+.2*Math.sqrt(Math.abs(n));return s+=2*(20*Math.sin(6*n*t)+20*Math.sin(2*n*t))/3,s+=2*(20*Math.sin(a*t)+40*Math.sin(a/3*t))/3,s+=2*(160*Math.sin(a/12*t)+320*Math.sin(a*t/30))/3,s}(a-105,s-35),r=function(n,a){let s=300+n+2*a+.1*n*n+.1*n*a+.1*Math.sqrt(Math.abs(n));return s+=2*(20*Math.sin(6*n*t)+20*Math.sin(2*n*t))/3,s+=2*(20*Math.sin(n*t)+40*Math.sin(n/3*t))/3,s+=2*(150*Math.sin(n/12*t)+300*Math.sin(n/30*t))/3,s}(a-105,s-35);const l=s/180*t;let e=Math.sin(l);e=1-i*e*e;const o=Math.sqrt(e);return M=180*M/(h*(1-i)/(e*o)*t),r=180*r/(h/o*Math.cos(l)*t),{lng:a+r,lat:s+M}}function s(t,s){if(n(t,s))return{lng:t,lat:s};let h=t,i=s;for(let n=0;n<2;n++){const n=a(h,i);h=t-(n.lng-h),i=s-(n.lat-i)}return{lng:h,lat:i}}export{s as g,a as w}; diff --git a/public/h5/assets/detail-BN-pxm-i.css b/public/h5/assets/detail-BN-pxm-i.css deleted file mode 100644 index 29aa1cf..0000000 --- a/public/h5/assets/detail-BN-pxm-i.css +++ /dev/null @@ -1 +0,0 @@ -b[data-v-d8ce78bb],strong[data-v-d8ce78bb]{font-weight:400}uni-page-body[data-v-d8ce78bb]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:#f7f8fa;color:#252525;font-weight:400;--brand-color: #05c9ac;--fs-tag: .625rem;--fs-body: .75rem;--fs-subtitle: .875rem;--fs-title: 1rem;--color-text: #252525;--color-text-sub: #8c8c8c}body[data-v-d8ce78bb]{background:#f7f8fa}.font-s[data-v-d8ce78bb]{font-size:var(--fs-body)}.font-m[data-v-d8ce78bb]{font-size:var(--fs-subtitle)}.font-l[data-v-d8ce78bb]{font-size:var(--fs-title)}uni-button[data-v-d8ce78bb],.uni-button[data-v-d8ce78bb]{font-weight:400}.page[data-v-d8ce78bb]{height:100vh;background:#f3f5f7;box-sizing:border-box;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);display:flex;flex-direction:column}.scroll[data-v-d8ce78bb]{flex:1;height:0;min-height:0}.map[data-v-d8ce78bb]{width:100%;height:21.25rem;display:block}.main-card[data-v-d8ce78bb]{margin:-.875rem 0 0;padding:.75rem .75rem .625rem;width:100%;box-sizing:border-box;background:#fff;border-radius:.75rem .75rem 0 0;position:relative;z-index:2;box-shadow:0 -.125rem .75rem rgba(0,0,0,.04)}.main-card.no-map[data-v-d8ce78bb]{margin-top:0;border-radius:0;box-shadow:none}.tour-title[data-v-d8ce78bb]{display:block;font-size:1rem;font-weight:400;color:#252525;line-height:1.35}.act-tags[data-v-d8ce78bb]{display:flex;flex-wrap:nowrap;gap:.25rem;margin-top:.4375rem;height:1.25rem;overflow:hidden;align-items:center}.act-tag-chip[data-v-d8ce78bb]{font-size:.625rem;color:#05c9ac;line-height:.875rem;padding:.125rem .3125rem;background:rgba(5,201,172,.12);border-radius:.1875rem;flex-shrink:0;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta-block[data-v-d8ce78bb]{margin-top:.5625rem;padding:.5rem;background:#f7f8fa;border-radius:.375rem}.meta-row[data-v-d8ce78bb]{display:flex;align-items:flex-start;margin-bottom:.3125rem;font-size:.75rem;line-height:1.5}.meta-row[data-v-d8ce78bb]:last-child{margin-bottom:0}.meta-label[data-v-d8ce78bb]{width:4.375rem;flex-shrink:0;color:#86909c}.meta-value[data-v-d8ce78bb]{flex:1;color:#1d2129;word-break:break-word}.meta-phones[data-v-d8ce78bb]{flex:1}.phone-link[data-v-d8ce78bb]{color:#05c9ac}.venue-row[data-v-d8ce78bb]{position:relative;margin-top:.5625rem;padding:.375rem 3.125rem .4375rem 1.375rem;border-bottom:.03125rem dashed #e9edf2}.venue-row.is-custom[data-v-d8ce78bb]{padding-right:.75rem}.venue-row[data-v-d8ce78bb]:last-child{border-bottom:none}.idx[data-v-d8ce78bb]{position:absolute;left:0;top:.4375rem;width:1rem;height:1rem;line-height:1rem;border-radius:.5rem;text-align:center;font-size:.625rem;color:#fff}.venue-mid[data-v-d8ce78bb]{min-width:0}.name[data-v-d8ce78bb]{font-size:.8125rem;color:#1d2129;line-height:1.5}.addr[data-v-d8ce78bb]{margin-top:.1875rem;font-size:.8125rem;color:#4e5969;line-height:1.5}.go[data-v-d8ce78bb]{position:absolute;right:0;top:.4375rem;font-size:.8125rem;color:#05c9ac}.section-card[data-v-d8ce78bb]{margin:.5rem 0 0;padding:.625rem .75rem;background:#fff}.intro-card[data-v-d8ce78bb]{margin:.5rem 0 0;padding:.625rem .75rem;background:#fff;border-radius:0}.sec-title-row[data-v-d8ce78bb]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:.375rem}.sec-title[data-v-d8ce78bb]{font-size:.875rem;font-weight:400;color:#252525}.expand-arrow-tap[data-v-d8ce78bb]{flex-shrink:0;padding:.25rem;display:flex;align-items:center;justify-content:center}.expand-arrow-img[data-v-d8ce78bb]{width:1.625rem;height:1.625rem;display:block}.intro-rich-wrap[data-v-d8ce78bb]{width:100%;box-sizing:border-box;position:relative}.intro-rich-wrap.is-collapsed[data-v-d8ce78bb]{max-height:5.84375rem;overflow:hidden}.intro-rich-wrap.is-collapsed[data-v-d8ce78bb]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.75rem;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}.intro-rich[data-v-d8ce78bb]{display:block;width:100%;font-size:.8125rem;color:#2c2c2c;line-height:1.8;word-break:break-word}.intro-rich[data-v-d8ce78bb] p,.intro-rich[data-v-d8ce78bb] span,.intro-rich[data-v-d8ce78bb] div,.intro-rich[data-v-d8ce78bb] li,.intro-rich[data-v-d8ce78bb] td,.intro-rich[data-v-d8ce78bb] th{font-size:.8125rem!important;color:#2c2c2c!important;line-height:1.8!important}.intro-rich[data-v-d8ce78bb] p{text-indent:2em}.route-table[data-v-d8ce78bb]{border:.03125rem solid #e5e6eb;border-radius:.25rem;overflow:hidden;font-size:.6875rem}.route-head[data-v-d8ce78bb]{display:flex;background:#f7f8fa;font-weight:500;color:#4e5969;border-bottom:.03125rem solid #e5e6eb}.route-head .c-date[data-v-d8ce78bb],.route-head .c-time[data-v-d8ce78bb],.route-head .c-act[data-v-d8ce78bb],.route-head .c-loc[data-v-d8ce78bb]{padding:.375rem .25rem;box-sizing:border-box;border-right:.03125rem solid #e5e6eb}.route-head .c-loc[data-v-d8ce78bb]{border-right:none}.route-group-grid[data-v-d8ce78bb]{display:grid;grid-template-columns:22% 22% 1fr 24%;border-bottom:.03125rem solid #e5e6eb}.route-group-grid[data-v-d8ce78bb]:last-child{border-bottom:none}.cell-date[data-v-d8ce78bb]{grid-column:1;padding:.375rem .25rem;border-right:.03125rem solid #e5e6eb;display:flex;align-items:center;justify-content:center;text-align:center;word-break:break-all;box-sizing:border-box}.cell-time[data-v-d8ce78bb],.cell-act[data-v-d8ce78bb],.cell-loc[data-v-d8ce78bb]{padding:.375rem .25rem;border-top:.03125rem solid #e5e6eb;border-right:.03125rem solid #e5e6eb;box-sizing:border-box;word-break:break-all}.cell-time[data-v-d8ce78bb]{grid-column:2}.cell-act[data-v-d8ce78bb]{grid-column:3}.cell-loc[data-v-d8ce78bb]{grid-column:4;border-right:none;display:flex;align-items:center}.c-date[data-v-d8ce78bb],.c-time[data-v-d8ce78bb]{width:22%}.c-act[data-v-d8ce78bb]{flex:1}.c-loc[data-v-d8ce78bb]{width:24%}.course-item[data-v-d8ce78bb]{padding:.5rem 0;border-bottom:.03125rem dashed #e9edf2}.course-item[data-v-d8ce78bb]:last-child{border-bottom:none}.course-head[data-v-d8ce78bb]{display:flex;align-items:center;gap:.375rem}.course-no[data-v-d8ce78bb]{width:1.125rem;height:1.125rem;line-height:1.125rem;text-align:center;border-radius:.5625rem;background:rgba(5,201,172,.15);color:#05c9ac;font-size:.6875rem}.course-name[data-v-d8ce78bb]{font-size:.8125rem;color:#1d2129}.course-content[data-v-d8ce78bb]{display:block;margin-top:.25rem;padding-left:1.5rem;font-size:.75rem;color:#4e5969;line-height:1.6}.safe-bottom[data-v-d8ce78bb]{height:1.5rem} diff --git a/public/h5/assets/detail-BRErN3UC.css b/public/h5/assets/detail-BRErN3UC.css new file mode 100644 index 0000000..3d18621 --- /dev/null +++ b/public/h5/assets/detail-BRErN3UC.css @@ -0,0 +1 @@ +b[data-v-94f73ba8],strong[data-v-94f73ba8]{font-weight:400}uni-page-body[data-v-94f73ba8]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:#f7f8fa;color:#252525;font-weight:400;--brand-color: #05c9ac;--fs-tag: .625rem;--fs-body: .75rem;--fs-subtitle: .875rem;--fs-title: 1rem;--color-text: #252525;--color-text-sub: #8c8c8c}body[data-v-94f73ba8]{background:#f7f8fa}.font-s[data-v-94f73ba8]{font-size:var(--fs-body)}.font-m[data-v-94f73ba8]{font-size:var(--fs-subtitle)}.font-l[data-v-94f73ba8]{font-size:var(--fs-title)}uni-button[data-v-94f73ba8],.uni-button[data-v-94f73ba8]{font-weight:400}.page[data-v-94f73ba8]{height:100vh;background:#f3f5f7;box-sizing:border-box;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);display:flex;flex-direction:column}.scroll[data-v-94f73ba8]{flex:1;height:0;min-height:0}.cover-wrap[data-v-94f73ba8]{position:relative;width:100%;aspect-ratio:2/1;overflow:hidden}.cover-img[data-v-94f73ba8]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.main-card[data-v-94f73ba8]{margin:-.875rem 0 0;padding:.75rem .75rem .625rem;width:100%;box-sizing:border-box;background:#fff;border-radius:.75rem .75rem 0 0;position:relative;z-index:2;box-shadow:0 -.125rem .75rem rgba(0,0,0,.04)}.tour-title[data-v-94f73ba8]{display:block;font-size:1rem;font-weight:400;color:#252525;line-height:1.35}.act-tags[data-v-94f73ba8]{display:flex;flex-wrap:nowrap;gap:.25rem;margin-top:.4375rem;height:1.25rem;overflow:hidden;align-items:center}.act-tag-chip[data-v-94f73ba8]{font-size:.625rem;color:#05c9ac;line-height:.875rem;padding:.125rem .3125rem;background:rgba(5,201,172,.12);border-radius:.1875rem;flex-shrink:0;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta-block[data-v-94f73ba8]{margin-top:.5625rem;padding:.5rem;background:#f7f8fa;border-radius:.375rem}.meta-row[data-v-94f73ba8]{display:flex;align-items:flex-start;margin-bottom:.3125rem;font-size:.75rem;line-height:1.5}.meta-row[data-v-94f73ba8]:last-child{margin-bottom:0}.meta-label[data-v-94f73ba8]{width:4.375rem;flex-shrink:0;color:#86909c}.meta-value[data-v-94f73ba8]{flex:1;color:#1d2129;word-break:break-word}.meta-phones[data-v-94f73ba8]{flex:1}.phone-link[data-v-94f73ba8]{color:#05c9ac}.venue-row[data-v-94f73ba8]{position:relative;margin-top:.5625rem;padding:.375rem 3.125rem .4375rem 1.375rem;border-bottom:.03125rem dashed #e9edf2}.venue-row.is-custom[data-v-94f73ba8]{padding-right:.75rem}.venue-row[data-v-94f73ba8]:last-child{border-bottom:none}.idx[data-v-94f73ba8]{position:absolute;left:0;top:.4375rem;width:1rem;height:1rem;line-height:1rem;border-radius:.5rem;text-align:center;font-size:.625rem;color:#fff}.venue-mid[data-v-94f73ba8]{min-width:0}.name[data-v-94f73ba8]{font-size:.8125rem;color:#1d2129;line-height:1.5}.addr[data-v-94f73ba8]{margin-top:.1875rem;font-size:.8125rem;color:#4e5969;line-height:1.5}.go[data-v-94f73ba8]{position:absolute;right:0;top:.4375rem;font-size:.8125rem;color:#05c9ac}.section-card[data-v-94f73ba8]{margin:.5rem 0 0;padding:.625rem .75rem;background:#fff}.intro-card[data-v-94f73ba8]{margin:.5rem 0 0;padding:.625rem .75rem;background:#fff;border-radius:0}.sec-title-row[data-v-94f73ba8]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:.375rem}.sec-title[data-v-94f73ba8]{font-size:.875rem;font-weight:400;color:#252525}.expand-arrow-tap[data-v-94f73ba8]{flex-shrink:0;padding:.25rem;display:flex;align-items:center;justify-content:center}.expand-arrow-img[data-v-94f73ba8]{width:1.625rem;height:1.625rem;display:block}.intro-rich-wrap[data-v-94f73ba8]{width:100%;box-sizing:border-box;position:relative}.intro-rich-wrap.is-collapsed[data-v-94f73ba8]{max-height:5.84375rem;overflow:hidden}.intro-rich-wrap.is-collapsed[data-v-94f73ba8]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.75rem;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}.intro-rich[data-v-94f73ba8]{display:block;width:100%;font-size:.8125rem;color:#2c2c2c;line-height:1.8;word-break:break-word}.intro-rich[data-v-94f73ba8] p,.intro-rich[data-v-94f73ba8] span,.intro-rich[data-v-94f73ba8] div,.intro-rich[data-v-94f73ba8] li,.intro-rich[data-v-94f73ba8] td,.intro-rich[data-v-94f73ba8] th{font-size:.8125rem!important;color:#2c2c2c!important;line-height:1.8!important}.intro-rich[data-v-94f73ba8] p{text-indent:2em}.route-table[data-v-94f73ba8]{border:.03125rem solid #e5e6eb;border-radius:.25rem;overflow:hidden;font-size:.6875rem}.route-head[data-v-94f73ba8]{display:flex;background:#f7f8fa;font-weight:500;color:#4e5969;border-bottom:.03125rem solid #e5e6eb}.route-head .c-date[data-v-94f73ba8],.route-head .c-time[data-v-94f73ba8],.route-head .c-act[data-v-94f73ba8],.route-head .c-loc[data-v-94f73ba8]{padding:.375rem .25rem;box-sizing:border-box;border-right:.03125rem solid #e5e6eb}.route-head .c-loc[data-v-94f73ba8]{border-right:none}.route-group-grid[data-v-94f73ba8]{display:grid;grid-template-columns:22% 22% 1fr 24%;border-bottom:.03125rem solid #e5e6eb}.route-group-grid[data-v-94f73ba8]:last-child{border-bottom:none}.cell-date[data-v-94f73ba8]{grid-column:1;padding:.375rem .25rem;border-right:.03125rem solid #e5e6eb;display:flex;align-items:center;justify-content:center;text-align:center;word-break:break-all;box-sizing:border-box}.cell-time[data-v-94f73ba8],.cell-act[data-v-94f73ba8],.cell-loc[data-v-94f73ba8]{padding:.375rem .25rem;border-top:.03125rem solid #e5e6eb;border-right:.03125rem solid #e5e6eb;box-sizing:border-box;word-break:break-all}.cell-time[data-v-94f73ba8]{grid-column:2}.cell-act[data-v-94f73ba8]{grid-column:3}.cell-loc[data-v-94f73ba8]{grid-column:4;border-right:none;display:flex;align-items:center}.c-date[data-v-94f73ba8],.c-time[data-v-94f73ba8]{width:22%}.c-act[data-v-94f73ba8]{flex:1}.c-loc[data-v-94f73ba8]{width:24%}.course-item[data-v-94f73ba8]{padding:.5rem 0;border-bottom:.03125rem dashed #e9edf2}.course-item[data-v-94f73ba8]:last-child{border-bottom:none}.course-head[data-v-94f73ba8]{display:flex;align-items:center;gap:.375rem}.course-no[data-v-94f73ba8]{width:1.125rem;height:1.125rem;line-height:1.125rem;text-align:center;border-radius:.5625rem;background:rgba(5,201,172,.15);color:#05c9ac;font-size:.6875rem}.course-name[data-v-94f73ba8]{font-size:.8125rem;color:#1d2129}.course-content[data-v-94f73ba8]{display:block;margin-top:.25rem;padding-left:1.5rem;font-size:.75rem;color:#4e5969;line-height:1.6}.safe-bottom[data-v-94f73ba8]{height:1.5rem} diff --git a/public/h5/assets/index-CC6J0dtG.js b/public/h5/assets/index-D9YO76Ut.js similarity index 96% rename from public/h5/assets/index-CC6J0dtG.js rename to public/h5/assets/index-D9YO76Ut.js index 199dce8..4479192 100644 --- a/public/h5/assets/index-CC6J0dtG.js +++ b/public/h5/assets/index-D9YO76Ut.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.BwLscgpE.js","assets/peopleCounting.CH-rEjWp.js","assets/poster.C6TYC1FC.js","assets/search.BJnl3YRK.js","assets/suzhouDistrictPolygons.CpNycQAn.js","assets/coordChina.DSiWE9WA.js","assets/activity.CPaCOiZ6.js","assets/TiandituMap.phxVrsFe.js","assets/TiandituMap-CYZgwKMn.css","assets/venueTypes.DuAf5T5V.js","assets/venueThemeColors.DRxjaxXI.js","assets/text.BxMbQPAt.js","assets/index-hK3ZiQtD.css","assets/pages-map-index.7Ur7Md9J.js","assets/content.BfcEEng6.js","assets/index-C9msxzml.css","assets/pages-activity-index.CpOqsSzs.js","assets/index-Ev-zz9w9.css","assets/pages-discover-index.DMFdGkDJ.js","assets/index-VYwrAfu5.css","assets/pages-mine-index.BigDkNCj.js","assets/profile.CBiER3ty.js","assets/localProfile.w3dNAYL8.js","assets/index-By93HabS.css","assets/pages-mine-profile.Cx1vm1pe.js","assets/profile-DLIKTfa7.css","assets/pages-mine-orders.jHn0X0qO.js","assets/datetime.BfIJTcZ8.js","assets/orders-ClQENAoQ.css","assets/pages-activity-detail.D42i0ZGw.js","assets/phone.CX37tqZE.js","assets/icon8.D8UBMaA-.js","assets/icon_up.DJ5zmdk8.js","assets/detail-NX6FAsUy.css","assets/pages-activity-behind-scenes.Ba9BUMxV.js","assets/behind-scenes-CVvncTcL.css","assets/pages-activity-registrations.CBIb58lK.js","assets/registrations-DG7cUV1L.css","assets/pages-ticket-grab-detail.zhd9RT8q.js","assets/richText.Cl1iMeI3.js","assets/icon2.fcm2h4jI.js","assets/detail-CUWVkJGs.css","assets/pages-ticket-grab-reserve.DM2tgpLy.js","assets/reserve-CMQMb2Cl.css","assets/pages-activity-reserve.CLL5_v0n.js","assets/reserve-1zeZLEXH.css","assets/pages-mine-reservation-detail.DJgfBOw9.js","assets/reservation-detail-DlApvrOE.css","assets/pages-study-tour-detail.DXNgTVif.js","assets/detail-BN-pxm-i.css","assets/pages-venue-detail.DR_idxYG.js","assets/detail-6eUjAaxi.css","assets/pages-stats-index.I6pKoYw2.js","assets/index-D8PVJuN_.css","assets/pages-traffic-index.BZrXn9cM.js","assets/index-BTD3bE7Y.css"] + __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.C5qF5PDt.js","assets/peopleCounting.BfwgNXhn.js","assets/poster.C6TYC1FC.js","assets/search.BJnl3YRK.js","assets/suzhouDistrictPolygons.C_blUQfv.js","assets/activity.CPaCOiZ6.js","assets/venueTypes.DuAf5T5V.js","assets/venueThemeColors.DRxjaxXI.js","assets/text.BxMbQPAt.js","assets/index-DFbFISSF.css","assets/pages-map-index.BWtgkiYt.js","assets/content.CWxBtEbN.js","assets/index-C9msxzml.css","assets/pages-activity-index.DFRXtq0i.js","assets/index-Ev-zz9w9.css","assets/pages-discover-index.Rr3PZ3j4.js","assets/index-VYwrAfu5.css","assets/pages-mine-index.CbEaOtOy.js","assets/profile.DNiRgAnN.js","assets/localProfile.DAR2ddcd.js","assets/index-By93HabS.css","assets/pages-mine-profile.B0i8Br8b.js","assets/profile-DLIKTfa7.css","assets/pages-mine-orders.DSJn__4h.js","assets/datetime.BfIJTcZ8.js","assets/orders-ClQENAoQ.css","assets/pages-activity-detail.CwCFh4m6.js","assets/phone.BuoI0HSZ.js","assets/icon8.D8UBMaA-.js","assets/icon_up.DJ5zmdk8.js","assets/detail-NX6FAsUy.css","assets/pages-activity-behind-scenes.DJIyEJWF.js","assets/behind-scenes-CVvncTcL.css","assets/pages-activity-registrations.Dm0eI0G7.js","assets/registrations-DG7cUV1L.css","assets/pages-ticket-grab-detail.GEKRgo9i.js","assets/richText.Cl1iMeI3.js","assets/icon2.fcm2h4jI.js","assets/detail-CUWVkJGs.css","assets/pages-ticket-grab-reserve.Dq3BP2x1.js","assets/reserve-CMQMb2Cl.css","assets/pages-activity-reserve.GaDhZhMR.js","assets/reserve-1zeZLEXH.css","assets/pages-mine-reservation-detail.CluhMTEj.js","assets/reservation-detail-DlApvrOE.css","assets/pages-study-tour-detail.8Ku-CFZm.js","assets/detail-BRErN3UC.css","assets/pages-venue-detail.DZRhch0b.js","assets/detail-6eUjAaxi.css","assets/pages-stats-index.C9uW77Qa.js","assets/index-D8PVJuN_.css","assets/pages-traffic-index.ObsDwTJH.js","assets/index-BTD3bE7Y.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -22,9 +22,9 @@ function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const o={},r=[] * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT - */(e);if(!o)return;const r=t._component;g(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const ra="undefined"!=typeof document;function ia(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const sa=Object.assign;function aa(e,t){const n={};for(const o in t){const r=t[o];n[o]=ca(r)?r.map(e):e(r)}return n}const la=()=>{},ca=Array.isArray,ua=/#/g,da=/&/g,fa=/\//g,ha=/=/g,pa=/\?/g,ma=/\+/g,ga=/%5B/g,va=/%5D/g,ya=/%5E/g,ba=/%60/g,_a=/%7B/g,wa=/%7C/g,xa=/%7D/g,Ta=/%20/g;function Sa(e){return encodeURI(""+e).replace(wa,"|").replace(ga,"[").replace(va,"]")}function Ca(e){return Sa(e).replace(ma,"%2B").replace(Ta,"+").replace(ua,"%23").replace(da,"%26").replace(ba,"`").replace(_a,"{").replace(xa,"}").replace(ya,"^")}function ka(e){return Ca(e).replace(ha,"%3D")}function Ea(e){return null==e?"":function(e){return Sa(e).replace(ua,"%23").replace(pa,"%3F")}(e).replace(fa,"%2F")}function Oa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function La(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Oa(s)}}function $a(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ma(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Aa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ia(e[n],t[n]))return!1;return!0}function Ia(e,t){return ca(e)?Ra(e,t):ca(t)?Ra(t,e):e===t}function Ra(e,t){return ca(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Ba={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Da,Na,ja,Fa;function Va(e){if(!e)if(ra){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Pa,"")}(Na=Da||(Da={})).pop="pop",Na.push="push",(Fa=ja||(ja={})).back="back",Fa.forward="forward",Fa.unknown="";const Wa=/^[^#]+#/;function qa(e,t){return e.replace(Wa,"#")+t}const Ha=()=>({left:window.scrollX,top:window.scrollY});function za(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Ua(e,t){return(history.state?history.state.position-t:-1)+e}const Ya=new Map;function Xa(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),$a(n,"")}return $a(n,e)+o+r}function Ka(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ha():null}}function Ga(e){const{history:t,location:n}=window,o={value:Xa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=sa({},r.value,t.state,{forward:e,scroll:Ha()});i(s.current,s,!0),i(e,sa({},Ka(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,sa({},t.state,Ka(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Ja(e){const t=Ga(e=Va(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Xa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach(e=>{e(n.value,l,{delta:u,type:Da.pop,direction:u?u>0?ja.forward:ja.back:ja.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(sa({},e.state,{scroll:Ha()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=sa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:qa.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Za(e){return"string"==typeof e||"symbol"==typeof e}const Qa=Symbol("");var el,tl;function nl(e,t){return sa(new Error,{type:e,[Qa]:!0},t)}function ol(e,t){return e instanceof Error&&Qa in e&&(null==t||!!(e.type&t))}(tl=el||(el={}))[tl.aborted=4]="aborted",tl[tl.cancelled=8]="cancelled",tl[tl.duplicated=16]="duplicated";const rl="[^/]+?",il={sensitive:!1,strict:!1,start:!0,end:!0},sl=/[.+*?^${}()[\]/\\]/g;function al(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function ll(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ul={type:0,value:""},dl=/[a-zA-Z0-9_]/;function fl(e,t,n){const o=function(e,t){const n=sa({},il,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:la}function i(e){if(Za(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;ll(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(bl(t)&&0===ll(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!gl(e)&&o.set(e.record.name,e)}return t=yl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>r(e)),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw nl(1,{location:e});s=r.record.name,a=sa(pl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&pl(e.params,r.keys.map(e=>e.name))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find(e=>e.re.test(i)),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!r)throw nl(1,{location:e,currentLocation:t});s=r.record.name,a=sa({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:vl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function pl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ml(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function gl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vl(e){return e.reduce((e,t)=>sa(e,t.meta),{})}function yl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function bl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _l(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ca(e)):[o&&Ca(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function xl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ca(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Tl=Symbol(""),Sl=Symbol(""),Cl=Symbol(""),kl=Symbol(""),El=Symbol("");function Ol(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Pl(e,t,n,o,r,i=e=>e()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=e=>{var i;!1===e?l(nl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(nl(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Ll(e,t,n,o,r=e=>e()){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(ia(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Pl(l,n,o,s,e,r))}else{let l=a();i.push(()=>l.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&ia(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,r)()}))}}return i}function $l(e){const t=Jr(Cl),n=Jr(kl),o=rs(()=>{const n=Fn(e.to);return t.resolve(n)}),r=rs(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Ma.bind(null,r));if(s>-1)return s;const a=Al(e[t-2]);return t>1&&Al(r)===a&&i[i.length-1].path!==a?i.findIndex(Ma.bind(null,e[t-2])):s}),i=rs(()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!ca(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),s=rs(()=>r.value>-1&&r.value===n.matched.length-1&&Aa(n.params,o.value.params));return{route:o,href:rs(()=>o.value.href),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(la):Promise.resolve()}}}const Ml=Jo({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:$l,setup(e,{slots:t}){const n=_n($l(e)),{options:o}=Jr(Cl),r=rs(()=>({[Il(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Il(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:is("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Al(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Il=(e,t,n)=>null!=e?e:null!=t?t:n;function Rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Bl=Jo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Jr(El),r=rs(()=>e.route||o.value),i=Jr(Sl,0),s=rs(()=>{let e=Fn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=rs(()=>r.value.matched[s.value]);Gr(Sl,rs(()=>s.value+1)),Gr(Tl,a),Gr(El,r);const l=Bn();return Ao(()=>[l.value,a.value,e.name],([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Ma(t,r)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Rl(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=is(c,sa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Rl(n.default,{Component:f,route:o})||f}}});function Dl(e){const t=hl(e.routes,e),n=e.parseQuery||_l,o=e.stringifyQuery||wl,r=e.history,i=Ol(),s=Ol(),a=Ol(),l=Dn(Ba);let c=Ba;ra&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=aa.bind(null,e=>""+e),d=aa.bind(null,Ea),f=aa.bind(null,Oa);function h(e,i){if(i=sa({},i||l.value),"string"==typeof e){const o=La(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return sa(o,s,{params:f(s.params),hash:Oa(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=sa({},e,{path:La(n,e.path,i.path).path});else{const t=sa({},e.params);for(const e in t)null==t[e]&&delete t[e];s=sa({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,sa({},e,{hash:(p=c,Sa(p).replace(_a,"{").replace(xa,"}").replace(ya,"^")),path:a.path}));var p;const m=r.createHref(h);return sa({fullPath:h,hash:c,query:o===wl?xl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function p(e){return"string"==typeof e?La(n,e,l.value.path):sa({},e)}function m(e,t){if(c!==e)return nl(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=p(o):{path:o},o.params={}),sa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=h(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(sa(p(u),{state:"object"==typeof u?sa({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Ma(t.matched[o],n.matched[r])&&Aa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=nl(16,{to:d,from:r}),$(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch(e=>ol(e)?ol(e,2)?e:L(e):P(e,d,r)).then(e=>{if(e){if(ol(e,2))return y(sa({replace:a},p(e.to),{state:"object"==typeof e.to?sa({},i,e.to.state):i,force:s}),t||d)}else e=T(d,r,!0,a,i);return x(d,r,e),e})}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sMa(e,i))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(e=>Ma(e,a))||r.push(a))}return[n,o,r]}(e,t);n=Ll(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),B(n).then(()=>{n=[];for(const o of i.list())n.push(Pl(o,e,t));return n.push(l),B(n)}).then(()=>{n=Ll(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),B(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ca(o.beforeEnter))for(const r of o.beforeEnter)n.push(Pl(r,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),B(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ll(a,"beforeRouteEnter",e,t,_),n.push(l),B(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),B(n)}).catch(e=>ol(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function T(e,t,n,o,i){const s=m(e,t);if(s)return s;const a=t===Ba,c=ra?history.state:{};n&&(o||a?r.replace(e.fullPath,sa({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,$(e,t,n,a),L()}let S;function C(){S||(S=r.listen((e,t,n)=>{if(!R.listening)return;const o=h(e),i=v(o);if(i)return void y(sa(i,{replace:!0}),o).catch(la);c=o;const s=l.value;var a,u;ra&&(a=Ua(s.fullPath,n.delta),u=Ha(),Ya.set(a,u)),w(o,s).catch(e=>ol(e,12)?e:ol(e,2)?(y(e.to,o).then(e=>{ol(e,20)&&!n.delta&&n.type===Da.pop&&r.go(-1,!1)}).catch(la),Promise.reject()):(n.delta&&r.go(-n.delta,!1),P(e,o,s))).then(e=>{(e=e||T(o,s,!1))&&(n.delta&&!ol(e,8)?r.go(-n.delta,!1):n.type===Da.pop&&ol(e,20)&&r.go(-1,!1)),x(o,s,e)}).catch(la)}))}let k,E=Ol(),O=Ol();function P(e,t,n){L(e);const o=O.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function L(e){return k||(k=!e,C(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!ra||!i)return Promise.resolve();const s=!o&&function(e){const t=Ya.get(e);return Ya.delete(e),t}(Ua(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return no().then(()=>i(t,n,s)).then(e=>e&&za(e)).catch(e=>P(e,t,n))}const M=e=>r.go(e);let A;const I=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return Za(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:h,options:e,push:g,replace:function(e){return g(sa(p(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return k&&l.value!==Ba?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",Ml),e.component("RouterView",Bl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),ra&&!A&&l.value===Ba&&(A=!0,g(r.location).catch(e=>{}));const t={};for(const o in Ba)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Cl,this),e.provide(kl,wn(t)),e.provide(El,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=Ba,S&&S(),S=null,l.value=Ba,A=!1,k=!1),n()}}};function B(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return R}function Nl(e){return Jr(kl)}const jl=["{","}"];const Fl=/^(?:\d)+/,Vl=/^(?:\w)+/;const Wl="zh-Hans",ql="zh-Hant",Hl="en",zl="fr",Ul="es",Yl=Object.prototype.hasOwnProperty,Xl=(e,t)=>Yl.call(e,t),Kl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=jl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?Wl:e.indexOf("-hant")>-1?ql:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?ql:Wl);var n;let o=[Hl,zl,Ul];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return r||void 0}class Jl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Hl,this.fallbackLocale=Hl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Kl,this.messages=n||{},this.setLocale(e||Hl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Gl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach(e=>{Xl(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Gl(t,this.messages))&&(o=this.messages[t]):n=t,Xl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Zl(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&yf?yf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Hl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Hl);const r=new Jl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=ag().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function Ql(e,t){return e.indexOf(t[0])>-1}const ec=Ie(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let tc;function nc(e){return Ql(e,te)?ic().f(e,function(){const e=yf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function oc(e,t){if(1===t.length){if(e){const n=e=>v(e)&&Ql(e,te),o=t[0];let r=[];if(h(e)&&(r=e.filter(e=>n(e[o]))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return oc(e&&e[n],t)}function rc(e,t){const n=oc(e,t);if(!n)return!1;const o=t[t.length-1];if(h(n))n.forEach(e=>rc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>nc(e),set(t){e=t}})}return!0}function ic(){if(!tc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,tc=Zl(e),ec()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>tc.add(e,__uniConfig.locales[e])),tc.setLocale(e)}}return tc}function sc(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const ac=Ie(()=>{const e="uni.async.",t=["error"];ic().add(Hl,sc(e,t,["The connection timed out, click the screen to try again."]),!1),ic().add(Ul,sc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),ic().add(zl,sc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),ic().add(Wl,sc(e,t,["连接服务器超时,点击屏幕重试"]),!1),ic().add(ql,sc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),lc=Ie(()=>{const e="uni.showToast.",t=["unpaired"];ic().add(Hl,sc(e,t,["Please note showToast must be paired with hideToast"]),!1),ic().add(Ul,sc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),ic().add(zl,sc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),ic().add(Wl,sc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),ic().add(ql,sc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),cc=Ie(()=>{const e="uni.showLoading.",t=["unpaired"];ic().add(Hl,sc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),ic().add(Ul,sc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),ic().add(zl,sc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),ic().add(Wl,sc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),ic().add(ql,sc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),uc=Ie(()=>{const e="uni.showModal.",t=["cancel","confirm"];ic().add(Hl,sc(e,t,["Cancel","OK"]),!1),ic().add(Ul,sc(e,t,["Cancelar","OK"]),!1),ic().add(zl,sc(e,t,["Annuler","OK"]),!1),ic().add(Wl,sc(e,t,["取消","确定"]),!1),ic().add(ql,sc(e,t,["取消","確定"]),!1)}),dc=Ie(()=>{const e="uni.chooseFile.",t=["notUserActivation"];ic().add(Hl,sc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),ic().add(Ul,sc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),ic().add(zl,sc(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),ic().add(Wl,sc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),ic().add(ql,sc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),fc=Ie(()=>{const e="uni.setClipboardData.",t=["success","fail"];ic().add(Hl,sc(e,t,["Content copied","Copy failed, please copy manually"]),!1),ic().add(Ul,sc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),ic().add(zl,sc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),ic().add(Wl,sc(e,t,["内容已复制","复制失败,请手动复制"]),!1),ic().add(ql,sc(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),hc=Ie(()=>{const e="uni.picker.",t=["done","cancel"];ic().add(Hl,sc(e,t,["Done","Cancel"]),!1),ic().add(Ul,sc(e,t,["OK","Cancelar"]),!1),ic().add(zl,sc(e,t,["OK","Annuler"]),!1),ic().add(Wl,sc(e,t,["完成","取消"]),!1),ic().add(ql,sc(e,t,["完成","取消"]),!1)}),pc=Ie(()=>{const e="uni.video.",t=["danmu","volume"];ic().add(Hl,sc(e,t,["Danmu","Volume"]),!1),ic().add(Ul,sc(e,t,["Danmu","Volumen"]),!1),ic().add(zl,sc(e,t,["Danmu","Le Volume"]),!1),ic().add(Wl,sc(e,t,["弹幕","音量"]),!1),ic().add(ql,sc(e,t,["彈幕","音量"]),!1)});function mc(e){const t=new at;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const gc="invokeViewApi",vc="invokeServiceApi";let yc=1;const bc=Object.create(null);function _c(e,t){return e+"."+t}function wc(e,t,n){t=_c(e,t),bc[t]||(bc[t]=n)}function xc({id:e,name:t,args:n},o){t=_c(o,t);const r=t=>{e&&ny.publishHandler(gc+"."+e,t)},i=bc[t];i?i(n,r):r({})}const Tc=c(mc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=ny,i=n?yc++:0;n&&o(vc+"."+i,n,!0),r(vc,{id:i,name:e,args:t})}}),Sc=Xe(!0);let Cc;function kc(){Cc&&(clearTimeout(Cc),Cc=null)}let Ec=0,Oc=0;function Pc(e){if(kc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ec=t,Oc=n,Cc=setTimeout(function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)},350)}function Lc(e){if(!Cc)return;if(1!==e.touches.length)return kc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ec)>10||Math.abs(n-Oc)>10?kc():void 0}function $c(e,t){const n=Number(e);return isNaN(n)?t:n}function Mc(){const e=__uniConfig.globalStyle||{},t=$c(e.rpxCalcMaxDeviceWidth,960),n=$c(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Rc,Bc=["top","left","right","bottom"],Dc={};function Nc(){return Rc="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function jc(){if(Rc="string"==typeof Rc?Rc:Nc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Bc.forEach(function(e){s(o,e)}),document.body.appendChild(o),i(),Ic=!0}else Bc.forEach(function(e){Dc[e]=0});function r(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function i(t){t?e.push(t):e.forEach(function(e){e()})}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Rc+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Vc.length||setTimeout(function(){var e={};Vc.forEach(function(t){e[t]=Dc[t]}),Vc.length=0,Wc.forEach(function(t){t(e)})},0);Vc.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(Dc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Fc(e){return Ic||jc(),Dc[e]}var Vc=[];var Wc=[];const qc=Ac({get support(){return 0!=("string"==typeof Rc?Rc:Nc()).length},get top(){return Fc("top")},get left(){return Fc("left")},get right(){return Fc("right")},get bottom(){return Fc("bottom")},onChange:function(e){Nc()&&(Ic||jc(),"function"==typeof e&&Wc.push(e))},offChange:function(e){var t=Wc.indexOf(e);t>=0&&Wc.splice(t,1)}}),Hc=ea(()=>{},["prevent"]),zc=ea(e=>{},["stop"]);function Uc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Yc(){const e=Uc(document.documentElement.style,"--window-top");return e?e+qc.top:0}function Xc(){const e=document.documentElement.style,t=Yc(),n=Uc(e,"--window-bottom"),o=Uc(e,"--window-left"),r=Uc(e,"--window-right"),i=Uc(e,"--top-window-height");return{top:t,bottom:n?n+qc.bottom:0,left:o?o+qc.left:0,right:r?r+qc.right:0,topWindowHeight:i||0}}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Gc(e){return Kc(e)}function Jc(e){return Symbol(e)}function Zc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Qc(e,t=!1){if(t)return function(e){if(!Zc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>Kd(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Zc(e)?Kd(t):t}return e}function eu(e){return e.$page}function tu(e){return 0===e.tagName.indexOf("UNI-")}const nu="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",ou="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";function ru(e,t="#000",n=27){return Ri("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Ri("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){{const{$pageInstance:e}=Yi();return e&&hu(e.proxy)}}function su(e){const t=je(e);if(t.$page)return hu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return hu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?hu(n):void 0}function au(){const e=xh(),t=e.length;if(t)return e[t-1]}function lu(){var e;const t=null==(e=au())?void 0:e.$page;if(t)return t.meta}function cu(){const e=lu();return e?e.id:-1}function uu(){const e=au();if(e)return e.$vm}const du=["navigationBar","pullToRefresh"];function fu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);du.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function hu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function pu(e,t,n){if(v(e))n=t,t=e,e=uu();else if("number"==typeof e){const t=xh().find(t=>eu(t).id===e);e=t?t.$vm:uu()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-vu)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(vu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(gu=setTimeout(s,300))),o=!1};return function(){clearTimeout(gu),o||requestAnimationFrame(s),o=!0}}function bu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return bu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),Ae(i.concat(n).join("/"))}function _u(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function wu(){Mc(),ze(tu),window.addEventListener("touchstart",Pc,Sc),window.addEventListener("touchmove",Lc,Sc),window.addEventListener("touchend",kc,Sc),window.addEventListener("touchcancel",kc,Sc)}class xu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Ve(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter(e=>e.el&&Ve(e.el));if(e.length>0)return t?e.map(e=>e.el):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=ku(this.$el.querySelector(e));return t?Tu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&ny.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce((e,n)=>(e[n]=t[n],e),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Tu(e,t=!0){if(t&&e&&(e=Fe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new xu(e)),e.$el.__wxsComponentDescriptor}function Su(e,t){return Tu(e,t)}function Cu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Su(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Fe(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Su(r,!1)]}}function ku(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Eu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Ke(t?r:function(e){for(;!tu(e);)e=e.parentElement;return e}(r)),a=Ke(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&T(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Ou(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Pu(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Yc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Ou(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Yc();i.touches=Pu(e.touches,t),i.changedTouches=Pu(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(i,t,{get:()=>e[t]})})}return Cu(i,t,n)||[i]},createNativeEvent:Eu},Symbol.toStringTag,{value:"Module"});function $u(e){!function(e){const t=e.globalProperties;c(t,Lu),t.$gcd=Su}(e._context.config)}let Mu=1;function Au(e){return(e||cu())+"."+gc}const Iu=c(mc("view"),{invokeOnCallback:(e,t)=>oy.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=oy,s=o?Mu++:0;o&&r(gc+"."+s,o,!0),i(Au(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=oy,a=Mu++,l=gc+"."+a;return r(l,n),s(Au(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Ru(e){pu(au(),me,e),oy.invokeOnCallback("onWindowResize",e)}function Bu(e){const t=au();pu(ag(),re,e),pu(t,re)}function Du(){pu(ag(),ie),pu(au(),ie)}const Nu=[ve,be];function ju(){Nu.forEach(e=>oy.subscribe(e,function(e){return(t,n)=>{pu(parseInt(n),e,t)}}(e)))}function Fu(){!function(){const{on:e}=oy;e(me,Ru),e(Le,Bu),e($e,Du)}(),ju()}function Vu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new tt(this.$page.id)),e.eventChannel}}function Wu(e){e._context.config.globalProperties.getOpenerEventChannel=Vu}function qu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Hu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${Kd(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function zu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach(e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(s=s.map(Hu)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Hu(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach(t=>{e.$el.style[t]=a[t]}),n+=1,n{i()},0)}const Uu={props:["animation"],watch:{animation:{deep:!0,handler(){zu(this)}}},mounted(){zu(this)}},Yu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Uu),Xu(e)},Xu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Jo(e));function Ku(e){return e.__wwe=!0,e}function Gu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Ke(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ju={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Zu(e){const t=Bn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout(()=>{t.value=!0,r||i()},parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ku(function(e){e.touches.length>1||s(e)}),onMousedown:Ku(function(e){r||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ku(function(){a()}),onMouseup:Ku(function(){r&&l()}),onTouchcancel:Ku(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Qu(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ed=Jc("uf"),td=Jc("ul");function nd(e,t,n){const o=iu();n&&!e||T(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&ny.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?ny.on(r,t[r]):e&&ny.on(`uni-${r}-${o}-${e}`,t[r])})}function od(e,t,n){const o=iu();n&&!e||T(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&ny.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?ny.off(r,t[r]):e&&ny.off(`uni-${r}-${o}-${e}`,t[r])})}const rd=Yu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Bn(null),o=Jr(ed,!1),{hovering:r,binding:i}=Zu(e),s=Ku((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;}),a=Jr(td,!1);return a&&(a.addHandler(s),_r(()=>{a.removeHandler(s)})),function(e,t){nd(e.id,t),Ao(()=>e.id,(e,n)=>{od(n,t,!0),nd(e,t,!0)}),wr(()=>{od(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Qu(e,"disabled"),l=Qu(e,"loading"),c=Qu(e,"plain"),u=o&&"none"!==o;return Ri("uni-button",Wi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),id=Jc("upm");function sd(){return Jr(id)}function ad(e){const t=function(e){return _n(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Qc(e.offset)),e.height&&(e.height=Qc(e.height)),e.range&&(e.range=Qc(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+qc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==xh().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(fu(Nl().meta,e)))))}(e);return Gr(id,t),t}function ld(){return Nl()}function cd(){return history.state&&history.state.__id__||1}const ud=["original","compressed"],dd=["album","camera"],fd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function hd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function pd(e,t){return!h(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function md(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let gd=1;const vd={};function yd(e,t,n){if("number"==typeof e){const o=vd[e];if(o)return o.keepAlive||delete vd[e],o.callback(t,n)}return t}const bd="success",_d="fail",wd="complete";function xd(e,t={},{beforeAll:n,beforeSuccess:o}={}){T(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=md(o),delete e[n])}return t}(t),a=g(r),l=g(i),c=g(s),u=gd++;return function(e,t,n,o=!1){vd[e]={name:t,keepAlive:o,callback:n}}(u,e,u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)}),u}const Td="success",Sd="fail",Cd="complete",kd={},Ed={};function Od(e,t){return function(n){return e(n,t)||n}}function Pd(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Ld(e,t={}){return[Td,Sd,Cd].forEach(n=>{const o=e[n];if(!h(o))return;const r=t[n];t[n]=function(e){Pd(o,e,t).then(e=>g(r)&&r(e)||e)}}),t}function $d(e,t){const n=[];h(kd.returnValue)&&n.push(...kd.returnValue);const o=Ed[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Md(e){const t=Object.create(null);Object.keys(kd).forEach(e=>{"returnValue"!==e&&(t[e]=kd[e].slice())});const n=Ed[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Ad(e,t,n,o){const r=Md(e);if(r&&Object.keys(r).length){if(h(r.invoke)){return Pd(r.invoke,n).then(n=>t(Ld(Md(e),n),...o))}return t(Ld(r,n),...o)}return t(n,...o)}function Id(e,t){return(n={},...o)=>function(e){return!(!T(e)||![bd,_d,wd].find(t=>g(e[t])))}(n)?$d(e,Ad(e,t,c({},n),o)):$d(e,new Promise((r,i)=>{Ad(e,t,c({},n,{success:r,fail:i}),o)}))}function Rd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,yd(e,c({errMsg:i},o))}function Bd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!T(t.formatArgs)&&T(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=xd(e,n,o),i=Bd(0,[n],0,o);return i?Rd(r,e,i):t(n,{resolve:t=>function(e,t,n){return yd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Rd(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Nd(e,t,n,o){return Id(e,Dd(e,t,0,o))}function jd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Bd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Fd(e,t,n,o){return Id(e,function(e,t,n,o){return Dd(e,t,0,o)}(e,t,0,o))}let Vd=!1,Wd=0,qd=0,Hd=960,zd=375,Ud=750;function Yd(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Yh(),t=Gh(Kh(e,Xh(e)));return{platform:Wh?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Wd=e,qd=t,Vd="ios"===n}function Xd(e,t){const n=Number(e);return isNaN(n)?t:n}const Kd=jd(0,(e,t)=>{if(0===Wd&&(Yd(),function(){const e=__uniConfig.globalStyle||{};Hd=Xd(e.rpxCalcMaxDeviceWidth,960),zd=Xd(e.rpxCalcBaseDeviceWidth,375),Ud=Xd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Wd;n=e===Ud||n<=Hd?n:zd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==qd&&Vd?.5:1),e<0?-o:o}),Gd=[.5,.8,1,1.25,1.5,2];const Jd=(e,t,n,o)=>{!function(e,t,n,o,r){oy.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)})};var Zd=["scale","rotate","translate","setTransform","transform"],Qd=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],ef=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const tf={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 nf(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim()))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))});var n=e.toLowerCase();if(f(tf,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(tf[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class of{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,nf(t)])}}class rf{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class sf{constructor(e){this.width=e}}class af{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){oy.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{r&&r(e)})}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new of("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new of("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new rf(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new sf(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()}),1===o.length&&a(),o=s.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const lf=Ie(()=>{[...Zd,...Qd].forEach(function(e){af.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),ef.forEach(function(e){af.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",nf(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=nf(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),cf=jd(0,(e,t)=>{if(lf(),t)return new af(e,su(t));const n=su(uu());if(n)return new af(e,n);oy.emit(ae,"createCanvasContext:fail")});let uf=0,df={};function ff(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(uf++);r.callbackId=e,df[e]=o}oy.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}(df[e],t),delete df[e])})}const hf={canvas:af,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Jd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Jd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Jd(this.id,this.pageId,"getScale",e)}getRegion(e){Jd(this.id,this.pageId,"getRegion",e)}includePoints(e){Jd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Jd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Jd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Jd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Jd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Jd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Jd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Jd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Jd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Jd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Jd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Jd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Jd(this.id,this.pageId,"openMapApp",e)}on(e,t){Jd(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){Jh(this.id,this.pageId,"play")}pause(){Jh(this.id,this.pageId,"pause")}stop(){Jh(this.id,this.pageId,"stop")}seek(e){Jh(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Jh(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Gd.indexOf(e)||(e=1),Jh(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Jh(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Jh(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Jh(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Jh(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){ff(this.id,this.pageId,e,t)}}};function pf(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=hf[n];e.context=new r(t,o),delete e.contextInfo}}class mf{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class gf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};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);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):Qh(i,n)?i:i.querySelector(n);return e?Zh(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(Zh(t,r))}),!l&&Qh(i,n)&&e.unshift(Zh(i,r)),e}}(e,t,n,r,i))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{h(e)?e.forEach(pf):pf(e);const o=n[t];g(o)&&o.call(this,e)}),g(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=je(e),this}select(e){return this._nodesRef=new mf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new mf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new mf(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const vf=jd(0,e=>((e=je(e))&&!su(e)&&(e=null),new gf(e||uu()))),yf=jd(0,()=>{const e=ag();return e&&e.$vm?e.$vm.$locale:ic().getLocale()}),bf={[ue]:[],[ce]:[],[ae]:[],[re]:[],[ie]:[]};const _f={formatArgs:{showToast:!0},beforeInvoke(){fc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=ic(),o=n("uni.setClipboardData.success");o&&Sv({title:o,icon:"success",mask:!1})}},wf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=pd(e,ud)},sourceType(e,t){t.sourceType=pd(e,dd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},xf="json",Tf=["text","arraybuffer"],Sf=encodeURIComponent;const Cf={formatArgs:{method(e,t){t.method=hd((e||"").toUpperCase(),fd)},data(e,t){t.data=e||""},url(e,t){t.method===fd[0]&&T(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter(e=>e),s={};i.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":T(e)&&(e=JSON.stringify(e)),s[Sf(a)]=Sf(e)}return r=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==fd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||xf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Tf.indexOf(t.responseType)&&(t.responseType="text")}}},kf={formatArgs:{filePath(e,t){e&&(t.filePath=jh(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Ef={url:{type:String,required:!0}},Of="navigateTo",Pf="redirectTo",Lf="reLaunch",$f="switchTab",Mf="preloadPage",Af=(Nf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Nf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Vf(Of)),If=Vf(Pf),Rf=Vf(Lf),Bf=Vf($f),Df={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(xh().length-1,e)}}};function Nf(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let jf;function Ff(){jf=""}function Vf(e){return{formatArgs:{url:Wf(e)},beforeAll:Ff}}function Wf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=xh();return n.length&&(t=eu(n[n.length-1]).route),bu(t,e)}(t)).split("?")[0],r=_u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Of||e===Pf){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===$f&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==$f&&e!==Mf||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==Mf){if(jf===t&&"appLaunch"!==n.openType)return`${jf} locked`;__uniConfig.ready&&(jf=t)}else if(r.meta.isTabBar){const e=xh(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const qf={formatArgs:{title:"",mask:!1}},Hf={beforeInvoke(){uc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=ic();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=ic();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},zf=["success","loading","none","error"],Uf={formatArgs:{title:"",icon(e,t){t.icon=hd(e,zf)},image(e,t){t.image=e?jh(e):""},duration:1500,mask:!1}},Yf="stopPullDownRefresh";function Xf(){const e=uu();if(!e)return;const t=wh(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Sh(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,pu(e,ie))}function Kf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Gf(e){const t=wh().values();for(const n of t){const t=mh(n);if(Kf(e,t))return n.$.__isActive=!0,t.id}}const Jf=Fd($f,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(gh.handledBeforeEntryPageRoutes)return Xf(),nh({type:$f,url:e,tabBarText:t,isAutomatedTesting:n},Gf(e)).then(o).catch(r);yh.push({args:{type:$f,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Bf);function Zf(){const e=au();if(!e)return;const t=mh(e);Sh(Oh(t.path,t.id))}const Qf=Fd(Pf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(gh.handledBeforeEntryPageRoutes)return Zf(),nh({type:Pf,url:e,isAutomatedTesting:t}).then(n).catch(o);bh.push({args:{type:Pf,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,If);function eh(){const e=wh().keys();for(const t of e)Sh(t)}const th=Fd(Lf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(gh.handledBeforeEntryPageRoutes)return eh(),nh({type:Lf,url:e,isAutomatedTesting:t}).then(n).catch(o);_h.push({args:{type:Lf,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Rf);function nh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=ag().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Qe(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Ch,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(i=>{if(ol(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach(t=>{e.eventChannel._addListener(t,"on",o[t])}),e.eventChannel._clearCache()):e.eventChannel=new tt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function oh(){if(gh.handledBeforeEntryPageRoutes)return;gh.handledBeforeEntryPageRoutes=!0;const e=[...vh];vh.length=0,e.forEach(({args:e,resolve:t,reject:n})=>nh(e).then(t).catch(n));const t=[...yh];yh.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Xf(),nh(e,Gf(e.url)).then(t).catch(n)));const n=[...bh];bh.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Zf(),nh(e).then(t).catch(n)));const o=[..._h];_h.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(eh(),nh(e).then(t).catch(n)))}let rh;function ih(){var e;return rh||(rh=__uniConfig.tabBar&&_n((e=__uniConfig.tabBar,ec()&&e.list&&e.list.forEach(e=>{rc(e,["text"])}),e))),rh}function sh(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const ah=sh("top:env(a)"),lh=sh("top:constant(a)"),ch=sh("backdrop-filter:blur(10px)"),uh=(()=>ah?"env":lh?"constant":"")();function dh(e){let t=0;if(e.isTabBar){const e=ih();e.shown&&(t=parseInt(e.height))}var n;Gc({"--window-top":(n=0,uh?`calc(${n}px + ${uh}(safe-area-inset-top))`:`${n}px`),"--window-bottom":fh(t)})}function fh(e){return uh?`calc(${e}px + ${uh}(safe-area-inset-bottom))`:`${e}px`}const hh="$$",ph=new Map;function mh(e){return e.$page}const gh={handledBeforeEntryPageRoutes:!1},vh=[],yh=[],bh=[],_h=[];function wh(){return ph}function xh(){return Th()}function Th(){const e=[],t=ph.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Sh(e,t=!0){const n=ph.get(e);n.$.__isUnload=!0,pu(n,fe),ph.delete(e),t&&function(e){const t=Ph.get(e);t&&(Ph.delete(e),Lh.pruneCacheEntry(t))}(e)}let Ch=cd();function kh(e){const t=sd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=ut(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:Ae(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Eh(e){const t=kh(e.$route);!function(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)}(e,t),ph.set(Oh(t.path,t.id),e),1===ph.size&&setTimeout(()=>{oh()},0)}function Oh(e,t){return e+hh+t}const Ph=new Map,Lh={get:e=>Ph.get(e),set(e,t){!function(e){const t=parseInt(e.split(hh)[1]);if(!t)return;Lh.forEach((e,n)=>{const o=parseInt(n.split(hh)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Lh.delete(n),Lh.pruneCacheEntry(e),no(()=>{ph.forEach((e,t)=>{e.$.isUnmounted&&ph.delete(t)})})}})}(e),Ph.set(e,t)},delete(e){Ph.get(e)&&Ph.delete(e)},forEach(e){Ph.forEach(e)}};function $h(e,t){!function(e){const t=Ah(e),{body:n}=document;Ih&&n.removeAttribute(Ih),t&&n.setAttribute(t,""),Ih=t}(e),dh(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Dh(e,t)}function Mh(e){const t=Ah(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Ah(e){return e.type.__scopeId}let Ih;const Rh=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let Bh;function Dh(e,t){if(document.removeEventListener("touchmove",mu),Bh&&document.removeEventListener("scroll",Bh),t.disableScroll)return document.addEventListener("touchmove",mu,Rh);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=mh(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&ny.publishHandler(ve,{scrollTop:o},e),n&&ny.emit(e+"."+ve,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>ny.publishHandler(be,{},s)),Bh=yu(i),requestAnimationFrame(()=>document.addEventListener("scroll",Bh))}function Nh(e){const{base:t}=__uniConfig.router;return 0===Ae(e).indexOf(t)?Ae(e):t+e}function jh(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Nh(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Th();return o.length?Nh(bu(mh(o[o.length-1]).route,e).slice(1)):e}const Fh=navigator.userAgent,Vh=/android/i.test(Fh),Wh=/iphone|ipad|ipod/i.test(Fh),qh=Fh.match(/Windows NT ([\d|\d.\d]*)/i),Hh=/Macintosh|Mac/i.test(Fh),zh=/Linux|X11/i.test(Fh),Uh=Hh&&navigator.maxTouchPoints>0;function Yh(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Xh(e){return e&&90===Math.abs(window.orientation)}function Kh(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Gh(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Jh(e,t,n,o){oy.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Zh(e,t){const n={},{top:o,topWindowHeight:r}=Xc();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ue(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(h(t.properties)&&t.properties.forEach(e=>{e=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(h(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach(e=>{n[e]=o[e]})}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Qh(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const ep={};function tp(e,t){const n=ep[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return np(s,o)}(e)):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function np(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function op(e){for(const n in ep)if(f(ep,n)){if(ep[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return ep[t]=e,t}const rp=qu(),ip=qu();const sp=Yu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Bn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=_n({width:-1,height:-1});return Ao(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){sr(o),vr(()=>{t.initial&&no(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>Ri("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Ri("div",{onScroll:r},[Ri("div",null,null)],40,["onScroll"]),Ri("div",{onScroll:r},[Ri("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const ap=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 lp(e,t=!0){const n=t?ap:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let cp=!1;function up(){if(cp)return;cp=!0;const e={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]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=ap,o*=ap,r*=ap,i*=ap,s*=ap,a*=ap,l=u?l*ap:l,c=u?c*ap:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==ap&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*ap});else if(Array.isArray(e))for(let t=0;tup());function fp(e){return e?jh(e):e}function hp(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function pp(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let mp;function gp(e=0,t=0){return mp||(mp=document.createElement("canvas")),mp.width=e,mp.height=t,mp}const vp=Yu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){dp();const o=Bn(null),r=Bn(null),i=Bn(null),s=Bn(!1),a=function(e){return(t,n)=>{e(t,Eu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=im({excludeListeners:!0}),{_listeners:h}=function(e,t,n){const o=rs(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];i[t]&&o.push(Ku(e=>{const o=e.currentTarget.getBoundingClientRect();pp(o,e.touches),pp(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Hc),i[t]=o}),i});return{_listeners:o}}(e,d,a),{_handleSubscribe:p,_resize:m}=function(e,t,n){let o=[],r={};const i=rs(()=>e.hidpi?ap:1);function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);lp(o,e.hidpi),t.putImageData(n,0,0)}else lp(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=fp(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=fp(o),n[1]=o),o&&!r[o]&&i()})}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const h=t.value;let p;const m=h.offsetWidth-e;o=o?Math.min(o,m):m;const g=h.offsetHeight-n;r=r?Math.min(r,g):g,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=gp(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(h,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)p=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);p=Array.prototype.slice.call(e.data)}b={data:p,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=gp(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function h({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const p={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:h};function m(e,t,n){let o=p[e];0!==e.indexOf("_")&&g(o)&&o(t,n)}return c(p,{_resize:s,_handleSubscribe:m})}(e,r,s);return Nm(p,Fm(e.canvasId),!0),vr(()=>{m()}),()=>{const{canvasId:t,disableScroll:s}=e;return Ri("uni-canvas",Wi({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,h.value),[Ri("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Ri("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Ri(sp,{ref:i,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function yp(){}const bp={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function _p(e,t,n){function o(e){const t=rs(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",yp,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",yp,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Ao(()=>t.value,e=>e&&o(e))}var wp=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,xp=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Tp=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Sp=Lp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Cp=Lp("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"),kp=Lp("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"),Ep=Lp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Op=Lp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Pp=Lp("script,style");function Lp(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Ap={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"]},Ip=Yu({name:"Image",props:$p,setup(e,{emit:t}){const n=Bn(null),o=function(e,t){const n=Bn(""),o=rs(()=>{let e="auto",o="";const r=Ap[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),r=_n({rootEl:e,src:rs(()=>t.src?jh(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return vr(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Gu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Mp[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Rp&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Ao(()=>t.mode,(e,t)=>{Mp[t]&&r(),Mp[e]&&o()}),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),no(()=>{o()}),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Ao(()=>e.src,e=>l(e)),Ao(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),vr(()=>l(e.src)),_r(()=>c())}(o,e,n,i,r),()=>Ri("uni-image",{ref:n},[Ri("div",{style:o.modeStyle},null,4),Mp[e.mode]?Ri(sp,{onResize:i},null,8,["onResize"]):Ri("span",null,null)],512)}});const Rp="Google Inc."===navigator.vendor;const Bp=Xe(!0),Dp=[];let Np=0,jp=!1;const Fp=e=>Dp.forEach(t=>t.userAction=e);function Vp(e={userAction:!1}){if(!jp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Np&&Fp(!0),Np++,setTimeout(()=>{! --Np&&Fp(!1)},0)},Bp)}),jp=!0}Dp.push(e)}function Wp(){const e=_n({userAction:!1});return vr(()=>{Vp(e)}),_r(()=>{!function(e){const t=Dp.indexOf(e);t>=0&&Dp.splice(t,1)}(e)}),{state:e}}function qp(){const e=_n({attrs:{}});return vr(()=>{let t=Yi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Hp(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function zp(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Up=["none","text","decimal","numeric","tel","search","email","url"],Yp=c({},{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=>!!~Up.indexOf(e)},cursorColor:{type:String,default:""}},bp),Xp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Kp(e,t,n,o){let r=null;r=et(n=>{t.value=zp(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Ao(()=>e.modelValue,r),Ao(()=>e.value,r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return gr(()=>{r.cancel(),i.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Gp(e,t){Wp();const n=rs(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Ao(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),vr(()=>{n.value&&no(o)})}function Jp(e,t,n,o){wc(cu(),"getSelectedTextRange",Hp);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Bn(null),r=Gu(t,n),i=rs(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=rs(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=rs(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=rs(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=zp(e.modelValue,e.type)||zp(e.value,e.type);const u=_n({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Ao(()=>u.focus,e=>n("update:focus",e)),Ao(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Kp(e,i,n,s);Gp(e,r),_p(0,r);const{state:l}=qp();!function(e,t){const n=Jr(ed,!1);if(!n)return;const o=Yi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),_r(()=>{n.removeField(r)})}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Ao([()=>t.selectionStart,()=>t.selectionEnd],s),Ao(()=>t.cursor,a),Ao(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Zp=c({},Yp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Qp=Ie(()=>{{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 n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function em(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("deleteContentBackward"===e.inputType&&Qp()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function tm(e){return"insertFromPaste"===e.inputType}const nm=Yu({name:"Input",props:Zp,emits:["confirm",...Xp],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=rs(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),s=rs(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),a=rs(()=>{if(e.inputmode)return e.inputmode});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Bn(null!=t?t.toLocaleString():"");return Ao(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Ao(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Bn("")}(e,i),c={fn:null};const u=Bn(null),{fieldRef:d,state:f,scopedAttrsState:h,fixDisabledColor:p,trigger:m}=Jp(e,u,t,(e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=em(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=em(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!tm(e))return n.value=l.value=t.value,!1}});Ao(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Ao(()=>e.maxlength,e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)});const g=["number","digit"],v=rs(()=>g.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),m("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&p?Ri("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):Ri("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?tm(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Ri("uni-input",{ref:u},[Ri("div",{class:"uni-input-wrapper"},[No(Ri("div",Wi(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Es,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Ri("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const om=["class","style"],rm=/^on[A-Z]+/,im=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Yi(),r=Dn({}),i=Dn({}),s=Dn({}),a=n.concat(om);return o.attrs=_n(o.attrs),$o(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:rm.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function sm(e){const t=[];return h(e)&&e.forEach(e=>{Pi(e)?e.type===vi?t.push(...sm(e.children)):t.push(e):h(e)&&t.push(...sm(e))}),t}const am=function(e,t,n,o){e.addEventListener(t,e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let lm,cm;function um(e,t,n){_r(()=>{document.removeEventListener("mousemove",lm),document.removeEventListener("mouseup",cm)});let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;am(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)}),am(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)}),am(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=lm=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),am(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const f=cm=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),am(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}const dm=Yu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return h(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Gu(o,n),s=function(e){const t=_n([...e.value]),n=_n({value:t,height:34});return Ao(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),a=Bn(null);vr(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=Bn([]),c=Bn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==bi);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Gr("getPickerViewColumn",function(e){return rs({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map(e=>e);n("update:value",e),i("change",{},{value:e})}}})}),Gr("pickerViewProps",e),Gr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=sm(e);l.value=t,no(()=>{c.value=t})}return Ri("uni-picker-view",{ref:o},[Ri(sp,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),Ri("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class fm{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function hm(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!pm(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(pm(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),pm(t,.4)&&(t=0),pm(o,.4)&&(o=0),o+=this._endPosition),this._solution&&pm(o-e,.4)&&pm(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),hm(this.x(),this._endPosition,.4)&&pm(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class gm{constructor(e,t,n){this._extent=e,this._friction=t||new fm(.01),this._spring=n||new mm(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class vm{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new gm(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const ym=Yu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Jr("getPickerViewColumn"),s=Yi(),a=i?i(s):Bn(0),l=Jr("pickerViewProps"),c=Jr("pickerViewState"),u=Bn(34),d=Bn(null);vr(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=rs(()=>(c.height-u.value)/2),{state:h}=qp();let p;const m=_n({current:a.value,length:0});let g;function v(){p&&!g&&(g=!0,no(()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),p.update(e*u.value,void 0,u.value)}))}Ao(()=>a.value,e=>{e!==m.current&&(m.current=e,v())}),Ao(()=>m.current,e=>a.value=e),Ao([()=>u.value,()=>m.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),p.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!p.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(m.current+t,m.length-1);m.current=r=Math.max(r,0),p.scrollTo(r*u.value)}}}const w=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new vm(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new fm(1e-4),spring:new mm(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});p=n,um(e,e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),v()};return vr(w),()=>{const e=t.default&&t.default();m.length=sm(e).length;const n=`${f.value}px 0`;return Ri("uni-picker-view-column",{ref:o},[Ri("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[Ri("div",Wi(h.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),Ri("div",Wi(h.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Ri(sp,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Ri("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),bm={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:""},_m={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const wm=(e,t,n)=>!n||h(n)&&!n.length?[]:n.map(n=>{var o;if(T(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!f(bm,i))return;return function(e,t){if(T(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=jh(o))}}(i,n.attrs),r=c(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),is(n.name,r,wm(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Di((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return f(_m,t)&&_m[t]?_m[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function xm(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={children:[]};return function(e,t){var n,o,r,i=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&Pp[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Tm=Yu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Yi(),o=n&&n.vnode.scopeId||"",r=Bn(null),i=Bn([]),s=Gu(r,t);function a(e,t={}){s("itemclick",e,t)}return Ao(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=xm(e.nodes)),i.value=wm(o,a,t)},{immediate:!0,deep:!0}),()=>is("uni-rich-text",{ref:r},is("div",{},i.value))}}),Sm=Yu({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=Bn(null),o=rs(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),r=rs(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return Ri("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Ri("div",{class:"uni-scroll-view-refresh"},[Ri("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?Ri("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"},[Ri("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),Ri("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?Ri("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Ri("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Ri("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Cm=Xe(!0),km=Yu({name:"ScrollView",compatConfig:{MODE:3},props:{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}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Gu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=rs(()=>Number(e.scrollTop)||0),n=rs(()=>Number(e.scrollLeft)||0),o=_n({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:h}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=rs(()=>e.scrollX),p=rs(()=>e.scrollY),m=rs(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=rs(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),p.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),h.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){p.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){h.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(h.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(p.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={y:e.refresherThreshold};return vr(()=>{no(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(h.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Cm),s.value.addEventListener("touchmove",l,Xe(!1)),s.value.addEventListener("scroll",i,Xe(!1)),s.value.addEventListener("touchend",m,Cm),_r(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",m)})}),sr(()=>{p.value&&(s.value.scrollTop=t.lastScrollTop),h.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Ao(n,e=>{b(e)}),Ao(o,e=>{_(e)}),Ao(()=>e.scrollIntoView,e=>{w(e)}),Ao(()=>e.refresherTriggered,e=>{!0===e?T("refreshing"):!1===e&&T("restore")}),{realScrollX:h,realScrollY:p,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),p=rs(()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),m=rs(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Ri("uni-scroll-view",{ref:r},[Ri("div",{ref:s,class:"uni-scroll-view"},[Ri("div",{ref:i,style:p.value,class:m.value},[t?Ri(Sm,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Ri("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Em(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,h=null,p=!1,m=0,g="";const v=rs(()=>n.value.length>t.displayMultipleItems),y=rs(()=>e.circular&&v.value);function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){h=null}function x(){if(!h)return void(p=!1);const e=h,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),h=null,p=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function T(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;ae;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),h&&(b(h.toPos),h=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-m),m=l):(b(l),e.autoplay&&S())):(u=!0,b(-t.displayMultipleItems-1))}),Ao(()=>t.interval,()=>{c&&(s(),S())}),Ao(()=>t.current,(e,o)=>{!function(e,o){const r=g;g="";const s=n.value;if(!r){const t=s.length;T(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Ao(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Ao(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),vr(()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(m):(g="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}um(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),m=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(r){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}})}),wr(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){T(t.current=e,g="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Om=Yu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Gu(o,n),i=Bn(null),s=Bn(null),a=function(e){return _n({interval:rs(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:rs(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:rs(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=rs(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Qc(e.previousMargin,!0),bottom:Qc(e.nextMargin,!0)}:{top:0,bottom:0,left:Qc(e.previousMargin,!0),right:Qc(e.nextMargin,!0)}),t}),c=rs(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=Bn([]);function h(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}f.value=e}Gr("addSwiperContext",function(e){d.push(e),h()});Gr("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())});const{onSwiperDotClick:p,circularEnabled:m,swiperEnabled:g}=Em(e,a,f,s,n,r);let v=()=>null;return v=Pm(o,e,a,p,f,m,g),()=>{const n=t.default&&t.default();return u=sm(n),Ri("uni-swiper",{ref:o},[Ri("div",{ref:i,class:"uni-swiper-wrapper"},[Ri("div",{class:"uni-swiper-slides",style:l.value},[Ri("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Ri("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>Ri("div",{onClick:()=>p(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,u=!1,d=Bn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}$o(()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,b()}),$o(()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,u=!0,a&&(d.value=!0))});const h={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function p(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const m=()=>ru("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",t.navigationColor,26);let g;const v=n=>{clearTimeout(g);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a{d.value=f},300);d.value=f},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return vr(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Ri(vi,null,[Ri("div",Wi({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},h),[m()],16,["onClick"]),Ri("div",Wi({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>p(e,"next",u)},h),[m()],16,["onClick"])]):null}},Lm=Yu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Bn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return vr(()=>{const e=Jr("addSwiperContext");e&&e(o)}),wr(()=>{const e=Jr("removeSwiperContext");e&&e(o)}),()=>Ri("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),$m={ensp:" ",emsp:" ",nbsp:" "};function Mm(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&$m[t]&&" "===i&&(i=$m[t]),r?(o+="n"===i?ee:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,$m.nbsp).replace(/ /g,$m.ensp).replace(/ /g,$m.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const Am=Yu({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=Bn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==bi){const n=Mm(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Di(e)),t!==r&&o.push(Ri("br"))})}else o.push(t)}),Ri("uni-text",{ref:n,selectable:!!e.selectable||null},[Ri("span",null,o)],8,["selectable"])}}}),Im=Yu({name:"View",props:c({},Ju),setup(e,{slots:t}){const n=Bn(null),{hovering:o,binding:r}=Zu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Ri("uni-view",Wi({class:o.value?i:"",ref:n},r),[Er(t,"default")],16):Ri("uni-view",{ref:n},[Er(t,"default")],512)}}});function Rm(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Bm(e,t,n){e&&wc(n||cu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Dm(e,t){e&&function(e,t){t=_c(e,t),delete bc[t]}(t||cu(),e)}function Nm(e,t,n,o){const r=Yi().proxy;vr(()=>{Bm(t||Rm(r),e,o),!n&&t||Ao(()=>r.id,(t,n)=>{Bm(Rm(r,t),e,o),Dm(n&&Rm(r,n))})}),_r(()=>{Dm(t||Rm(r),o)})}let jm=0;function Fm(e){const t=iu(),n=Yi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+jm++;return vr(()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}}),`${o}.${r}`}function Vm(e,t,n,o){g(t)&&pr(e,t.bind(n),o)}function Wm(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(ot.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];h(r)?r.forEach(e=>Vm(o,e,n,t)):Vm(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,pu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&pu(n,re)}catch(r){console.error(r.message+ee+r.stack)}}}function qm(e,t,n){Wm(e,t,n)}function Hm(e,t,n){return e[t]=n}function zm(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Um(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[ae]?pu(i.proxy,ae,n):Un(n,0,o&&o.$.vnode,!1)}}function Ym(e,t){return e?[...new Set([].concat(e,t))]:t}function Xm(e){const t=e.config;var n;t.errorHandler=it(e,Um),n=t.optionMergeStrategies,ot.forEach(e=>{n[e]=Ym});const o=t.globalProperties;o.$set=Hm,o.$applyOptions=qm,o.$callMethod=zm,function(e){rt.forEach(t=>t(e))}(e)}function Km(e){const t=Dl({history:Zm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Jm});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Gm[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let Gm=Object.create(null);const Jm=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Gm[o]);if(t)return t}return{left:0,top:0};var o};function Zm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Ja(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Th(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=mh(t[r]);Sh(Oh(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const Qm={install(e){Xm(e),$u(e),Wu(e),e.config.warnHandler||(e.config.warnHandler=eg),Km(e)}};function eg(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const tg={class:"uni-async-loading"},ng=Ri("i",{class:"uni-loading"},null,-1),og=Xu({name:"AsyncLoading",render:()=>(Ti(),Oi("div",tg,[ng]))});function rg(){window.location.reload()}const ig=Xu({name:"AsyncError",props:["error"],setup(){ac();const{t:e}=ic();return()=>Ri("div",{class:"uni-async-error",onClick:rg},[e("uni.async.error")],8,["onClick"])}});let sg;function ag(){return sg}function lg(e){sg=e,Object.defineProperty(sg.$.ctx,"$children",{get:()=>Th().map(e=>e.$vm)});const t=sg.$.appContext.app;t.component(og.name)||t.component(og.name,og),t.component(ig.name)||t.component(ig.name,ig),function(e){e.$vm=e,e.$mpType="app";const t=Bn(ic().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(sg),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(sg),Fu(),wu()}function cg(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Yi();if(n(r.proxy),o(r),i)return i(e,t)},e}function ug(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?cg(e.default,t):cg(e,t)}function dg(e){return ug(e,{clone:!0,init:Eh,setup(e){e.$pageInstance=e;const t=ld(),n=Je(t.query);e.attrs.__pageQuery=n,mh(e.proxy).options=n,e.proxy.options=n;const o=sd();var r,i;return dh(o),e.onReachBottom=_n([]),e.onPageScroll=_n([]),Ao([e.onReachBottom,e.onPageScroll],()=>{const t=au();e.proxy===t&&Dh(e,o)},{once:!0}),gr(()=>{$h(e,o)}),vr(()=>{Mh(e);const{onReady:n}=e;n&&I(n),mg(t)}),lr(()=>{if(!e.__isVisible){$h(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&I(n),no(()=>{mg(t)})}},"ba",r),function(e,t){lr(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&I(t)}}}),i=o.id,ny.subscribe(_c(i,gc),xc),_r(()=>{!function(e){ny.unsubscribe(_c(e,gc)),Object.keys(bc).forEach(t=>{0===t.indexOf(e+".")&&delete bc[t]})}(o.id)}),n}})}function fg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Ag(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";oy.emit(me,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function hg(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&oy.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function pg(){const{emit:e}=oy;"visible"===document.visibilityState?e(Le,c({},ip)):e($e)}function mg(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&pu("onTabItemTap",{index:n,text:t,pagePath:o})}function gg(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function vg(e,t,n){const o=_n({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(a){function l(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=a.targetTouches[0],d=u.pageX,f=u.pageY,h=r,p=t.value;if("progress"===c?(!function(e){const n=t.value,r=n.duration;let i=e/600*r+o.currentTimeOld;i<0?i=0:i>r&&(i=r);o.currentTimeNew=i}(d-h.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=i,o.volumeNew=i)}(f-h.y),"none"===c)if(Math.abs(d-h.x)>Math.abs(f-h.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const yg={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},bg=Yu({name:"Video",props:yg,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=Bn(null),i=Bn(null),s=Gu(r,t),{state:a}=Wp(),{$attrs:l}=im({excludeListeners:!0});ic(),pc();const{videoRef:c,state:u,play:d,pause:f,stop:p,seek:m,playbackRate:g,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=Bn(null),r=rs(()=>jh(e.src)),i=rs(()=>"true"===e.muted||!0===e.muted),s=_n({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Ao(()=>r.value,()=>{s.playing=!1,s.currentTime=0}),Ao(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Ao(()=>i.value,e=>{o.value.muted=e}),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:O,updateDanmu:P,toggleDanmu:L,sendDanmu:$}=function(e,t){const n=Bn(null),o=_n({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=h(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return i.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:M,onFullscreenChange:A,emitFullscreenChange:I,toggleFullscreen:R,requestFullScreen:B,exitFullScreen:D}=function(e,t,n,o,r){const i=_n({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return _r(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:N,onTouchstart:j,onTouchend:F,onTouchmove:V}=vg(e,c,M),{state:W,progressRef:q,ballRef:H,clickProgress:z,toggleControls:U}=function(e,t,n,o){const r=Bn(null),i=Bn(null),s=rs(()=>e.showCenterPlayBtn&&!t.start),a=Bn(!0),l=rs(()=>!s.value&&e.controls&&a.value),c=_n({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function f(){u&&(clearTimeout(u),u=null)}return _r(()=>{u&&clearTimeout(u)}),Ao(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),vr(()=>{const e=Xe(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(p=100),t.progress=p,null==o||o(t.duration*p/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function h(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)}),d.addEventListener("touchend",h),d.addEventListener("touchcancel",h)}),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,m,e=>{N.currentTimeNew=e});!function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};Nm((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Fm(),!0)}(d,f,p,m,$,g,B,D);const Y=function(e,t,n){const o=rs(()=>"progress"===t.gestureType||n.touching);return Ao(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Ao([()=>e.currentTime,()=>{yg.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Ao(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,N,W);return()=>Ri("uni-video",{ref:r,id:e.id,onClick:U},[Ri("div",{ref:i,class:"uni-video-container",onTouchstart:j,onTouchend:F,onTouchmove:V,onFullscreenchange:ea(A,["stop"]),onWebkitfullscreenchange:ea(e=>A(e,!0),["stop"])},[Ri("video",Wi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),P(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),No(Ri("div",{class:"uni-video-bar uni-video-bar-full",onClick:ea(()=>{},["stop"])},[Ri("div",{class:"uni-video-controls"},[No(Ri("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ea(v,["stop"])},null,10,["onClick"]),[[Es,e.showPlayBtn]]),No(Ri("div",{class:"uni-video-current-time"},[gg(u.currentTime)],512),[[Es,e.showProgress]]),No(Ri("div",{ref:q,class:"uni-video-progress-container",onClick:ea(z,["stop"])},[Ri("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[Ri("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),Ri("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),Ri("div",{ref:H,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[Ri("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Es,e.showProgress]]),No(Ri("div",{class:"uni-video-duration"},[gg(Number(e.duration)||u.duration)],512),[[Es,e.showProgress]])]),No(Ri("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ea(L,["stop"])},null,10,["onClick"]),[[Es,e.danmuBtn]]),No(Ri("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":M.fullscreen},onClick:ea(()=>R(!M.fullscreen),["stop"])},null,10,["onClick"]),[[Es,e.showFullscreenBtn]])],8,["onClick"]),[[Es,W.controlsShow]]),No(Ri("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Es,u.start&&E.enable]]),W.centerPlayBtnShow&&Ri("div",{class:"uni-video-cover",onClick:ea(()=>{},["stop"])},[Ri("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ea(d,["stop"])},null,8,["onClick"])],8,["onClick"]),Ri("div",{class:"uni-video-loading"},["volume"===N.gestureType?Ri("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":N.toastThin},style:{marginTop:"5px"}},[!N.toastThin&&N.volumeNew>0&&"volume"===N.gestureType?Ri("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!N.toastThin&&Ri("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Ri("div",{class:"uni-video-toast-draw",style:{width:100*N.volumeNew+"%"}},null)],2):null]),Ri("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[Ri("div",{class:"uni-video-toast-title"},[Ri("span",{class:"uni-video-toast-title-current-time"},[gg(N.currentTimeNew)])," / ",Number(e.duration)||gg(u.duration)])],2),Ri("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),_g=Fd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),wg="__DC_STAT_UUID",xg=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Tg;function Sg(){if(Tg=Tg||xg[wg],!Tg){Tg=Date.now()+""+Math.floor(1e7*Math.random());try{xg[wg]=Tg}catch(e){}}return Tg}function Cg(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function kg(){let e,t="0",n="",o="phone";const r=navigator.language;if(Wh){e="iOS";const o=Fh.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Fh.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Vh){e="Android";const o=Fh.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Fh.match(/\((.+?)\)/),i=r?r[1].split(";"):Fh.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Yh(),n=Xh(t),o=Kh(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Gh(o);let s=window.innerHeight;const a=qc.top,l={left:qc.left,right:i-qc.right,top:qc.top,bottom:s-qc.bottom,width:i-qc.left-qc.right,height:s-qc.top-qc.bottom},{top:c,bottom:u}=Xc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:qc.top,right:qc.right,bottom:qc.bottom,left:qc.left},screenTop:r-s}});let Og,Pg=!0;function Lg(){Pg&&(Og=kg())}const $g=jd(0,()=>{Lg();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Og;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Sg(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:u})}),Mg=jd(0,()=>{Lg();const{theme:e,language:t,browserName:n,browserVersion:o}=Og;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:yf?yf():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},{})}),Ag=jd(0,()=>{Pg=!0,Lg(),Pg=!1;const e=Eg(),t=$g(),n=Mg();Pg=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Og,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return T(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});const Ig=Fd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(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 i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())});var n,o,r},0,_f);const Rg=jd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function Bg(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Dg=jd(0,e=>{try{return Bg(e)}catch(t){return""}}),Ng=jd(0,e=>{localStorage&&localStorage.removeItem(e)}),jg={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"}};let Fg=null;const Vg=Fd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{dc();const{t:i}=ic();Fg&&(document.body.removeChild(Fg),Fg=null),Fg=function({count:e,sourceType:t,type:n,extension:o}){Vp();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${jg[n][t]||t}`}}).join(","),e&&e>1&&(r.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Fg),Fg.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),Fg.addEventListener("change",function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||op(t),i)}),oe)},tempFiles:r})}),Fg.click(),Np||console.warn(i("uni.chooseFile.notUserActivation"))},0,wf),Wg={esc:["Esc","Escape"],enter:["Enter"]},qg=Object.keys(Wg);function Hg(){const e=Bn(""),t=Bn(!1),n=n=>{if(t.value)return;const o=qg.find(e=>-1!==Wg[e].indexOf(n.key));o&&(e.value=o),no(()=>e.value="")};return vr(()=>{document.addEventListener("keyup",n)}),_r(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const zg=Ri("div",{class:"uni-mask"},null,-1);function Ug(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),oa(Jo({setup:()=>()=>(Ti(),Oi(e,t,null,16))}))}function Yg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Xg(e,{onEsc:t,onEnter:n}){const o=Bn(e.visible),{key:r,disable:i}=Hg();return Ao(()=>e.visible,e=>o.value=e),Ao(()=>o.value,e=>i.value=!e),$o(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}const Kg=Nd("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const h=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===h)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===h){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let p;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;p=new Jg(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},h=setTimeout(function(){p.abort(),u("timeout",{errCode:5})},l);f.signal.addEventListener("abort",function(){clearTimeout(h),u("abort",{errCode:600003})}),window.fetch(e,f).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=Gg(s);if(p._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.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}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Qg(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),p._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;p=new Jg(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,p.abort(),u("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Qg(n,i,r)),c({data:n,statusCode:e,header:Zg(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return p},0,Cf),Gg=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;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Zg(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function Qg(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class ev{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const tv=Nd("uploadFile",({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new ev;return h(r)&&r.length||(n||c("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(np(e)):tp(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach(e=>{d.append(e,s[e])}),Object.values(r).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(i).forEach(e=>{o.setRequestHeader(e,i[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},a),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,kf),nv=Fd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===pu(ge,{from:e.from||"navigateBack"})&&(o=!1),o?(ag().$router.go(-e.delta),t()):n(ge)},0,Df),ov=Fd(Of,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(gh.handledBeforeEntryPageRoutes)return nh({type:Of,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);vh.push({args:{type:Of,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Af);function rv(e){__uniConfig.darkmode&&oy.on(le,e)}function iv(e){oy.off(le,e)}function sv(e){let t={};return __uniConfig.darkmode&&(t=ut(e,__uniConfig.themeConfig,Cg())),__uniConfig.darkmode?t:e}const av={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},lv=Jo({props:{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:""}},setup(e,{emit:t}){const n=Bn(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Xg(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=Bn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=av[e].cancelColor})(e,t)};return $o(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Cg()&&n({theme:"dark"}),rv(n))):iv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Ri(hs,{name:"uni-fade"},{default:()=>[No(Ri("uni-modal",{onTouchmove:Hc},[zg,Ri("div",{class:"uni-modal"},[t?Ri("div",{class:"uni-modal__hd"},[Ri("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Ri("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Ri("div",{class:"uni-modal__bd",onTouchmovePassive:zc,textContent:o},null,40,["onTouchmovePassive","textContent"]),Ri("div",{class:"uni-modal__ft"},[l&&Ri("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Ri("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Es,s.value]])]})}}});let cv;const uv=Ie(()=>{oy.on("onHidePopup",()=>cv.visible=!1)});let dv;function fv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&cv.editable&&(o.content=t),dv&&dv(o)}const hv=Fd("showModal",(e,{resolve:t})=>{uv(),dv=t,cv?(c(cv,e),cv.visible=!0):(cv=_n(e),no(()=>(Ug(lv,cv,fv).mount(Yg("u-a-m")),no(()=>cv.visible=!0))))},0,Hf),pv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==zf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},mv="uni-toast__icon",gv={light:"#fff",dark:"rgba(255,255,255,0.9)"},vv=e=>gv[e],yv=Jo({name:"Toast",props:pv,setup(e){lc(),cc();const{Icon:t}=function(e){const t=Bn(vv(Cg())),n=({theme:e})=>t.value=vv(e);$o(()=>{e.visible?rv(n):iv(n)});const o=rs(()=>{switch(e.icon){case"success":return Ri(ru(nu,t.value,38),{class:mv});case"error":return Ri(ru(ou,t.value,38),{class:mv});case"loading":return Ri("i",{class:[mv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Xg(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Ri(hs,{name:"uni-fade"},{default:()=>[No(Ri("uni-toast",{"data-duration":r},[o?Ri("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Hc},null,40,["onTouchmove"]):"",s||t.value?Ri("div",{class:"uni-toast"},[s?Ri("img",{src:s,class:mv},null,10,["src"]):t.value,Ri("p",{class:"uni-toast__content"},[i])]):Ri("div",{class:"uni-sample-toast"},[Ri("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Es,n.value]])]})}}});let bv,_v,wv="";const xv=pt();function Tv(e){bv?c(bv,e):(bv=_n(c(e,{visible:!1})),no(()=>{xv.run(()=>{Ao([()=>bv.visible,()=>bv.duration],([e,t])=>{if(e){if(_v&&clearTimeout(_v),"onShowLoading"===wv)return;_v=setTimeout(()=>{Ov("onHideToast")},t)}else _v&&clearTimeout(_v)})}),oy.on("onHidePopup",()=>Ov("onHidePopup")),Ug(yv,bv,()=>{}).mount(Yg("u-a-t"))})),setTimeout(()=>{bv.visible=!0},10)}const Sv=Fd("showToast",(e,{resolve:t,reject:n})=>{Tv(e),wv="onShowToast",t()},0,Uf),Cv={icon:"loading",duration:1e8,image:""},kv=Fd("showLoading",(e,{resolve:t,reject:n})=>{c(e,Cv),Tv(e),wv="onShowLoading",t()},0,qf),Ev=Fd("hideLoading",(e,{resolve:t,reject:n})=>{Ov("onHideLoading"),t()});function Ov(e){const{t:t}=ic();if(!wv)return;let n="";if("onHideToast"===e&&"onShowToast"!==wv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==wv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);wv="",setTimeout(()=>{bv.visible=!1},10)}const Pv=Fd("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then(()=>{o.add&&o.add(r)})}return new Promise(o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:s,featureSettings:a}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${jh(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${jh(t.substring(4,t.length-1))}')`:jh(t),n).then(()=>{o()}).catch(e=>{r(`loadFontFace:fail ${e}`)})});function Lv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,oy.emit("onNavigationBarChange",{titleText:t})}$o(t),sr(t)}const $v=Fd(Yf,(e,{resolve:t})=>{oy.invokeViewMethod(Yf,{},cu()),t()}),Mv=Xu({name:"TabBar",setup(){const e=Bn([]),t=ih(),n=function(e,t){const n=Sn(e),o=n?_n(sv(e)):sv(e);return __uniConfig.darkmode&&n&&Ao(e,e=>{const t=sv(e);for(const n in t)o[n]=t[n]}),t&&rv(t),o}(t,()=>{const e=sv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Bn(c({type:"midButton"},e.midButton)),$o(n)}(n,e),function(e){Ao(()=>e.shown,t=>{Gc({"--window-bottom":fh(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return $o(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=r}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:r}=t;let i=Ae(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?Jf({from:"tabBar",url:i,tabBarText:r}):pu("onTabItemTap",{index:n,text:r,pagePath:o})}}}(Nl(),n,e),{style:r,borderStyle:i,placeholderStyle:s}=function(e){const t=rs(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||ch&&n&&"none"!==n&&(t=Bv[n]),{backgroundColor:t||Av,backdropFilter:"none"!==n?"blur(10px)":n}}),n=rs(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:Dv[t]||Dv.black}}),o=rs(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return vr(()=>{n.iconfontSrc&&Pv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,r,i,s,a){return Ri("div",{key:s,class:"uni-tabbar__item",onClick:a(r,s)},[Nv(e,t||"",n,o,r,i)],8,["onClick"])}(a?r:i,a&&n.selectedIconPath||n.iconPath||"",n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,s,t)})}(n,o,e);return Ri("uni-tabbar",{class:"uni-tabbar-"+n.position},[Ri("div",{class:"uni-tabbar",style:r.value},[Ri("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),Ri("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Av="#f7f7fa",Iv="rgb(0, 0, 0, 0.8)",Rv="rgb(250, 250, 250, 0.8)",Bv={dark:Iv,light:Rv,extralight:Rv},Dv={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Nv(e,t,n,o,r,i){const{height:s}=i;return Ri("div",{class:"uni-tabbar__bd",style:{height:s}},[n?Fv(n,o||Iv,r,i):t&&jv(t,r,i),r.text&&Vv(e,r,i),r.redDot&&Wv(r.badge)],4)}function jv(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return Ri("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&Ri("img",{src:jh(e)},null,8,["src"])],6)}function Fv(e,t,n,o){var r;const{type:i,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||a,color:t};return Ri("div",{class:l,style:c},["midButton"!==i&&Ri("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Vv(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:s}=n;return Ri("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[r],4)}function Wv(e){return Ri("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const qv="0px",Hv=Xu({name:"Layout",setup(e,{emit:t}){const n=Bn(null);Kc({"--status-bar-height":qv,"--top-window-height":qv,"--window-left":qv,"--window-right":qv,"--window-margin":qv,"--tab-bar-height":qv});const o=function(){const e=Nl();return{routeKey:rs(()=>Oh("/"+e.meta.route,cd())),isTabBar:rs(()=>e.meta.isTabBar),routeCache:Lh}}(),{layoutState:r,windowState:i}=function(){ld();{const e=_n({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Ao(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Ao(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Ao(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:rs(()=>({}))}}}();!function(e,t){const n=ld();function o(){const o=document.body.clientWidth,r=Th();let i={};if(r.length>0){i=mh(r[r.length-1]).meta}else{const e=_u(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,no(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,no(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Ao([()=>n.path],o),vr(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(){const e=ld(),t=ih(),n=rs(()=>e.meta.isTabBar&&t.shown);return Kc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=Bn(!1);return rs(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(s);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Ri(Bl,null,{default:yo(({Component:o})=>[(Ti(),Oi(rr,{matchBy:"key",cache:n},[(Ti(),Oi(ko(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return No(Ri(Mv,null,null,512),[[Es,e.value]])}(s);return Ri("uni-app",{ref:n,class:a.value},[e,t],2)}}});function zv(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pi(e)}function Uv(e){if(e.mode===Kv.TIME)return"00:00";if(e.mode===Kv.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Gv.YEAR:return t.toString();case Gv.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Yv(e){if(e.mode===Kv.TIME)return"23:59";if(e.mode===Kv.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Gv.YEAR:return t.toString();case Gv.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Xv(e,t,n,o){const r=e.mode===Kv.DATE?"-":":",i=e.mode===Kv.DATE?t.dateArray:t.timeArray;let s;if(e.mode===Kv.TIME)s=2;else switch(e.fields){case Gv.YEAR:s=1;break;case Gv.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c=0&&(l=o?Xv(e,t,o):l.map(()=>0)),l}const Kv={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Gv={YEAR:"year",MONTH:"month",DAY:"day"},Jv={PICKER:"picker",SELECT:"select"},Zv=Yu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Kv.SELECTOR,validator:e=>Object.values(Kv).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Uv(e)},end:{type:String,default:e=>Yv(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){hc();const{t:o}=ic(),r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Bn(!1),{state:u,rangeArray:d}=function(e){const t=_n({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=rs(()=>{let n=e.range;switch(e.mode){case Kv.SELECTOR:return[n];case Kv.MULTISELECTOR:return n;case Kv.TIME:return t.timeArray;case Kv.DATE:{const n=t.dateArray;switch(e.fields){case Gv.YEAR:return[n[0]];case Gv.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Gu(r,t),{system:p,selectorTypeComputed:m,_show:g,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:T,_resetFormData:S,_getFormData:C,_createTime:k,_createDate:E,_setValueSync:O}=function(e,t,n,o,r,i,s){const a=function(){const e=Bn(!1);return e.value=Qv(),e}(),l=function(){const e=Bn("");return e.value=ey(),e}(),c=rs(()=>{const t=e.selectorType;return Object.values(Jv).includes(t)?t:a.value?Jv.PICKER:Jv.SELECT}),u=rs(()=>e.mode===Kv.DATE&&!Object.values(Gv).includes(e.fields)&&t.isDesktop?l.value:""),d=rs(()=>Xv(e,t,e.start,Uv(e))),f=rs(()=>Xv(e,t,e.end,Yv(e)));function p(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout(()=>{t.visible=!0},20)}function m(){return{value:t.valueSync,key:e.name}}function g(){switch(e.mode){case Kv.SELECTOR:t.valueSync=0;break;case Kv.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case Kv.DATE:case Kv.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&to&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;na?0:s)}}break;case Kv.TIME:case Kv.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case Kv.MULTISELECTOR:n=[...o];break;case Kv.TIME:n=Xv(e,t,o,Be({mode:Kv.TIME}));break;case Kv.DATE:n=Xv(e,t,o,Be({mode:Kv.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case Kv.SELECTOR:return n[0];case Kv.MULTISELECTOR:return n.map(e=>e);case Kv.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case Kv.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function k(){O(),t.valueChangeSource="click";const e=C();t.valueSync=h(e)?e.map(e=>e):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function P(){e.mode===Kv.SELECTOR&&c.value===Jv.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function L(e){const n=e.target;t.valueSync=n.value,no(()=>{k()})}function $(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function M(e){t.valueArray=A(e.detail.value,!0)}function A(t,n){const{getLocale:o}=ic();if(e.mode===Kv.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Gv.YEAR:return t;case Gv.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function I(t,n){const{getLocale:o}=ic();if(e.mode===Kv.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Gv.YEAR&&n===(e.fields===Gv.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return Ao(()=>t.visible,e=>{e?(clearTimeout(ty),t.contentVisible=e,P()):ty=setTimeout(()=>{t.contentVisible=e},300)}),Ao([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),Ao(()=>t.valueSync,S,{deep:!0}),Ao(()=>t.valueArray,o=>{if(e.mode===Kv.TIME||e.mode===Kv.DATE){const n=e.mode===Kv.TIME?_:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===Kv.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();in(i)&&x(o,i)}o.forEach((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===Kv.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))})}),{selectorTypeComputed:c,system:u,_show:p,_cancel:E,_change:k,_l10nColumn:A,_l10nItem:I,_input:L,_resetFormData:g,_getFormData:m,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:$,_pickerViewChange:M}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=Hg();$o(()=>{r.value=!e.visible}),Ao(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,T),function(e,t){const n=Jr(ed,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),_r(()=>{n.removeField(o)})}}(S,C),k(),E(),O();const P=function(e){const t=Bn(0),n=Bn(0),o=rs(()=>t.value>=500&&n.value>=500),r=rs(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width?s.width:300),o=a(s.top),l=a(s.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-t/2);r.left=`${d}px`,s.width&&(r.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),i.left=`${f}px`;const h=n.value/2;o+l-h>h-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t});return vr(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=Ag();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),wr(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:r}}(u);return $o(()=>{u.isDesktop=P.isDesktop.value,u.popupStyle=P.popupStyle.value}),_r(()=>{i.value&&i.value.remove()}),vr(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:h,popupStyle:S,valueSync:C}=u,{rangeKey:k,mode:E,start:O,end:P}=e,L=Qu(e,"disabled");return Ri("uni-picker",Wi({ref:r},L,{onClick:Ku(g)}),[l.value?Ri("div",{ref:i,class:["uni-picker-container",`uni-${E}-${m.value}`],onWheel:Hc,onTouchmove:Hc},[Ri(hs,{name:"uni-fade"},{default:()=>[No(Ri("div",{class:"uni-mask uni-picker-mask",onClick:Ku(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Es,c]])]}),p.value?null:Ri("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:S.content},[Ri("div",{class:"uni-picker-header",onClick:zc},[Ri("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ku(x)},[o("uni.picker.cancel")],8,["onClick"]),Ri("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?Ri(dm,{value:v(h),class:"uni-picker-content",onChange:w},zv(t=kr(v(d.value),(e,t)=>{let n;return Ri(ym,{key:t},zv(n=kr(e,(e,n)=>Ri("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,Ri("div",{ref:s,class:"uni-picker-select",onWheel:zc,onTouchmove:zc},[kr(d.value[0],(e,t)=>Ri("div",{key:t,class:["uni-picker-item",{selected:h[0]===t}],onClick:()=>{h[0]=t,T()}},["object"==typeof e?e[k]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),Ri("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,Ri("div",null,[n.default&&n.default()]),p.value?Ri("div",{class:"uni-picker-system",onMousemove:Ku(_)},[Ri("input",{class:["uni-picker-system_input",p.value],ref:a,value:C,type:E,tabindex:"-1",min:O,max:P,onChange:e=>{b(e),zc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Qv=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const ey=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let ty;const ny=c(Tc,{publishHandler(e,t,n){oy.subscribeHandler(e,t,n)}}),oy=c(Iu,{publishHandler(e,t,n){ny.subscribeHandler(e,t,n)}}),ry={name:"PageRefresh",setup(){const{pullToRefresh:e}=sd();return{offset:e.offset,color:e.color}}},iy=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},sy={class:"uni-page-refresh-inner"},ay=["fill"],ly=[Ii("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Ii("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],cy={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},uy=["stroke"];const dy=iy(ry,[["render",function(e,t,n,o,r,i){return Ti(),Ei("uni-page-refresh",null,[Ii("div",{style:We({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ii("div",sy,[(Ti(),Ei("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},ly,8,ay)),(Ti(),Ei("svg",cy,[Ii("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,uy)]))])],4)])}]]);function fy(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const hy="pulling",py="reached",my="aborting",gy="refreshing",vy="restoring";function yy(e){const t=sd(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let s,a,l,c,u,d,f,h;Nm(()=>{t.enablePullDownRefresh&&(h||(h=gy,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),Nm(()=>{t.enablePullDownRefresh&&h===gy&&(y(),h=vy,v(),function(e){if(!a)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{y(),h=p=m=null}))},Yf,!1,n),vr(()=>{s=e.value.$el,a=s.querySelector(".uni-page-refresh"),l=a.style,c=a.querySelector(".uni-page-refresh-inner").style});let p=null,m=null;function g(e){h&&s&&s.classList[e]("uni-page-refresh--"+h)}function v(){g("add")}function y(){g("remove")}const b=Ku(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([my,gy,vy].indexOf(h)>=0)}),_=Ku(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!fy(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!h)return;e.cancelable&&e.preventDefault(),null===p&&(m=n,h=hy,v()),n-=m,n<0&&(n=0),p=n;(n>=r&&h!==py||n1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=Ku(e=>{t.enablePullDownRefresh&&fy(e,u,d)&&null!==h&&(h===hy?(y(),h=my,v(),function(e){if(!a)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{y(),h=p=m=null})):h===py&&(y(),h=gy,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",pu(n,_e))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const by=Xu({name:"PageBody",setup(e,t){const n=sd(),o=Bn(null),r=Bn(null),i=n.enablePullDownRefresh?yy(o):null,s=Bn(null);return Ao(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?i:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Ri(dy,{ref:e},null,512)}(o,n);return Ri(vi,null,[e,Ri("uni-page-wrapper",Wi({ref:r},s.value),[Ri("uni-page-body",null,[Er(t.slots,"default")]),null],16)])}}});const _y=Xu({name:"Page",setup(e,t){let n=ad(cd());n.navigationBar;const o={};return Lv(n),()=>Ri("uni-page",{"data-page":n.route,style:o},[wy(t),null])}});function wy(e){return Ti(),Oi(by,{key:0},{default:yo(()=>[Er(e.slots,"page")]),_:3})}const xy={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Kd;const Ty=Object.assign({}),Sy=Object.assign;window.__uniConfig=Sy({tabBar:{position:"bottom",color:"#86909c",selectedColor:"#16c2a9",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"首页",iconPath:"/static/tab/icon1.png",selectedIconPath:"/static/tab/icon1_cur.png"},{pagePath:"pages/map/index",text:"场馆",iconPath:"/static/tab/icon2.png",selectedIconPath:"/static/tab/icon2_cur.png"},{pagePath:"pages/activity/index",text:"活动",iconPath:"/static/tab/icon3.png",selectedIconPath:"/static/tab/icon3_cur.png"},{pagePath:"pages/mine/index",text:"我的",iconPath:"/static/tab/icon4.png",selectedIconPath:"/static/tab/icon4_cur.png"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},globalStyle:{backgroundColor:"#f7f8fa",navigationBar:{backgroundColor:"#ffffff",titleText:"苏州市科普场馆地图",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"4.83"},{appId:"__UNI__SZKP_MAP_H5",appName:"szkp-map-h5",appVersion:"0.1.0",appVersionCode:"100",async:xy,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{tencent:{key:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2"}}},qqMapKey:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Ty).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Sy(e[n]||(e[n]={}),Ty[t].default),e},{}),router:{mode:"hash",base:"/h5/",assets:"assets",routerBase:"/h5/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Cy={delay:xy.delay,timeout:xy.timeout,suspensible:xy.suspensible};xy.loading&&(Cy.loadingComponent={name:"SystemAsyncLoading",render:()=>Ri(So(xy.loading))}),xy.error&&(Cy.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Ri(So(xy.error),{error:this.error})}});const ky=()=>t(()=>import("./pages-index-index.BwLscgpE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])).then(e=>dg(e.default||e)),Ey=Qo(Sy({loader:ky},Cy)),Oy=()=>t(()=>import("./pages-map-index.7Ur7Md9J.js"),__vite__mapDeps([13,14,2,3,4,5,9,10,11,15])).then(e=>dg(e.default||e)),Py=Qo(Sy({loader:Oy},Cy)),Ly=()=>t(()=>import("./pages-activity-index.CpOqsSzs.js"),__vite__mapDeps([16,14,10,6,2,3,17])).then(e=>dg(e.default||e)),$y=Qo(Sy({loader:Ly},Cy)),My=()=>t(()=>import("./pages-discover-index.DMFdGkDJ.js"),__vite__mapDeps([18,14,2,3,19])).then(e=>dg(e.default||e)),Ay=Qo(Sy({loader:My},Cy)),Iy=()=>t(()=>import("./pages-mine-index.BigDkNCj.js"),__vite__mapDeps([20,21,22,23])).then(e=>dg(e.default||e)),Ry=Qo(Sy({loader:Iy},Cy)),By=()=>t(()=>import("./pages-mine-profile.Cx1vm1pe.js"),__vite__mapDeps([24,21,22,25])).then(e=>dg(e.default||e)),Dy=Qo(Sy({loader:By},Cy)),Ny=()=>t(()=>import("./pages-mine-orders.jHn0X0qO.js"),__vite__mapDeps([26,14,21,27,28])).then(e=>dg(e.default||e)),jy=Qo(Sy({loader:Ny},Cy)),Fy=()=>t(()=>import("./pages-activity-detail.D42i0ZGw.js"),__vite__mapDeps([29,14,10,6,30,11,31,32,2,33])).then(e=>dg(e.default||e)),Vy=Qo(Sy({loader:Fy},Cy)),Wy=()=>t(()=>import("./pages-activity-behind-scenes.Ba9BUMxV.js"),__vite__mapDeps([34,14,35])).then(e=>dg(e.default||e)),qy=Qo(Sy({loader:Wy},Cy)),Hy=()=>t(()=>import("./pages-activity-registrations.CBIb58lK.js"),__vite__mapDeps([36,14,2,37])).then(e=>dg(e.default||e)),zy=Qo(Sy({loader:Hy},Cy)),Uy=()=>t(()=>import("./pages-ticket-grab-detail.zhd9RT8q.js"),__vite__mapDeps([38,14,10,6,39,40,31,2,11,41])).then(e=>dg(e.default||e)),Yy=Qo(Sy({loader:Uy},Cy)),Xy=()=>t(()=>import("./pages-ticket-grab-reserve.DM2tgpLy.js"),__vite__mapDeps([42,14,21,22,39,43])).then(e=>dg(e.default||e)),Ky=Qo(Sy({loader:Xy},Cy)),Gy=()=>t(()=>import("./pages-activity-reserve.CLL5_v0n.js"),__vite__mapDeps([44,14,21,22,39,32,45])).then(e=>dg(e.default||e)),Jy=Qo(Sy({loader:Gy},Cy)),Zy=()=>t(()=>import("./pages-mine-reservation-detail.DJgfBOw9.js"),__vite__mapDeps([46,14,10,27,47])).then(e=>dg(e.default||e)),Qy=Qo(Sy({loader:Zy},Cy)),eb=()=>t(()=>import("./pages-study-tour-detail.DXNgTVif.js"),__vite__mapDeps([48,14,32,2,7,5,8,9,10,49])).then(e=>dg(e.default||e)),tb=Qo(Sy({loader:eb},Cy)),nb=()=>t(()=>import("./pages-venue-detail.DR_idxYG.js"),__vite__mapDeps([50,14,6,9,10,30,11,40,31,32,2,51])).then(e=>dg(e.default||e)),ob=Qo(Sy({loader:nb},Cy)),rb=()=>t(()=>import("./pages-stats-index.I6pKoYw2.js"),__vite__mapDeps([52,14,1,2,53])).then(e=>dg(e.default||e)),ib=Qo(Sy({loader:rb},Cy)),sb=()=>t(()=>import("./pages-traffic-index.BZrXn9cM.js"),__vite__mapDeps([54,55])).then(e=>dg(e.default||e)),ab=Qo(Sy({loader:sb},Cy));function lb(e,t){return Ti(),Oi(_y,null,{page:yo(()=>[Ri(e,Sy({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ey,t)}},loader:ky,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"苏州市科普场馆地图",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Py,t)}},loader:Oy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"场馆列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb($y,t)}},loader:Ly,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"活动",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/discover/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ay,t)}},loader:My,meta:{enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"科普四季研学线路推荐",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ry,t)}},loader:Iy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/profile",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Dy,t)}},loader:By,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/orders",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(jy,t)}},loader:Ny,meta:{navigationBar:{titleText:"我的活动预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Vy,t)}},loader:Fy,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/behind-scenes",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(qy,t)}},loader:Wy,meta:{navigationBar:{titleText:"活动花絮",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/registrations",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(zy,t)}},loader:Hy,meta:{navigationBar:{titleText:"已报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Yy,t)}},loader:Uy,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/reserve",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ky,t)}},loader:Xy,meta:{navigationBar:{titleText:"抢票预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/reserve",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Jy,t)}},loader:Gy,meta:{navigationBar:{titleText:"预约报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/reservation-detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Qy,t)}},loader:Zy,meta:{navigationBar:{titleText:"预约详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/study-tour/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(tb,t)}},loader:eb,meta:{navigationBar:{titleText:"研学线路",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/venue/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(ob,t)}},loader:nb,meta:{navigationBar:{titleText:"场馆详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/stats/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(ib,t)}},loader:rb,meta:{enablePullDownRefresh:!0,backgroundColor:"#eef1f4",navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/traffic/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(ab,t)}},loader:sb,meta:{navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e + */(e);if(!o)return;const r=t._component;g(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const ra="undefined"!=typeof document;function ia(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const sa=Object.assign;function aa(e,t){const n={};for(const o in t){const r=t[o];n[o]=ca(r)?r.map(e):e(r)}return n}const la=()=>{},ca=Array.isArray,ua=/#/g,da=/&/g,fa=/\//g,ha=/=/g,pa=/\?/g,ma=/\+/g,ga=/%5B/g,va=/%5D/g,ya=/%5E/g,ba=/%60/g,_a=/%7B/g,wa=/%7C/g,xa=/%7D/g,Ta=/%20/g;function Sa(e){return encodeURI(""+e).replace(wa,"|").replace(ga,"[").replace(va,"]")}function Ca(e){return Sa(e).replace(ma,"%2B").replace(Ta,"+").replace(ua,"%23").replace(da,"%26").replace(ba,"`").replace(_a,"{").replace(xa,"}").replace(ya,"^")}function ka(e){return Ca(e).replace(ha,"%3D")}function Ea(e){return null==e?"":function(e){return Sa(e).replace(ua,"%23").replace(pa,"%3F")}(e).replace(fa,"%2F")}function Oa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Pa=/\/$/;function La(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Oa(s)}}function $a(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ma(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Aa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ia(e[n],t[n]))return!1;return!0}function Ia(e,t){return ca(e)?Ra(e,t):ca(t)?Ra(t,e):e===t}function Ra(e,t){return ca(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Ba={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Da,Na,ja,Fa;function Va(e){if(!e)if(ra){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Pa,"")}(Na=Da||(Da={})).pop="pop",Na.push="push",(Fa=ja||(ja={})).back="back",Fa.forward="forward",Fa.unknown="";const Wa=/^[^#]+#/;function qa(e,t){return e.replace(Wa,"#")+t}const Ha=()=>({left:window.scrollX,top:window.scrollY});function za(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Ua(e,t){return(history.state?history.state.position-t:-1)+e}const Ya=new Map;function Xa(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),$a(n,"")}return $a(n,e)+o+r}function Ka(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ha():null}}function Ga(e){const{history:t,location:n}=window,o={value:Xa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=sa({},r.value,t.state,{forward:e,scroll:Ha()});i(s.current,s,!0),i(e,sa({},Ka(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,sa({},t.state,Ka(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Ja(e){const t=Ga(e=Va(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Xa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach(e=>{e(n.value,l,{delta:u,type:Da.pop,direction:u?u>0?ja.forward:ja.back:ja.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(sa({},e.state,{scroll:Ha()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=sa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:qa.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Za(e){return"string"==typeof e||"symbol"==typeof e}const Qa=Symbol("");var el,tl;function nl(e,t){return sa(new Error,{type:e,[Qa]:!0},t)}function ol(e,t){return e instanceof Error&&Qa in e&&(null==t||!!(e.type&t))}(tl=el||(el={}))[tl.aborted=4]="aborted",tl[tl.cancelled=8]="cancelled",tl[tl.duplicated=16]="duplicated";const rl="[^/]+?",il={sensitive:!1,strict:!1,start:!0,end:!0},sl=/[.+*?^${}()[\]/\\]/g;function al(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function ll(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ul={type:0,value:""},dl=/[a-zA-Z0-9_]/;function fl(e,t,n){const o=function(e,t){const n=sa({},il,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:la}function i(e){if(Za(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;ll(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(bl(t)&&0===ll(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!gl(e)&&o.set(e.record.name,e)}return t=yl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>r(e)),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw nl(1,{location:e});s=r.record.name,a=sa(pl(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&pl(e.params,r.keys.map(e=>e.name))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find(e=>e.re.test(i)),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!r)throw nl(1,{location:e,currentLocation:t});s=r.record.name,a=sa({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:vl(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function pl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ml(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function gl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vl(e){return e.reduce((e,t)=>sa(e,t.meta),{})}function yl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function bl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _l(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ca(e)):[o&&Ca(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function xl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ca(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Tl=Symbol(""),Sl=Symbol(""),Cl=Symbol(""),kl=Symbol(""),El=Symbol("");function Ol(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Pl(e,t,n,o,r,i=e=>e()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=e=>{var i;!1===e?l(nl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(nl(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Ll(e,t,n,o,r=e=>e()){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(ia(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Pl(l,n,o,s,e,r))}else{let l=a();i.push(()=>l.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&ia(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Pl(c,n,o,s,e,r)()}))}}return i}function $l(e){const t=Jr(Cl),n=Jr(kl),o=rs(()=>{const n=Fn(e.to);return t.resolve(n)}),r=rs(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Ma.bind(null,r));if(s>-1)return s;const a=Al(e[t-2]);return t>1&&Al(r)===a&&i[i.length-1].path!==a?i.findIndex(Ma.bind(null,e[t-2])):s}),i=rs(()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!ca(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),s=rs(()=>r.value>-1&&r.value===n.matched.length-1&&Aa(n.params,o.value.params));return{route:o,href:rs(()=>o.value.href),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(la):Promise.resolve()}}}const Ml=Jo({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:$l,setup(e,{slots:t}){const n=_n($l(e)),{options:o}=Jr(Cl),r=rs(()=>({[Il(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Il(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:is("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Al(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Il=(e,t,n)=>null!=e?e:null!=t?t:n;function Rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Bl=Jo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Jr(El),r=rs(()=>e.route||o.value),i=Jr(Sl,0),s=rs(()=>{let e=Fn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=rs(()=>r.value.matched[s.value]);Gr(Sl,rs(()=>s.value+1)),Gr(Tl,a),Gr(El,r);const l=Bn();return Ao(()=>[l.value,a.value,e.name],([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Ma(t,r)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Rl(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=is(c,sa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Rl(n.default,{Component:f,route:o})||f}}});function Dl(e){const t=hl(e.routes,e),n=e.parseQuery||_l,o=e.stringifyQuery||wl,r=e.history,i=Ol(),s=Ol(),a=Ol(),l=Dn(Ba);let c=Ba;ra&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=aa.bind(null,e=>""+e),d=aa.bind(null,Ea),f=aa.bind(null,Oa);function h(e,i){if(i=sa({},i||l.value),"string"==typeof e){const o=La(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return sa(o,s,{params:f(s.params),hash:Oa(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=sa({},e,{path:La(n,e.path,i.path).path});else{const t=sa({},e.params);for(const e in t)null==t[e]&&delete t[e];s=sa({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,sa({},e,{hash:(p=c,Sa(p).replace(_a,"{").replace(xa,"}").replace(ya,"^")),path:a.path}));var p;const m=r.createHref(h);return sa({fullPath:h,hash:c,query:o===wl?xl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function p(e){return"string"==typeof e?La(n,e,l.value.path):sa({},e)}function m(e,t){if(c!==e)return nl(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=p(o):{path:o},o.params={}),sa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=h(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(sa(p(u),{state:"object"==typeof u?sa({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Ma(t.matched[o],n.matched[r])&&Aa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=nl(16,{to:d,from:r}),$(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch(e=>ol(e)?ol(e,2)?e:L(e):P(e,d,r)).then(e=>{if(e){if(ol(e,2))return y(sa({replace:a},p(e.to),{state:"object"==typeof e.to?sa({},i,e.to.state):i,force:s}),t||d)}else e=T(d,r,!0,a,i);return x(d,r,e),e})}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sMa(e,i))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(e=>Ma(e,a))||r.push(a))}return[n,o,r]}(e,t);n=Ll(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push(Pl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),B(n).then(()=>{n=[];for(const o of i.list())n.push(Pl(o,e,t));return n.push(l),B(n)}).then(()=>{n=Ll(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push(Pl(o,e,t))});return n.push(l),B(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ca(o.beforeEnter))for(const r of o.beforeEnter)n.push(Pl(r,e,t));else n.push(Pl(o.beforeEnter,e,t));return n.push(l),B(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ll(a,"beforeRouteEnter",e,t,_),n.push(l),B(n))).then(()=>{n=[];for(const o of s.list())n.push(Pl(o,e,t));return n.push(l),B(n)}).catch(e=>ol(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>_(()=>o(e,t,n)))}function T(e,t,n,o,i){const s=m(e,t);if(s)return s;const a=t===Ba,c=ra?history.state:{};n&&(o||a?r.replace(e.fullPath,sa({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,$(e,t,n,a),L()}let S;function C(){S||(S=r.listen((e,t,n)=>{if(!R.listening)return;const o=h(e),i=v(o);if(i)return void y(sa(i,{replace:!0}),o).catch(la);c=o;const s=l.value;var a,u;ra&&(a=Ua(s.fullPath,n.delta),u=Ha(),Ya.set(a,u)),w(o,s).catch(e=>ol(e,12)?e:ol(e,2)?(y(e.to,o).then(e=>{ol(e,20)&&!n.delta&&n.type===Da.pop&&r.go(-1,!1)}).catch(la),Promise.reject()):(n.delta&&r.go(-n.delta,!1),P(e,o,s))).then(e=>{(e=e||T(o,s,!1))&&(n.delta&&!ol(e,8)?r.go(-n.delta,!1):n.type===Da.pop&&ol(e,20)&&r.go(-1,!1)),x(o,s,e)}).catch(la)}))}let k,E=Ol(),O=Ol();function P(e,t,n){L(e);const o=O.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function L(e){return k||(k=!e,C(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!ra||!i)return Promise.resolve();const s=!o&&function(e){const t=Ya.get(e);return Ya.delete(e),t}(Ua(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return no().then(()=>i(t,n,s)).then(e=>e&&za(e)).catch(e=>P(e,t,n))}const M=e=>r.go(e);let A;const I=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return Za(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:h,options:e,push:g,replace:function(e){return g(sa(p(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return k&&l.value!==Ba?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",Ml),e.component("RouterView",Bl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),ra&&!A&&l.value===Ba&&(A=!0,g(r.location).catch(e=>{}));const t={};for(const o in Ba)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Cl,this),e.provide(kl,wn(t)),e.provide(El,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=Ba,S&&S(),S=null,l.value=Ba,A=!1,k=!1),n()}}};function B(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return R}function Nl(e){return Jr(kl)}const jl=["{","}"];const Fl=/^(?:\d)+/,Vl=/^(?:\w)+/;const Wl="zh-Hans",ql="zh-Hant",Hl="en",zl="fr",Ul="es",Yl=Object.prototype.hasOwnProperty,Xl=(e,t)=>Yl.call(e,t),Kl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=jl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?Wl:e.indexOf("-hant")>-1?ql:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?ql:Wl);var n;let o=[Hl,zl,Ul];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return r||void 0}class Jl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Hl,this.fallbackLocale=Hl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Kl,this.messages=n||{},this.setLocale(e||Hl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Gl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach(e=>{Xl(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Gl(t,this.messages))&&(o=this.messages[t]):n=t,Xl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Zl(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&yf?yf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Hl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Hl);const r=new Jl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=ag().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function Ql(e,t){return e.indexOf(t[0])>-1}const ec=Ie(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let tc;function nc(e){return Ql(e,te)?ic().f(e,function(){const e=yf(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function oc(e,t){if(1===t.length){if(e){const n=e=>v(e)&&Ql(e,te),o=t[0];let r=[];if(h(e)&&(r=e.filter(e=>n(e[o]))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return oc(e&&e[n],t)}function rc(e,t){const n=oc(e,t);if(!n)return!1;const o=t[t.length-1];if(h(n))n.forEach(e=>rc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>nc(e),set(t){e=t}})}return!0}function ic(){if(!tc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,tc=Zl(e),ec()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>tc.add(e,__uniConfig.locales[e])),tc.setLocale(e)}}return tc}function sc(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const ac=Ie(()=>{const e="uni.async.",t=["error"];ic().add(Hl,sc(e,t,["The connection timed out, click the screen to try again."]),!1),ic().add(Ul,sc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),ic().add(zl,sc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),ic().add(Wl,sc(e,t,["连接服务器超时,点击屏幕重试"]),!1),ic().add(ql,sc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),lc=Ie(()=>{const e="uni.showToast.",t=["unpaired"];ic().add(Hl,sc(e,t,["Please note showToast must be paired with hideToast"]),!1),ic().add(Ul,sc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),ic().add(zl,sc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),ic().add(Wl,sc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),ic().add(ql,sc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),cc=Ie(()=>{const e="uni.showLoading.",t=["unpaired"];ic().add(Hl,sc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),ic().add(Ul,sc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),ic().add(zl,sc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),ic().add(Wl,sc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),ic().add(ql,sc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),uc=Ie(()=>{const e="uni.showModal.",t=["cancel","confirm"];ic().add(Hl,sc(e,t,["Cancel","OK"]),!1),ic().add(Ul,sc(e,t,["Cancelar","OK"]),!1),ic().add(zl,sc(e,t,["Annuler","OK"]),!1),ic().add(Wl,sc(e,t,["取消","确定"]),!1),ic().add(ql,sc(e,t,["取消","確定"]),!1)}),dc=Ie(()=>{const e="uni.chooseFile.",t=["notUserActivation"];ic().add(Hl,sc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),ic().add(Ul,sc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),ic().add(zl,sc(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),ic().add(Wl,sc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),ic().add(ql,sc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),fc=Ie(()=>{const e="uni.setClipboardData.",t=["success","fail"];ic().add(Hl,sc(e,t,["Content copied","Copy failed, please copy manually"]),!1),ic().add(Ul,sc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),ic().add(zl,sc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),ic().add(Wl,sc(e,t,["内容已复制","复制失败,请手动复制"]),!1),ic().add(ql,sc(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),hc=Ie(()=>{const e="uni.picker.",t=["done","cancel"];ic().add(Hl,sc(e,t,["Done","Cancel"]),!1),ic().add(Ul,sc(e,t,["OK","Cancelar"]),!1),ic().add(zl,sc(e,t,["OK","Annuler"]),!1),ic().add(Wl,sc(e,t,["完成","取消"]),!1),ic().add(ql,sc(e,t,["完成","取消"]),!1)}),pc=Ie(()=>{const e="uni.video.",t=["danmu","volume"];ic().add(Hl,sc(e,t,["Danmu","Volume"]),!1),ic().add(Ul,sc(e,t,["Danmu","Volumen"]),!1),ic().add(zl,sc(e,t,["Danmu","Le Volume"]),!1),ic().add(Wl,sc(e,t,["弹幕","音量"]),!1),ic().add(ql,sc(e,t,["彈幕","音量"]),!1)});function mc(e){const t=new at;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const gc="invokeViewApi",vc="invokeServiceApi";let yc=1;const bc=Object.create(null);function _c(e,t){return e+"."+t}function wc(e,t,n){t=_c(e,t),bc[t]||(bc[t]=n)}function xc({id:e,name:t,args:n},o){t=_c(o,t);const r=t=>{e&&ny.publishHandler(gc+"."+e,t)},i=bc[t];i?i(n,r):r({})}const Tc=c(mc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=ny,i=n?yc++:0;n&&o(vc+"."+i,n,!0),r(vc,{id:i,name:e,args:t})}}),Sc=Xe(!0);let Cc;function kc(){Cc&&(clearTimeout(Cc),Cc=null)}let Ec=0,Oc=0;function Pc(e){if(kc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ec=t,Oc=n,Cc=setTimeout(function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)},350)}function Lc(e){if(!Cc)return;if(1!==e.touches.length)return kc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ec)>10||Math.abs(n-Oc)>10?kc():void 0}function $c(e,t){const n=Number(e);return isNaN(n)?t:n}function Mc(){const e=__uniConfig.globalStyle||{},t=$c(e.rpxCalcMaxDeviceWidth,960),n=$c(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic,Rc,Bc=["top","left","right","bottom"],Dc={};function Nc(){return Rc="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function jc(){if(Rc="string"==typeof Rc?Rc:Nc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Bc.forEach(function(e){s(o,e)}),document.body.appendChild(o),i(),Ic=!0}else Bc.forEach(function(e){Dc[e]=0});function r(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function i(t){t?e.push(t):e.forEach(function(e){e()})}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Rc+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Vc.length||setTimeout(function(){var e={};Vc.forEach(function(t){e[t]=Dc[t]}),Vc.length=0,Wc.forEach(function(t){t(e)})},0);Vc.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(Dc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Fc(e){return Ic||jc(),Dc[e]}var Vc=[];var Wc=[];const qc=Ac({get support(){return 0!=("string"==typeof Rc?Rc:Nc()).length},get top(){return Fc("top")},get left(){return Fc("left")},get right(){return Fc("right")},get bottom(){return Fc("bottom")},onChange:function(e){Nc()&&(Ic||jc(),"function"==typeof e&&Wc.push(e))},offChange:function(e){var t=Wc.indexOf(e);t>=0&&Wc.splice(t,1)}}),Hc=ea(()=>{},["prevent"]),zc=ea(e=>{},["stop"]);function Uc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Yc(){const e=Uc(document.documentElement.style,"--window-top");return e?e+qc.top:0}function Xc(){const e=document.documentElement.style,t=Yc(),n=Uc(e,"--window-bottom"),o=Uc(e,"--window-left"),r=Uc(e,"--window-right"),i=Uc(e,"--top-window-height");return{top:t,bottom:n?n+qc.bottom:0,left:o?o+qc.left:0,right:r?r+qc.right:0,topWindowHeight:i||0}}function Kc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Gc(e){return Kc(e)}function Jc(e){return Symbol(e)}function Zc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Qc(e,t=!1){if(t)return function(e){if(!Zc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>Kd(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return Zc(e)?Kd(t):t}return e}function eu(e){return e.$page}function tu(e){return 0===e.tagName.indexOf("UNI-")}const nu="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",ou="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";function ru(e,t="#000",n=27){return Ri("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Ri("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){{const{$pageInstance:e}=Yi();return e&&hu(e.proxy)}}function su(e){const t=je(e);if(t.$page)return hu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return hu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?hu(n):void 0}function au(){const e=xh(),t=e.length;if(t)return e[t-1]}function lu(){var e;const t=null==(e=au())?void 0:e.$page;if(t)return t.meta}function cu(){const e=lu();return e?e.id:-1}function uu(){const e=au();if(e)return e.$vm}const du=["navigationBar","pullToRefresh"];function fu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);du.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function hu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function pu(e,t,n){if(v(e))n=t,t=e,e=uu();else if("number"==typeof e){const t=xh().find(t=>eu(t).id===e);e=t?t.$vm:uu()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-vu)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(vu=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(gu=setTimeout(s,300))),o=!1};return function(){clearTimeout(gu),o||requestAnimationFrame(s),o=!0}}function bu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return bu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),Ae(i.concat(n).join("/"))}function _u(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function wu(){Mc(),ze(tu),window.addEventListener("touchstart",Pc,Sc),window.addEventListener("touchmove",Lc,Sc),window.addEventListener("touchend",kc,Sc),window.addEventListener("touchcancel",kc,Sc)}class xu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Ve(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter(e=>e.el&&Ve(e.el));if(e.length>0)return t?e.map(e=>e.el):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=ku(this.$el.querySelector(e));return t?Tu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&ny.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce((e,n)=>(e[n]=t[n],e),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Tu(e,t=!0){if(t&&e&&(e=Fe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new xu(e)),e.$el.__wxsComponentDescriptor}function Su(e,t){return Tu(e,t)}function Cu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Su(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Fe(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Su(r,!1)]}}function ku(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Eu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Ke(t?r:function(e){for(;!tu(e);)e=e.parentElement;return e}(r)),a=Ke(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&T(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Ou(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Pu(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Yc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Ou(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Yc();i.touches=Pu(e.touches,t),i.changedTouches=Pu(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(i,t,{get:()=>e[t]})})}return Cu(i,t,n)||[i]},createNativeEvent:Eu},Symbol.toStringTag,{value:"Module"});function $u(e){!function(e){const t=e.globalProperties;c(t,Lu),t.$gcd=Su}(e._context.config)}let Mu=1;function Au(e){return(e||cu())+"."+gc}const Iu=c(mc("view"),{invokeOnCallback:(e,t)=>oy.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=oy,s=o?Mu++:0;o&&r(gc+"."+s,o,!0),i(Au(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=oy,a=Mu++,l=gc+"."+a;return r(l,n),s(Au(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Ru(e){pu(au(),me,e),oy.invokeOnCallback("onWindowResize",e)}function Bu(e){const t=au();pu(ag(),re,e),pu(t,re)}function Du(){pu(ag(),ie),pu(au(),ie)}const Nu=[ve,be];function ju(){Nu.forEach(e=>oy.subscribe(e,function(e){return(t,n)=>{pu(parseInt(n),e,t)}}(e)))}function Fu(){!function(){const{on:e}=oy;e(me,Ru),e(Le,Bu),e($e,Du)}(),ju()}function Vu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new tt(this.$page.id)),e.eventChannel}}function Wu(e){e._context.config.globalProperties.getOpenerEventChannel=Vu}function qu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Hu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${Kd(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function zu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach(e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(s=s.map(Hu)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Hu(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach(t=>{e.$el.style[t]=a[t]}),n+=1,n{i()},0)}const Uu={props:["animation"],watch:{animation:{deep:!0,handler(){zu(this)}}},mounted(){zu(this)}},Yu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Uu),Xu(e)},Xu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Jo(e));function Ku(e){return e.__wwe=!0,e}function Gu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Ke(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ju={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Zu(e){const t=Bn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout(()=>{t.value=!0,r||i()},parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ku(function(e){e.touches.length>1||s(e)}),onMousedown:Ku(function(e){r||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ku(function(){a()}),onMouseup:Ku(function(){r&&l()}),onTouchcancel:Ku(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Qu(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ed=Jc("uf"),td=Jc("ul");function nd(e,t,n){const o=iu();n&&!e||T(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&ny.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?ny.on(r,t[r]):e&&ny.on(`uni-${r}-${o}-${e}`,t[r])})}function od(e,t,n){const o=iu();n&&!e||T(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&ny.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?ny.off(r,t[r]):e&&ny.off(`uni-${r}-${o}-${e}`,t[r])})}const rd=Yu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Bn(null),o=Jr(ed,!1),{hovering:r,binding:i}=Zu(e),s=Ku((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;}),a=Jr(td,!1);return a&&(a.addHandler(s),_r(()=>{a.removeHandler(s)})),function(e,t){nd(e.id,t),Ao(()=>e.id,(e,n)=>{od(n,t,!0),nd(e,t,!0)}),wr(()=>{od(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Qu(e,"disabled"),l=Qu(e,"loading"),c=Qu(e,"plain"),u=o&&"none"!==o;return Ri("uni-button",Wi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),id=Jc("upm");function sd(){return Jr(id)}function ad(e){const t=function(e){return _n(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Qc(e.offset)),e.height&&(e.height=Qc(e.height)),e.range&&(e.range=Qc(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+qc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==xh().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(fu(Nl().meta,e)))))}(e);return Gr(id,t),t}function ld(){return Nl()}function cd(){return history.state&&history.state.__id__||1}const ud=["original","compressed"],dd=["album","camera"],fd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function hd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function pd(e,t){return!h(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function md(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let gd=1;const vd={};function yd(e,t,n){if("number"==typeof e){const o=vd[e];if(o)return o.keepAlive||delete vd[e],o.callback(t,n)}return t}const bd="success",_d="fail",wd="complete";function xd(e,t={},{beforeAll:n,beforeSuccess:o}={}){T(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=md(o),delete e[n])}return t}(t),a=g(r),l=g(i),c=g(s),u=gd++;return function(e,t,n,o=!1){vd[e]={name:t,keepAlive:o,callback:n}}(u,e,u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)}),u}const Td="success",Sd="fail",Cd="complete",kd={},Ed={};function Od(e,t){return function(n){return e(n,t)||n}}function Pd(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Ld(e,t={}){return[Td,Sd,Cd].forEach(n=>{const o=e[n];if(!h(o))return;const r=t[n];t[n]=function(e){Pd(o,e,t).then(e=>g(r)&&r(e)||e)}}),t}function $d(e,t){const n=[];h(kd.returnValue)&&n.push(...kd.returnValue);const o=Ed[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Md(e){const t=Object.create(null);Object.keys(kd).forEach(e=>{"returnValue"!==e&&(t[e]=kd[e].slice())});const n=Ed[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Ad(e,t,n,o){const r=Md(e);if(r&&Object.keys(r).length){if(h(r.invoke)){return Pd(r.invoke,n).then(n=>t(Ld(Md(e),n),...o))}return t(Ld(r,n),...o)}return t(n,...o)}function Id(e,t){return(n={},...o)=>function(e){return!(!T(e)||![bd,_d,wd].find(t=>g(e[t])))}(n)?$d(e,Ad(e,t,c({},n),o)):$d(e,new Promise((r,i)=>{Ad(e,t,c({},n,{success:r,fail:i}),o)}))}function Rd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,yd(e,c({errMsg:i},o))}function Bd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!T(t.formatArgs)&&T(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=xd(e,n,o),i=Bd(0,[n],0,o);return i?Rd(r,e,i):t(n,{resolve:t=>function(e,t,n){return yd(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Rd(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Nd(e,t,n,o){return Id(e,Dd(e,t,0,o))}function jd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Bd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Fd(e,t,n,o){return Id(e,function(e,t,n,o){return Dd(e,t,0,o)}(e,t,0,o))}let Vd=!1,Wd=0,qd=0,Hd=960,zd=375,Ud=750;function Yd(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Yh(),t=Gh(Kh(e,Xh(e)));return{platform:Wh?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Wd=e,qd=t,Vd="ios"===n}function Xd(e,t){const n=Number(e);return isNaN(n)?t:n}const Kd=jd(0,(e,t)=>{if(0===Wd&&(Yd(),function(){const e=__uniConfig.globalStyle||{};Hd=Xd(e.rpxCalcMaxDeviceWidth,960),zd=Xd(e.rpxCalcBaseDeviceWidth,375),Ud=Xd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Wd;n=e===Ud||n<=Hd?n:zd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==qd&&Vd?.5:1),e<0?-o:o}),Gd=[.5,.8,1,1.25,1.5,2];const Jd=(e,t,n,o)=>{!function(e,t,n,o,r){oy.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)})};var Zd=["scale","rotate","translate","setTransform","transform"],Qd=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],ef=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const tf={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 nf(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim()))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))});var n=e.toLowerCase();if(f(tf,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(tf[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class of{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,nf(t)])}}class rf{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class sf{constructor(e){this.width=e}}class af{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){oy.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{r&&r(e)})}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new of("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new of("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new rf(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new sf(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()}),1===o.length&&a(),o=s.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const lf=Ie(()=>{[...Zd,...Qd].forEach(function(e){af.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),ef.forEach(function(e){af.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",nf(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=nf(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),cf=jd(0,(e,t)=>{if(lf(),t)return new af(e,su(t));const n=su(uu());if(n)return new af(e,n);oy.emit(ae,"createCanvasContext:fail")});let uf=0,df={};function ff(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(uf++);r.callbackId=e,df[e]=o}oy.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}(df[e],t),delete df[e])})}const hf={canvas:af,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Jd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Jd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Jd(this.id,this.pageId,"getScale",e)}getRegion(e){Jd(this.id,this.pageId,"getRegion",e)}includePoints(e){Jd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Jd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Jd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Jd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Jd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Jd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Jd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Jd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Jd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Jd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Jd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Jd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Jd(this.id,this.pageId,"openMapApp",e)}on(e,t){Jd(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){Jh(this.id,this.pageId,"play")}pause(){Jh(this.id,this.pageId,"pause")}stop(){Jh(this.id,this.pageId,"stop")}seek(e){Jh(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Jh(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Gd.indexOf(e)||(e=1),Jh(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Jh(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Jh(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Jh(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Jh(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){ff(this.id,this.pageId,e,t)}}};function pf(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=hf[n];e.context=new r(t,o),delete e.contextInfo}}class mf{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class gf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};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);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):Qh(i,n)?i:i.querySelector(n);return e?Zh(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(Zh(t,r))}),!l&&Qh(i,n)&&e.unshift(Zh(i,r)),e}}(e,t,n,r,i))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{h(e)?e.forEach(pf):pf(e);const o=n[t];g(o)&&o.call(this,e)}),g(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=je(e),this}select(e){return this._nodesRef=new mf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new mf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new mf(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const vf=jd(0,e=>((e=je(e))&&!su(e)&&(e=null),new gf(e||uu()))),yf=jd(0,()=>{const e=ag();return e&&e.$vm?e.$vm.$locale:ic().getLocale()}),bf={[ue]:[],[ce]:[],[ae]:[],[re]:[],[ie]:[]};const _f={formatArgs:{showToast:!0},beforeInvoke(){fc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=ic(),o=n("uni.setClipboardData.success");o&&Sv({title:o,icon:"success",mask:!1})}},wf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=pd(e,ud)},sourceType(e,t){t.sourceType=pd(e,dd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},xf="json",Tf=["text","arraybuffer"],Sf=encodeURIComponent;const Cf={formatArgs:{method(e,t){t.method=hd((e||"").toUpperCase(),fd)},data(e,t){t.data=e||""},url(e,t){t.method===fd[0]&&T(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter(e=>e),s={};i.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":T(e)&&(e=JSON.stringify(e)),s[Sf(a)]=Sf(e)}return r=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==fd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||xf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Tf.indexOf(t.responseType)&&(t.responseType="text")}}},kf={formatArgs:{filePath(e,t){e&&(t.filePath=jh(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Ef={url:{type:String,required:!0}},Of="navigateTo",Pf="redirectTo",Lf="reLaunch",$f="switchTab",Mf="preloadPage",Af=(Nf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Nf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Vf(Of)),If=Vf(Pf),Rf=Vf(Lf),Bf=Vf($f),Df={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(xh().length-1,e)}}};function Nf(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let jf;function Ff(){jf=""}function Vf(e){return{formatArgs:{url:Wf(e)},beforeAll:Ff}}function Wf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=xh();return n.length&&(t=eu(n[n.length-1]).route),bu(t,e)}(t)).split("?")[0],r=_u(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Of||e===Pf){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===$f&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==$f&&e!==Mf||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==Mf){if(jf===t&&"appLaunch"!==n.openType)return`${jf} locked`;__uniConfig.ready&&(jf=t)}else if(r.meta.isTabBar){const e=xh(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const qf={formatArgs:{title:"",mask:!1}},Hf={beforeInvoke(){uc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=ic();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=ic();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},zf=["success","loading","none","error"],Uf={formatArgs:{title:"",icon(e,t){t.icon=hd(e,zf)},image(e,t){t.image=e?jh(e):""},duration:1500,mask:!1}},Yf="stopPullDownRefresh";function Xf(){const e=uu();if(!e)return;const t=wh(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Sh(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,pu(e,ie))}function Kf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Gf(e){const t=wh().values();for(const n of t){const t=mh(n);if(Kf(e,t))return n.$.__isActive=!0,t.id}}const Jf=Fd($f,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(gh.handledBeforeEntryPageRoutes)return Xf(),nh({type:$f,url:e,tabBarText:t,isAutomatedTesting:n},Gf(e)).then(o).catch(r);yh.push({args:{type:$f,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Bf);function Zf(){const e=au();if(!e)return;const t=mh(e);Sh(Oh(t.path,t.id))}const Qf=Fd(Pf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(gh.handledBeforeEntryPageRoutes)return Zf(),nh({type:Pf,url:e,isAutomatedTesting:t}).then(n).catch(o);bh.push({args:{type:Pf,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,If);function eh(){const e=wh().keys();for(const t of e)Sh(t)}const th=Fd(Lf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(gh.handledBeforeEntryPageRoutes)return eh(),nh({type:Lf,url:e,isAutomatedTesting:t}).then(n).catch(o);_h.push({args:{type:Lf,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Rf);function nh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=ag().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Qe(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Ch,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(i=>{if(ol(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach(t=>{e.eventChannel._addListener(t,"on",o[t])}),e.eventChannel._clearCache()):e.eventChannel=new tt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function oh(){if(gh.handledBeforeEntryPageRoutes)return;gh.handledBeforeEntryPageRoutes=!0;const e=[...vh];vh.length=0,e.forEach(({args:e,resolve:t,reject:n})=>nh(e).then(t).catch(n));const t=[...yh];yh.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Xf(),nh(e,Gf(e.url)).then(t).catch(n)));const n=[...bh];bh.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Zf(),nh(e).then(t).catch(n)));const o=[..._h];_h.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(eh(),nh(e).then(t).catch(n)))}let rh;function ih(){var e;return rh||(rh=__uniConfig.tabBar&&_n((e=__uniConfig.tabBar,ec()&&e.list&&e.list.forEach(e=>{rc(e,["text"])}),e))),rh}function sh(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const ah=sh("top:env(a)"),lh=sh("top:constant(a)"),ch=sh("backdrop-filter:blur(10px)"),uh=(()=>ah?"env":lh?"constant":"")();function dh(e){let t=0;if(e.isTabBar){const e=ih();e.shown&&(t=parseInt(e.height))}var n;Gc({"--window-top":(n=0,uh?`calc(${n}px + ${uh}(safe-area-inset-top))`:`${n}px`),"--window-bottom":fh(t)})}function fh(e){return uh?`calc(${e}px + ${uh}(safe-area-inset-bottom))`:`${e}px`}const hh="$$",ph=new Map;function mh(e){return e.$page}const gh={handledBeforeEntryPageRoutes:!1},vh=[],yh=[],bh=[],_h=[];function wh(){return ph}function xh(){return Th()}function Th(){const e=[],t=ph.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Sh(e,t=!0){const n=ph.get(e);n.$.__isUnload=!0,pu(n,fe),ph.delete(e),t&&function(e){const t=Ph.get(e);t&&(Ph.delete(e),Lh.pruneCacheEntry(t))}(e)}let Ch=cd();function kh(e){const t=sd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=ut(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:Ae(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Eh(e){const t=kh(e.$route);!function(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)}(e,t),ph.set(Oh(t.path,t.id),e),1===ph.size&&setTimeout(()=>{oh()},0)}function Oh(e,t){return e+hh+t}const Ph=new Map,Lh={get:e=>Ph.get(e),set(e,t){!function(e){const t=parseInt(e.split(hh)[1]);if(!t)return;Lh.forEach((e,n)=>{const o=parseInt(n.split(hh)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Lh.delete(n),Lh.pruneCacheEntry(e),no(()=>{ph.forEach((e,t)=>{e.$.isUnmounted&&ph.delete(t)})})}})}(e),Ph.set(e,t)},delete(e){Ph.get(e)&&Ph.delete(e)},forEach(e){Ph.forEach(e)}};function $h(e,t){!function(e){const t=Ah(e),{body:n}=document;Ih&&n.removeAttribute(Ih),t&&n.setAttribute(t,""),Ih=t}(e),dh(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Dh(e,t)}function Mh(e){const t=Ah(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Ah(e){return e.type.__scopeId}let Ih;const Rh=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let Bh;function Dh(e,t){if(document.removeEventListener("touchmove",mu),Bh&&document.removeEventListener("scroll",Bh),t.disableScroll)return document.addEventListener("touchmove",mu,Rh);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=mh(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&ny.publishHandler(ve,{scrollTop:o},e),n&&ny.emit(e+"."+ve,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>ny.publishHandler(be,{},s)),Bh=yu(i),requestAnimationFrame(()=>document.addEventListener("scroll",Bh))}function Nh(e){const{base:t}=__uniConfig.router;return 0===Ae(e).indexOf(t)?Ae(e):t+e}function jh(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Nh(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Th();return o.length?Nh(bu(mh(o[o.length-1]).route,e).slice(1)):e}const Fh=navigator.userAgent,Vh=/android/i.test(Fh),Wh=/iphone|ipad|ipod/i.test(Fh),qh=Fh.match(/Windows NT ([\d|\d.\d]*)/i),Hh=/Macintosh|Mac/i.test(Fh),zh=/Linux|X11/i.test(Fh),Uh=Hh&&navigator.maxTouchPoints>0;function Yh(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Xh(e){return e&&90===Math.abs(window.orientation)}function Kh(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Gh(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Jh(e,t,n,o){oy.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Zh(e,t){const n={},{top:o,topWindowHeight:r}=Xc();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ue(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(h(t.properties)&&t.properties.forEach(e=>{e=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(h(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach(e=>{n[e]=o[e]})}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Qh(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const ep={};function tp(e,t){const n=ep[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return np(s,o)}(e)):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function np(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function op(e){for(const n in ep)if(f(ep,n)){if(ep[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return ep[t]=e,t}const rp=qu(),ip=qu();const sp=Yu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Bn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=_n({width:-1,height:-1});return Ao(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){sr(o),vr(()=>{t.initial&&no(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>Ri("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Ri("div",{onScroll:r},[Ri("div",null,null)],40,["onScroll"]),Ri("div",{onScroll:r},[Ri("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const ap=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 lp(e,t=!0){const n=t?ap:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let cp=!1;function up(){if(cp)return;cp=!0;const e={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]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=ap,o*=ap,r*=ap,i*=ap,s*=ap,a*=ap,l=u?l*ap:l,c=u?c*ap:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==ap&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*ap});else if(Array.isArray(e))for(let t=0;tup());function fp(e){return e?jh(e):e}function hp(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function pp(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let mp;function gp(e=0,t=0){return mp||(mp=document.createElement("canvas")),mp.width=e,mp.height=t,mp}const vp=Yu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){dp();const o=Bn(null),r=Bn(null),i=Bn(null),s=Bn(!1),a=function(e){return(t,n)=>{e(t,Eu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=im({excludeListeners:!0}),{_listeners:h}=function(e,t,n){const o=rs(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];i[t]&&o.push(Ku(e=>{const o=e.currentTarget.getBoundingClientRect();pp(o,e.touches),pp(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Hc),i[t]=o}),i});return{_listeners:o}}(e,d,a),{_handleSubscribe:p,_resize:m}=function(e,t,n){let o=[],r={};const i=rs(()=>e.hidpi?ap:1);function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);lp(o,e.hidpi),t.putImageData(n,0,0)}else lp(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=fp(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=fp(o),n[1]=o),o&&!r[o]&&i()})}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const h=t.value;let p;const m=h.offsetWidth-e;o=o?Math.min(o,m):m;const g=h.offsetHeight-n;r=r?Math.min(r,g):g,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=gp(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(h,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)p=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);p=Array.prototype.slice.call(e.data)}b={data:p,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=gp(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function h({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const p={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:h};function m(e,t,n){let o=p[e];0!==e.indexOf("_")&&g(o)&&o(t,n)}return c(p,{_resize:s,_handleSubscribe:m})}(e,r,s);return Nm(p,Fm(e.canvasId),!0),vr(()=>{m()}),()=>{const{canvasId:t,disableScroll:s}=e;return Ri("uni-canvas",Wi({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,h.value),[Ri("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Ri("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Ri(sp,{ref:i,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function yp(){}const bp={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function _p(e,t,n){function o(e){const t=rs(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",yp,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",yp,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Ao(()=>t.value,e=>e&&o(e))}var wp=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,xp=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Tp=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Sp=Lp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Cp=Lp("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"),kp=Lp("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"),Ep=Lp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Op=Lp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Pp=Lp("script,style");function Lp(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Ap={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"]},Ip=Yu({name:"Image",props:$p,setup(e,{emit:t}){const n=Bn(null),o=function(e,t){const n=Bn(""),o=rs(()=>{let e="auto",o="";const r=Ap[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),r=_n({rootEl:e,src:rs(()=>t.src?jh(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return vr(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=Gu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Mp[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Rp&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Ao(()=>t.mode,(e,t)=>{Mp[t]&&r(),Mp[e]&&o()}),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),no(()=>{o()}),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Ao(()=>e.src,e=>l(e)),Ao(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),vr(()=>l(e.src)),_r(()=>c())}(o,e,n,i,r),()=>Ri("uni-image",{ref:n},[Ri("div",{style:o.modeStyle},null,4),Mp[e.mode]?Ri(sp,{onResize:i},null,8,["onResize"]):Ri("span",null,null)],512)}});const Rp="Google Inc."===navigator.vendor;const Bp=Xe(!0),Dp=[];let Np=0,jp=!1;const Fp=e=>Dp.forEach(t=>t.userAction=e);function Vp(e={userAction:!1}){if(!jp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Np&&Fp(!0),Np++,setTimeout(()=>{! --Np&&Fp(!1)},0)},Bp)}),jp=!0}Dp.push(e)}function Wp(){const e=_n({userAction:!1});return vr(()=>{Vp(e)}),_r(()=>{!function(e){const t=Dp.indexOf(e);t>=0&&Dp.splice(t,1)}(e)}),{state:e}}function qp(){const e=_n({attrs:{}});return vr(()=>{let t=Yi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Hp(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function zp(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Up=["none","text","decimal","numeric","tel","search","email","url"],Yp=c({},{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=>!!~Up.indexOf(e)},cursorColor:{type:String,default:""}},bp),Xp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Kp(e,t,n,o){let r=null;r=et(n=>{t.value=zp(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Ao(()=>e.modelValue,r),Ao(()=>e.value,r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return gr(()=>{r.cancel(),i.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Gp(e,t){Wp();const n=rs(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Ao(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),vr(()=>{n.value&&no(o)})}function Jp(e,t,n,o){wc(cu(),"getSelectedTextRange",Hp);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Bn(null),r=Gu(t,n),i=rs(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=rs(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=rs(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=rs(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=zp(e.modelValue,e.type)||zp(e.value,e.type);const u=_n({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Ao(()=>u.focus,e=>n("update:focus",e)),Ao(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Kp(e,i,n,s);Gp(e,r),_p(0,r);const{state:l}=qp();!function(e,t){const n=Jr(ed,!1);if(!n)return;const o=Yi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),_r(()=>{n.removeField(r)})}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Ao([()=>t.selectionStart,()=>t.selectionEnd],s),Ao(()=>t.cursor,a),Ao(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Zp=c({},Yp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Qp=Ie(()=>{{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 n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function em(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("deleteContentBackward"===e.inputType&&Qp()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function tm(e){return"insertFromPaste"===e.inputType}const nm=Yu({name:"Input",props:Zp,emits:["confirm",...Xp],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=rs(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),s=rs(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),a=rs(()=>{if(e.inputmode)return e.inputmode});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Bn(null!=t?t.toLocaleString():"");return Ao(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Ao(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Bn("")}(e,i),c={fn:null};const u=Bn(null),{fieldRef:d,state:f,scopedAttrsState:h,fixDisabledColor:p,trigger:m}=Jp(e,u,t,(e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=em(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=em(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!tm(e))return n.value=l.value=t.value,!1}});Ao(()=>f.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Ao(()=>e.maxlength,e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)});const g=["number","digit"],v=rs(()=>g.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),m("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&p?Ri("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):Ri("input",{key:"input",ref:d,value:f.value,onInput:e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?tm(e)&&(f.value=t.slice(0,f.maxlength)):f.value=t},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Ri("uni-input",{ref:u},[Ri("div",{class:"uni-input-wrapper"},[No(Ri("div",Wi(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Es,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Ri("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const om=["class","style"],rm=/^on[A-Z]+/,im=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Yi(),r=Dn({}),i=Dn({}),s=Dn({}),a=n.concat(om);return o.attrs=_n(o.attrs),$o(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:rm.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function sm(e){const t=[];return h(e)&&e.forEach(e=>{Pi(e)?e.type===vi?t.push(...sm(e.children)):t.push(e):h(e)&&t.push(...sm(e))}),t}const am=function(e,t,n,o){e.addEventListener(t,e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let lm,cm;function um(e,t,n){_r(()=>{document.removeEventListener("mousemove",lm),document.removeEventListener("mouseup",cm)});let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;am(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)}),am(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)}),am(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=lm=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),am(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const f=cm=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),am(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}const dm=Yu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return h(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Gu(o,n),s=function(e){const t=_n([...e.value]),n=_n({value:t,height:34});return Ao(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),a=Bn(null);vr(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=Bn([]),c=Bn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==bi);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Gr("getPickerViewColumn",function(e){return rs({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map(e=>e);n("update:value",e),i("change",{},{value:e})}}})}),Gr("pickerViewProps",e),Gr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=sm(e);l.value=t,no(()=>{c.value=t})}return Ri("uni-picker-view",{ref:o},[Ri(sp,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),Ri("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class fm{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function hm(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!pm(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(pm(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),pm(t,.4)&&(t=0),pm(o,.4)&&(o=0),o+=this._endPosition),this._solution&&pm(o-e,.4)&&pm(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),hm(this.x(),this._endPosition,.4)&&pm(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class gm{constructor(e,t,n){this._extent=e,this._friction=t||new fm(.01),this._spring=n||new mm(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class vm{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new gm(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const ym=Yu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Bn(null),r=Bn(null),i=Jr("getPickerViewColumn"),s=Yi(),a=i?i(s):Bn(0),l=Jr("pickerViewProps"),c=Jr("pickerViewState"),u=Bn(34),d=Bn(null);vr(()=>{const e=d.value;u.value=e.$el.offsetHeight});const f=rs(()=>(c.height-u.value)/2),{state:h}=qp();let p;const m=_n({current:a.value,length:0});let g;function v(){p&&!g&&(g=!0,no(()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),p.update(e*u.value,void 0,u.value)}))}Ao(()=>a.value,e=>{e!==m.current&&(m.current=e,v())}),Ao(()=>m.current,e=>a.value=e),Ao([()=>u.value,()=>m.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),p.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!p.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(m.current+t,m.length-1);m.current=r=Math.max(r,0),p.scrollTo(r*u.value)}}}const w=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new vm(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new fm(1e-4),spring:new mm(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});p=n,um(e,e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),v()};return vr(w),()=>{const e=t.default&&t.default();m.length=sm(e).length;const n=`${f.value}px 0`;return Ri("uni-picker-view-column",{ref:o},[Ri("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[Ri("div",Wi(h.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),Ri("div",Wi(h.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Ri(sp,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Ri("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),bm={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:""},_m={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const wm=(e,t,n)=>!n||h(n)&&!n.length?[]:n.map(n=>{var o;if(T(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!f(bm,i))return;return function(e,t){if(T(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=jh(o))}}(i,n.attrs),r=c(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),is(n.name,r,wm(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Di((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return f(_m,t)&&_m[t]?_m[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function xm(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={children:[]};return function(e,t){var n,o,r,i=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&Pp[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Tm=Yu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Yi(),o=n&&n.vnode.scopeId||"",r=Bn(null),i=Bn([]),s=Gu(r,t);function a(e,t={}){s("itemclick",e,t)}return Ao(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=xm(e.nodes)),i.value=wm(o,a,t)},{immediate:!0,deep:!0}),()=>is("uni-rich-text",{ref:r},is("div",{},i.value))}}),Sm=Yu({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=Bn(null),o=rs(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),r=rs(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return Ri("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Ri("div",{class:"uni-scroll-view-refresh"},[Ri("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?Ri("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"},[Ri("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),Ri("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?Ri("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Ri("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Ri("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Cm=Xe(!0),km=Yu({name:"ScrollView",compatConfig:{MODE:3},props:{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}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Gu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=rs(()=>Number(e.scrollTop)||0),n=rs(()=>Number(e.scrollLeft)||0),o=_n({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:h}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=rs(()=>e.scrollX),p=rs(()=>e.scrollY),m=rs(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=rs(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),p.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),h.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){p.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){h.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(h.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(p.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={y:e.refresherThreshold};return vr(()=>{no(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(h.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Cm),s.value.addEventListener("touchmove",l,Xe(!1)),s.value.addEventListener("scroll",i,Xe(!1)),s.value.addEventListener("touchend",m,Cm),_r(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",m)})}),sr(()=>{p.value&&(s.value.scrollTop=t.lastScrollTop),h.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Ao(n,e=>{b(e)}),Ao(o,e=>{_(e)}),Ao(()=>e.scrollIntoView,e=>{w(e)}),Ao(()=>e.refresherTriggered,e=>{!0===e?T("refreshing"):!1===e&&T("restore")}),{realScrollX:h,realScrollY:p,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),p=rs(()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),m=rs(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Ri("uni-scroll-view",{ref:r},[Ri("div",{ref:s,class:"uni-scroll-view"},[Ri("div",{ref:i,style:p.value,class:m.value},[t?Ri(Sm,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Ri("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Em(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,h=null,p=!1,m=0,g="";const v=rs(()=>n.value.length>t.displayMultipleItems),y=rs(()=>e.circular&&v.value);function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){h=null}function x(){if(!h)return void(p=!1);const e=h,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),h=null,p=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function T(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;ae;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),h&&(b(h.toPos),h=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-m),m=l):(b(l),e.autoplay&&S())):(u=!0,b(-t.displayMultipleItems-1))}),Ao(()=>t.interval,()=>{c&&(s(),S())}),Ao(()=>t.current,(e,o)=>{!function(e,o){const r=g;g="";const s=n.value;if(!r){const t=s.length;T(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Ao(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Ao(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),vr(()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(m):(g="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}um(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),m=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(r){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}})}),wr(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){T(t.current=e,g="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Om=Yu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Bn(null),r=Gu(o,n),i=Bn(null),s=Bn(null),a=function(e){return _n({interval:rs(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:rs(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:rs(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=rs(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Qc(e.previousMargin,!0),bottom:Qc(e.nextMargin,!0)}:{top:0,bottom:0,left:Qc(e.previousMargin,!0),right:Qc(e.nextMargin,!0)}),t}),c=rs(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],f=Bn([]);function h(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}f.value=e}Gr("addSwiperContext",function(e){d.push(e),h()});Gr("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())});const{onSwiperDotClick:p,circularEnabled:m,swiperEnabled:g}=Em(e,a,f,s,n,r);let v=()=>null;return v=Pm(o,e,a,p,f,m,g),()=>{const n=t.default&&t.default();return u=sm(n),Ri("uni-swiper",{ref:o},[Ri("div",{ref:i,class:"uni-swiper-wrapper"},[Ri("div",{class:"uni-swiper-slides",style:l.value},[Ri("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Ri("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((t,n,o)=>Ri("div",{onClick:()=>p(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,u=!1,d=Bn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}$o(()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,b()}),$o(()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,u=!0,a&&(d.value=!0))});const h={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function p(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const m=()=>ru("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",t.navigationColor,26);let g;const v=n=>{clearTimeout(g);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a{d.value=f},300);d.value=f},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return vr(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Ri(vi,null,[Ri("div",Wi({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},h),[m()],16,["onClick"]),Ri("div",Wi({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>p(e,"next",u)},h),[m()],16,["onClick"])]):null}},Lm=Yu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Bn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return vr(()=>{const e=Jr("addSwiperContext");e&&e(o)}),wr(()=>{const e=Jr("removeSwiperContext");e&&e(o)}),()=>Ri("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),$m={ensp:" ",emsp:" ",nbsp:" "};function Mm(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&$m[t]&&" "===i&&(i=$m[t]),r?(o+="n"===i?ee:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,$m.nbsp).replace(/ /g,$m.ensp).replace(/ /g,$m.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const Am=Yu({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=Bn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==bi){const n=Mm(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Di(e)),t!==r&&o.push(Ri("br"))})}else o.push(t)}),Ri("uni-text",{ref:n,selectable:!!e.selectable||null},[Ri("span",null,o)],8,["selectable"])}}}),Im=Yu({name:"View",props:c({},Ju),setup(e,{slots:t}){const n=Bn(null),{hovering:o,binding:r}=Zu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Ri("uni-view",Wi({class:o.value?i:"",ref:n},r),[Er(t,"default")],16):Ri("uni-view",{ref:n},[Er(t,"default")],512)}}});function Rm(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Bm(e,t,n){e&&wc(n||cu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Dm(e,t){e&&function(e,t){t=_c(e,t),delete bc[t]}(t||cu(),e)}function Nm(e,t,n,o){const r=Yi().proxy;vr(()=>{Bm(t||Rm(r),e,o),!n&&t||Ao(()=>r.id,(t,n)=>{Bm(Rm(r,t),e,o),Dm(n&&Rm(r,n))})}),_r(()=>{Dm(t||Rm(r),o)})}let jm=0;function Fm(e){const t=iu(),n=Yi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+jm++;return vr(()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}}),`${o}.${r}`}function Vm(e,t,n,o){g(t)&&pr(e,t.bind(n),o)}function Wm(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(ot.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];h(r)?r.forEach(e=>Vm(o,e,n,t)):Vm(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,pu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&pu(n,re)}catch(r){console.error(r.message+ee+r.stack)}}}function qm(e,t,n){Wm(e,t,n)}function Hm(e,t,n){return e[t]=n}function zm(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Um(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[ae]?pu(i.proxy,ae,n):Un(n,0,o&&o.$.vnode,!1)}}function Ym(e,t){return e?[...new Set([].concat(e,t))]:t}function Xm(e){const t=e.config;var n;t.errorHandler=it(e,Um),n=t.optionMergeStrategies,ot.forEach(e=>{n[e]=Ym});const o=t.globalProperties;o.$set=Hm,o.$applyOptions=qm,o.$callMethod=zm,function(e){rt.forEach(t=>t(e))}(e)}function Km(e){const t=Dl({history:Zm(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Jm});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Gm[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let Gm=Object.create(null);const Jm=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Gm[o]);if(t)return t}return{left:0,top:0};var o};function Zm(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Ja(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Th(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=mh(t[r]);Sh(Oh(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const Qm={install(e){Xm(e),$u(e),Wu(e),e.config.warnHandler||(e.config.warnHandler=eg),Km(e)}};function eg(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const tg={class:"uni-async-loading"},ng=Ri("i",{class:"uni-loading"},null,-1),og=Xu({name:"AsyncLoading",render:()=>(Ti(),Oi("div",tg,[ng]))});function rg(){window.location.reload()}const ig=Xu({name:"AsyncError",props:["error"],setup(){ac();const{t:e}=ic();return()=>Ri("div",{class:"uni-async-error",onClick:rg},[e("uni.async.error")],8,["onClick"])}});let sg;function ag(){return sg}function lg(e){sg=e,Object.defineProperty(sg.$.ctx,"$children",{get:()=>Th().map(e=>e.$vm)});const t=sg.$.appContext.app;t.component(og.name)||t.component(og.name,og),t.component(ig.name)||t.component(ig.name,ig),function(e){e.$vm=e,e.$mpType="app";const t=Bn(ic().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(sg),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(sg),Fu(),wu()}function cg(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Yi();if(n(r.proxy),o(r),i)return i(e,t)},e}function ug(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?cg(e.default,t):cg(e,t)}function dg(e){return ug(e,{clone:!0,init:Eh,setup(e){e.$pageInstance=e;const t=ld(),n=Je(t.query);e.attrs.__pageQuery=n,mh(e.proxy).options=n,e.proxy.options=n;const o=sd();var r,i;return dh(o),e.onReachBottom=_n([]),e.onPageScroll=_n([]),Ao([e.onReachBottom,e.onPageScroll],()=>{const t=au();e.proxy===t&&Dh(e,o)},{once:!0}),gr(()=>{$h(e,o)}),vr(()=>{Mh(e);const{onReady:n}=e;n&&I(n),mg(t)}),lr(()=>{if(!e.__isVisible){$h(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&I(n),no(()=>{mg(t)})}},"ba",r),function(e,t){lr(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&I(t)}}}),i=o.id,ny.subscribe(_c(i,gc),xc),_r(()=>{!function(e){ny.unsubscribe(_c(e,gc)),Object.keys(bc).forEach(t=>{0===t.indexOf(e+".")&&delete bc[t]})}(o.id)}),n}})}function fg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Ag(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";oy.emit(me,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function hg(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&oy.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function pg(){const{emit:e}=oy;"visible"===document.visibilityState?e(Le,c({},ip)):e($e)}function mg(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&pu("onTabItemTap",{index:n,text:t,pagePath:o})}function gg(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function vg(e,t,n){const o=_n({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(a){function l(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=a.targetTouches[0],d=u.pageX,f=u.pageY,h=r,p=t.value;if("progress"===c?(!function(e){const n=t.value,r=n.duration;let i=e/600*r+o.currentTimeOld;i<0?i=0:i>r&&(i=r);o.currentTimeNew=i}(d-h.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{o.toastThin=!1,s=void 0},1e3)),n.volume=i,o.volumeNew=i)}(f-h.y),"none"===c)if(Math.abs(d-h.x)>Math.abs(f-h.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const yg={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},bg=Yu({name:"Video",props:yg,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=Bn(null),i=Bn(null),s=Gu(r,t),{state:a}=Wp(),{$attrs:l}=im({excludeListeners:!0});ic(),pc();const{videoRef:c,state:u,play:d,pause:f,stop:p,seek:m,playbackRate:g,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=Bn(null),r=rs(()=>jh(e.src)),i=rs(()=>"true"===e.muted||!0===e.muted),s=_n({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Ao(()=>r.value,()=>{s.playing=!1,s.currentTime=0}),Ao(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Ao(()=>i.value,e=>{o.value.muted=e}),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:O,updateDanmu:P,toggleDanmu:L,sendDanmu:$}=function(e,t){const n=Bn(null),o=_n({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=h(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return i.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:M,onFullscreenChange:A,emitFullscreenChange:I,toggleFullscreen:R,requestFullScreen:B,exitFullScreen:D}=function(e,t,n,o,r){const i=_n({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return _r(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:N,onTouchstart:j,onTouchend:F,onTouchmove:V}=vg(e,c,M),{state:W,progressRef:q,ballRef:H,clickProgress:z,toggleControls:U}=function(e,t,n,o){const r=Bn(null),i=Bn(null),s=rs(()=>e.showCenterPlayBtn&&!t.start),a=Bn(!0),l=rs(()=>!s.value&&e.controls&&a.value),c=_n({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function f(){u&&(clearTimeout(u),u=null)}return _r(()=>{u&&clearTimeout(u)}),Ao(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),vr(()=>{const e=Xe(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(p=100),t.progress=p,null==o||o(t.duration*p/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function h(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)}),d.addEventListener("touchend",h),d.addEventListener("touchcancel",h)}),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,m,e=>{N.currentTimeNew=e});!function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};Nm((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Fm(),!0)}(d,f,p,m,$,g,B,D);const Y=function(e,t,n){const o=rs(()=>"progress"===t.gestureType||n.touching);return Ao(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Ao([()=>e.currentTime,()=>{yg.duration}],()=>{e.progress=e.currentTime/e.duration*100}),Ao(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,N,W);return()=>Ri("uni-video",{ref:r,id:e.id,onClick:U},[Ri("div",{ref:i,class:"uni-video-container",onTouchstart:j,onTouchend:F,onTouchmove:V,onFullscreenchange:ea(A,["stop"]),onWebkitfullscreenchange:ea(e=>A(e,!0),["stop"])},[Ri("video",Wi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),P(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),No(Ri("div",{class:"uni-video-bar uni-video-bar-full",onClick:ea(()=>{},["stop"])},[Ri("div",{class:"uni-video-controls"},[No(Ri("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ea(v,["stop"])},null,10,["onClick"]),[[Es,e.showPlayBtn]]),No(Ri("div",{class:"uni-video-current-time"},[gg(u.currentTime)],512),[[Es,e.showProgress]]),No(Ri("div",{ref:q,class:"uni-video-progress-container",onClick:ea(z,["stop"])},[Ri("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[Ri("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),Ri("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),Ri("div",{ref:H,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[Ri("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Es,e.showProgress]]),No(Ri("div",{class:"uni-video-duration"},[gg(Number(e.duration)||u.duration)],512),[[Es,e.showProgress]])]),No(Ri("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ea(L,["stop"])},null,10,["onClick"]),[[Es,e.danmuBtn]]),No(Ri("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":M.fullscreen},onClick:ea(()=>R(!M.fullscreen),["stop"])},null,10,["onClick"]),[[Es,e.showFullscreenBtn]])],8,["onClick"]),[[Es,W.controlsShow]]),No(Ri("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Es,u.start&&E.enable]]),W.centerPlayBtnShow&&Ri("div",{class:"uni-video-cover",onClick:ea(()=>{},["stop"])},[Ri("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ea(d,["stop"])},null,8,["onClick"])],8,["onClick"]),Ri("div",{class:"uni-video-loading"},["volume"===N.gestureType?Ri("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":N.toastThin},style:{marginTop:"5px"}},[!N.toastThin&&N.volumeNew>0&&"volume"===N.gestureType?Ri("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!N.toastThin&&Ri("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Ri("div",{class:"uni-video-toast-draw",style:{width:100*N.volumeNew+"%"}},null)],2):null]),Ri("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[Ri("div",{class:"uni-video-toast-title"},[Ri("span",{class:"uni-video-toast-title-current-time"},[gg(N.currentTimeNew)])," / ",Number(e.duration)||gg(u.duration)])],2),Ri("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),_g=Fd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),wg="__DC_STAT_UUID",xg=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Tg;function Sg(){if(Tg=Tg||xg[wg],!Tg){Tg=Date.now()+""+Math.floor(1e7*Math.random());try{xg[wg]=Tg}catch(e){}}return Tg}function Cg(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function kg(){let e,t="0",n="",o="phone";const r=navigator.language;if(Wh){e="iOS";const o=Fh.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Fh.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Vh){e="Android";const o=Fh.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Fh.match(/\((.+?)\)/),i=r?r[1].split(";"):Fh.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Yh(),n=Xh(t),o=Kh(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Gh(o);let s=window.innerHeight;const a=qc.top,l={left:qc.left,right:i-qc.right,top:qc.top,bottom:s-qc.bottom,width:i-qc.left-qc.right,height:s-qc.top-qc.bottom},{top:c,bottom:u}=Xc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:qc.top,right:qc.right,bottom:qc.bottom,left:qc.left},screenTop:r-s}});let Og,Pg=!0;function Lg(){Pg&&(Og=kg())}const $g=jd(0,()=>{Lg();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Og;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Sg(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:u})}),Mg=jd(0,()=>{Lg();const{theme:e,language:t,browserName:n,browserVersion:o}=Og;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:yf?yf():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},{})}),Ag=jd(0,()=>{Pg=!0,Lg(),Pg=!1;const e=Eg(),t=$g(),n=Mg();Pg=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Og,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return T(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)});const Ig=Fd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(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 i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}},new Promise((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())});var n,o,r},0,_f);const Rg=jd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function Bg(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Dg=jd(0,e=>{try{return Bg(e)}catch(t){return""}}),Ng=jd(0,e=>{localStorage&&localStorage.removeItem(e)}),jg={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"}};let Fg=null;const Vg=Fd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{dc();const{t:i}=ic();Fg&&(document.body.removeChild(Fg),Fg=null),Fg=function({count:e,sourceType:t,type:n,extension:o}){Vp();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${jg[n][t]||t}`}}).join(","),e&&e>1&&(r.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Fg),Fg.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),Fg.addEventListener("change",function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||op(t),i)}),oe)},tempFiles:r})}),Fg.click(),Np||console.warn(i("uni.chooseFile.notUserActivation"))},0,wf),Wg={esc:["Esc","Escape"],enter:["Enter"]},qg=Object.keys(Wg);function Hg(){const e=Bn(""),t=Bn(!1),n=n=>{if(t.value)return;const o=qg.find(e=>-1!==Wg[e].indexOf(n.key));o&&(e.value=o),no(()=>e.value="")};return vr(()=>{document.addEventListener("keyup",n)}),_r(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const zg=Ri("div",{class:"uni-mask"},null,-1);function Ug(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),oa(Jo({setup:()=>()=>(Ti(),Oi(e,t,null,16))}))}function Yg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Xg(e,{onEsc:t,onEnter:n}){const o=Bn(e.visible),{key:r,disable:i}=Hg();return Ao(()=>e.visible,e=>o.value=e),Ao(()=>o.value,e=>i.value=!e),$o(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}const Kg=Nd("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const h=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===h)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===h){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let p;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;p=new Jg(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},h=setTimeout(function(){p.abort(),u("timeout",{errCode:5})},l);f.signal.addEventListener("abort",function(){clearTimeout(h),u("abort",{errCode:600003})}),window.fetch(e,f).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=Gg(s);if(p._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.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}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Qg(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),p._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;p=new Jg(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,p.abort(),u("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Qg(n,i,r)),c({data:n,statusCode:e,header:Zg(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return p},0,Cf),Gg=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;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Zg(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function Qg(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class ev{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const tv=Nd("uploadFile",({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new ev;return h(r)&&r.length||(n||c("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(np(e)):tp(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach(e=>{d.append(e,s[e])}),Object.values(r).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(i).forEach(e=>{o.setRequestHeader(e,i[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},a),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,kf),nv=Fd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===pu(ge,{from:e.from||"navigateBack"})&&(o=!1),o?(ag().$router.go(-e.delta),t()):n(ge)},0,Df),ov=Fd(Of,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(gh.handledBeforeEntryPageRoutes)return nh({type:Of,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);vh.push({args:{type:Of,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,Af);function rv(e){__uniConfig.darkmode&&oy.on(le,e)}function iv(e){oy.off(le,e)}function sv(e){let t={};return __uniConfig.darkmode&&(t=ut(e,__uniConfig.themeConfig,Cg())),__uniConfig.darkmode?t:e}const av={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},lv=Jo({props:{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:""}},setup(e,{emit:t}){const n=Bn(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Xg(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=Bn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=av[e].cancelColor})(e,t)};return $o(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Cg()&&n({theme:"dark"}),rv(n))):iv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Ri(hs,{name:"uni-fade"},{default:()=>[No(Ri("uni-modal",{onTouchmove:Hc},[zg,Ri("div",{class:"uni-modal"},[t?Ri("div",{class:"uni-modal__hd"},[Ri("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Ri("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Ri("div",{class:"uni-modal__bd",onTouchmovePassive:zc,textContent:o},null,40,["onTouchmovePassive","textContent"]),Ri("div",{class:"uni-modal__ft"},[l&&Ri("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Ri("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Es,s.value]])]})}}});let cv;const uv=Ie(()=>{oy.on("onHidePopup",()=>cv.visible=!1)});let dv;function fv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&cv.editable&&(o.content=t),dv&&dv(o)}const hv=Fd("showModal",(e,{resolve:t})=>{uv(),dv=t,cv?(c(cv,e),cv.visible=!0):(cv=_n(e),no(()=>(Ug(lv,cv,fv).mount(Yg("u-a-m")),no(()=>cv.visible=!0))))},0,Hf),pv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==zf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},mv="uni-toast__icon",gv={light:"#fff",dark:"rgba(255,255,255,0.9)"},vv=e=>gv[e],yv=Jo({name:"Toast",props:pv,setup(e){lc(),cc();const{Icon:t}=function(e){const t=Bn(vv(Cg())),n=({theme:e})=>t.value=vv(e);$o(()=>{e.visible?rv(n):iv(n)});const o=rs(()=>{switch(e.icon){case"success":return Ri(ru(nu,t.value,38),{class:mv});case"error":return Ri(ru(ou,t.value,38),{class:mv});case"loading":return Ri("i",{class:[mv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Xg(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Ri(hs,{name:"uni-fade"},{default:()=>[No(Ri("uni-toast",{"data-duration":r},[o?Ri("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Hc},null,40,["onTouchmove"]):"",s||t.value?Ri("div",{class:"uni-toast"},[s?Ri("img",{src:s,class:mv},null,10,["src"]):t.value,Ri("p",{class:"uni-toast__content"},[i])]):Ri("div",{class:"uni-sample-toast"},[Ri("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Es,n.value]])]})}}});let bv,_v,wv="";const xv=pt();function Tv(e){bv?c(bv,e):(bv=_n(c(e,{visible:!1})),no(()=>{xv.run(()=>{Ao([()=>bv.visible,()=>bv.duration],([e,t])=>{if(e){if(_v&&clearTimeout(_v),"onShowLoading"===wv)return;_v=setTimeout(()=>{Ov("onHideToast")},t)}else _v&&clearTimeout(_v)})}),oy.on("onHidePopup",()=>Ov("onHidePopup")),Ug(yv,bv,()=>{}).mount(Yg("u-a-t"))})),setTimeout(()=>{bv.visible=!0},10)}const Sv=Fd("showToast",(e,{resolve:t,reject:n})=>{Tv(e),wv="onShowToast",t()},0,Uf),Cv={icon:"loading",duration:1e8,image:""},kv=Fd("showLoading",(e,{resolve:t,reject:n})=>{c(e,Cv),Tv(e),wv="onShowLoading",t()},0,qf),Ev=Fd("hideLoading",(e,{resolve:t,reject:n})=>{Ov("onHideLoading"),t()});function Ov(e){const{t:t}=ic();if(!wv)return;let n="";if("onHideToast"===e&&"onShowToast"!==wv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==wv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);wv="",setTimeout(()=>{bv.visible=!1},10)}const Pv=Fd("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then(()=>{o.add&&o.add(r)})}return new Promise(o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:s,featureSettings:a}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${jh(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${jh(t.substring(4,t.length-1))}')`:jh(t),n).then(()=>{o()}).catch(e=>{r(`loadFontFace:fail ${e}`)})});function Lv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,oy.emit("onNavigationBarChange",{titleText:t})}$o(t),sr(t)}const $v=Fd(Yf,(e,{resolve:t})=>{oy.invokeViewMethod(Yf,{},cu()),t()}),Mv=Xu({name:"TabBar",setup(){const e=Bn([]),t=ih(),n=function(e,t){const n=Sn(e),o=n?_n(sv(e)):sv(e);return __uniConfig.darkmode&&n&&Ao(e,e=>{const t=sv(e);for(const n in t)o[n]=t[n]}),t&&rv(t),o}(t,()=>{const e=sv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Bn(c({type:"midButton"},e.midButton)),$o(n)}(n,e),function(e){Ao(()=>e.shown,t=>{Gc({"--window-bottom":fh(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return $o(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=r}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:r}=t;let i=Ae(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?Jf({from:"tabBar",url:i,tabBarText:r}):pu("onTabItemTap",{index:n,text:r,pagePath:o})}}}(Nl(),n,e),{style:r,borderStyle:i,placeholderStyle:s}=function(e){const t=rs(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||ch&&n&&"none"!==n&&(t=Bv[n]),{backgroundColor:t||Av,backdropFilter:"none"!==n?"blur(10px)":n}}),n=rs(()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:Dv[t]||Dv.black}}),o=rs(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return vr(()=>{n.iconfontSrc&&Pv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map((n,s)=>{const a=o===s;return function(e,t,n,o,r,i,s,a){return Ri("div",{key:s,class:"uni-tabbar__item",onClick:a(r,s)},[Nv(e,t||"",n,o,r,i)],8,["onClick"])}(a?r:i,a&&n.selectedIconPath||n.iconPath||"",n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,s,t)})}(n,o,e);return Ri("uni-tabbar",{class:"uni-tabbar-"+n.position},[Ri("div",{class:"uni-tabbar",style:r.value},[Ri("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),Ri("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Av="#f7f7fa",Iv="rgb(0, 0, 0, 0.8)",Rv="rgb(250, 250, 250, 0.8)",Bv={dark:Iv,light:Rv,extralight:Rv},Dv={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Nv(e,t,n,o,r,i){const{height:s}=i;return Ri("div",{class:"uni-tabbar__bd",style:{height:s}},[n?Fv(n,o||Iv,r,i):t&&jv(t,r,i),r.text&&Vv(e,r,i),r.redDot&&Wv(r.badge)],4)}function jv(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return Ri("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&Ri("img",{src:jh(e)},null,8,["src"])],6)}function Fv(e,t,n,o){var r;const{type:i,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||a,color:t};return Ri("div",{class:l,style:c},["midButton"!==i&&Ri("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Vv(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:s}=n;return Ri("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[r],4)}function Wv(e){return Ri("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const qv="0px",Hv=Xu({name:"Layout",setup(e,{emit:t}){const n=Bn(null);Kc({"--status-bar-height":qv,"--top-window-height":qv,"--window-left":qv,"--window-right":qv,"--window-margin":qv,"--tab-bar-height":qv});const o=function(){const e=Nl();return{routeKey:rs(()=>Oh("/"+e.meta.route,cd())),isTabBar:rs(()=>e.meta.isTabBar),routeCache:Lh}}(),{layoutState:r,windowState:i}=function(){ld();{const e=_n({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Ao(()=>e.marginWidth,e=>Kc({"--window-margin":e+"px"})),Ao(()=>e.leftWindowWidth+e.marginWidth,e=>{Kc({"--window-left":e+"px"})}),Ao(()=>e.rightWindowWidth+e.marginWidth,e=>{Kc({"--window-right":e+"px"})}),{layoutState:e,windowState:rs(()=>({}))}}}();!function(e,t){const n=ld();function o(){const o=document.body.clientWidth,r=Th();let i={};if(r.length>0){i=mh(r[r.length-1]).meta}else{const e=_u(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,no(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,no(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Ao([()=>n.path],o),vr(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(){const e=ld(),t=ih(),n=rs(()=>e.meta.isTabBar&&t.shown);return Kc({"--tab-bar-height":t.height}),n}(),a=function(e){const t=Bn(!1);return rs(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(s);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Ri(Bl,null,{default:yo(({Component:o})=>[(Ti(),Oi(rr,{matchBy:"key",cache:n},[(Ti(),Oi(ko(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return No(Ri(Mv,null,null,512),[[Es,e.value]])}(s);return Ri("uni-app",{ref:n,class:a.value},[e,t],2)}}});function zv(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Pi(e)}function Uv(e){if(e.mode===Kv.TIME)return"00:00";if(e.mode===Kv.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Gv.YEAR:return t.toString();case Gv.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Yv(e){if(e.mode===Kv.TIME)return"23:59";if(e.mode===Kv.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Gv.YEAR:return t.toString();case Gv.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Xv(e,t,n,o){const r=e.mode===Kv.DATE?"-":":",i=e.mode===Kv.DATE?t.dateArray:t.timeArray;let s;if(e.mode===Kv.TIME)s=2;else switch(e.fields){case Gv.YEAR:s=1;break;case Gv.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c=0&&(l=o?Xv(e,t,o):l.map(()=>0)),l}const Kv={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Gv={YEAR:"year",MONTH:"month",DAY:"day"},Jv={PICKER:"picker",SELECT:"select"},Zv=Yu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Kv.SELECTOR,validator:e=>Object.values(Kv).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Uv(e)},end:{type:String,default:e=>Yv(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){hc();const{t:o}=ic(),r=Bn(null),i=Bn(null),s=Bn(null),a=Bn(null),l=Bn(!1),{state:u,rangeArray:d}=function(e){const t=_n({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=rs(()=>{let n=e.range;switch(e.mode){case Kv.SELECTOR:return[n];case Kv.MULTISELECTOR:return n;case Kv.TIME:return t.timeArray;case Kv.DATE:{const n=t.dateArray;switch(e.fields){case Gv.YEAR:return[n[0]];case Gv.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),f=Gu(r,t),{system:p,selectorTypeComputed:m,_show:g,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:T,_resetFormData:S,_getFormData:C,_createTime:k,_createDate:E,_setValueSync:O}=function(e,t,n,o,r,i,s){const a=function(){const e=Bn(!1);return e.value=Qv(),e}(),l=function(){const e=Bn("");return e.value=ey(),e}(),c=rs(()=>{const t=e.selectorType;return Object.values(Jv).includes(t)?t:a.value?Jv.PICKER:Jv.SELECT}),u=rs(()=>e.mode===Kv.DATE&&!Object.values(Gv).includes(e.fields)&&t.isDesktop?l.value:""),d=rs(()=>Xv(e,t,e.start,Uv(e))),f=rs(()=>Xv(e,t,e.end,Yv(e)));function p(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout(()=>{t.visible=!0},20)}function m(){return{value:t.valueSync,key:e.name}}function g(){switch(e.mode){case Kv.SELECTOR:t.valueSync=0;break;case Kv.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case Kv.DATE:case Kv.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&to&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;na?0:s)}}break;case Kv.TIME:case Kv.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case Kv.MULTISELECTOR:n=[...o];break;case Kv.TIME:n=Xv(e,t,o,Be({mode:Kv.TIME}));break;case Kv.DATE:n=Xv(e,t,o,Be({mode:Kv.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case Kv.SELECTOR:return n[0];case Kv.MULTISELECTOR:return n.map(e=>e);case Kv.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case Kv.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function k(){O(),t.valueChangeSource="click";const e=C();t.valueSync=h(e)?e.map(e=>e):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function P(){e.mode===Kv.SELECTOR&&c.value===Jv.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function L(e){const n=e.target;t.valueSync=n.value,no(()=>{k()})}function $(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function M(e){t.valueArray=A(e.detail.value,!0)}function A(t,n){const{getLocale:o}=ic();if(e.mode===Kv.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Gv.YEAR:return t;case Gv.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function I(t,n){const{getLocale:o}=ic();if(e.mode===Kv.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Gv.YEAR&&n===(e.fields===Gv.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return Ao(()=>t.visible,e=>{e?(clearTimeout(ty),t.contentVisible=e,P()):ty=setTimeout(()=>{t.contentVisible=e},300)}),Ao([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),Ao(()=>t.valueSync,S,{deep:!0}),Ao(()=>t.valueArray,o=>{if(e.mode===Kv.TIME||e.mode===Kv.DATE){const n=e.mode===Kv.TIME?_:w,o=t.valueArray,r=d.value,i=f.value;if(e.mode===Kv.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();in(i)&&x(o,i)}o.forEach((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===Kv.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))})}),{selectorTypeComputed:c,system:u,_show:p,_cancel:E,_change:k,_l10nColumn:A,_l10nItem:I,_input:L,_resetFormData:g,_getFormData:m,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:$,_pickerViewChange:M}}(e,u,f,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=Hg();$o(()=>{r.value=!e.visible}),Ao(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,T),function(e,t){const n=Jr(ed,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),_r(()=>{n.removeField(o)})}}(S,C),k(),E(),O();const P=function(e){const t=Bn(0),n=Bn(0),o=rs(()=>t.value>=500&&n.value>=500),r=rs(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width?s.width:300),o=a(s.top),l=a(s.height),u=e+t/2;r.transform="none !important";const d=Math.max(0,u-t/2);r.left=`${d}px`,s.width&&(r.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),i.left=`${f}px`;const h=n.value/2;o+l-h>h-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t});return vr(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=Ag();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),wr(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:r}}(u);return $o(()=>{u.isDesktop=P.isDesktop.value,u.popupStyle=P.popupStyle.value}),_r(()=>{i.value&&i.value.remove()}),vr(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:f,valueArray:h,popupStyle:S,valueSync:C}=u,{rangeKey:k,mode:E,start:O,end:P}=e,L=Qu(e,"disabled");return Ri("uni-picker",Wi({ref:r},L,{onClick:Ku(g)}),[l.value?Ri("div",{ref:i,class:["uni-picker-container",`uni-${E}-${m.value}`],onWheel:Hc,onTouchmove:Hc},[Ri(hs,{name:"uni-fade"},{default:()=>[No(Ri("div",{class:"uni-mask uni-picker-mask",onClick:Ku(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[Es,c]])]}),p.value?null:Ri("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:S.content},[Ri("div",{class:"uni-picker-header",onClick:zc},[Ri("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ku(x)},[o("uni.picker.cancel")],8,["onClick"]),Ri("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?Ri(dm,{value:v(h),class:"uni-picker-content",onChange:w},zv(t=kr(v(d.value),(e,t)=>{let n;return Ri(ym,{key:t},zv(n=kr(e,(e,n)=>Ri("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,Ri("div",{ref:s,class:"uni-picker-select",onWheel:zc,onTouchmove:zc},[kr(d.value[0],(e,t)=>Ri("div",{key:t,class:["uni-picker-item",{selected:h[0]===t}],onClick:()=>{h[0]=t,T()}},["object"==typeof e?e[k]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),Ri("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,Ri("div",null,[n.default&&n.default()]),p.value?Ri("div",{class:"uni-picker-system",onMousemove:Ku(_)},[Ri("input",{class:["uni-picker-system_input",p.value],ref:a,value:C,type:E,tabindex:"-1",min:O,max:P,onChange:e=>{b(e),zc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Qv=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const ey=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let ty;const ny=c(Tc,{publishHandler(e,t,n){oy.subscribeHandler(e,t,n)}}),oy=c(Iu,{publishHandler(e,t,n){ny.subscribeHandler(e,t,n)}}),ry={name:"PageRefresh",setup(){const{pullToRefresh:e}=sd();return{offset:e.offset,color:e.color}}},iy=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},sy={class:"uni-page-refresh-inner"},ay=["fill"],ly=[Ii("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Ii("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],cy={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},uy=["stroke"];const dy=iy(ry,[["render",function(e,t,n,o,r,i){return Ti(),Ei("uni-page-refresh",null,[Ii("div",{style:We({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Ii("div",sy,[(Ti(),Ei("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},ly,8,ay)),(Ti(),Ei("svg",cy,[Ii("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,uy)]))])],4)])}]]);function fy(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const hy="pulling",py="reached",my="aborting",gy="refreshing",vy="restoring";function yy(e){const t=sd(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let s,a,l,c,u,d,f,h;Nm(()=>{t.enablePullDownRefresh&&(h||(h=gy,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",!1,n),Nm(()=>{t.enablePullDownRefresh&&h===gy&&(y(),h=vy,v(),function(e){if(!a)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{y(),h=p=m=null}))},Yf,!1,n),vr(()=>{s=e.value.$el,a=s.querySelector(".uni-page-refresh"),l=a.style,c=a.querySelector(".uni-page-refresh-inner").style});let p=null,m=null;function g(e){h&&s&&s.classList[e]("uni-page-refresh--"+h)}function v(){g("add")}function y(){g("remove")}const b=Ku(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,f=!([my,gy,vy].indexOf(h)>=0)}),_=Ku(e=>{if(!t.enablePullDownRefresh)return;if(!f)return;if(!fy(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!h)return;e.cancelable&&e.preventDefault(),null===p&&(m=n,h=hy,v()),n-=m,n<0&&(n=0),p=n;(n>=r&&h!==py||n1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=Ku(e=>{t.enablePullDownRefresh&&fy(e,u,d)&&null!==h&&(h===hy?(y(),h=my,v(),function(e){if(!a)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{y(),h=p=m=null})):h===py&&(y(),h=gy,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",pu(n,_e))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const by=Xu({name:"PageBody",setup(e,t){const n=sd(),o=Bn(null),r=Bn(null),i=n.enablePullDownRefresh?yy(o):null,s=Bn(null);return Ao(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?i:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Ri(dy,{ref:e},null,512)}(o,n);return Ri(vi,null,[e,Ri("uni-page-wrapper",Wi({ref:r},s.value),[Ri("uni-page-body",null,[Er(t.slots,"default")]),null],16)])}}});const _y=Xu({name:"Page",setup(e,t){let n=ad(cd());n.navigationBar;const o={};return Lv(n),()=>Ri("uni-page",{"data-page":n.route,style:o},[wy(t),null])}});function wy(e){return Ti(),Oi(by,{key:0},{default:yo(()=>[Er(e.slots,"page")]),_:3})}const xy={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Kd;const Ty=Object.assign({}),Sy=Object.assign;window.__uniConfig=Sy({tabBar:{position:"bottom",color:"#86909c",selectedColor:"#16c2a9",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"首页",iconPath:"/static/tab/icon1.png",selectedIconPath:"/static/tab/icon1_cur.png"},{pagePath:"pages/map/index",text:"场馆",iconPath:"/static/tab/icon2.png",selectedIconPath:"/static/tab/icon2_cur.png"},{pagePath:"pages/activity/index",text:"活动",iconPath:"/static/tab/icon3.png",selectedIconPath:"/static/tab/icon3_cur.png"},{pagePath:"pages/mine/index",text:"我的",iconPath:"/static/tab/icon4.png",selectedIconPath:"/static/tab/icon4_cur.png"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},globalStyle:{backgroundColor:"#f7f8fa",navigationBar:{backgroundColor:"#ffffff",titleText:"苏州市科普场馆地图",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"4.83"},{appId:"__UNI__SZKP_MAP_H5",appName:"szkp-map-h5",appVersion:"0.1.0",appVersionCode:"100",async:xy,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{tencent:{key:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2"}}},qqMapKey:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Ty).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Sy(e[n]||(e[n]={}),Ty[t].default),e},{}),router:{mode:"hash",base:"/h5/",assets:"assets",routerBase:"/h5/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Cy={delay:xy.delay,timeout:xy.timeout,suspensible:xy.suspensible};xy.loading&&(Cy.loadingComponent={name:"SystemAsyncLoading",render:()=>Ri(So(xy.loading))}),xy.error&&(Cy.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Ri(So(xy.error),{error:this.error})}});const ky=()=>t(()=>import("./pages-index-index.C5qF5PDt.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>dg(e.default||e)),Ey=Qo(Sy({loader:ky},Cy)),Oy=()=>t(()=>import("./pages-map-index.BWtgkiYt.js"),__vite__mapDeps([10,11,2,3,4,6,7,8,12])).then(e=>dg(e.default||e)),Py=Qo(Sy({loader:Oy},Cy)),Ly=()=>t(()=>import("./pages-activity-index.DFRXtq0i.js"),__vite__mapDeps([13,11,7,5,2,3,14])).then(e=>dg(e.default||e)),$y=Qo(Sy({loader:Ly},Cy)),My=()=>t(()=>import("./pages-discover-index.Rr3PZ3j4.js"),__vite__mapDeps([15,11,2,3,16])).then(e=>dg(e.default||e)),Ay=Qo(Sy({loader:My},Cy)),Iy=()=>t(()=>import("./pages-mine-index.CbEaOtOy.js"),__vite__mapDeps([17,18,19,20])).then(e=>dg(e.default||e)),Ry=Qo(Sy({loader:Iy},Cy)),By=()=>t(()=>import("./pages-mine-profile.B0i8Br8b.js"),__vite__mapDeps([21,18,19,22])).then(e=>dg(e.default||e)),Dy=Qo(Sy({loader:By},Cy)),Ny=()=>t(()=>import("./pages-mine-orders.DSJn__4h.js"),__vite__mapDeps([23,11,18,24,25])).then(e=>dg(e.default||e)),jy=Qo(Sy({loader:Ny},Cy)),Fy=()=>t(()=>import("./pages-activity-detail.CwCFh4m6.js"),__vite__mapDeps([26,11,7,5,27,8,28,29,2,30])).then(e=>dg(e.default||e)),Vy=Qo(Sy({loader:Fy},Cy)),Wy=()=>t(()=>import("./pages-activity-behind-scenes.DJIyEJWF.js"),__vite__mapDeps([31,11,32])).then(e=>dg(e.default||e)),qy=Qo(Sy({loader:Wy},Cy)),Hy=()=>t(()=>import("./pages-activity-registrations.Dm0eI0G7.js"),__vite__mapDeps([33,11,2,34])).then(e=>dg(e.default||e)),zy=Qo(Sy({loader:Hy},Cy)),Uy=()=>t(()=>import("./pages-ticket-grab-detail.GEKRgo9i.js"),__vite__mapDeps([35,11,7,5,36,37,28,2,8,38])).then(e=>dg(e.default||e)),Yy=Qo(Sy({loader:Uy},Cy)),Xy=()=>t(()=>import("./pages-ticket-grab-reserve.Dq3BP2x1.js"),__vite__mapDeps([39,11,18,19,36,40])).then(e=>dg(e.default||e)),Ky=Qo(Sy({loader:Xy},Cy)),Gy=()=>t(()=>import("./pages-activity-reserve.GaDhZhMR.js"),__vite__mapDeps([41,11,18,19,36,29,42])).then(e=>dg(e.default||e)),Jy=Qo(Sy({loader:Gy},Cy)),Zy=()=>t(()=>import("./pages-mine-reservation-detail.CluhMTEj.js"),__vite__mapDeps([43,11,7,24,44])).then(e=>dg(e.default||e)),Qy=Qo(Sy({loader:Zy},Cy)),eb=()=>t(()=>import("./pages-study-tour-detail.8Ku-CFZm.js"),__vite__mapDeps([45,11,29,2,6,7,46])).then(e=>dg(e.default||e)),tb=Qo(Sy({loader:eb},Cy)),nb=()=>t(()=>import("./pages-venue-detail.DZRhch0b.js"),__vite__mapDeps([47,11,5,6,7,27,8,37,28,29,2,48])).then(e=>dg(e.default||e)),ob=Qo(Sy({loader:nb},Cy)),rb=()=>t(()=>import("./pages-stats-index.C9uW77Qa.js"),__vite__mapDeps([49,11,1,2,50])).then(e=>dg(e.default||e)),ib=Qo(Sy({loader:rb},Cy)),sb=()=>t(()=>import("./pages-traffic-index.ObsDwTJH.js"),__vite__mapDeps([51,52])).then(e=>dg(e.default||e)),ab=Qo(Sy({loader:sb},Cy));function lb(e,t){return Ti(),Oi(_y,null,{page:yo(()=>[Ri(e,Sy({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ey,t)}},loader:ky,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"苏州市科普场馆地图",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Py,t)}},loader:Oy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"场馆列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb($y,t)}},loader:Ly,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"活动",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/discover/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ay,t)}},loader:My,meta:{enablePullDownRefresh:!0,backgroundColor:"#f3f3f3",navigationBar:{titleText:"科普四季研学线路推荐",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ry,t)}},loader:Iy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/profile",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Dy,t)}},loader:By,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/orders",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(jy,t)}},loader:Ny,meta:{navigationBar:{titleText:"我的活动预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Vy,t)}},loader:Fy,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/behind-scenes",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(qy,t)}},loader:Wy,meta:{navigationBar:{titleText:"活动花絮",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/registrations",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(zy,t)}},loader:Hy,meta:{navigationBar:{titleText:"已报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Yy,t)}},loader:Uy,meta:{navigationBar:{titleText:"活动详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ticket-grab/reserve",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Ky,t)}},loader:Xy,meta:{navigationBar:{titleText:"抢票预约",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/activity/reserve",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Jy,t)}},loader:Gy,meta:{navigationBar:{titleText:"预约报名",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/reservation-detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(Qy,t)}},loader:Zy,meta:{navigationBar:{titleText:"预约详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/study-tour/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(tb,t)}},loader:eb,meta:{navigationBar:{titleText:"研学线路",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/venue/detail",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(ob,t)}},loader:nb,meta:{navigationBar:{titleText:"场馆详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/stats/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(ib,t)}},loader:rb,meta:{enablePullDownRefresh:!0,backgroundColor:"#eef1f4",navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/traffic/index",component:{setup(){const e=ag(),t=e&&e.$route&&e.$route.query||{};return()=>lb(ab,t)}},loader:sb,meta:{navigationBar:{titleText:"实时人数排行",style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e /*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */));const cb=Symbol();var ub,db;(db=ub||(ub={})).direct="direct",db.patchObject="patch object",db.patchFunction="patch function";const fb=(e,t=0)=>(t,n=Yi())=>{!Qi&&pr(e,t,n)},hb=fb(re,3),pb=fb(se,1),mb=fb(de,2),gb=fb(be,2),vb=fb(_e,2),yb={apiBaseUrl:"https://szkp-map.langye.net/api",peopleCountingUrl:"https://hik.pdc.langye.net:18080/api/people-counting",tencentMapKey:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2",tencentMapReferer:"szkp-map-h5",wechatAppId:"wx0ab83154fb7f544d"},bb={accessToken:"szkp_h5_access_token",userInfo:"szkp_h5_user_info",oauthState:"szkp_h5_oauth_state",oauthReturnHashBackup:"szkp_h5_oauth_return_hash_backup",locConsent:"szkp_loc_consent",localProfile:"szkp_h5_local_profile"},_b={title:"苏州市科普场馆地图",desc:"这里有100+家科普场馆",imageUrl:"/h5/assets/share-Bv5j-uJz.png"};function wb(){return Dg(bb.accessToken)}function xb(e,t,n,o={}){return new Promise((r,i)=>{const s=wb(),a={"Content-Type":"application/json",...o.header};!1!==o.withAuth&&s&&(a.Authorization=`Bearer ${s}`),Kg({...o,url:`${yb.apiBaseUrl}${t}`,method:e,data:n,header:a,success:e=>{const t=e.statusCode||0;t>=200&&t<300?r(e.data):(401===t&&Ng(bb.accessToken),i(e.data||{message:"请求失败"}))},fail:e=>i(e)})})}const Tb={get:(e,t,n)=>xb("GET",e,t,n),post:(e,t,n)=>xb("POST",e,t,n),put:(e,t,n)=>xb("PUT",e,t,n),delete:(e,t,n)=>xb("DELETE",e,t,n)};function Sb(e){return new Promise((t,n)=>{const o=wb();tv({url:`${yb.apiBaseUrl}/h5/upload`,filePath:e,name:"file",header:o?{Authorization:`Bearer ${o}`}:{},success:e=>{const o=e.statusCode||0;if(o>=200&&o<300)try{const n=JSON.parse(e.data);t(n)}catch{n({message:"解析上传结果失败"})}else{401===o&&Ng(bb.accessToken);try{n(JSON.parse(e.data))}catch{n({message:"上传失败"})}}},fail:e=>n(e)})})}let Cb=null;function kb(){return window.navigator.userAgent.toLowerCase().includes("micromessenger")}const Eb=["updateAppMessageShareData","updateTimelineShareData","getLocation","openLocation"];async function Ob(){const e=window.location.href.split("#")[0];if(Cb&&Cb.pageUrl===e)return Cb.wx;const t=await async function(){return window.wx&&"function"==typeof window.wx.config||await new Promise((e,t)=>{const n=document.createElement("script");n.src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js",n.onload=()=>{window.wx&&"function"==typeof window.wx.config?e():t(new Error("微信 JSSDK 加载后 window.wx 不可用"))},n.onerror=()=>t(new Error("微信 JSSDK 加载失败")),document.head.appendChild(n)}),window.wx}();if(!t||"function"!=typeof t.config)throw console.error("[JSSDK] window.wx 不可用或 wx.config 不是函数:",t),new Error("微信 JSSDK 未正确加载,请刷新页面重试");let n;try{n=await Tb.post("/wechat/jssdk-config",{url:e},{withAuth:!1})}catch{n=await Tb.get("/wechat/jssdk-signature",{url:e},{withAuth:!1})}return new Promise((o,r)=>{var i;let s=!1;t.config({debug:!1,appId:n.appId,timestamp:n.timestamp,nonceStr:n.nonceStr,signature:n.signature,jsApiList:[...Eb]}),null==(i=t.error)||i.call(t,e=>{s||(s=!0,Cb=null,r(e||new Error("wx.config error")))}),t.ready(()=>{s||(s=!0,Cb={pageUrl:e,wx:t},o(t))})})}async function Pb(e){const t=Number(e.lat),n=Number(e.lng);if(!(Number.isFinite(t)&&Number.isFinite(n)&&t&&n))return void Sv({title:e.emptyHint||"暂无导航坐标",icon:"none"});const o=(e.name||"地点").trim()||"地点",r=(e.address||"").trim();if(function(){const e=window.navigator.userAgent.toLowerCase();return e.includes("micromessenger")||e.includes("wxwork/")}()){const e={latitude:t,longitude:n,name:o,address:r,scale:18};return void(async()=>{try{let t=function(){const e=window.location.href.split("#")[0];return Cb&&Cb.pageUrl===e?Cb.wx:null}();t||(t=await Ob()),t.openLocation({...e,success:()=>{console.log("[wx.openLocation] success")},fail:e=>{console.error("[wx.openLocation] fail:",e);const t=String((null==e?void 0:e.errMsg)||"").toLowerCase();t.includes("permission")||t.includes("offline verifying")?Sv({title:"导航权限未配置,请联系管理员",icon:"none",duration:3e3}):Sv({title:"导航调用失败,请重试",icon:"none"})}})}catch(t){console.error("[JSSDK] 配置失败,无法调用导航:",t),Sv({title:"微信配置失败,无法导航",icon:"none",duration:3e3})}})()}!function(e){const t=encodeURIComponent(e.name),n=encodeURIComponent(e.address||""),o=`https://apis.map.qq.com/uri/v1/marker?marker=coord:${e.lat},${e.lng};title:${t};addr:${n}&referer=${encodeURIComponent(yb.tencentMapReferer)}&key=${encodeURIComponent(yb.tencentMapKey)}`;window.location.href=o}({lat:t,lng:n,name:o,address:r})}function Lb(e){if(!e)return"";if(/^https?:\/\//i.test(e))return e;if("undefined"==typeof window)return e;const t=e.startsWith("/")?e:`/${e}`;return new URL(t,window.location.origin).href}async function $b(e){if(kb())try{const t=await Ob(),n=null!=(null==e?void 0:e.imgUrl)&&""!==String(e.imgUrl).trim(),o=String(n?e.imgUrl:_b.imageUrl),r={title:null!=(null==e?void 0:e.title)&&""!==String(e.title).trim()?e.title:_b.title,desc:null!=(null==e?void 0:e.desc)&&""!==String(e.desc).trim()?e.desc:_b.desc,link:(null==e?void 0:e.link)||window.location.href,imgUrl:Lb(o)};t.updateAppMessageShareData(r),t.updateTimelineShareData({title:r.title,link:r.link,imgUrl:r.imgUrl})}catch{}}const Mb="szkp_force_loc_prompt",Ab="szkp_wechat_oauth_denied",Ib="szkp_h5_oauth_state_ss",Rb="szkp_h5_oauth_return_hash";let Bb=null,Db=0;function Nb(e){if(null==e||""===e)return"";let t=String(e).trim();try{t=decodeURIComponent(t.replace(/\+/g,"%20")).trim()}catch{}return t}async function jb(){const e=()=>{var e;try{const t=(null==(e=window.location.hash)?void 0:e.trim())||"";if(t.length>1)return t;const n=window.location.href||"",o=n.indexOf("#");if(-1!==o){const e=n.slice(o).trim();if(e.length>1)return e}return""}catch{return""}},t=()=>{var e,t;const n=function(){try{const e=globalThis.getCurrentPages;if("function"==typeof e){const t=e();return Array.isArray(t)?t:[]}}catch{}return[]}(),o=n[n.length-1];if(!o)return"";let r="";const i="string"==typeof(null==(e=o.$page)?void 0:e.fullPath)?null==(t=o.$page)?void 0:t.fullPath:"",s="string"==typeof o.route?o.route:"";if(i){const e=i.trim();r=e.startsWith("#")?e:`#${e.startsWith("/")?e:`/${e}`}`}else if(s){const e=s.startsWith("/")?s:`/${s}`,t=o.options&&"object"==typeof o.options?o.options:{};r=`#${e}${Object.keys(t).length?`?${new URLSearchParams(t).toString()}`:""}`}if(r.startsWith("#")){const e=r.slice(1);r=`#${e.startsWith("/")?e:"/"+e}`}const a=/^#\/pages\/index\/index(?:\?|#|$)/.test(r);return!r||"#"===r||a?"":r};let n=e();return n.length||(n=t()),n.length?n:(await new Promise(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(()=>e()):queueMicrotask(e)}),n=e()||t(),n.length||(await new Promise(e=>setTimeout(e,168)),n=e()||t()),n)}function Fb(e){try{e.length>1?Rg(bb.oauthReturnHashBackup,e):Ng(bb.oauthReturnHashBackup)}catch{}}function Vb(){try{Ng(bb.oauthReturnHashBackup)}catch{}}function Wb(){return Bb||(Bb=async function(){var e,t;if(!kb())return!0;const n=new URL(window.location.href),o=n.searchParams.get("code"),r=n.searchParams.get("state");if(n.searchParams.get("err")){try{window.sessionStorage.setItem(Ab,"1")}catch{}return n.searchParams.delete("code"),n.searchParams.delete("state"),n.searchParams.delete("err"),window.history.replaceState({},"",n.pathname+n.search+n.hash),!0}if(o){let s="";try{s=window.sessionStorage.getItem(Ib)||""}catch{}s||(s=Dg(bb.oauthState)||"");const a=Nb(r),l=Nb(s),c=Boolean(a&&l&&a!==l);if(c){Sv({title:"授权状态异常,请关闭页面后重试",icon:"none"});try{window.sessionStorage.removeItem(Ib),window.sessionStorage.removeItem(Rb)}catch{}Ng(bb.oauthState),Vb()}else{kv({title:"正在登录…",mask:!0});try{const e=await Tb.post("/h5/wechat/oauth",{code:o},{withAuth:!1});if(null==e?void 0:e.token){Rg(bb.accessToken,e.token);try{window.sessionStorage.setItem(Mb,"1")}catch{}}}catch(i){const n=(null==i?void 0:i.message)||(null==(t=null==(e=null==i?void 0:i.errors)?void 0:e.code)?void 0:t[0])||"微信登录失败";Sv({title:n,icon:"none"})}finally{Ev()}}try{window.sessionStorage.removeItem(Ib)}catch{}Ng(bb.oauthState),n.searchParams.delete("code"),n.searchParams.delete("state");let u="";try{if(u||(u=window.sessionStorage.getItem(Rb)||""),u||(u=function(){try{const e=Dg(bb.oauthReturnHashBackup);return"string"==typeof e?e.trim():""}catch{return""}}()),u)try{window.sessionStorage.removeItem(Rb)}catch{}}catch{}Vb();const d=n.pathname+(n.search||""),f=u||n.hash||"";return window.history.replaceState({},"",d+f),!c&&f&&function(e){const t=function(e){const t=e.trim();if(!t||"#"===t)return null;let n=t.startsWith("#")?t.slice(1):t;return n=n.trim(),n.startsWith("/")||(n=`/${n}`),n.startsWith("/pages/")?/^\/pages\/index\/index(?:\/|\?|$)/.test(n)&&!/[?].+/.test(n)?null:n:null}(e);t&&setTimeout(()=>{try{th({url:t})}catch{try{Qf({url:t})}catch{}}},120)}(f),!0}if(Dg(bb.accessToken))return!0;try{if("1"===window.sessionStorage.getItem(Ab))return!0}catch{}return await qb(),!1}().finally(()=>{Bb=null})),Bb}async function qb(){if("undefined"==typeof window)return!1;if(!kb())return!1;const e=Date.now();if(e-Db<3800&&Db>0)return!1;Db=e;const t=encodeURIComponent(function(){if("undefined"==typeof window)return"";const e=new URL(window.location.href);return e.hash="",e.search="",e.toString()}()),n=`${Date.now()}-${Math.random().toString(36).slice(2,10)}`;try{const e=await jb();if(e.length>1){try{window.sessionStorage.setItem(Rb,e)}catch{}Fb(e)}else{try{window.sessionStorage.removeItem(Rb)}catch{}Fb("")}}catch{}try{window.sessionStorage.setItem(Ib,n)}catch{}Rg(bb.oauthState,n);const o=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${yb.wechatAppId}&redirect_uri=${t}&response_type=code&scope=snsapi_userinfo&state=${encodeURIComponent(n)}#wechat_redirect`;return window.location.replace(o),!0}const Hb=Jo({__name:"App",setup(e){async function t(){let e=!0;try{e=await Wb()}catch{e=!1}e&&($b().catch(()=>{}),kb()&&Ob().catch(()=>{}))}return pb(()=>{t()}),vr(()=>{"undefined"!=typeof window&&window.setTimeout(()=>{t()},220)}),()=>{}}});ug(Hb,{init:lg,setup(e){const t=ld(),n=()=>{var n;n=e,Object.keys(bf).forEach(e=>{bf[e].forEach(t=>{pr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(rp,{path:e,query:t}),c(ip,rp),c({},rp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Je(t.query)});if(o&&I(o,s),r&&I(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};oh(),i&&I(i,e)}};return Jr(Cl).isReady().then(n),vr(()=>{window.addEventListener("resize",et(fg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",hg),document.addEventListener("visibilitychange",pg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{oy.emit(le,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()}),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ti(),Oi(Hv));e.setup=(e,o)=>{const r=t&&t(e,o);return g(r)?n:r},e.render=n}});const zb=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Ub=zb(Jo({__name:"SubPageBackBtn",props:{embedded:{type:Boolean,default:!1}},setup(e){const t=Bn(6),n=Bn(12);function o(){xh().length>1?nv({fail:()=>{Jf({url:"/pages/index/index"})}}):Jf({url:"/pages/index/index"})}return vr(()=>{try{const e=Ag(),o=Number(e.statusBarHeight||0);t.value=o+6,n.value=12}catch{t.value=6}}),(e,r)=>{const i=Im;return Ti(),Oi(i,{class:qe(["subpage-back",{"subpage-back--embedded":e.embedded}]),role:"button","aria-label":"返回",style:We(e.embedded?{}:{top:t.value+"px",left:n.value+"px"}),"hover-class":"subpage-back--hover","hover-stay-time":"80",onClick:ea(o,["stop"])},{default:yo(()=>[Ri(i,{class:"subpage-back__icon","aria-hidden":"true"})]),_:1},8,["class","style"])}}}),[["__scopeId","data-v-a70bdb2c"]]);(function(){const e=oa(Hb);return e.use(function(){const e=pt(!0),t=e.run(()=>Bn({}));let n=[],o=[];const r=Pn({install(e){r._a=e,e.provide(cb,r),e.config.globalProperties.$pinia=r,o.forEach(e=>n.push(e)),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}()),e.component("SubPageBackBtn",Ub),{app:e}})().app.use(Qm).mount("#app");export{hv as $,We as A,Ni as B,ov as C,Jf as D,gb as E,vi as F,vb as G,$v as H,nm as I,xh as J,nv as K,Dg as L,bb as M,So as N,rd as O,Vg as P,kv as Q,Sb as R,km as S,Ev as T,mb as U,Om as V,_b as W,Lm as X,bg as Y,Tm as Z,zb as _,vr as a,Pb as a0,kb as a1,qb as a2,no as a3,Yi as a4,vf as a5,Ub as a6,Qf as a7,Rg as a8,Ig as a9,No as aa,Es as ab,_g as ac,Ii as ad,Ag as ae,Kg as af,yb as ag,cf as ah,vp as ai,_r as b,rs as c,Jo as d,Oi as e,yo as f,Sv as g,Tb as h,Im as i,Ti as j,Ri as k,Am as l,Di as m,qe as n,hb as o,Ip as p,Fn as q,Bn as r,$b as s,Zv as t,Kd as u,Y as v,Ao as w,ea as x,Ei as y,kr as z}; + */));const cb=Symbol();var ub,db;(db=ub||(ub={})).direct="direct",db.patchObject="patch object",db.patchFunction="patch function";const fb=(e,t=0)=>(t,n=Yi())=>{!Qi&&pr(e,t,n)},hb=fb(re,3),pb=fb(se,1),mb=fb(de,2),gb=fb(be,2),vb=fb(_e,2),yb={apiBaseUrl:"https://szkp-map.langye.net/api",peopleCountingUrl:"https://hik.pdc.langye.net:18080/api/people-counting",tencentMapKey:"CRFBZ-NTART-YU4XX-LCDGK-3J456-VKBK2",tencentMapReferer:"szkp-map-h5",wechatAppId:"wx0ab83154fb7f544d"},bb={accessToken:"szkp_h5_access_token",userInfo:"szkp_h5_user_info",oauthState:"szkp_h5_oauth_state",oauthReturnHashBackup:"szkp_h5_oauth_return_hash_backup",locConsent:"szkp_loc_consent",localProfile:"szkp_h5_local_profile"},_b={title:"苏州市科普场馆地图",desc:"这里有100+家科普场馆",imageUrl:"/h5/assets/share-Bv5j-uJz.png"};function wb(){return Dg(bb.accessToken)}function xb(e,t,n,o={}){return new Promise((r,i)=>{const s=wb(),a={"Content-Type":"application/json",...o.header};!1!==o.withAuth&&s&&(a.Authorization=`Bearer ${s}`),Kg({...o,url:`${yb.apiBaseUrl}${t}`,method:e,data:n,header:a,success:e=>{const t=e.statusCode||0;t>=200&&t<300?r(e.data):(401===t&&Ng(bb.accessToken),i(e.data||{message:"请求失败"}))},fail:e=>i(e)})})}const Tb={get:(e,t,n)=>xb("GET",e,t,n),post:(e,t,n)=>xb("POST",e,t,n),put:(e,t,n)=>xb("PUT",e,t,n),delete:(e,t,n)=>xb("DELETE",e,t,n)};function Sb(e){return new Promise((t,n)=>{const o=wb();tv({url:`${yb.apiBaseUrl}/h5/upload`,filePath:e,name:"file",header:o?{Authorization:`Bearer ${o}`}:{},success:e=>{const o=e.statusCode||0;if(o>=200&&o<300)try{const n=JSON.parse(e.data);t(n)}catch{n({message:"解析上传结果失败"})}else{401===o&&Ng(bb.accessToken);try{n(JSON.parse(e.data))}catch{n({message:"上传失败"})}}},fail:e=>n(e)})})}let Cb=null;function kb(){return window.navigator.userAgent.toLowerCase().includes("micromessenger")}const Eb=["updateAppMessageShareData","updateTimelineShareData","getLocation","openLocation"];async function Ob(){const e=window.location.href.split("#")[0];if(Cb&&Cb.pageUrl===e)return Cb.wx;const t=await async function(){return window.wx&&"function"==typeof window.wx.config||await new Promise((e,t)=>{const n=document.createElement("script");n.src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js",n.onload=()=>{window.wx&&"function"==typeof window.wx.config?e():t(new Error("微信 JSSDK 加载后 window.wx 不可用"))},n.onerror=()=>t(new Error("微信 JSSDK 加载失败")),document.head.appendChild(n)}),window.wx}();if(!t||"function"!=typeof t.config)throw console.error("[JSSDK] window.wx 不可用或 wx.config 不是函数:",t),new Error("微信 JSSDK 未正确加载,请刷新页面重试");let n;try{n=await Tb.post("/wechat/jssdk-config",{url:e},{withAuth:!1})}catch{n=await Tb.get("/wechat/jssdk-signature",{url:e},{withAuth:!1})}return new Promise((o,r)=>{var i;let s=!1;t.config({debug:!1,appId:n.appId,timestamp:n.timestamp,nonceStr:n.nonceStr,signature:n.signature,jsApiList:[...Eb]}),null==(i=t.error)||i.call(t,e=>{s||(s=!0,Cb=null,r(e||new Error("wx.config error")))}),t.ready(()=>{s||(s=!0,Cb={pageUrl:e,wx:t},o(t))})})}async function Pb(e){const t=Number(e.lat),n=Number(e.lng);if(!(Number.isFinite(t)&&Number.isFinite(n)&&t&&n))return void Sv({title:e.emptyHint||"暂无导航坐标",icon:"none"});const o=(e.name||"地点").trim()||"地点",r=(e.address||"").trim();if(function(){const e=window.navigator.userAgent.toLowerCase();return e.includes("micromessenger")||e.includes("wxwork/")}()){const e={latitude:t,longitude:n,name:o,address:r,scale:18};return void(async()=>{try{let t=function(){const e=window.location.href.split("#")[0];return Cb&&Cb.pageUrl===e?Cb.wx:null}();t||(t=await Ob()),t.openLocation({...e,success:()=>{console.log("[wx.openLocation] success")},fail:e=>{console.error("[wx.openLocation] fail:",e);const t=String((null==e?void 0:e.errMsg)||"").toLowerCase();t.includes("permission")||t.includes("offline verifying")?Sv({title:"导航权限未配置,请联系管理员",icon:"none",duration:3e3}):Sv({title:"导航调用失败,请重试",icon:"none"})}})}catch(t){console.error("[JSSDK] 配置失败,无法调用导航:",t),Sv({title:"微信配置失败,无法导航",icon:"none",duration:3e3})}})()}!function(e){const t=encodeURIComponent(e.name),n=encodeURIComponent(e.address||""),o=`https://apis.map.qq.com/uri/v1/marker?marker=coord:${e.lat},${e.lng};title:${t};addr:${n}&referer=${encodeURIComponent(yb.tencentMapReferer)}&key=${encodeURIComponent(yb.tencentMapKey)}`;window.location.href=o}({lat:t,lng:n,name:o,address:r})}function Lb(e){if(!e)return"";if(/^https?:\/\//i.test(e))return e;if("undefined"==typeof window)return e;const t=e.startsWith("/")?e:`/${e}`;return new URL(t,window.location.origin).href}async function $b(e){if(kb())try{const t=await Ob(),n=null!=(null==e?void 0:e.imgUrl)&&""!==String(e.imgUrl).trim(),o=String(n?e.imgUrl:_b.imageUrl),r={title:null!=(null==e?void 0:e.title)&&""!==String(e.title).trim()?e.title:_b.title,desc:null!=(null==e?void 0:e.desc)&&""!==String(e.desc).trim()?e.desc:_b.desc,link:(null==e?void 0:e.link)||window.location.href,imgUrl:Lb(o)};t.updateAppMessageShareData(r),t.updateTimelineShareData({title:r.title,link:r.link,imgUrl:r.imgUrl})}catch{}}const Mb="szkp_force_loc_prompt",Ab="szkp_wechat_oauth_denied",Ib="szkp_h5_oauth_state_ss",Rb="szkp_h5_oauth_return_hash";let Bb=null,Db=0;function Nb(e){if(null==e||""===e)return"";let t=String(e).trim();try{t=decodeURIComponent(t.replace(/\+/g,"%20")).trim()}catch{}return t}async function jb(){const e=()=>{var e;try{const t=(null==(e=window.location.hash)?void 0:e.trim())||"";if(t.length>1)return t;const n=window.location.href||"",o=n.indexOf("#");if(-1!==o){const e=n.slice(o).trim();if(e.length>1)return e}return""}catch{return""}},t=()=>{var e,t;const n=function(){try{const e=globalThis.getCurrentPages;if("function"==typeof e){const t=e();return Array.isArray(t)?t:[]}}catch{}return[]}(),o=n[n.length-1];if(!o)return"";let r="";const i="string"==typeof(null==(e=o.$page)?void 0:e.fullPath)?null==(t=o.$page)?void 0:t.fullPath:"",s="string"==typeof o.route?o.route:"";if(i){const e=i.trim();r=e.startsWith("#")?e:`#${e.startsWith("/")?e:`/${e}`}`}else if(s){const e=s.startsWith("/")?s:`/${s}`,t=o.options&&"object"==typeof o.options?o.options:{};r=`#${e}${Object.keys(t).length?`?${new URLSearchParams(t).toString()}`:""}`}if(r.startsWith("#")){const e=r.slice(1);r=`#${e.startsWith("/")?e:"/"+e}`}const a=/^#\/pages\/index\/index(?:\?|#|$)/.test(r);return!r||"#"===r||a?"":r};let n=e();return n.length||(n=t()),n.length?n:(await new Promise(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(()=>e()):queueMicrotask(e)}),n=e()||t(),n.length||(await new Promise(e=>setTimeout(e,168)),n=e()||t()),n)}function Fb(e){try{e.length>1?Rg(bb.oauthReturnHashBackup,e):Ng(bb.oauthReturnHashBackup)}catch{}}function Vb(){try{Ng(bb.oauthReturnHashBackup)}catch{}}function Wb(){return Bb||(Bb=async function(){var e,t;if(!kb())return!0;const n=new URL(window.location.href),o=n.searchParams.get("code"),r=n.searchParams.get("state");if(n.searchParams.get("err")){try{window.sessionStorage.setItem(Ab,"1")}catch{}return n.searchParams.delete("code"),n.searchParams.delete("state"),n.searchParams.delete("err"),window.history.replaceState({},"",n.pathname+n.search+n.hash),!0}if(o){let s="";try{s=window.sessionStorage.getItem(Ib)||""}catch{}s||(s=Dg(bb.oauthState)||"");const a=Nb(r),l=Nb(s),c=Boolean(a&&l&&a!==l);if(c){Sv({title:"授权状态异常,请关闭页面后重试",icon:"none"});try{window.sessionStorage.removeItem(Ib),window.sessionStorage.removeItem(Rb)}catch{}Ng(bb.oauthState),Vb()}else{kv({title:"正在登录…",mask:!0});try{const e=await Tb.post("/h5/wechat/oauth",{code:o},{withAuth:!1});if(null==e?void 0:e.token){Rg(bb.accessToken,e.token);try{window.sessionStorage.setItem(Mb,"1")}catch{}}}catch(i){const n=(null==i?void 0:i.message)||(null==(t=null==(e=null==i?void 0:i.errors)?void 0:e.code)?void 0:t[0])||"微信登录失败";Sv({title:n,icon:"none"})}finally{Ev()}}try{window.sessionStorage.removeItem(Ib)}catch{}Ng(bb.oauthState),n.searchParams.delete("code"),n.searchParams.delete("state");let u="";try{if(u||(u=window.sessionStorage.getItem(Rb)||""),u||(u=function(){try{const e=Dg(bb.oauthReturnHashBackup);return"string"==typeof e?e.trim():""}catch{return""}}()),u)try{window.sessionStorage.removeItem(Rb)}catch{}}catch{}Vb();const d=n.pathname+(n.search||""),f=u||n.hash||"";return window.history.replaceState({},"",d+f),!c&&f&&function(e){const t=function(e){const t=e.trim();if(!t||"#"===t)return null;let n=t.startsWith("#")?t.slice(1):t;return n=n.trim(),n.startsWith("/")||(n=`/${n}`),n.startsWith("/pages/")?/^\/pages\/index\/index(?:\/|\?|$)/.test(n)&&!/[?].+/.test(n)?null:n:null}(e);t&&setTimeout(()=>{try{th({url:t})}catch{try{Qf({url:t})}catch{}}},120)}(f),!0}if(Dg(bb.accessToken))return!0;try{if("1"===window.sessionStorage.getItem(Ab))return!0}catch{}return await qb(),!1}().finally(()=>{Bb=null})),Bb}async function qb(){if("undefined"==typeof window)return!1;if(!kb())return!1;const e=Date.now();if(e-Db<3800&&Db>0)return!1;Db=e;const t=encodeURIComponent(function(){if("undefined"==typeof window)return"";const e=new URL(window.location.href);return e.hash="",e.search="",e.toString()}()),n=`${Date.now()}-${Math.random().toString(36).slice(2,10)}`;try{const e=await jb();if(e.length>1){try{window.sessionStorage.setItem(Rb,e)}catch{}Fb(e)}else{try{window.sessionStorage.removeItem(Rb)}catch{}Fb("")}}catch{}try{window.sessionStorage.setItem(Ib,n)}catch{}Rg(bb.oauthState,n);const o=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${yb.wechatAppId}&redirect_uri=${t}&response_type=code&scope=snsapi_userinfo&state=${encodeURIComponent(n)}#wechat_redirect`;return window.location.replace(o),!0}const Hb=Jo({__name:"App",setup(e){async function t(){let e=!0;try{e=await Wb()}catch{e=!1}e&&($b().catch(()=>{}),kb()&&Ob().catch(()=>{}))}return pb(()=>{t()}),vr(()=>{"undefined"!=typeof window&&window.setTimeout(()=>{t()},220)}),()=>{}}});ug(Hb,{init:lg,setup(e){const t=ld(),n=()=>{var n;n=e,Object.keys(bf).forEach(e=>{bf[e].forEach(t=>{pr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(rp,{path:e,query:t}),c(ip,rp),c({},rp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Je(t.query)});if(o&&I(o,s),r&&I(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};oh(),i&&I(i,e)}};return Jr(Cl).isReady().then(n),vr(()=>{window.addEventListener("resize",et(fg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",hg),document.addEventListener("visibilitychange",pg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{oy.emit(le,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()}),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ti(),Oi(Hv));e.setup=(e,o)=>{const r=t&&t(e,o);return g(r)?n:r},e.render=n}});const zb=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Ub=zb(Jo({__name:"SubPageBackBtn",props:{embedded:{type:Boolean,default:!1}},setup(e){const t=Bn(6),n=Bn(12);function o(){xh().length>1?nv({fail:()=>{Jf({url:"/pages/index/index"})}}):Jf({url:"/pages/index/index"})}return vr(()=>{try{const e=Ag(),o=Number(e.statusBarHeight||0);t.value=o+6,n.value=12}catch{t.value=6}}),(e,r)=>{const i=Im;return Ti(),Oi(i,{class:qe(["subpage-back",{"subpage-back--embedded":e.embedded}]),role:"button","aria-label":"返回",style:We(e.embedded?{}:{top:t.value+"px",left:n.value+"px"}),"hover-class":"subpage-back--hover","hover-stay-time":"80",onClick:ea(o,["stop"])},{default:yo(()=>[Ri(i,{class:"subpage-back__icon","aria-hidden":"true"})]),_:1},8,["class","style"])}}}),[["__scopeId","data-v-a70bdb2c"]]);(function(){const e=oa(Hb);return e.use(function(){const e=pt(!0),t=e.run(()=>Bn({}));let n=[],o=[];const r=Pn({install(e){r._a=e,e.provide(cb,r),e.config.globalProperties.$pinia=r,o.forEach(e=>n.push(e)),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}()),e.component("SubPageBackBtn",Ub),{app:e}})().app.use(Qm).mount("#app");export{Tm as $,Ei as A,kr as B,We as C,ov as D,Jf as E,vi as F,gb as G,vb as H,nm as I,$v as J,xh as K,nv as L,Dg as M,bb as N,So as O,rd as P,Vg as Q,kv as R,km as S,Sb as T,Ev as U,mb as V,_b as W,Om as X,Lm as Y,bg as Z,zb as _,_r as a,hv as a0,Pb as a1,kb as a2,qb as a3,no as a4,Yi as a5,vf as a6,Ub as a7,Qf as a8,Rg as a9,Ig as aa,No as ab,Es as ac,_g as ad,Ag as ae,Kg as af,yb as ag,cf as ah,vp as ai,Ti as b,Oi as c,Jo as d,ea as e,yo as f,Ii as g,Tb as h,Im as i,Di as j,Ni as k,Ri as l,Am as m,rs as n,vr as o,hb as p,Sv as q,Bn as r,$b as s,Y as t,Kd as u,qe as v,Ao as w,Ip as x,Fn as y,Zv as z}; diff --git a/public/h5/assets/index-DFbFISSF.css b/public/h5/assets/index-DFbFISSF.css new file mode 100644 index 0000000..483a105 --- /dev/null +++ b/public/h5/assets/index-DFbFISSF.css @@ -0,0 +1 @@ +.tdt-wrap[data-v-b885381f]{position:relative;width:100%;height:100%;overflow:hidden;touch-action:none;z-index:1}.tdt-map[data-v-b885381f]{width:100%;height:100%;touch-action:none}.tdt-err[data-v-b885381f]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:.75rem;font-size:.8125rem;color:#86909c;background:#f2f3f5;text-align:center;z-index:2}.tdt-copy[data-v-b885381f]{position:absolute;left:.25rem;bottom:.1875rem;font-size:.5625rem;color:rgba(29,33,41,.55);z-index:3;pointer-events:none;line-height:1.2}b[data-v-3cb322be],strong[data-v-3cb322be]{font-weight:400}uni-page-body[data-v-3cb322be]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:#f7f8fa;color:#252525;font-weight:400;--brand-color: #05c9ac;--fs-tag: .625rem;--fs-body: .75rem;--fs-subtitle: .875rem;--fs-title: 1rem;--color-text: #252525;--color-text-sub: #8c8c8c}body[data-v-3cb322be]{background:#f7f8fa}.font-s[data-v-3cb322be]{font-size:var(--fs-body)}.font-m[data-v-3cb322be]{font-size:var(--fs-subtitle)}.font-l[data-v-3cb322be]{font-size:var(--fs-title)}uni-button[data-v-3cb322be],.uni-button[data-v-3cb322be]{font-weight:400}.page-root[data-v-3cb322be]{min-height:100vh;position:relative}.page[data-v-3cb322be]{min-height:100vh;background:#fff}.venue-list-scroll[data-v-3cb322be]{width:100%;height:22.5rem;box-sizing:border-box;border-radius:0 0 .375rem .375rem;-webkit-overflow-scrolling:touch}.hero[data-v-3cb322be]{position:relative;padding:0 0 .25rem;box-sizing:border-box}.hero-brand[data-v-3cb322be]{position:relative;overflow:hidden;width:100%;height:5.375rem;border-radius:0 0 2.25rem 2.25rem;box-sizing:border-box}.hero-content[data-v-3cb322be]{position:relative;z-index:2;margin-top:-3.5rem;padding:0 .75rem;box-sizing:border-box}.stat-card[data-v-3cb322be]{position:relative;overflow:hidden;border-radius:.5rem;box-sizing:border-box;box-shadow:0 .25rem .75rem rgba(0,0,0,.06);background-color:#fafafa}.stat-card__body[data-v-3cb322be]{position:relative;z-index:1;padding:.625rem .625rem .5625rem;box-sizing:border-box}.stat-note[data-v-3cb322be]{margin:.1875rem 0 .3125rem;font-size:.65625rem;color:#86909c;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-main[data-v-3cb322be]{position:relative;z-index:1;display:flex;align-items:flex-start;gap:.5rem}.stat-left[data-v-3cb322be]{flex:3 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}.stat-label[data-v-3cb322be]{font-size:.9375rem;color:#4e5969;line-height:1.35}.stat-num[data-v-3cb322be]{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:400;color:#1d2129;line-height:1.25}.stat-right[data-v-3cb322be]{flex:3 1 0;min-width:0;display:flex;flex-direction:column}.live-list[data-v-3cb322be]{flex:1;display:flex;flex-direction:column;width:100%;min-height:5.25rem}.live-venue-row[data-v-3cb322be]{flex:1;min-height:1.625rem;padding:.25rem 0;border-bottom:.03125rem solid #eceef2;display:flex;align-items:center;box-sizing:border-box}.live-venue-row[data-v-3cb322be]:first-child{padding-top:0}.live-venue-row[data-v-3cb322be]:last-child{border-bottom:none}.live-row-one[data-v-3cb322be]{display:flex;align-items:center;gap:.25rem;width:100%;min-width:0}.live-name[data-v-3cb322be]{flex:1;min-width:0;font-size:.6875rem;color:#1d2129;font-weight:400;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-count[data-v-3cb322be]{flex-shrink:0;font-size:.6875rem;color:#05c9ac;font-weight:400;line-height:1.3}.live-venue-row.is-empty .live-name[data-v-3cb322be],.live-venue-row.is-empty .live-count[data-v-3cb322be]{color:#86909c;font-weight:400}.stat-foot[data-v-3cb322be]{margin-top:.25rem;padding-top:0;display:flex;justify-content:flex-end;width:100%}.stat-foot-link[data-v-3cb322be]{font-size:.625rem;color:#05c9ac;font-weight:400;line-height:1.3}.stat-section[data-v-3cb322be]{margin:.3125rem .75rem 0;padding:0;box-sizing:border-box}.map-section[data-v-3cb322be]{margin:.75rem .5rem 0;background:#fff;border-radius:.5rem;padding:.625rem .5rem .5rem;position:relative;z-index:1;box-shadow:0 .125rem .5rem rgba(0,0,0,.04)}.hero-content .map-section[data-v-3cb322be]{margin:0;width:100%;box-sizing:border-box;padding:.625rem .5rem}.toolbar[data-v-3cb322be]{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.tabs[data-v-3cb322be]{display:flex;align-items:flex-end;gap:.5rem;flex-shrink:0}.tab[data-v-3cb322be]{font-size:.75rem;color:#86909c;padding-bottom:.25rem;position:relative}.tab.on[data-v-3cb322be]{font-size:14px;color:#1d2129;font-weight:400}.tab.on[data-v-3cb322be]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:.125rem;background:#05c9ac;border-radius:.0625rem}.search-wrap[data-v-3cb322be]{flex:1;min-width:0;height:1.75rem;background:#f7f8fa;border-radius:.875rem;display:flex;align-items:center;padding:0 .4375rem 0 .5rem;border:.03125rem solid #eceef2;box-sizing:border-box}.search-input[data-v-3cb322be]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-3cb322be]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-3cb322be]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-3cb322be]{display:flex;flex-wrap:nowrap;gap:.1875rem;margin-bottom:.375rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.125rem}.filters uni-picker[data-v-3cb322be]{flex:0 0 auto;display:block}.f-item[data-v-3cb322be]{flex:0 0 auto;min-width:4.125rem;height:1.75rem;padding:0 .1875rem 0 .25rem;display:flex;align-items:center;justify-content:space-between;gap:.125rem;background:#fff;border-radius:.375rem;border:.03125rem solid #e8eaed;box-shadow:0 .0625rem .3125rem rgba(15,23,42,.04);box-sizing:border-box}.f-item-text[data-v-3cb322be]{flex:1;min-width:0;font-size:.625rem;color:#4e5969;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-item-arrow[data-v-3cb322be]{width:.5rem;height:.5rem;flex-shrink:0}.map-area[data-v-3cb322be]{position:relative;width:100%}.map-wrap[data-v-3cb322be]{position:relative;width:100%;border-radius:.375rem;overflow:hidden;z-index:1}.main-map[data-v-3cb322be]{width:100%;height:22.5rem;border-radius:.375rem;display:block}.venue-sheet[data-v-3cb322be]{position:absolute;left:0;right:0;bottom:0;padding:0 .25rem .25rem;border-radius:0 0 .375rem .375rem;pointer-events:none;z-index:500}.venue-sheet-inner[data-v-3cb322be]{pointer-events:auto;background:#fff;border-radius:.375rem;padding:.375rem .4375rem;box-shadow:0 -.0625rem .5rem rgba(0,0,0,.06);border:.03125rem solid #eef1f5}.sheet-bar[data-v-3cb322be]{width:1.375rem;height:.1875rem;background:#e5e6eb;border-radius:.09375rem;margin:0 auto .3125rem}.sheet-row[data-v-3cb322be]{display:flex;gap:.375rem;align-items:flex-start}.sheet-cover[data-v-3cb322be]{width:3.75rem;height:2.625rem;border-radius:.25rem;flex-shrink:0}.sheet-main[data-v-3cb322be]{flex:1;min-width:0}.sheet-name[data-v-3cb322be]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.3;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-tags-line[data-v-3cb322be]{margin-top:.125rem;min-height:1.25rem;width:100%;box-sizing:border-box}.sheet-meta[data-v-3cb322be]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:.1875rem;max-width:100%}.sheet-type[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-meta-sep[data-v-3cb322be]{font-size:.625rem;color:#c9cdd4}.sheet-ticket[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-ticket.free[data-v-3cb322be]{color:#00b42a;background:rgba(0,180,42,.1)}.sheet-ticket.paid[data-v-3cb322be]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;flex-shrink:0;white-space:nowrap;max-width:100%}.sheet-actions[data-v-3cb322be]{margin-top:.375rem;display:flex;gap:.375rem;justify-content:flex-end}.sheet-btn[data-v-3cb322be]{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;text-align:center;min-width:0;flex:0 1 auto;max-width:4.375rem;font-weight:400;line-height:1.35}.sheet-btn.ghost[data-v-3cb322be]{background:#f7f8fa;color:#252525;border:.03125rem solid #eceef2}.sheet-btn.primary[data-v-3cb322be]{background:#05c9ac;color:#fff;font-weight:400}.venue-row[data-v-3cb322be]{display:flex;gap:.5rem;padding:.5rem 0;border-bottom:.03125rem solid #f0f2f5}.venue-thumb[data-v-3cb322be]{width:5.5rem;height:3.4375rem;border-radius:.25rem;flex-shrink:0}.venue-info[data-v-3cb322be]{flex:1;min-width:0}.venue-name[data-v-3cb322be]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}.venue-tags-line[data-v-3cb322be]{margin-top:.1875rem;min-height:1.25rem;width:100%;box-sizing:border-box}.venue-meta[data-v-3cb322be]{display:flex;flex-direction:row;flex-wrap:wrap;gap:.25rem;max-width:100%;align-items:flex-start}.venue-type-pill[data-v-3cb322be],.venue-ticket-pill[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.venue-ticket-pill.free[data-v-3cb322be]{color:#00b42a;background:rgba(0,180,42,.1)}.venue-ticket-pill.paid[data-v-3cb322be]{color:#f53f3f;background:rgba(245,63,63,.08)}.empty-tip[data-v-3cb322be]{text-align:center;padding:2.5rem 0;font-size:.75rem;color:#86909c}.section[data-v-3cb322be]{background:#fff;margin:.5rem .5rem 0;border-radius:.5rem;padding:.625rem .5rem}.sec-head[data-v-3cb322be]{display:flex;align-items:center;margin-bottom:.5rem}.sec-bar[data-v-3cb322be]{width:.1875rem;height:.875rem;background:#05c9ac;border-radius:.09375rem;margin-right:.375rem}.sec-title[data-v-3cb322be]{flex:1;font-size:1rem;font-weight:400;color:#1d2129}.sec-more[data-v-3cb322be]{font-size:.75rem;color:#86909c}.act-scroll[data-v-3cb322be]{width:100%;white-space:nowrap}.act-scroll-row[data-v-3cb322be]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:.625rem;padding:0 .125rem .25rem 0}.act-card[data-v-3cb322be]{flex-shrink:0;width:12.5rem;box-sizing:border-box;display:flex;flex-direction:column}.act-img-wrap[data-v-3cb322be]{position:relative;z-index:2;width:11.25rem;height:5.625rem;margin:0 auto -2.8125rem;border-radius:.375rem;overflow:hidden;box-shadow:0 .125rem .5rem rgba(0,0,0,.08)}.act-img[data-v-3cb322be]{width:11.25rem;height:5.625rem;display:block}.act-book-badge[data-v-3cb322be]{position:absolute;right:.375rem;bottom:.3125rem;z-index:2;max-width:calc(100% - .75rem);display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0;background:transparent;box-sizing:border-box}.act-book-badge.is-bookable[data-v-3cb322be]{padding:.1875rem .5rem;background:#05c9ac;border-radius:31.21875rem;min-height:0}.act-book-badge.is-grab[data-v-3cb322be]{padding:.1875rem .5rem;background:linear-gradient(135deg,#ff8a4c,#ff6b35);border-radius:31.21875rem;min-height:0}.act-book-badge.is-muted[data-v-3cb322be]{padding:.1875rem .5rem;background:rgba(134,144,156,.94);border-radius:31.21875rem;min-height:0}.act-book-badge.is-accent[data-v-3cb322be]{padding:.1875rem .5rem;background:rgba(114,46,209,.94);border-radius:31.21875rem;min-height:0}.act-book-text[data-v-3cb322be]{font-size:.625rem;color:#fff;line-height:1.25;white-space:nowrap;text-shadow:0 .03125rem .1875rem rgba(0,0,0,.55)}.act-book-text.is-bookable[data-v-3cb322be],.act-book-text.is-grab[data-v-3cb322be],.act-book-text.is-muted[data-v-3cb322be],.act-book-text.is-accent[data-v-3cb322be]{text-shadow:none}.act-body[data-v-3cb322be]{width:12.5rem;box-sizing:border-box;padding:3.1875rem .5rem .5625rem;background:#fff;border-radius:.375rem;box-shadow:0 .125rem .5rem rgba(0,0,0,.04);min-height:9rem;display:flex;flex-direction:column;justify-content:flex-start}.act-title[data-v-3cb322be]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;height:1.25rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-tags[data-v-3cb322be]{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.25rem;margin-top:.25rem;height:1.25rem;overflow:hidden;align-items:center}.act-tag-chip[data-v-3cb322be]{font-size:.625rem;color:#05c9ac;line-height:.875rem;padding:.125rem .3125rem;background:rgba(5,201,172,.12);border-radius:.1875rem;flex-shrink:0;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-meta[data-v-3cb322be]{display:block;width:100%;margin-top:.1875rem;height:1.0625rem;line-height:1.0625rem;font-size:.75rem;color:#86909c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag[data-v-3cb322be]{position:absolute;z-index:3;left:0;top:.375rem;color:#fff;font-size:.6875rem;line-height:1.25;border-radius:0 .625rem .625rem 0;padding:.1875rem .4375rem;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag.st-ongoing[data-v-3cb322be]{background:rgba(22,194,169,.92)}.act-schedule-tag.st-not_started[data-v-3cb322be]{background:rgba(22,93,255,.92)}.act-schedule-tag.st-ended[data-v-3cb322be]{background:rgba(134,144,156,.95)}.tour-card[data-v-3cb322be]{margin-bottom:.625rem;border-radius:.5rem;overflow:hidden;background:#fff;box-shadow:0 .125rem .625rem rgba(0,0,0,.06)}.tour-card[data-v-3cb322be]:last-child{margin-bottom:0}.tour-img-wrap[data-v-3cb322be]{position:relative;width:100%;aspect-ratio:2/1;border-radius:.5rem .5rem 0 0;overflow:hidden}.tour-img[data-v-3cb322be]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.tour-body[data-v-3cb322be]{padding:.5625rem .625rem .5rem}.tour-title[data-v-3cb322be]{font-size:.875rem;color:#1d2129;font-weight:400;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tour-stops-timeline[data-v-3cb322be]{margin-top:.4375rem}.tour-stop-row[data-v-3cb322be]{display:flex;flex-direction:row;align-items:stretch}.tour-timeline-axis[data-v-3cb322be]{width:.875rem;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin-right:.3125rem}.tour-dot-cell[data-v-3cb322be]{height:1.125rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%}.tour-tl-dot[data-v-3cb322be]{width:.375rem;height:.375rem;border-radius:50%;background:#c9cdd4;flex-shrink:0}.tour-tl-line[data-v-3cb322be]{width:.0625rem;flex:1;min-height:.375rem;margin-top:0;background:#e5e6eb}.tour-stop-name[data-v-3cb322be]{flex:1;min-width:0;padding-bottom:.375rem;font-size:.75rem;color:#86909c;line-height:1.125rem;box-sizing:border-box}.tour-stop-row:last-child .tour-stop-name[data-v-3cb322be]{padding-bottom:0}.tour-tags-row[data-v-3cb322be]{margin-top:.4375rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.3125rem}.tour-tag[data-v-3cb322be]{font-size:.6875rem;color:#05c9ac;background:rgba(5,201,172,.12);padding:.1875rem .4375rem;border-radius:.25rem;line-height:1.3}.bottom-safe[data-v-3cb322be]{height:.75rem}.loading-mask[data-v-3cb322be]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:10080;background:rgba(255,255,255,.5);text-align:center;padding-top:40vh;color:#1d2129;font-size:.9375rem} diff --git a/public/h5/assets/index-hK3ZiQtD.css b/public/h5/assets/index-hK3ZiQtD.css deleted file mode 100644 index c625432..0000000 --- a/public/h5/assets/index-hK3ZiQtD.css +++ /dev/null @@ -1 +0,0 @@ -b[data-v-3cb322be],strong[data-v-3cb322be]{font-weight:400}uni-page-body[data-v-3cb322be]{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:#f7f8fa;color:#252525;font-weight:400;--brand-color: #05c9ac;--fs-tag: .625rem;--fs-body: .75rem;--fs-subtitle: .875rem;--fs-title: 1rem;--color-text: #252525;--color-text-sub: #8c8c8c}body[data-v-3cb322be]{background:#f7f8fa}.font-s[data-v-3cb322be]{font-size:var(--fs-body)}.font-m[data-v-3cb322be]{font-size:var(--fs-subtitle)}.font-l[data-v-3cb322be]{font-size:var(--fs-title)}uni-button[data-v-3cb322be],.uni-button[data-v-3cb322be]{font-weight:400}.page-root[data-v-3cb322be]{min-height:100vh;position:relative}.page[data-v-3cb322be]{min-height:100vh;background:#fff}.venue-list-scroll[data-v-3cb322be]{width:100%;height:22.5rem;box-sizing:border-box;border-radius:0 0 .375rem .375rem;-webkit-overflow-scrolling:touch}.hero[data-v-3cb322be]{position:relative;padding:0 0 .25rem;box-sizing:border-box}.hero-brand[data-v-3cb322be]{position:relative;overflow:hidden;width:100%;height:5.375rem;border-radius:0 0 2.25rem 2.25rem;box-sizing:border-box}.hero-content[data-v-3cb322be]{position:relative;z-index:2;margin-top:-3.5rem;padding:0 .75rem;box-sizing:border-box}.stat-card[data-v-3cb322be]{position:relative;overflow:hidden;border-radius:.5rem;box-sizing:border-box;box-shadow:0 .25rem .75rem rgba(0,0,0,.06);background-color:#fafafa}.stat-card__body[data-v-3cb322be]{position:relative;z-index:1;padding:.625rem .625rem .5625rem;box-sizing:border-box}.stat-note[data-v-3cb322be]{margin:.1875rem 0 .3125rem;font-size:.65625rem;color:#86909c;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-main[data-v-3cb322be]{position:relative;z-index:1;display:flex;align-items:flex-start;gap:.5rem}.stat-left[data-v-3cb322be]{flex:3 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}.stat-label[data-v-3cb322be]{font-size:.9375rem;color:#4e5969;line-height:1.35}.stat-num[data-v-3cb322be]{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:400;color:#1d2129;line-height:1.25}.stat-right[data-v-3cb322be]{flex:3 1 0;min-width:0;display:flex;flex-direction:column}.live-list[data-v-3cb322be]{flex:1;display:flex;flex-direction:column;width:100%;min-height:5.25rem}.live-venue-row[data-v-3cb322be]{flex:1;min-height:1.625rem;padding:.25rem 0;border-bottom:.03125rem solid #eceef2;display:flex;align-items:center;box-sizing:border-box}.live-venue-row[data-v-3cb322be]:first-child{padding-top:0}.live-venue-row[data-v-3cb322be]:last-child{border-bottom:none}.live-row-one[data-v-3cb322be]{display:flex;align-items:center;gap:.25rem;width:100%;min-width:0}.live-name[data-v-3cb322be]{flex:1;min-width:0;font-size:.6875rem;color:#1d2129;font-weight:400;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-count[data-v-3cb322be]{flex-shrink:0;font-size:.6875rem;color:#05c9ac;font-weight:400;line-height:1.3}.live-venue-row.is-empty .live-name[data-v-3cb322be],.live-venue-row.is-empty .live-count[data-v-3cb322be]{color:#86909c;font-weight:400}.stat-foot[data-v-3cb322be]{margin-top:.25rem;padding-top:0;display:flex;justify-content:flex-end;width:100%}.stat-foot-link[data-v-3cb322be]{font-size:.625rem;color:#05c9ac;font-weight:400;line-height:1.3}.stat-section[data-v-3cb322be]{margin:.3125rem .75rem 0;padding:0;box-sizing:border-box}.map-section[data-v-3cb322be]{margin:.75rem .5rem 0;background:#fff;border-radius:.5rem;padding:.625rem .5rem .5rem;position:relative;z-index:1;box-shadow:0 .125rem .5rem rgba(0,0,0,.04)}.hero-content .map-section[data-v-3cb322be]{margin:0;width:100%;box-sizing:border-box;padding:.625rem .5rem}.toolbar[data-v-3cb322be]{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.tabs[data-v-3cb322be]{display:flex;align-items:flex-end;gap:.5rem;flex-shrink:0}.tab[data-v-3cb322be]{font-size:.75rem;color:#86909c;padding-bottom:.25rem;position:relative}.tab.on[data-v-3cb322be]{font-size:14px;color:#1d2129;font-weight:400}.tab.on[data-v-3cb322be]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:.125rem;background:#05c9ac;border-radius:.0625rem}.search-wrap[data-v-3cb322be]{flex:1;min-width:0;height:1.75rem;background:#f7f8fa;border-radius:.875rem;display:flex;align-items:center;padding:0 .4375rem 0 .5rem;border:.03125rem solid #eceef2;box-sizing:border-box}.search-input[data-v-3cb322be]{flex:1;font-size:.6875rem;height:1.75rem;line-height:1.75rem}.ph[data-v-3cb322be]{color:#c9cdd4;font-size:.6875rem}.search-icon-img[data-v-3cb322be]{width:.875rem;height:.875rem;flex-shrink:0;margin-left:.25rem}.filters[data-v-3cb322be]{display:flex;flex-wrap:nowrap;gap:.1875rem;margin-bottom:.375rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.125rem}.filters uni-picker[data-v-3cb322be]{flex:0 0 auto;display:block}.f-item[data-v-3cb322be]{flex:0 0 auto;min-width:4.125rem;height:1.75rem;padding:0 .1875rem 0 .25rem;display:flex;align-items:center;justify-content:space-between;gap:.125rem;background:#fff;border-radius:.375rem;border:.03125rem solid #e8eaed;box-shadow:0 .0625rem .3125rem rgba(15,23,42,.04);box-sizing:border-box}.f-item-text[data-v-3cb322be]{flex:1;min-width:0;font-size:.625rem;color:#4e5969;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-item-arrow[data-v-3cb322be]{width:.5rem;height:.5rem;flex-shrink:0}.map-area[data-v-3cb322be]{position:relative;width:100%}.map-wrap[data-v-3cb322be]{position:relative;width:100%;border-radius:.375rem;overflow:hidden;z-index:1}.main-map[data-v-3cb322be]{width:100%;height:22.5rem;border-radius:.375rem;display:block}.venue-sheet[data-v-3cb322be]{position:absolute;left:0;right:0;bottom:0;padding:0 .25rem .25rem;border-radius:0 0 .375rem .375rem;pointer-events:none;z-index:500}.venue-sheet-inner[data-v-3cb322be]{pointer-events:auto;background:#fff;border-radius:.375rem;padding:.375rem .4375rem;box-shadow:0 -.0625rem .5rem rgba(0,0,0,.06);border:.03125rem solid #eef1f5}.sheet-bar[data-v-3cb322be]{width:1.375rem;height:.1875rem;background:#e5e6eb;border-radius:.09375rem;margin:0 auto .3125rem}.sheet-row[data-v-3cb322be]{display:flex;gap:.375rem;align-items:flex-start}.sheet-cover[data-v-3cb322be]{width:3.75rem;height:2.625rem;border-radius:.25rem;flex-shrink:0}.sheet-main[data-v-3cb322be]{flex:1;min-width:0}.sheet-name[data-v-3cb322be]{font-size:.875rem;font-weight:400;color:#252525;line-height:1.3;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-tags-line[data-v-3cb322be]{margin-top:.125rem;min-height:1.25rem;width:100%;box-sizing:border-box}.sheet-meta[data-v-3cb322be]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:.1875rem;max-width:100%}.sheet-type[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-meta-sep[data-v-3cb322be]{font-size:.625rem;color:#c9cdd4}.sheet-ticket[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.sheet-ticket.free[data-v-3cb322be]{color:#00b42a;background:rgba(0,180,42,.1)}.sheet-ticket.paid[data-v-3cb322be]{color:#f53f3f;background:rgba(245,63,63,.08)}.open-mode-tag[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;flex-shrink:0;white-space:nowrap;max-width:100%}.sheet-actions[data-v-3cb322be]{margin-top:.375rem;display:flex;gap:.375rem;justify-content:flex-end}.sheet-btn[data-v-3cb322be]{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;text-align:center;min-width:0;flex:0 1 auto;max-width:4.375rem;font-weight:400;line-height:1.35}.sheet-btn.ghost[data-v-3cb322be]{background:#f7f8fa;color:#252525;border:.03125rem solid #eceef2}.sheet-btn.primary[data-v-3cb322be]{background:#05c9ac;color:#fff;font-weight:400}.venue-row[data-v-3cb322be]{display:flex;gap:.5rem;padding:.5rem 0;border-bottom:.03125rem solid #f0f2f5}.venue-thumb[data-v-3cb322be]{width:5.5rem;height:3.4375rem;border-radius:.25rem;flex-shrink:0}.venue-info[data-v-3cb322be]{flex:1;min-width:0}.venue-name[data-v-3cb322be]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}.venue-tags-line[data-v-3cb322be]{margin-top:.1875rem;min-height:1.25rem;width:100%;box-sizing:border-box}.venue-meta[data-v-3cb322be]{display:flex;flex-direction:row;flex-wrap:wrap;gap:.25rem;max-width:100%;align-items:flex-start}.venue-type-pill[data-v-3cb322be],.venue-ticket-pill[data-v-3cb322be]{font-size:.625rem;font-weight:400;line-height:.875rem;padding:.125rem .3125rem;border-radius:.1875rem;white-space:nowrap;flex-shrink:0}.venue-ticket-pill.free[data-v-3cb322be]{color:#00b42a;background:rgba(0,180,42,.1)}.venue-ticket-pill.paid[data-v-3cb322be]{color:#f53f3f;background:rgba(245,63,63,.08)}.empty-tip[data-v-3cb322be]{text-align:center;padding:2.5rem 0;font-size:.75rem;color:#86909c}.section[data-v-3cb322be]{background:#fff;margin:.5rem .5rem 0;border-radius:.5rem;padding:.625rem .5rem}.sec-head[data-v-3cb322be]{display:flex;align-items:center;margin-bottom:.5rem}.sec-bar[data-v-3cb322be]{width:.1875rem;height:.875rem;background:#05c9ac;border-radius:.09375rem;margin-right:.375rem}.sec-title[data-v-3cb322be]{flex:1;font-size:1rem;font-weight:400;color:#1d2129}.sec-more[data-v-3cb322be]{font-size:.75rem;color:#86909c}.act-scroll[data-v-3cb322be]{width:100%;white-space:nowrap}.act-scroll-row[data-v-3cb322be]{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:.625rem;padding:0 .125rem .25rem 0}.act-card[data-v-3cb322be]{flex-shrink:0;width:12.5rem;box-sizing:border-box;display:flex;flex-direction:column}.act-img-wrap[data-v-3cb322be]{position:relative;z-index:2;width:11.25rem;height:5.625rem;margin:0 auto -2.8125rem;border-radius:.375rem;overflow:hidden;box-shadow:0 .125rem .5rem rgba(0,0,0,.08)}.act-img[data-v-3cb322be]{width:11.25rem;height:5.625rem;display:block}.act-book-badge[data-v-3cb322be]{position:absolute;right:.375rem;bottom:.3125rem;z-index:2;max-width:calc(100% - .75rem);display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0;background:transparent;box-sizing:border-box}.act-book-badge.is-bookable[data-v-3cb322be]{padding:.1875rem .5rem;background:#05c9ac;border-radius:31.21875rem;min-height:0}.act-book-badge.is-grab[data-v-3cb322be]{padding:.1875rem .5rem;background:linear-gradient(135deg,#ff8a4c,#ff6b35);border-radius:31.21875rem;min-height:0}.act-book-badge.is-muted[data-v-3cb322be]{padding:.1875rem .5rem;background:rgba(134,144,156,.94);border-radius:31.21875rem;min-height:0}.act-book-badge.is-accent[data-v-3cb322be]{padding:.1875rem .5rem;background:rgba(114,46,209,.94);border-radius:31.21875rem;min-height:0}.act-book-text[data-v-3cb322be]{font-size:.625rem;color:#fff;line-height:1.25;white-space:nowrap;text-shadow:0 .03125rem .1875rem rgba(0,0,0,.55)}.act-book-text.is-bookable[data-v-3cb322be],.act-book-text.is-grab[data-v-3cb322be],.act-book-text.is-muted[data-v-3cb322be],.act-book-text.is-accent[data-v-3cb322be]{text-shadow:none}.act-body[data-v-3cb322be]{width:12.5rem;box-sizing:border-box;padding:3.1875rem .5rem .5625rem;background:#fff;border-radius:.375rem;box-shadow:0 .125rem .5rem rgba(0,0,0,.04);min-height:9rem;display:flex;flex-direction:column;justify-content:flex-start}.act-title[data-v-3cb322be]{font-size:.875rem;color:#1d2129;font-weight:400;display:block;width:100%;height:1.25rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-tags[data-v-3cb322be]{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.25rem;margin-top:.25rem;height:1.25rem;overflow:hidden;align-items:center}.act-tag-chip[data-v-3cb322be]{font-size:.625rem;color:#05c9ac;line-height:.875rem;padding:.125rem .3125rem;background:rgba(5,201,172,.12);border-radius:.1875rem;flex-shrink:0;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.act-meta[data-v-3cb322be]{display:block;width:100%;margin-top:.1875rem;height:1.0625rem;line-height:1.0625rem;font-size:.75rem;color:#86909c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag[data-v-3cb322be]{position:absolute;z-index:3;left:0;top:.375rem;color:#fff;font-size:.6875rem;line-height:1.25;border-radius:0 .625rem .625rem 0;padding:.1875rem .4375rem;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.act-schedule-tag.st-ongoing[data-v-3cb322be]{background:rgba(22,194,169,.92)}.act-schedule-tag.st-not_started[data-v-3cb322be]{background:rgba(22,93,255,.92)}.act-schedule-tag.st-ended[data-v-3cb322be]{background:rgba(134,144,156,.95)}.tour-card[data-v-3cb322be]{margin-bottom:.625rem;border-radius:.5rem;overflow:hidden;background:#fff;box-shadow:0 .125rem .625rem rgba(0,0,0,.06)}.tour-card[data-v-3cb322be]:last-child{margin-bottom:0}.tour-img-wrap[data-v-3cb322be]{position:relative;width:100%;aspect-ratio:2/1;border-radius:.5rem .5rem 0 0;overflow:hidden}.tour-img[data-v-3cb322be]{position:absolute;left:0;top:0;width:100%;height:100%;display:block}.tour-body[data-v-3cb322be]{padding:.5625rem .625rem .5rem}.tour-title[data-v-3cb322be]{font-size:.875rem;color:#1d2129;font-weight:400;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tour-stops-timeline[data-v-3cb322be]{margin-top:.4375rem}.tour-stop-row[data-v-3cb322be]{display:flex;flex-direction:row;align-items:stretch}.tour-timeline-axis[data-v-3cb322be]{width:.875rem;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin-right:.3125rem}.tour-dot-cell[data-v-3cb322be]{height:1.125rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%}.tour-tl-dot[data-v-3cb322be]{width:.375rem;height:.375rem;border-radius:50%;background:#c9cdd4;flex-shrink:0}.tour-tl-line[data-v-3cb322be]{width:.0625rem;flex:1;min-height:.375rem;margin-top:0;background:#e5e6eb}.tour-stop-name[data-v-3cb322be]{flex:1;min-width:0;padding-bottom:.375rem;font-size:.75rem;color:#86909c;line-height:1.125rem;box-sizing:border-box}.tour-stop-row:last-child .tour-stop-name[data-v-3cb322be]{padding-bottom:0}.tour-tags-row[data-v-3cb322be]{margin-top:.4375rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.3125rem}.tour-tag[data-v-3cb322be]{font-size:.6875rem;color:#05c9ac;background:rgba(5,201,172,.12);padding:.1875rem .4375rem;border-radius:.25rem;line-height:1.3}.bottom-safe[data-v-3cb322be]{height:.75rem}.loading-mask[data-v-3cb322be]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:10080;background:rgba(255,255,255,.5);text-align:center;padding-top:40vh;color:#1d2129;font-size:.9375rem} diff --git a/public/h5/assets/localProfile.w3dNAYL8.js b/public/h5/assets/localProfile.DAR2ddcd.js similarity index 77% rename from public/h5/assets/localProfile.w3dNAYL8.js rename to public/h5/assets/localProfile.DAR2ddcd.js index 202f780..abf80cd 100644 --- a/public/h5/assets/localProfile.w3dNAYL8.js +++ b/public/h5/assets/localProfile.DAR2ddcd.js @@ -1 +1 @@ -import{L as t,M as n,a8 as r}from"./index-CC6J0dtG.js";function o(){try{const r=t(n.localProfile);if(!r)return null;const o="string"==typeof r?JSON.parse(r):r;return o&&"object"==typeof o?o:null}catch{return null}}function l(t){r(n.localProfile,JSON.stringify(t))}export{o as l,l as s}; +import{M as t,N as n,a9 as r}from"./index-D9YO76Ut.js";function o(){try{const r=t(n.localProfile);if(!r)return null;const o="string"==typeof r?JSON.parse(r):r;return o&&"object"==typeof o?o:null}catch{return null}}function l(t){r(n.localProfile,JSON.stringify(t))}export{o as l,l as s}; diff --git a/public/h5/assets/pages-activity-behind-scenes.Ba9BUMxV.js b/public/h5/assets/pages-activity-behind-scenes.Ba9BUMxV.js deleted file mode 100644 index b0a9aeb..0000000 --- a/public/h5/assets/pages-activity-behind-scenes.Ba9BUMxV.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,c as l,U as s,y as t,k as u,f as n,e as c,B as i,F as r,i as v,j as d,a6 as o,l as f,m as _,v as p,z as m,p as y,V as h,X as k,_ as g}from"./index-CC6J0dtG.js";import{f as b}from"./content.BfcEEng6.js";const w=g(e({__name:"behind-scenes",setup(e){const g=a(0),w=a(""),j=a([]),C=a(!1),F=a(!1),S=a(0),x=l(()=>j.value);function A(){F.value=!1}function I(e){var a;const l=null==(a=e.detail)?void 0:a.current;"number"==typeof l&&(S.value=l)}return s(e=>{const a=e&&"object"==typeof e?e.id:void 0;g.value=null!=a&&""!==a?parseInt(String(a),10):0,g.value&&async function(){C.value=!0;try{const e=await b(g.value);w.value=String((null==e?void 0:e.title)||"");const a=Array.isArray(null==e?void 0:e.behind_scenes_media)?e.behind_scenes_media:[];j.value=a.map(e=>String((null==e?void 0:e.url)||"").trim()).filter(e=>e.length>0)}catch{w.value="",j.value=[]}finally{C.value=!1}}()}),(e,a)=>{const l=f,s=v,g=y,b=k,z=h;return d(),t(r,null,[u(s,{class:"page"},{default:n(()=>[u(o),u(s,{class:"head"},{default:n(()=>[u(l,{class:"title"},{default:n(()=>[_(p(w.value),1)]),_:1}),u(l,{class:"sub"},{default:n(()=>[_("活动花絮")]),_:1})]),_:1}),C.value?(d(),c(s,{key:0,class:"hint"},{default:n(()=>[_("加载中…")]),_:1})):(d(),c(s,{key:1,class:"grid"},{default:n(()=>[(d(!0),t(r,null,m(j.value,(e,a)=>(d(),c(g,{key:"bts-"+a+"-"+e,class:"thumb",src:e,mode:"aspectFill",onClick:e=>function(e){S.value=e,F.value=!0}(a)},null,8,["src","onClick"]))),128))]),_:1})),C.value||j.value.length?i("",!0):(d(),c(s,{key:2,class:"hint muted"},{default:n(()=>[_("暂无花絮图片")]),_:1}))]),_:1}),F.value?(d(),c(s,{key:0,class:"preview-mask"},{default:n(()=>[u(s,{class:"preview-toolbar"},{default:n(()=>[u(l,{class:"preview-count"},{default:n(()=>[_(p(S.value+1)+" / "+p(x.value.length),1)]),_:1}),u(l,{class:"preview-close",onClick:A},{default:n(()=>[_("关闭")]),_:1})]),_:1}),u(z,{class:"preview-swiper",current:S.value,onChange:I},{default:n(()=>[(d(!0),t(r,null,m(x.value,(e,a)=>(d(),c(b,{key:"pv-"+a},{default:n(()=>[u(s,{class:"preview-slide"},{default:n(()=>[u(g,{class:"preview-img",src:e,mode:"aspectFit"},null,8,["src"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["current"])]),_:1})):i("",!0)],64)}}}),[["__scopeId","data-v-f28245f2"]]);export{w as default}; diff --git a/public/h5/assets/pages-activity-behind-scenes.DJIyEJWF.js b/public/h5/assets/pages-activity-behind-scenes.DJIyEJWF.js new file mode 100644 index 0000000..af07a93 --- /dev/null +++ b/public/h5/assets/pages-activity-behind-scenes.DJIyEJWF.js @@ -0,0 +1 @@ +import{d as e,r as a,n as l,V as s,A as t,l as u,f as n,c,k as i,F as r,i as v,b as d,a7 as o,m as f,j as _,t as p,B as m,x as y,X as h,Y as k,_ as b}from"./index-D9YO76Ut.js";import{f as g}from"./content.CWxBtEbN.js";const w=b(e({__name:"behind-scenes",setup(e){const b=a(0),w=a(""),j=a([]),C=a(!1),x=a(!1),A=a(0),F=l(()=>j.value);function S(){x.value=!1}function I(e){var a;const l=null==(a=e.detail)?void 0:a.current;"number"==typeof l&&(A.value=l)}return s(e=>{const a=e&&"object"==typeof e?e.id:void 0;b.value=null!=a&&""!==a?parseInt(String(a),10):0,b.value&&async function(){C.value=!0;try{const e=await g(b.value);w.value=String((null==e?void 0:e.title)||"");const a=Array.isArray(null==e?void 0:e.behind_scenes_media)?e.behind_scenes_media:[];j.value=a.map(e=>String((null==e?void 0:e.url)||"").trim()).filter(e=>e.length>0)}catch{w.value="",j.value=[]}finally{C.value=!1}}()}),(e,a)=>{const l=f,s=v,b=y,g=k,B=h;return d(),t(r,null,[u(s,{class:"page"},{default:n(()=>[u(o),u(s,{class:"head"},{default:n(()=>[u(l,{class:"title"},{default:n(()=>[_(p(w.value),1)]),_:1}),u(l,{class:"sub"},{default:n(()=>[_("活动花絮")]),_:1})]),_:1}),C.value?(d(),c(s,{key:0,class:"hint"},{default:n(()=>[_("加载中…")]),_:1})):(d(),c(s,{key:1,class:"grid"},{default:n(()=>[(d(!0),t(r,null,m(j.value,(e,a)=>(d(),c(b,{key:"bts-"+a+"-"+e,class:"thumb",src:e,mode:"aspectFill",onClick:e=>function(e){A.value=e,x.value=!0}(a)},null,8,["src","onClick"]))),128))]),_:1})),C.value||j.value.length?i("",!0):(d(),c(s,{key:2,class:"hint muted"},{default:n(()=>[_("暂无花絮图片")]),_:1}))]),_:1}),x.value?(d(),c(s,{key:0,class:"preview-mask"},{default:n(()=>[u(s,{class:"preview-toolbar"},{default:n(()=>[u(l,{class:"preview-count"},{default:n(()=>[_(p(A.value+1)+" / "+p(F.value.length),1)]),_:1}),u(l,{class:"preview-close",onClick:S},{default:n(()=>[_("关闭")]),_:1})]),_:1}),u(B,{class:"preview-swiper",current:A.value,onChange:I},{default:n(()=>[(d(!0),t(r,null,m(F.value,(e,a)=>(d(),c(g,{key:"pv-"+a},{default:n(()=>[u(s,{class:"preview-slide"},{default:n(()=>[u(b,{class:"preview-img",src:e,mode:"aspectFit"},null,8,["src"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["current"])]),_:1})):i("",!0)],64)}}}),[["__scopeId","data-v-f28245f2"]]);export{w as default}; diff --git a/public/h5/assets/pages-activity-detail.CwCFh4m6.js b/public/h5/assets/pages-activity-detail.CwCFh4m6.js new file mode 100644 index 0000000..a7e394c --- /dev/null +++ b/public/h5/assets/pages-activity-detail.CwCFh4m6.js @@ -0,0 +1 @@ +import{d as e,r as l,n as a,w as t,V as n,p as s,c as i,f as o,s as u,i as r,W as c,O as d,b as v,l as f,S as _,X as m,A as p,F as g,B as y,Y as b,x as h,Z as k,k as w,m as x,j as $,t as S,C as N,y as C,e as j,v as F,$ as T,P as q,D as A,M as P,N as z,q as B,a0 as D,a1 as M,a2 as R,a3 as I,a4 as U,a5 as Y,a6 as Z,u as H,_ as O}from"./index-D9YO76Ut.js";import{f as V,g as W,p as X,h as E}from"./content.CWxBtEbN.js";import{a as G}from"./venueThemeColors.DRxjaxXI.js";import{c as J}from"./activity.CPaCOiZ6.js";import{s as K,i as L,a as Q,d as ee,b as le}from"./phone.BuoI0HSZ.js";import{i as ae,a as te,b as ne}from"./icon8.D8UBMaA-.js";import{i as se,a as ie}from"./icon_up.DJ5zmdk8.js";import{P as oe}from"./poster.C6TYC1FC.js";import"./text.BxMbQPAt.js";const ue=O(e({__name:"detail",setup(e){function O(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const n=String(a).trim();if(/style\s*=/i.test(n))return/max-width\s*:/i.test(n)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`);return`"===t?" />":">"}`})}function ue(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const re=l(0),ce=l(!1),de=l(null),ve=l(null),fe=l(!0),_e=l(!1),me=l(!1),pe=l(!1),ge=a(()=>{const e=de.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:oe}]:[]}),ye=a(()=>{const e=de.value;if(!e)return"ongoing";const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:J(e.start_at,e.end_at)}),be=a(()=>"ended"===ye.value),he=a(()=>{if(!be.value||!de.value)return!1;const e=de.value.behind_scenes_media;return!!Array.isArray(e)&&e.some(e=>String((null==e?void 0:e.url)||"").trim().length>0)});function ke(){var e;const l=null==(e=de.value)?void 0:e.id;l&&A({url:`/pages/activity/behind-scenes?id=${l}`})}const we=a(()=>{var e;const l=null==(e=de.value)?void 0:e.reservation_type;return!l||"online"===l}),xe=a(()=>{var e;const l=String((null==(e=de.value)?void 0:e.reservation_type)??"").trim(),a=""===l?"online":l;return"none"===a||"paid_study"===a}),$e=a(()=>{var e;return!be.value&&!0===(null==(e=de.value)?void 0:e.is_bookable)&&we.value}),Se=a(()=>{var e,l;return"other"===(null==(e=de.value)?void 0:e.reservation_type)&&!!String((null==(l=de.value)?void 0:l.external_url)||"").trim()}),Ne=a(()=>{var e;return Array.isArray(null==(e=de.value)?void 0:e.booking_days)?de.value.booking_days:[]}),Ce=a(()=>{var e;return K(null==(e=de.value)?void 0:e.contact_phone)}),je=a(()=>{var e;if(!we.value)return null;const l=null==(e=de.value)?void 0:e.registrations_preview;return!l||(l.reservation_total??0)<1?null:l}),Fe=a(()=>{const e=je.value;return!!e&&e.reservation_total>5});function Te(){var e,l;const a=null==(e=de.value)?void 0:e.id,t=null==(l=de.value)?void 0:l.title;if(!a)return;const n=t?`?id=${a}&title=${encodeURIComponent(String(t))}`:`?id=${a}`;A({url:`/pages/activity/registrations${n}`})}const qe=l(0);function Ae(e){const l=Number(null==e?void 0:e.booked_count);return!Number.isFinite(l)||l<=0?"":(null==e?void 0:e.enrolled_count_text)?String(e.enrolled_count_text):"已报名数:"+l}function Pe(e){const l=String((null==e?void 0:e.action_headline)??"").trim(),a=String((null==e?void 0:e.status_text)??"").trim();return l||a||"—"}function ze(e){return!!Pe(e)}function Be(e){if(null==e||""===e)return"";let l=String(e).trim().replace(/\u00a0|\u3000/g," ");if(!l)return"";if(l=l.replace("T"," ").replace(/\s+/g," ").trim(),l=l.replace(/\.\d+/,""),l=l.replace(/Z$/i,""),l=l.replace(/[+-]\d{2}:\d{2}$/i,"").trim(),l=l.replace(/[+-]\d{4}$/i,"").trim(),/^\d{4}-\d{2}-\d{2}$/.test(l))return l;const a=l.match(/^(\d{4}-\d{2}-\d{2})[ T](\d{1,2}):(\d{2})(?::(\d{1,2}))?/);if(a){const e=a[1],l=Number(a[2]),t=Number(a[3]),n=null!=a[4]?Number(a[4]):0;if(!Number.isNaN(l)&&!Number.isNaN(t)&&!Number.isNaN(n))return 0===l&&0===t||23===l&&59===t?e:`${e} ${String(l).padStart(2,"0")}:${String(t).padStart(2,"0")}`}const t=new Date(l);if(!Number.isNaN(t.getTime())){const e=`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`,l=t.getHours(),a=t.getMinutes();return 0===l&&0===a||23===l&&59===a?e:`${e} ${String(l).padStart(2,"0")}:${String(a).padStart(2,"0")}`}const n=l.length>=16?l.slice(0,16).trim():l,s=n.match(/^(\d{4}-\d{2}-\d{2})[ T](\d{1,2}):(\d{2})$/);if(s){const e=s[1],l=Number(s[2]),a=Number(s[3]);if(0===l&&0===a)return e;if(23===l&&59===a)return e}return n.length>10?n:l}function De(e){const l=Be(null==e?void 0:e.booking_deadline_at);if(!l)return"";const a=Be(null==e?void 0:e.booking_opens_at);return a?`预约开放:${a} ~ ${l}`:`预约截止:${l}(此前均可预约)`}function Me(e){xe.value||function(e){(null==e?void 0:e.id)&&e.is_bookable&&(qe.value=Number(e.id))}(e)}function Re(){var e;if(null==(e=de.value)?void 0:e.id)return P(z.accessToken)?void function(){var e;const l=null==(e=de.value)?void 0:e.id;if(!l)return;const a=Ne.value;if(!a.length)return void A({url:`/pages/activity/reserve?id=${l}`});if(!qe.value)return void B({title:"请先选择场次",icon:"none"});const t=a.find(e=>e.id===qe.value);t?t.is_bookable&&A({url:`/pages/activity/reserve?id=${l}&day_id=${qe.value}`}):B({title:"场次无效",icon:"none"})}():(B({title:"请先进行微信鉴权",icon:"none",duration:2e3}),void setTimeout(()=>{D({title:"微信鉴权登录",content:"预约需先完成微信账号授权登录,是否前往授权?",confirmText:"去授权",cancelText:"取消",success:e=>{e.confirm&&async function(){if(!R())return void B({title:"请在微信内打开本页面后再授权",icon:"none"});await I()||B({title:"请勿频繁授权,请稍后再试",icon:"none"})}()}})},380))}const Ie=a(()=>{var e;const l=null==(e=de.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let t="";if(/<[a-z][\s\S]*>/i.test(a)){t=`
${O(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return ue(t)?t:""}),Ue=a(()=>{var e;const l=null==(e=de.value)?void 0:e.detail_html;if(!l)return"";const a=O(String(l));return ue(a)?a:""});function Ye(e){return null==e?"":String(e).trim()}function Ze(e){return Ye(e).length>0}function He(e){const l=String(e??"").trim();return""===l?"online":l}function Oe(e){const l=He(e);return"online"===l?"预约方式":"none"===l?"参与提示":"paid_study"===l?"报名方式":"预约说明"}function Ve(e){const l=He(null==e?void 0:e.reservation_type),a=Ye(null==e?void 0:e.ticket_fee_note);if("online"===l||"none"===l)return a||"免费";if("paid_study"===l)return a.length>0?a:"—";const t=String((null==e?void 0:e.offline_reservation_method)||"").trim();return"paid"===t?a.length>0?a:"收费":"free"===t?"免费":a.length>0?a:"—"}function We(e){const l=He(null==e?void 0:e.reservation_type),a=Ye(null==e?void 0:e.booking_method_note);return"online"===l?a||"平台预约":a}t([Ue,Ie],()=>{fe.value=!0,_e.value=!0,U(()=>{setTimeout(()=>{var e;const l=null==(e=Y())?void 0:e.proxy,a=Z();l&&a.in(l);const t=H(187);a.select(".judge-activity-detail").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];me.value=!!(l&&l.height&&l.height>t+1),pe.value=!!(a&&a.height&&a.height>t+1),pe.value?_e.value=!1:_e.value=!0})},120)})});const Xe=a(()=>{const e=de.value;if(!e)return!1;const l=He(e.reservation_type);return"online"===l||"none"===l||"paid_study"===l});function Ee(e){return`${function(){var e;const l=He(null==(e=de.value)?void 0:e.reservation_type);return"none"===l||"paid_study"===l?"参加人数":"人数限制"}()}:${Number(null==e?void 0:e.day_quota)||0}人`}function Ge(e){const l=String((null==e?void 0:e.quota_note)??"").trim();return l?`说明:${l}`:""}function Je(){var e,l,a,t,n;const{lat:s,lng:i}=function(){var e,l,a,t,n,s;return{lat:Number((null==(e=de.value)?void 0:e.lat)??(null==(a=null==(l=de.value)?void 0:l.venue)?void 0:a.lat)??0),lng:Number((null==(t=de.value)?void 0:t.lng)??(null==(s=null==(n=de.value)?void 0:n.venue)?void 0:s.lng)??0)}}(),o=null!=(null==(e=de.value)?void 0:e.location)&&String(de.value.location).trim()||(null==(l=de.value)?void 0:l.address)||(null==(t=null==(a=de.value)?void 0:a.venue)?void 0:t.address)||"";M({lat:s,lng:i,name:(null==(n=de.value)?void 0:n.title)||"活动地点",address:o})}function Ke(){var e,l;const a=null==(e=de.value)?void 0:e.id,t=String((null==(l=de.value)?void 0:l.external_url)||"").trim();if(a&&t){if("undefined"!=typeof window){window.open(t,"_blank","noopener,noreferrer")||window.location.assign(t)}E(a).catch(()=>{})}}function Le(){var e,l;const a=Number((null==(l=null==(e=de.value)?void 0:e.venue)?void 0:l.id)??0);a?A({url:`/pages/venue/detail?id=${a}`}):B({title:"暂无场馆详情",icon:"none"})}return n(e=>{re.value=Number((null==e?void 0:e.id)||0),ce.value=!1}),t(re,()=>{ce.value=!1}),s(()=>{re.value&&async function(){const e=re.value;if(!e)return;const[l,a]=await Promise.all([V(e),W()]);de.value=l,ve.value=a,"undefined"!=typeof window&&await u({title:String((null==l?void 0:l.title)||"活动详情"),desc:c.desc,link:window.location.href,imgUrl:oe}).catch(()=>{}),ce.value||(ce.value=!0,X(e).catch(()=>{}))}()}),(e,l)=>{const a=d("SubPageBackBtn"),t=h,n=k,s=b,u=m,c=r,A=x,P=T,z=_,B=q;return v(),i(c,{class:"page"},{default:o(()=>[f(a),f(z,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e;return[f(c,{class:"hero"},{default:o(()=>[ge.value.length?(v(),i(u,{key:0,class:"hero-swiper",circular:"",autoplay:ge.value.length>1,interval:4e3,"indicator-dots":ge.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:o(()=>[(v(!0),p(g,null,y(ge.value,(e,l)=>(v(),i(s,{key:"s-"+l,class:"swiper-item"},{default:o(()=>["video"!==e.type?(v(),i(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(v(),i(n,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):w("",!0)]),_:1}),f(c,{class:"main-card"},{default:o(()=>{var e,a,n,s,u,r,d;return[f(A,{class:"act-title"},{default:o(()=>{var e;return[$(S((null==(e=de.value)?void 0:e.title)||"-"),1)]}),_:1}),(null==(a=null==(e=de.value)?void 0:e.tags)?void 0:a.length)?(v(),i(c,{key:0,class:"act-tags"},{default:o(()=>[(v(!0),p(g,null,y((de.value.tags||[]).slice(0,4),(e,l)=>{var a;return v(),i(A,{key:"tg-"+l+"-"+e,class:"act-tag-chip",style:N(C(G)(l,null==(a=ve.value)?void 0:a.venue_type))},{default:o(()=>[$(S(e),1)]),_:2},1032,["style"])}),128))]),_:1})):w("",!0),(null==(s=null==(n=de.value)?void 0:n.venue)?void 0:s.name)?(v(),i(c,{key:1,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(L),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("举办场馆:")]),_:1}),f(A,{class:"info-value info-value--venue",onClick:j(Le,["stop"])},{default:o(()=>[$(S(de.value.venue.name),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ze(de.value.contact_name)?(v(),i(c,{key:2,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(ae),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("联系人:")]),_:1}),f(A,{class:"info-value"},{default:o(()=>[$(S(Ye(de.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ce.value.length?(v(),i(c,{key:3,class:"info-row info-row--phones"},{default:o(()=>[f(t,{class:"info-ico",src:C(Q),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("联系方式:")]),_:1}),f(c,{class:"phone-list"},{default:o(()=>[(v(!0),p(g,null,y(Ce.value,(e,l)=>(v(),i(A,{key:"act-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:j(l=>C(ee)(e),["stop"])},{default:o(()=>[$(S(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):w("",!0),(null==(u=de.value)?void 0:u.age_group_label)?(v(),i(c,{key:4,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(ae),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("适合人群:")]),_:1}),f(A,{class:"info-value"},{default:o(()=>[$(S(de.value.age_group_label),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&(Xe.value||Ze(de.value.booking_method_note))?(v(),i(c,{key:5,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(te),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$(S(Oe(de.value.reservation_type))+":",1)]),_:1}),f(A,{class:"info-value"},{default:o(()=>[$(S(We(de.value)||"—"),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value?(v(),i(c,{key:6,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(ne),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("费用说明:")]),_:1}),f(A,{class:"info-value"},{default:o(()=>[$(S(Ve(de.value)),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ze(de.value.location||(null==(d=null==(r=de.value)?void 0:r.venue)?void 0:d.address))?(v(),i(c,{key:7,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(le),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("活动地点:")]),_:1}),f(A,{class:"info-value"},{default:o(()=>{var e,l;return[$(S(Ye(de.value.location||(null==(l=null==(e=de.value)?void 0:e.venue)?void 0:l.address))),1)]}),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ze(de.value.check_in_meeting_point)?(v(),i(c,{key:8,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(le),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(A,{class:"info-label"},{default:o(()=>[$("报到集合地点:")]),_:1}),f(A,{class:"info-value"},{default:o(()=>[$(S(Ye(de.value.check_in_meeting_point)),1)]),_:1})]),_:1})]),_:1})):w("",!0),Ie.value?(v(),i(c,{key:9,class:"notice-block"},{default:o(()=>[f(c,{class:"sec-title-row notice-head-row"},{default:o(()=>[f(A,{class:"notice-label"},{default:o(()=>[$("预约须知")]),_:1}),pe.value?(v(),i(c,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>_e.value=!_e.value)},{default:o(()=>[f(t,{class:"expand-arrow-img",src:_e.value?C(se):C(ie),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),f(c,{class:F(["notice-block-body judge-notice",{"is-collapsed":pe.value&&!_e.value}])},{default:o(()=>[f(P,{class:"notice-inline-rich",nodes:Ie.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0)]}),_:1}),(null==(e=de.value)?void 0:e.summary)?(v(),i(c,{key:0,class:"summary-card"},{default:o(()=>[f(c,{class:"sec-title-row"},{default:o(()=>[f(A,{class:"sec-title"},{default:o(()=>[$("活动简介")]),_:1})]),_:1}),f(A,{class:"summary-text"},{default:o(()=>[$(S(de.value.summary),1)]),_:1})]),_:1})):w("",!0),Ne.value.length?(v(),i(c,{key:1,class:"session-card-wrap"},{default:o(()=>[f(c,{class:"sec-title-row session-sec-hd"},{default:o(()=>[f(c,{class:"session-sec-bar"}),f(A,{class:"sec-title"},{default:o(()=>[$("活动场次")]),_:1})]),_:1}),(v(!0),p(g,null,y(Ne.value,(e,l)=>(v(),i(c,{key:"ss-"+e.id+"-"+l,class:F(["session-item",xe.value?"session-item--info-only":{on:e.is_bookable&&qe.value===e.id,dim:!e.is_bookable}]),onClick:l=>Me(e)},{default:o(()=>[!xe.value&&e.is_bookable&&qe.value===e.id?(v(),i(c,{key:0,class:"session-check"},{default:o(()=>[$("✓")]),_:1})):w("",!0),f(A,{class:"session-name"},{default:o(()=>[$(S(e.session_name||e.time_display||"场次"),1)]),_:2},1024),f(A,{class:"session-time"},{default:o(()=>[$("场次时间:"+S(e.time_display||"-"),1)]),_:2},1024),we.value&&De(e)?(v(),i(A,{key:1,class:"session-booking-window"},{default:o(()=>[$(S(De(e)),1)]),_:2},1024)):w("",!0),f(A,{class:"session-quota"},{default:o(()=>[$(S(Ee(e)),1)]),_:2},1024),Ge(e)?(v(),i(A,{key:2,class:"session-quota session-quota-desc"},{default:o(()=>[$(S(Ge(e)),1)]),_:2},1024)):w("",!0),!xe.value&&ze(e)?(v(),i(c,{key:3,class:"session-status-line"},{default:o(()=>[Pe(e)?(v(),i(A,{key:0,class:F(["session-action","sk-"+(e.status_kind||"open")])},{default:o(()=>[$(S(Pe(e)),1)]),_:2},1032,["class"])):w("",!0),Ae(e)?(v(),i(A,{key:1,class:"session-enrolled"},{default:o(()=>[$(S(Ae(e)),1)]),_:2},1024)):w("",!0)]),_:2},1024)):w("",!0)]),_:2},1032,["class","onClick"]))),128))]),_:1})):w("",!0),je.value?(v(),i(c,{key:2,class:"enrolled-card"},{default:o(()=>[f(c,{class:"enrolled-hd"},{default:o(()=>[f(c,{class:"enrolled-hd-left"},{default:o(()=>[f(c,{class:"enrolled-title-col"},{default:o(()=>[f(c,{class:"enrolled-title-with-bar"},{default:o(()=>[f(A,{class:"enrolled-title-line"},{default:o(()=>[$("已报名("+S(je.value.reservation_total)+")",1)]),_:1}),f(c,{class:"enrolled-title-bar"})]),_:1})]),_:1})]),_:1}),Fe.value?(v(),i(c,{key:0,class:"enrolled-more",onClick:Te},{default:o(()=>[f(A,{class:"enrolled-more-text"},{default:o(()=>[$("更多报名")]),_:1}),f(A,{class:"enrolled-more-ico"},{default:o(()=>[$("›")]),_:1})]),_:1})):w("",!0)]),_:1}),f(c,{class:"enrolled-hd-line"}),f(c,{class:"enrolled-avatars"},{default:o(()=>[(v(!0),p(g,null,y(je.value.items,(e,l)=>(v(),i(c,{key:"enr-pv-"+e.id+"-"+l,class:"enrolled-user"},{default:o(()=>[f(t,{class:"enrolled-avatar",src:e.avatar_url||C(oe),mode:"aspectFill"},null,8,["src"]),f(A,{class:"enrolled-uname"},{default:o(()=>[$(S(e.visitor_name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),Ue.value?(v(),i(c,{key:3,class:"intro-card"},{default:o(()=>[f(c,{class:"sec-title-row"},{default:o(()=>[f(A,{class:"sec-title"},{default:o(()=>[$("活动详情")]),_:1}),me.value?(v(),i(c,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>fe.value=!fe.value)},{default:o(()=>[f(t,{class:"expand-arrow-img",src:fe.value?C(se):C(ie),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),f(c,{class:F(["intro-rich-wrap judge-activity-detail",{"is-collapsed":me.value&&!fe.value}])},{default:o(()=>[f(P,{class:"intro-rich",nodes:Ue.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0),f(c,{class:"safe-bottom"})]}),_:1}),f(c,{class:"action-bar"},{default:o(()=>[f(B,{class:F(["btn ghost",{"btn-full":!Se.value&&!$e.value&&!he.value}]),onClick:Je},{default:o(()=>[$("一键导航")]),_:1},8,["class"]),he.value?(v(),i(B,{key:0,class:"btn bts",onClick:ke},{default:o(()=>[$("活动花絮")]),_:1})):w("",!0),Se.value?(v(),i(B,{key:1,class:"btn primary",onClick:Ke},{default:o(()=>[$("立即查看")]),_:1})):w("",!0),$e.value?(v(),i(B,{key:2,class:"btn primary",onClick:Re},{default:o(()=>[$("立即预约")]),_:1})):w("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-1ce51fed"]]);export{ue as default}; diff --git a/public/h5/assets/pages-activity-detail.D42i0ZGw.js b/public/h5/assets/pages-activity-detail.D42i0ZGw.js deleted file mode 100644 index 1c49854..0000000 --- a/public/h5/assets/pages-activity-detail.D42i0ZGw.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as l,c as a,w as t,U as n,o as s,e as i,f as o,s as u,i as r,W as c,N as d,j as v,k as f,S as _,V as m,y as p,F as g,z as y,X as b,p as h,Y as k,B as w,l as x,m as $,v as S,A as N,q as C,x as j,n as F,Z as T,O as A,C as q,L as z,M as B,g as M,$ as P,a0 as R,a1 as U,a2 as D,a3 as I,a4 as Y,a5 as Z,u as H,_ as L}from"./index-CC6J0dtG.js";import{f as O,g as V,p as W,h as X}from"./content.BfcEEng6.js";import{a as E}from"./venueThemeColors.DRxjaxXI.js";import{c as G}from"./activity.CPaCOiZ6.js";import{s as J,i as K,a as Q,d as ee,b as le}from"./phone.CX37tqZE.js";import{i as ae,a as te,b as ne}from"./icon8.D8UBMaA-.js";import{i as se,a as ie}from"./icon_up.DJ5zmdk8.js";import{P as oe}from"./poster.C6TYC1FC.js";import"./text.BxMbQPAt.js";const ue=L(e({__name:"detail",setup(e){function L(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const n=String(a).trim();if(/style\s*=/i.test(n))return/max-width\s*:/i.test(n)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`);return`"===t?" />":">"}`})}function ue(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const re=l(0),ce=l(!1),de=l(null),ve=l(null),fe=l(!0),_e=l(!1),me=l(!1),pe=l(!1),ge=a(()=>{const e=de.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:oe}]:[]}),ye=a(()=>{const e=de.value;if(!e)return"ongoing";const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:G(e.start_at,e.end_at)}),be=a(()=>"ended"===ye.value),he=a(()=>{if(!be.value||!de.value)return!1;const e=de.value.behind_scenes_media;return!!Array.isArray(e)&&e.some(e=>String((null==e?void 0:e.url)||"").trim().length>0)});function ke(){var e;const l=null==(e=de.value)?void 0:e.id;l&&q({url:`/pages/activity/behind-scenes?id=${l}`})}const we=a(()=>{var e;const l=null==(e=de.value)?void 0:e.reservation_type;return!l||"online"===l}),xe=a(()=>{var e;const l=String((null==(e=de.value)?void 0:e.reservation_type)??"").trim(),a=""===l?"online":l;return"none"===a||"paid_study"===a}),$e=a(()=>{var e;return!be.value&&!0===(null==(e=de.value)?void 0:e.is_bookable)&&we.value}),Se=a(()=>{var e,l;return"other"===(null==(e=de.value)?void 0:e.reservation_type)&&!!String((null==(l=de.value)?void 0:l.external_url)||"").trim()}),Ne=a(()=>{var e;return Array.isArray(null==(e=de.value)?void 0:e.booking_days)?de.value.booking_days:[]}),Ce=a(()=>{var e;return J(null==(e=de.value)?void 0:e.contact_phone)}),je=a(()=>{var e;if(!we.value)return null;const l=null==(e=de.value)?void 0:e.registrations_preview;return!l||(l.reservation_total??0)<1?null:l}),Fe=a(()=>{const e=je.value;return!!e&&e.reservation_total>5});function Te(){var e,l;const a=null==(e=de.value)?void 0:e.id,t=null==(l=de.value)?void 0:l.title;if(!a)return;const n=t?`?id=${a}&title=${encodeURIComponent(String(t))}`:`?id=${a}`;q({url:`/pages/activity/registrations${n}`})}const Ae=l(0);function qe(e){const l=Number(null==e?void 0:e.booked_count);return!Number.isFinite(l)||l<=0?"":(null==e?void 0:e.enrolled_count_text)?String(e.enrolled_count_text):"已报名数:"+l}function ze(e){const l=String((null==e?void 0:e.action_headline)??"").trim(),a=String((null==e?void 0:e.status_text)??"").trim();return l||a||"—"}function Be(e){return!!ze(e)}function Me(e){if(null==e||""===e)return"";let l=String(e).trim().replace(/\u00a0|\u3000/g," ");if(!l)return"";if(l=l.replace("T"," ").replace(/\s+/g," ").trim(),l=l.replace(/\.\d+/,""),l=l.replace(/Z$/i,""),l=l.replace(/[+-]\d{2}:\d{2}$/i,"").trim(),l=l.replace(/[+-]\d{4}$/i,"").trim(),/^\d{4}-\d{2}-\d{2}$/.test(l))return l;const a=l.match(/^(\d{4}-\d{2}-\d{2})[ T](\d{1,2}):(\d{2})(?::(\d{1,2}))?/);if(a){const e=a[1],l=Number(a[2]),t=Number(a[3]),n=null!=a[4]?Number(a[4]):0;if(!Number.isNaN(l)&&!Number.isNaN(t)&&!Number.isNaN(n))return 0===l&&0===t||23===l&&59===t?e:`${e} ${String(l).padStart(2,"0")}:${String(t).padStart(2,"0")}`}const t=new Date(l);if(!Number.isNaN(t.getTime())){const e=`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`,l=t.getHours(),a=t.getMinutes();return 0===l&&0===a||23===l&&59===a?e:`${e} ${String(l).padStart(2,"0")}:${String(a).padStart(2,"0")}`}const n=l.length>=16?l.slice(0,16).trim():l,s=n.match(/^(\d{4}-\d{2}-\d{2})[ T](\d{1,2}):(\d{2})$/);if(s){const e=s[1],l=Number(s[2]),a=Number(s[3]);if(0===l&&0===a)return e;if(23===l&&59===a)return e}return n.length>10?n:l}function Pe(e){const l=Me(null==e?void 0:e.booking_deadline_at);if(!l)return"";const a=Me(null==e?void 0:e.booking_opens_at);return a?`预约开放:${a} ~ ${l}`:`预约截止:${l}(此前均可预约)`}function Re(e){xe.value||function(e){(null==e?void 0:e.id)&&e.is_bookable&&(Ae.value=Number(e.id))}(e)}function Ue(){var e;if(null==(e=de.value)?void 0:e.id)return z(B.accessToken)?void function(){var e;const l=null==(e=de.value)?void 0:e.id;if(!l)return;const a=Ne.value;if(!a.length)return void q({url:`/pages/activity/reserve?id=${l}`});if(!Ae.value)return void M({title:"请先选择场次",icon:"none"});const t=a.find(e=>e.id===Ae.value);t?t.is_bookable&&q({url:`/pages/activity/reserve?id=${l}&day_id=${Ae.value}`}):M({title:"场次无效",icon:"none"})}():(M({title:"请先进行微信鉴权",icon:"none",duration:2e3}),void setTimeout(()=>{P({title:"微信鉴权登录",content:"预约需先完成微信账号授权登录,是否前往授权?",confirmText:"去授权",cancelText:"取消",success:e=>{e.confirm&&async function(){if(!U())return void M({title:"请在微信内打开本页面后再授权",icon:"none"});await D()||M({title:"请勿频繁授权,请稍后再试",icon:"none"})}()}})},380))}const De=a(()=>{var e;const l=null==(e=de.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let t="";if(/<[a-z][\s\S]*>/i.test(a)){t=`
${L(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return ue(t)?t:""}),Ie=a(()=>{var e;const l=null==(e=de.value)?void 0:e.detail_html;if(!l)return"";const a=L(String(l));return ue(a)?a:""});function Ye(e){return null==e?"":String(e).trim()}function Ze(e){return Ye(e).length>0}function He(e){const l=String(e??"").trim();return""===l?"online":l}function Le(e){const l=He(e);return"online"===l?"预约方式":"none"===l?"参与提示":"paid_study"===l?"报名方式":"预约说明"}function Oe(e){const l=He(null==e?void 0:e.reservation_type),a=Ye(null==e?void 0:e.ticket_fee_note);if("online"===l||"none"===l)return a||"免费";if("paid_study"===l)return a.length>0?a:"—";const t=String((null==e?void 0:e.offline_reservation_method)||"").trim();return"paid"===t?a.length>0?a:"收费":"free"===t?"免费":a.length>0?a:"—"}function Ve(e){const l=He(null==e?void 0:e.reservation_type),a=Ye(null==e?void 0:e.booking_method_note);return"online"===l?a||"平台预约":a}t([Ie,De],()=>{fe.value=!0,_e.value=!0,I(()=>{setTimeout(()=>{var e;const l=null==(e=Y())?void 0:e.proxy,a=Z();l&&a.in(l);const t=H(187);a.select(".judge-activity-detail").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];me.value=!!(l&&l.height&&l.height>t+1),pe.value=!!(a&&a.height&&a.height>t+1),pe.value?_e.value=!1:_e.value=!0})},120)})});const We=a(()=>{const e=de.value;if(!e)return!1;const l=He(e.reservation_type);return"online"===l||"none"===l||"paid_study"===l});function Xe(e){return`${function(){var e;const l=He(null==(e=de.value)?void 0:e.reservation_type);return"none"===l||"paid_study"===l?"参加人数":"人数限制"}()}:${Number(null==e?void 0:e.day_quota)||0}人`}function Ee(e){const l=String((null==e?void 0:e.quota_note)??"").trim();return l?`说明:${l}`:""}function Ge(){var e,l,a,t,n;const{lat:s,lng:i}=function(){var e,l,a,t,n,s;return{lat:Number((null==(e=de.value)?void 0:e.lat)??(null==(a=null==(l=de.value)?void 0:l.venue)?void 0:a.lat)??0),lng:Number((null==(t=de.value)?void 0:t.lng)??(null==(s=null==(n=de.value)?void 0:n.venue)?void 0:s.lng)??0)}}(),o=null!=(null==(e=de.value)?void 0:e.location)&&String(de.value.location).trim()||(null==(l=de.value)?void 0:l.address)||(null==(t=null==(a=de.value)?void 0:a.venue)?void 0:t.address)||"";R({lat:s,lng:i,name:(null==(n=de.value)?void 0:n.title)||"活动地点",address:o})}function Je(){var e,l;const a=null==(e=de.value)?void 0:e.id,t=String((null==(l=de.value)?void 0:l.external_url)||"").trim();if(a&&t){if("undefined"!=typeof window){window.open(t,"_blank","noopener,noreferrer")||window.location.assign(t)}X(a).catch(()=>{})}}function Ke(){var e,l;const a=Number((null==(l=null==(e=de.value)?void 0:e.venue)?void 0:l.id)??0);a?q({url:`/pages/venue/detail?id=${a}`}):M({title:"暂无场馆详情",icon:"none"})}return n(e=>{re.value=Number((null==e?void 0:e.id)||0),ce.value=!1}),t(re,()=>{ce.value=!1}),s(()=>{re.value&&async function(){const e=re.value;if(!e)return;const[l,a]=await Promise.all([O(e),V()]);de.value=l,ve.value=a,"undefined"!=typeof window&&await u({title:String((null==l?void 0:l.title)||"活动详情"),desc:c.desc,link:window.location.href,imgUrl:oe}).catch(()=>{}),ce.value||(ce.value=!0,W(e).catch(()=>{}))}()}),(e,l)=>{const a=d("SubPageBackBtn"),t=h,n=k,s=b,u=m,c=r,q=x,z=T,B=_,M=A;return v(),i(c,{class:"page"},{default:o(()=>[f(a),f(B,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e;return[f(c,{class:"hero"},{default:o(()=>[ge.value.length?(v(),i(u,{key:0,class:"hero-swiper",circular:"",autoplay:ge.value.length>1,interval:4e3,"indicator-dots":ge.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:o(()=>[(v(!0),p(g,null,y(ge.value,(e,l)=>(v(),i(s,{key:"s-"+l,class:"swiper-item"},{default:o(()=>["video"!==e.type?(v(),i(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(v(),i(n,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):w("",!0)]),_:1}),f(c,{class:"main-card"},{default:o(()=>{var e,a,n,s,u,r,d;return[f(q,{class:"act-title"},{default:o(()=>{var e;return[$(S((null==(e=de.value)?void 0:e.title)||"-"),1)]}),_:1}),(null==(a=null==(e=de.value)?void 0:e.tags)?void 0:a.length)?(v(),i(c,{key:0,class:"act-tags"},{default:o(()=>[(v(!0),p(g,null,y((de.value.tags||[]).slice(0,4),(e,l)=>{var a;return v(),i(q,{key:"tg-"+l+"-"+e,class:"act-tag-chip",style:N(C(E)(l,null==(a=ve.value)?void 0:a.venue_type))},{default:o(()=>[$(S(e),1)]),_:2},1032,["style"])}),128))]),_:1})):w("",!0),(null==(s=null==(n=de.value)?void 0:n.venue)?void 0:s.name)?(v(),i(c,{key:1,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(K),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("举办场馆:")]),_:1}),f(q,{class:"info-value info-value--venue",onClick:j(Ke,["stop"])},{default:o(()=>[$(S(de.value.venue.name),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ze(de.value.contact_name)?(v(),i(c,{key:2,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(ae),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("联系人:")]),_:1}),f(q,{class:"info-value"},{default:o(()=>[$(S(Ye(de.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ce.value.length?(v(),i(c,{key:3,class:"info-row info-row--phones"},{default:o(()=>[f(t,{class:"info-ico",src:C(Q),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--phone-block"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("联系方式:")]),_:1}),f(c,{class:"phone-list"},{default:o(()=>[(v(!0),p(g,null,y(Ce.value,(e,l)=>(v(),i(q,{key:"act-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:j(l=>C(ee)(e),["stop"])},{default:o(()=>[$(S(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):w("",!0),(null==(u=de.value)?void 0:u.age_group_label)?(v(),i(c,{key:4,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(ae),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("适合人群:")]),_:1}),f(q,{class:"info-value"},{default:o(()=>[$(S(de.value.age_group_label),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&(We.value||Ze(de.value.booking_method_note))?(v(),i(c,{key:5,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(te),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$(S(Le(de.value.reservation_type))+":",1)]),_:1}),f(q,{class:"info-value"},{default:o(()=>[$(S(Ve(de.value)||"—"),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value?(v(),i(c,{key:6,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(ne),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("费用说明:")]),_:1}),f(q,{class:"info-value"},{default:o(()=>[$(S(Oe(de.value)),1)]),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ze(de.value.location||(null==(d=null==(r=de.value)?void 0:r.venue)?void 0:d.address))?(v(),i(c,{key:7,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(le),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("活动地点:")]),_:1}),f(q,{class:"info-value"},{default:o(()=>{var e,l;return[$(S(Ye(de.value.location||(null==(l=null==(e=de.value)?void 0:e.venue)?void 0:l.address))),1)]}),_:1})]),_:1})]),_:1})):w("",!0),de.value&&Ze(de.value.check_in_meeting_point)?(v(),i(c,{key:8,class:"info-row"},{default:o(()=>[f(t,{class:"info-ico",src:C(le),mode:"aspectFit"},null,8,["src"]),f(c,{class:"info-text-col info-text-col--line"},{default:o(()=>[f(q,{class:"info-label"},{default:o(()=>[$("报到集合地点:")]),_:1}),f(q,{class:"info-value"},{default:o(()=>[$(S(Ye(de.value.check_in_meeting_point)),1)]),_:1})]),_:1})]),_:1})):w("",!0),De.value?(v(),i(c,{key:9,class:"notice-block"},{default:o(()=>[f(c,{class:"sec-title-row notice-head-row"},{default:o(()=>[f(q,{class:"notice-label"},{default:o(()=>[$("预约须知")]),_:1}),pe.value?(v(),i(c,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>_e.value=!_e.value)},{default:o(()=>[f(t,{class:"expand-arrow-img",src:_e.value?C(se):C(ie),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),f(c,{class:F(["notice-block-body judge-notice",{"is-collapsed":pe.value&&!_e.value}])},{default:o(()=>[f(z,{class:"notice-inline-rich",nodes:De.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0)]}),_:1}),(null==(e=de.value)?void 0:e.summary)?(v(),i(c,{key:0,class:"summary-card"},{default:o(()=>[f(c,{class:"sec-title-row"},{default:o(()=>[f(q,{class:"sec-title"},{default:o(()=>[$("活动简介")]),_:1})]),_:1}),f(q,{class:"summary-text"},{default:o(()=>[$(S(de.value.summary),1)]),_:1})]),_:1})):w("",!0),Ne.value.length?(v(),i(c,{key:1,class:"session-card-wrap"},{default:o(()=>[f(c,{class:"sec-title-row session-sec-hd"},{default:o(()=>[f(c,{class:"session-sec-bar"}),f(q,{class:"sec-title"},{default:o(()=>[$("活动场次")]),_:1})]),_:1}),(v(!0),p(g,null,y(Ne.value,(e,l)=>(v(),i(c,{key:"ss-"+e.id+"-"+l,class:F(["session-item",xe.value?"session-item--info-only":{on:e.is_bookable&&Ae.value===e.id,dim:!e.is_bookable}]),onClick:l=>Re(e)},{default:o(()=>[!xe.value&&e.is_bookable&&Ae.value===e.id?(v(),i(c,{key:0,class:"session-check"},{default:o(()=>[$("✓")]),_:1})):w("",!0),f(q,{class:"session-name"},{default:o(()=>[$(S(e.session_name||e.time_display||"场次"),1)]),_:2},1024),f(q,{class:"session-time"},{default:o(()=>[$("场次时间:"+S(e.time_display||"-"),1)]),_:2},1024),we.value&&Pe(e)?(v(),i(q,{key:1,class:"session-booking-window"},{default:o(()=>[$(S(Pe(e)),1)]),_:2},1024)):w("",!0),f(q,{class:"session-quota"},{default:o(()=>[$(S(Xe(e)),1)]),_:2},1024),Ee(e)?(v(),i(q,{key:2,class:"session-quota session-quota-desc"},{default:o(()=>[$(S(Ee(e)),1)]),_:2},1024)):w("",!0),!xe.value&&Be(e)?(v(),i(c,{key:3,class:"session-status-line"},{default:o(()=>[ze(e)?(v(),i(q,{key:0,class:F(["session-action","sk-"+(e.status_kind||"open")])},{default:o(()=>[$(S(ze(e)),1)]),_:2},1032,["class"])):w("",!0),qe(e)?(v(),i(q,{key:1,class:"session-enrolled"},{default:o(()=>[$(S(qe(e)),1)]),_:2},1024)):w("",!0)]),_:2},1024)):w("",!0)]),_:2},1032,["class","onClick"]))),128))]),_:1})):w("",!0),je.value?(v(),i(c,{key:2,class:"enrolled-card"},{default:o(()=>[f(c,{class:"enrolled-hd"},{default:o(()=>[f(c,{class:"enrolled-hd-left"},{default:o(()=>[f(c,{class:"enrolled-title-col"},{default:o(()=>[f(c,{class:"enrolled-title-with-bar"},{default:o(()=>[f(q,{class:"enrolled-title-line"},{default:o(()=>[$("已报名("+S(je.value.reservation_total)+")",1)]),_:1}),f(c,{class:"enrolled-title-bar"})]),_:1})]),_:1})]),_:1}),Fe.value?(v(),i(c,{key:0,class:"enrolled-more",onClick:Te},{default:o(()=>[f(q,{class:"enrolled-more-text"},{default:o(()=>[$("更多报名")]),_:1}),f(q,{class:"enrolled-more-ico"},{default:o(()=>[$("›")]),_:1})]),_:1})):w("",!0)]),_:1}),f(c,{class:"enrolled-hd-line"}),f(c,{class:"enrolled-avatars"},{default:o(()=>[(v(!0),p(g,null,y(je.value.items,(e,l)=>(v(),i(c,{key:"enr-pv-"+e.id+"-"+l,class:"enrolled-user"},{default:o(()=>[f(t,{class:"enrolled-avatar",src:e.avatar_url||C(oe),mode:"aspectFill"},null,8,["src"]),f(q,{class:"enrolled-uname"},{default:o(()=>[$(S(e.visitor_name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),Ie.value?(v(),i(c,{key:3,class:"intro-card"},{default:o(()=>[f(c,{class:"sec-title-row"},{default:o(()=>[f(q,{class:"sec-title"},{default:o(()=>[$("活动详情")]),_:1}),me.value?(v(),i(c,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>fe.value=!fe.value)},{default:o(()=>[f(t,{class:"expand-arrow-img",src:fe.value?C(se):C(ie),mode:"aspectFit"},null,8,["src"])]),_:1})):w("",!0)]),_:1}),f(c,{class:F(["intro-rich-wrap judge-activity-detail",{"is-collapsed":me.value&&!fe.value}])},{default:o(()=>[f(z,{class:"intro-rich",nodes:Ie.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):w("",!0),f(c,{class:"safe-bottom"})]}),_:1}),f(c,{class:"action-bar"},{default:o(()=>[f(M,{class:F(["btn ghost",{"btn-full":!Se.value&&!$e.value&&!he.value}]),onClick:Ge},{default:o(()=>[$("一键导航")]),_:1},8,["class"]),he.value?(v(),i(M,{key:0,class:"btn bts",onClick:ke},{default:o(()=>[$("活动花絮")]),_:1})):w("",!0),Se.value?(v(),i(M,{key:1,class:"btn primary",onClick:Je},{default:o(()=>[$("立即查看")]),_:1})):w("",!0),$e.value?(v(),i(M,{key:2,class:"btn primary",onClick:Ue},{default:o(()=>[$("立即预约")]),_:1})):w("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-1ce51fed"]]);export{ue as default}; diff --git a/public/h5/assets/pages-activity-index.CpOqsSzs.js b/public/h5/assets/pages-activity-index.DFRXtq0i.js similarity index 52% rename from public/h5/assets/pages-activity-index.CpOqsSzs.js rename to public/h5/assets/pages-activity-index.DFRXtq0i.js index 18aa65d..7559028 100644 --- a/public/h5/assets/pages-activity-index.CpOqsSzs.js +++ b/public/h5/assets/pages-activity-index.DFRXtq0i.js @@ -1 +1 @@ -import{d as a,r as e,c as l,a as t,E as s,G as u,H as n,e as i,f as c,i as r,j as o,k as d,I as v,p as f,q as _,y as m,F as y,z as g,n as k,l as p,m as b,v as h,B as w,A as j,x as C,C as x,_ as A}from"./index-CC6J0dtG.js";import{g as P,b as N}from"./content.BfcEEng6.js";import{a as F}from"./venueThemeColors.DRxjaxXI.js";import{f as V,b as $,a as z,d as I,c as q}from"./activity.CPaCOiZ6.js";import{P as B}from"./poster.C6TYC1FC.js";import{s as E}from"./search.BJnl3YRK.js";const G=A(a({__name:"index",setup(a){const A=e([]),G=e(null),H=e(1),T=e(0),U=e(!1),D=e(!1),J=e(""),K=e(""),L=[{value:"",label:"全部状态"},{value:"ongoing",label:"进行中"},{value:"not_started",label:"未开始"},{value:"ended",label:"已结束"},{value:"bookable",label:"可预约"}],M=l(()=>T.value>0&&H.value{!async function(){try{G.value=await P()}catch{G.value=null}H.value=1,await O(1,!1)}()}),s(()=>{U.value||D.value||!M.value||O(H.value+1,!0)}),u(async()=>{try{await Q()}finally{n()}}),(a,e)=>{const l=v,t=f,s=r,u=p;return o(),i(s,{class:"page"},{default:c(()=>[d(s,{class:"filter-section"},{default:c(()=>[d(s,{class:"toolbar"},{default:c(()=>[d(s,{class:"search-wrap"},{default:c(()=>[d(l,{modelValue:J.value,"onUpdate:modelValue":e[0]||(e[0]=a=>J.value=a),class:"search-input",placeholder:"请输入活动名称","placeholder-class":"ph","confirm-type":"search",onConfirm:R},null,8,["modelValue"]),d(t,{class:"search-icon-img",src:_(E),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),d(s,{class:"filters"},{default:c(()=>[(o(),m(y,null,g(L,a=>d(s,{key:a.value,class:k(["f-item f-item--status",{"f-item--active":K.value===a.value}]),onClick:e=>{return l=a.value,K.value=l,void Q();var l}},{default:c(()=>[d(u,{class:"f-item-text"},{default:c(()=>[b(h(a.label),1)]),_:2},1024)]),_:2},1032,["class","onClick"])),64))]),_:1})]),_:1}),d(s,{class:"list-inner"},{default:c(()=>[(o(!0),m(y,null,g(A.value,a=>(o(),i(s,{key:(a.list_kind||"activity")+"-"+a.id,class:"item",onClick:e=>S(a)},{default:c(()=>[d(s,{class:"poster-wrap"},{default:c(()=>{var e,l,n,r;return[d(t,{class:"poster",src:a.image||_(B),mode:"aspectFill"},null,8,["src"]),d(s,{class:k(["status",(r=a,`st-${W(r)}`)])},{default:c(()=>[b(h(X(a)),1)]),_:2},1032,["class"]),"ticket_grab"===a.list_kind&&a.can_grab_today?(o(),i(s,{key:0,class:"grab-badge"},{default:c(()=>[b("抢票")]),_:1})):Y(a)?(o(),i(s,{key:1,class:k(["cover-corner-badge",{"cc-brand":"brand"===(null==(e=Y(a))?void 0:e.kind),"cc-muted":"muted"===(null==(l=Y(a))?void 0:l.kind),"cc-accent":"accent"===(null==(n=Y(a))?void 0:n.kind)}])},{default:c(()=>[d(u,null,{default:c(()=>{var e;return[b(h(null==(e=Y(a))?void 0:e.text),1)]}),_:2},1024)]),_:2},1032,["class"])):w("",!0)]}),_:2},1024),d(s,{class:"body"},{default:c(()=>{var e;return[d(s,{class:"title"},{default:c(()=>[b(h(a.title),1)]),_:2},1024),(null==(e=a.tags)?void 0:e.length)?(o(),i(s,{key:0,class:"act-tags"},{default:c(()=>[(o(!0),m(y,null,g((a.tags||[]).slice(0,4),(e,l)=>{var t;return o(),i(u,{key:"t-"+a.id+"-"+l,class:"act-tag-chip",style:j(_(F)(l,null==(t=G.value)?void 0:t.venue_type))},{default:c(()=>[b(h(e),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):w("",!0),d(s,{class:"meta"},{default:c(()=>[b(h(_(V)(a.start_at,a.end_at)),1)]),_:2},1024),d(s,{class:"venue-action-row"},{default:c(()=>["ticket_grab"===a.list_kind?(o(),i(u,{key:0,class:"venue-inline"},{default:c(()=>[b(h(Number(a.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(o(),i(u,{key:1,class:"venue-inline"},{default:c(()=>[b(h(a.venue_name||"场馆待定"),1)]),_:2},1024)),Z(a).show?(o(),i(s,{key:2,class:k(["btn",{"btn-muted":Z(a).muted}]),onClick:C(e=>function(a){const e=Z(a);e.show&&!e.muted&&S(a)}(a),["stop"])},{default:c(()=>[b(h(Z(a).text),1)]),_:2},1032,["class","onClick"])):w("",!0)]),_:2},1024)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),U.value&&!A.value.length?(o(),i(s,{key:0,class:"hint"},{default:c(()=>[b("加载中…")]),_:1})):w("",!0),D.value?(o(),i(s,{key:1,class:"hint"},{default:c(()=>[b("加载更多…")]),_:1})):w("",!0),T.value>0&&!M.value&&A.value.length&&!U.value?(o(),i(s,{key:2,class:"hint muted"},{default:c(()=>[b("没有更多了")]),_:1})):w("",!0),U.value||A.value.length?w("",!0):(o(),i(s,{key:3,class:"hint muted"},{default:c(()=>[b("暂无活动")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-e31821f9"]]);export{G as default}; +import{d as a,r as e,n as l,o as t,G as s,H as u,J as n,c as i,f as c,i as r,b as o,l as d,I as v,x as f,y as _,A as m,F as y,B as g,v as b,m as k,j as p,t as h,k as w,C as j,e as C,D as x,_ as A}from"./index-D9YO76Ut.js";import{g as P,b as N}from"./content.CWxBtEbN.js";import{a as F}from"./venueThemeColors.DRxjaxXI.js";import{f as V,b as $,a as I,d as q,c as z}from"./activity.CPaCOiZ6.js";import{P as B}from"./poster.C6TYC1FC.js";import{s as D}from"./search.BJnl3YRK.js";const G=A(a({__name:"index",setup(a){const A=e([]),G=e(null),H=e(1),J=e(0),T=e(!1),U=e(!1),E=e(""),K=e(""),L=[{value:"",label:"全部状态"},{value:"ongoing",label:"进行中"},{value:"not_started",label:"未开始"},{value:"ended",label:"已结束"},{value:"bookable",label:"可预约"}],M=l(()=>J.value>0&&H.value{!async function(){try{G.value=await P()}catch{G.value=null}H.value=1,await O(1,!1)}()}),s(()=>{T.value||U.value||!M.value||O(H.value+1,!0)}),u(async()=>{try{await Q()}finally{n()}}),(a,e)=>{const l=v,t=f,s=r,u=k;return o(),i(s,{class:"page"},{default:c(()=>[d(s,{class:"filter-section"},{default:c(()=>[d(s,{class:"toolbar"},{default:c(()=>[d(s,{class:"search-wrap"},{default:c(()=>[d(l,{modelValue:E.value,"onUpdate:modelValue":e[0]||(e[0]=a=>E.value=a),class:"search-input",placeholder:"请输入活动名称","placeholder-class":"ph","confirm-type":"search",onConfirm:R},null,8,["modelValue"]),d(t,{class:"search-icon-img",src:_(D),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),d(s,{class:"filters"},{default:c(()=>[(o(),m(y,null,g(L,a=>d(s,{key:a.value,class:b(["f-item f-item--status",{"f-item--active":K.value===a.value}]),onClick:e=>{return l=a.value,K.value=l,void Q();var l}},{default:c(()=>[d(u,{class:"f-item-text"},{default:c(()=>[p(h(a.label),1)]),_:2},1024)]),_:2},1032,["class","onClick"])),64))]),_:1})]),_:1}),d(s,{class:"list-inner"},{default:c(()=>[(o(!0),m(y,null,g(A.value,a=>(o(),i(s,{key:(a.list_kind||"activity")+"-"+a.id,class:"item",onClick:e=>S(a)},{default:c(()=>[d(s,{class:"poster-wrap"},{default:c(()=>{var e,l,n,r;return[d(t,{class:"poster",src:a.image||_(B),mode:"aspectFill"},null,8,["src"]),d(s,{class:b(["status",(r=a,`st-${W(r)}`)])},{default:c(()=>[p(h(X(a)),1)]),_:2},1032,["class"]),"ticket_grab"===a.list_kind&&a.can_grab_today?(o(),i(s,{key:0,class:"grab-badge"},{default:c(()=>[p("抢票")]),_:1})):Y(a)?(o(),i(s,{key:1,class:b(["cover-corner-badge",{"cc-brand":"brand"===(null==(e=Y(a))?void 0:e.kind),"cc-muted":"muted"===(null==(l=Y(a))?void 0:l.kind),"cc-accent":"accent"===(null==(n=Y(a))?void 0:n.kind)}])},{default:c(()=>[d(u,null,{default:c(()=>{var e;return[p(h(null==(e=Y(a))?void 0:e.text),1)]}),_:2},1024)]),_:2},1032,["class"])):w("",!0)]}),_:2},1024),d(s,{class:"body"},{default:c(()=>{var e;return[d(s,{class:"title"},{default:c(()=>[p(h(a.title),1)]),_:2},1024),(null==(e=a.tags)?void 0:e.length)?(o(),i(s,{key:0,class:"act-tags"},{default:c(()=>[(o(!0),m(y,null,g((a.tags||[]).slice(0,4),(e,l)=>{var t;return o(),i(u,{key:"t-"+a.id+"-"+l,class:"act-tag-chip",style:j(_(F)(l,null==(t=G.value)?void 0:t.venue_type))},{default:c(()=>[p(h(e),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):w("",!0),d(s,{class:"meta"},{default:c(()=>[p(h(_(V)(a.start_at,a.end_at)),1)]),_:2},1024),d(s,{class:"venue-action-row"},{default:c(()=>["ticket_grab"===a.list_kind?(o(),i(u,{key:0,class:"venue-inline"},{default:c(()=>[p(h(Number(a.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(o(),i(u,{key:1,class:"venue-inline"},{default:c(()=>[p(h(a.venue_name||"场馆待定"),1)]),_:2},1024)),Z(a).show?(o(),i(s,{key:2,class:b(["btn",{"btn-muted":Z(a).muted}]),onClick:C(e=>function(a){const e=Z(a);e.show&&!e.muted&&S(a)}(a),["stop"])},{default:c(()=>[p(h(Z(a).text),1)]),_:2},1032,["class","onClick"])):w("",!0)]),_:2},1024)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),T.value&&!A.value.length?(o(),i(s,{key:0,class:"hint"},{default:c(()=>[p("加载中…")]),_:1})):w("",!0),U.value?(o(),i(s,{key:1,class:"hint"},{default:c(()=>[p("加载更多…")]),_:1})):w("",!0),J.value>0&&!M.value&&A.value.length&&!T.value?(o(),i(s,{key:2,class:"hint muted"},{default:c(()=>[p("没有更多了")]),_:1})):w("",!0),T.value||A.value.length?w("",!0):(o(),i(s,{key:3,class:"hint muted"},{default:c(()=>[p("暂无活动")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-e31821f9"]]);export{G as default}; diff --git a/public/h5/assets/pages-activity-registrations.CBIb58lK.js b/public/h5/assets/pages-activity-registrations.CBIb58lK.js deleted file mode 100644 index c1ee809..0000000 --- a/public/h5/assets/pages-activity-registrations.CBIb58lK.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,c as t,U as l,e as s,f as u,i as n,N as r,j as i,k as c,l as o,m as v,v as d,B as f,S as _,y as m,F as g,z as p,n as y,p as h,q as S,_ as $}from"./index-CC6J0dtG.js";import{i as k}from"./content.BfcEEng6.js";import{P as w}from"./poster.C6TYC1FC.js";const N=$(a({__name:"registrations",setup(a){const $=e(0),N=e(""),b=e(!1),j=e(!1),x=e(1),B=e(1),F=e(0),z=e([]);function D(a){const e=(a.session_name||"").trim(),t=(a.session_time_text||"").trim(),l=(a.activity_date||"").trim();return e&&t?`${e} · ${t}`:t||(e&&l?`${e} · ${l}`:e||(l||"场次信息"))}function I(a){if(!a)return"—";const e=new Date(a);return Number.isNaN(e.getTime())?"—":`${e.getFullYear()}/${e.getMonth()+1}/${e.getDate()} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}`}const M=t(()=>x.value!M.value&&z.value.length>0&&!b.value&&!j.value);async function U(a,e){if($.value){if(e){if(j.value||!M.value)return;j.value=!0}else b.value=!0;try{const t=await k($.value,{page:a,page_size:20});F.value=t.total,B.value=t.last_page||1,t.activity_title&&(N.value=t.activity_title),z.value=e?[...z.value,...t.data||[]]:t.data||[],x.value=a}catch{e||(z.value=[])}finally{b.value=!1,j.value=!1}}}function q(){!M.value||b.value||j.value||U(x.value+1,!0)}return l(a=>{$.value=Number((null==a?void 0:a.id)||0);const e=null==a?void 0:a.title;if(e&&"string"==typeof e)try{N.value=decodeURIComponent(e)}catch{N.value=e}U(1,!1)}),(a,e)=>{const t=r("SubPageBackBtn"),l=o,$=n,k=h,j=_;return i(),s($,{class:"page"},{default:u(()=>[c(t),c($,{class:"body"},{default:u(()=>[N.value?(i(),s($,{key:0,class:"act-hd"},{default:u(()=>[c(l,{class:"act-hd-t"},{default:u(()=>[v(d(N.value),1)]),_:1})]),_:1})):f("",!0),c(j,{"scroll-y":"",class:"scroll","lower-threshold":100,onScrolltolower:q},{default:u(()=>[b.value&&!z.value.length?(i(),s($,{key:0,class:"state-tip"},{default:u(()=>[v("加载中…")]),_:1})):(i(),s($,{key:1,class:"list-outer"},{default:u(()=>[z.value.length?(i(),s($,{key:0,class:"list-wrap"},{default:u(()=>[(i(!0),m(g,null,p(z.value,(a,e)=>(i(),s($,{key:"enr-"+a.id,class:y(["enr-row",{"is-last":e===z.value.length-1}])},{default:u(()=>[c(k,{class:"enr-avatar",src:a.avatar_url||S(w),mode:"aspectFill"},null,8,["src"]),c($,{class:"enr-mid"},{default:u(()=>[c($,{class:"enr-name-row"},{default:u(()=>[c(l,{class:"enr-name"},{default:u(()=>[v(d(a.visitor_name||"—"),1)]),_:2},1024),c(l,{class:"enr-time"},{default:u(()=>[v(d(I(a.created_at)),1)]),_:2},1024)]),_:2},1024),c(l,{class:"enr-session"},{default:u(()=>[v(d(D(a)),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})):f("",!0),b.value||z.value.length?f("",!0):(i(),s($,{key:1,class:"state-tip"},{default:u(()=>[v("暂无报名")]),_:1})),P.value?(i(),s($,{key:2,class:"enr-end"},{default:u(()=>[v("这回真没了~")]),_:1})):f("",!0)]),_:1}))]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-fcaf9d69"]]);export{N as default}; diff --git a/public/h5/assets/pages-activity-registrations.Dm0eI0G7.js b/public/h5/assets/pages-activity-registrations.Dm0eI0G7.js new file mode 100644 index 0000000..a6554fa --- /dev/null +++ b/public/h5/assets/pages-activity-registrations.Dm0eI0G7.js @@ -0,0 +1 @@ +import{d as a,r as e,n as t,V as l,c as s,f as u,i as n,O as r,b as i,l as c,m as o,j as v,t as d,k as f,S as _,A as m,F as g,B as p,v as y,x as h,y as S,_ as $}from"./index-D9YO76Ut.js";import{i as k}from"./content.CWxBtEbN.js";import{P as w}from"./poster.C6TYC1FC.js";const b=$(a({__name:"registrations",setup(a){const $=e(0),b=e(""),j=e(!1),x=e(!1),N=e(1),B=e(1),F=e(0),D=e([]);function I(a){const e=(a.session_name||"").trim(),t=(a.session_time_text||"").trim(),l=(a.activity_date||"").trim();return e&&t?`${e} · ${t}`:t||(e&&l?`${e} · ${l}`:e||(l||"场次信息"))}function M(a){if(!a)return"—";const e=new Date(a);return Number.isNaN(e.getTime())?"—":`${e.getFullYear()}/${e.getMonth()+1}/${e.getDate()} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}`}const P=t(()=>N.value!P.value&&D.value.length>0&&!j.value&&!x.value);async function A(a,e){if($.value){if(e){if(x.value||!P.value)return;x.value=!0}else j.value=!0;try{const t=await k($.value,{page:a,page_size:20});F.value=t.total,B.value=t.last_page||1,t.activity_title&&(b.value=t.activity_title),D.value=e?[...D.value,...t.data||[]]:t.data||[],N.value=a}catch{e||(D.value=[])}finally{j.value=!1,x.value=!1}}}function C(){!P.value||j.value||x.value||A(N.value+1,!0)}return l(a=>{$.value=Number((null==a?void 0:a.id)||0);const e=null==a?void 0:a.title;if(e&&"string"==typeof e)try{b.value=decodeURIComponent(e)}catch{b.value=e}A(1,!1)}),(a,e)=>{const t=r("SubPageBackBtn"),l=o,$=n,k=h,x=_;return i(),s($,{class:"page"},{default:u(()=>[c(t),c($,{class:"body"},{default:u(()=>[b.value?(i(),s($,{key:0,class:"act-hd"},{default:u(()=>[c(l,{class:"act-hd-t"},{default:u(()=>[v(d(b.value),1)]),_:1})]),_:1})):f("",!0),c(x,{"scroll-y":"",class:"scroll","lower-threshold":100,onScrolltolower:C},{default:u(()=>[j.value&&!D.value.length?(i(),s($,{key:0,class:"state-tip"},{default:u(()=>[v("加载中…")]),_:1})):(i(),s($,{key:1,class:"list-outer"},{default:u(()=>[D.value.length?(i(),s($,{key:0,class:"list-wrap"},{default:u(()=>[(i(!0),m(g,null,p(D.value,(a,e)=>(i(),s($,{key:"enr-"+a.id,class:y(["enr-row",{"is-last":e===D.value.length-1}])},{default:u(()=>[c(k,{class:"enr-avatar",src:a.avatar_url||S(w),mode:"aspectFill"},null,8,["src"]),c($,{class:"enr-mid"},{default:u(()=>[c($,{class:"enr-name-row"},{default:u(()=>[c(l,{class:"enr-name"},{default:u(()=>[v(d(a.visitor_name||"—"),1)]),_:2},1024),c(l,{class:"enr-time"},{default:u(()=>[v(d(M(a.created_at)),1)]),_:2},1024)]),_:2},1024),c(l,{class:"enr-session"},{default:u(()=>[v(d(I(a)),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})):f("",!0),j.value||D.value.length?f("",!0):(i(),s($,{key:1,class:"state-tip"},{default:u(()=>[v("暂无报名")]),_:1})),z.value?(i(),s($,{key:2,class:"enr-end"},{default:u(()=>[v("这回真没了~")]),_:1})):f("",!0)]),_:1}))]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-fcaf9d69"]]);export{b as default}; diff --git a/public/h5/assets/pages-activity-reserve.CLL5_v0n.js b/public/h5/assets/pages-activity-reserve.CLL5_v0n.js deleted file mode 100644 index 9a73195..0000000 --- a/public/h5/assets/pages-activity-reserve.CLL5_v0n.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,c as l,w as u,U as o,e as i,f as t,g as n,i as s,L as v,M as c,N as d,j as r,k as _,S as p,m as f,v as m,l as y,p as b,q as h,B as g,n as k,Z as x,I as M,O as w,a7 as N,a3 as j,a4 as V,a5 as $,u as A,_ as C}from"./index-CC6J0dtG.js";import{n as B,o as T}from"./content.BfcEEng6.js";import{g as U}from"./profile.CBiER3ty.js";import{l as S}from"./localProfile.w3dNAYL8.js";import{b as I}from"./richText.Cl1iMeI3.js";import{i as O,a as P}from"./icon_up.DJ5zmdk8.js";const q=C(e({__name:"reserve",setup(e){const C=a(0),q=a(0),F=a(!1),L=a(!1),R=a(null),Z=a(!0),z=a(!1),D=a({activity_day_id:0,visitor_name:"",visitor_phone:"",booking_type:"individual",people_count:1}),E=l(()=>{var e;return((null==(e=R.value)?void 0:e.days)||[]).find(e=>e.id===D.value.activity_day_id)}),G=l(()=>{const e=E.value;return!0===(null==e?void 0:e.is_bookable)}),H=l(()=>{const e=E.value;return!e||"number"!=typeof e.available_count||Number.isNaN(e.available_count)?null:Math.max(0,Math.floor(e.available_count))}),J=l(()=>!!D.value.activity_day_id&&G.value&&!!D.value.visitor_name&&/^1\d{10}$/.test(D.value.visitor_phone)),K=l(()=>{var e,a;return I(null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.reservation_notice)});u(K,()=>{Z.value=!0,j(()=>{setTimeout(()=>{var e;const a=null==(e=V())?void 0:e.proxy,l=$();a&&l.in(a);const u=A(187);l.select(".judge-notice-reserve").boundingClientRect(),l.exec(e=>{const[a]=e||[];z.value=!!(a&&a.height&&a.height>u+1),z.value?Z.value=!1:Z.value=!0})},120)})});const Q=l(()=>{var e,a;return String((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.booking_audience)||"both")}),W=l(()=>{var e,a;return Math.max(1,Number((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.min_people_per_order)||1))}),X=l(()=>{var e,a;const l=Math.max(1,Number((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.max_people_per_order)||1));return Math.max(l,W.value)}),Y=l(()=>{const e=X.value,a=H.value;return null===a?e:Math.min(e,Math.max(0,a))}),ee=l(()=>{var e,a;return(null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.booking_modes)||["individual","group"]}),ae=l(()=>"group"!==Q.value),le=l(()=>"individual"!==Q.value),ue=l(()=>{const e=W.value,a=X.value,l=Y.value,u=H.value;return 1===e&&1===a?"团体":null!=u&&u"group"===Q.value||"both"===Q.value&&"group"===D.value.booking_type),ie=l(()=>oe.value&&Math.floor(Number(D.value.people_count)||W.value)<=W.value),te=l(()=>oe.value&&Math.floor(Number(D.value.people_count)||W.value)>=Y.value);function ne(){if("individual"===Q.value)return D.value.booking_type="individual",void(D.value.people_count=1);if("group"===Q.value?D.value.booking_type="group":ee.value.includes(D.value.booking_type)||(D.value.booking_type="individual"),"individual"===D.value.booking_type)return void(D.value.people_count=1);const e=W.value,a=Y.value,l=Math.floor(Number(D.value.people_count||0)),u=Math.max(a,e);D.value.people_count=Math.min(u,Math.max(e,l||e))}function se(){D.value.booking_type="individual",ne()}function ve(){D.value.booking_type="group",ne()}async function ce(){var e;if(C.value){F.value=!0;try{R.value=await B(C.value);const a=(null==(e=R.value)?void 0:e.days)||[];q.value&&a.some(e=>e.id===q.value)?D.value.activity_day_id=q.value:function(){var e;const a=(null==(e=R.value)?void 0:e.days)||[];if(!a.length)return void(D.value.activity_day_id=0);const l=a.filter(e=>e.is_bookable);l.length?D.value.activity_day_id=l[0].id:D.value.activity_day_id=a[0].id}(),ne(),await async function(){if(v(c.accessToken))try{const e=await U();return(null==e?void 0:e.real_name)&&(D.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&(D.value.visitor_phone=e.phone))}catch{}const e=S();(null==e?void 0:e.real_name)&&(D.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&(D.value.visitor_phone=e.phone)}()}catch(a){n({title:(null==a?void 0:a.message)||"加载预约信息失败",icon:"none"})}finally{F.value=!1}}}function de(){ie.value||(D.value.people_count=Math.max(W.value,(Number(D.value.people_count)||W.value)-1),ne())}function re(){te.value||(D.value.people_count=Math.min(Y.value,(Number(D.value.people_count)||W.value)+1),ne())}async function _e(){if(C.value)if(G.value)if(J.value){if(ne(),"group"===D.value.booking_type){const e=Y.value;if(D.value.people_counte)return void n({title:`人数需在 ${W.value}-${e} 之间`,icon:"none"})}L.value=!0;try{await T(C.value,D.value),n({title:"预约成功",icon:"success"}),setTimeout(()=>{N({url:`/pages/activity/detail?id=${C.value}`})},500)}catch(e){const a=(null==e?void 0:e.errors)||{},l=Array.isArray(a.activity_day_id)&&a.activity_day_id[0]||Array.isArray(a.visitor_phone)&&a.visitor_phone[0]||""||("string"==typeof(null==e?void 0:e.message)?e.message:"")||Object.keys(a).map(e=>Array.isArray(a[e])?a[e][0]:"").find(Boolean)||"预约失败";n({title:l,icon:"none"})}finally{L.value=!1}}else n({title:"请完整填写预约信息",icon:"none"});else n({title:"当前场次不可预约,请返回活动详情重新选择",icon:"none"})}return u(()=>D.value.activity_day_id,()=>{R.value&&ne()}),o(e=>{C.value=Number((null==e?void 0:e.id)||0),q.value=Number((null==e?void 0:e.day_id)||0),ce()}),(e,a)=>{const l=d("SubPageBackBtn"),u=s,o=y,n=b,v=x,c=M,N=p,j=w;return r(),i(u,{class:"page-wrap"},{default:t(()=>[_(l),_(N,{"scroll-y":"",class:"page"},{default:t(()=>[F.value?(r(),i(u,{key:0,class:"loading-tip"},{default:t(()=>[f("加载中…")]),_:1})):(r(),i(u,{key:1,class:"content"},{default:t(()=>[_(u,{class:"card"},{default:t(()=>[_(u,{class:"act-title"},{default:t(()=>{var e,a;return[f(m((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.title)||"活动预约"),1)]}),_:1}),_(u,{class:"field-label"},{default:t(()=>[f("预约场次")]),_:1}),E.value?(r(),i(u,{key:0,class:"session-info"},{default:t(()=>[_(o,{class:"session-info-name"},{default:t(()=>[f(m(E.value.session_name||"场次"),1)]),_:1}),_(o,{class:"session-info-line"},{default:t(()=>[f("场次时间:"+m(E.value.time_display||"-"),1)]),_:1}),_(o,{class:"session-info-line"},{default:t(()=>[f(m(E.value.enrolled_count_text||"已报名数:"+(Number(E.value.booked_count)||0)),1)]),_:1})]),_:1})):(r(),i(u,{key:1,class:"session-info session-info--empty"},{default:t(()=>[f("暂无场次信息")]),_:1})),K.value?(r(),i(u,{key:2,class:"notice-block"},{default:t(()=>[_(u,{class:"sec-title-row notice-head-row"},{default:t(()=>[_(o,{class:"notice-label"},{default:t(()=>[f("预约须知")]),_:1}),z.value?(r(),i(u,{key:0,class:"expand-arrow-tap",onClick:a[0]||(a[0]=e=>Z.value=!Z.value)},{default:t(()=>[_(n,{class:"expand-arrow-img",src:Z.value?h(O):h(P),mode:"aspectFit"},null,8,["src"])]),_:1})):g("",!0)]),_:1}),_(u,{class:k(["notice-block-body judge-notice-reserve",{"is-collapsed":z.value&&!Z.value}])},{default:t(()=>[_(v,{class:"notice-inline-rich",nodes:K.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):g("",!0)]),_:1}),R.value?(r(),i(u,{key:0,class:"card"},{default:t(()=>[_(u,{class:"mode-row"},{default:t(()=>[_(o,{class:"mode-label"},{default:t(()=>[f("预约类型")]),_:1}),_(u,{class:"mode-btns"},{default:t(()=>[ae.value?(r(),i(u,{key:0,class:k(["mode-pill",{on:"individual"===D.value.booking_type}]),onClick:se},{default:t(()=>[f("个人")]),_:1},8,["class"])):g("",!0),le.value?(r(),i(u,{key:1,class:k(["mode-pill",{on:"group"===D.value.booking_type}]),onClick:ve},{default:t(()=>[f(m(ue.value),1)]),_:1},8,["class"])):g("",!0)]),_:1})]),_:1}),oe.value?(r(),i(u,{key:0,class:"count-row"},{default:t(()=>[_(o,{class:"count-name"},{default:t(()=>[f("参观人数")]),_:1}),_(u,{class:"stepper"},{default:t(()=>[_(u,{class:k(["step-btn",{disabled:ie.value}]),onClick:de},{default:t(()=>[f("−")]),_:1},8,["class"]),_(c,{modelValue:D.value.people_count,"onUpdate:modelValue":a[1]||(a[1]=e=>D.value.people_count=e),modelModifiers:{number:!0},class:"step-val",type:"number",onBlur:a[2]||(a[2]=e=>ne())},null,8,["modelValue"]),_(u,{class:k(["step-btn",{disabled:te.value}]),onClick:re},{default:t(()=>[f("+")]),_:1},8,["class"])]),_:1})]),_:1})):g("",!0)]),_:1})):g("",!0),_(u,{class:"card"},{default:t(()=>[_(u,{class:"card-hd"},{default:t(()=>[f("联系人信息")]),_:1}),_(u,{class:"form-row"},{default:t(()=>[_(o,{class:"form-label"},{default:t(()=>[f("联系人")]),_:1}),_(c,{modelValue:D.value.visitor_name,"onUpdate:modelValue":a[3]||(a[3]=e=>D.value.visitor_name=e),class:"form-input",placeholder:"请输入姓名","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(u,{class:"form-row last"},{default:t(()=>[_(o,{class:"form-label"},{default:t(()=>[f("手机号")]),_:1}),_(c,{modelValue:D.value.visitor_phone,"onUpdate:modelValue":a[4]||(a[4]=e=>D.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"输入手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),_(u,{class:"safe-bottom"})]),_:1}),_(u,{class:"action-bar"},{default:t(()=>[_(j,{class:"btn primary",disabled:!J.value||L.value||F.value,onClick:_e},{default:t(()=>[f(m(L.value?"提交中...":"确认预约"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-c6f7a84c"]]);export{q as default}; diff --git a/public/h5/assets/pages-activity-reserve.GaDhZhMR.js b/public/h5/assets/pages-activity-reserve.GaDhZhMR.js new file mode 100644 index 0000000..5e2512e --- /dev/null +++ b/public/h5/assets/pages-activity-reserve.GaDhZhMR.js @@ -0,0 +1 @@ +import{d as e,r as a,n as l,w as u,V as o,c as t,f as i,q as n,i as s,M as v,N as c,O as d,b as r,l as _,S as p,j as f,t as m,m as y,x as b,y as h,k as g,v as k,$ as x,I as M,P as w,a8 as N,a4 as j,a5 as V,a6 as $,u as C,_ as A}from"./index-D9YO76Ut.js";import{n as B,o as T}from"./content.CWxBtEbN.js";import{g as P}from"./profile.DNiRgAnN.js";import{l as S}from"./localProfile.DAR2ddcd.js";import{b as U}from"./richText.Cl1iMeI3.js";import{i as I,a as O}from"./icon_up.DJ5zmdk8.js";const q=A(e({__name:"reserve",setup(e){const A=a(0),q=a(0),z=a(!1),F=a(!1),R=a(null),D=a(!0),E=a(!1),G=a({activity_day_id:0,visitor_name:"",visitor_phone:"",booking_type:"individual",people_count:1}),H=l(()=>{var e;return((null==(e=R.value)?void 0:e.days)||[]).find(e=>e.id===G.value.activity_day_id)}),J=l(()=>{const e=H.value;return!0===(null==e?void 0:e.is_bookable)}),K=l(()=>{const e=H.value;return!e||"number"!=typeof e.available_count||Number.isNaN(e.available_count)?null:Math.max(0,Math.floor(e.available_count))}),L=l(()=>!!G.value.activity_day_id&&J.value&&!!G.value.visitor_name&&/^1\d{10}$/.test(G.value.visitor_phone)),Q=l(()=>{var e,a;return U(null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.reservation_notice)});u(Q,()=>{D.value=!0,j(()=>{setTimeout(()=>{var e;const a=null==(e=V())?void 0:e.proxy,l=$();a&&l.in(a);const u=C(187);l.select(".judge-notice-reserve").boundingClientRect(),l.exec(e=>{const[a]=e||[];E.value=!!(a&&a.height&&a.height>u+1),E.value?D.value=!1:D.value=!0})},120)})});const W=l(()=>{var e,a;return String((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.booking_audience)||"both")}),X=l(()=>{var e,a;return Math.max(1,Number((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.min_people_per_order)||1))}),Y=l(()=>{var e,a;const l=Math.max(1,Number((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.max_people_per_order)||1));return Math.max(l,X.value)}),Z=l(()=>{const e=Y.value,a=K.value;return null===a?e:Math.min(e,Math.max(0,a))}),ee=l(()=>{var e,a;return(null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.booking_modes)||["individual","group"]}),ae=l(()=>"group"!==W.value),le=l(()=>"individual"!==W.value),ue=l(()=>{const e=X.value,a=Y.value,l=Z.value,u=K.value;return 1===e&&1===a?"团体":null!=u&&u"group"===W.value||"both"===W.value&&"group"===G.value.booking_type),te=l(()=>oe.value&&Math.floor(Number(G.value.people_count)||X.value)<=X.value),ie=l(()=>oe.value&&Math.floor(Number(G.value.people_count)||X.value)>=Z.value);function ne(){if("individual"===W.value)return G.value.booking_type="individual",void(G.value.people_count=1);if("group"===W.value?G.value.booking_type="group":ee.value.includes(G.value.booking_type)||(G.value.booking_type="individual"),"individual"===G.value.booking_type)return void(G.value.people_count=1);const e=X.value,a=Z.value,l=Math.floor(Number(G.value.people_count||0)),u=Math.max(a,e);G.value.people_count=Math.min(u,Math.max(e,l||e))}function se(){G.value.booking_type="individual",ne()}function ve(){G.value.booking_type="group",ne()}async function ce(){var e;if(A.value){z.value=!0;try{R.value=await B(A.value);const a=(null==(e=R.value)?void 0:e.days)||[];q.value&&a.some(e=>e.id===q.value)?G.value.activity_day_id=q.value:function(){var e;const a=(null==(e=R.value)?void 0:e.days)||[];if(!a.length)return void(G.value.activity_day_id=0);const l=a.filter(e=>e.is_bookable);l.length?G.value.activity_day_id=l[0].id:G.value.activity_day_id=a[0].id}(),ne(),await async function(){if(v(c.accessToken))try{const e=await P();return(null==e?void 0:e.real_name)&&(G.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&(G.value.visitor_phone=e.phone))}catch{}const e=S();(null==e?void 0:e.real_name)&&(G.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&(G.value.visitor_phone=e.phone)}()}catch(a){n({title:(null==a?void 0:a.message)||"加载预约信息失败",icon:"none"})}finally{z.value=!1}}}function de(){te.value||(G.value.people_count=Math.max(X.value,(Number(G.value.people_count)||X.value)-1),ne())}function re(){ie.value||(G.value.people_count=Math.min(Z.value,(Number(G.value.people_count)||X.value)+1),ne())}async function _e(){if(A.value)if(J.value)if(L.value){if(ne(),"group"===G.value.booking_type){const e=Z.value;if(G.value.people_counte)return void n({title:`人数需在 ${X.value}-${e} 之间`,icon:"none"})}F.value=!0;try{await T(A.value,G.value),n({title:"预约成功",icon:"success"}),setTimeout(()=>{N({url:`/pages/activity/detail?id=${A.value}`})},500)}catch(e){const a=(null==e?void 0:e.errors)||{},l=Array.isArray(a.activity_day_id)&&a.activity_day_id[0]||Array.isArray(a.visitor_phone)&&a.visitor_phone[0]||""||("string"==typeof(null==e?void 0:e.message)?e.message:"")||Object.keys(a).map(e=>Array.isArray(a[e])?a[e][0]:"").find(Boolean)||"预约失败";n({title:l,icon:"none"})}finally{F.value=!1}}else n({title:"请完整填写预约信息",icon:"none"});else n({title:"当前场次不可预约,请返回活动详情重新选择",icon:"none"})}return u(()=>G.value.activity_day_id,()=>{R.value&&ne()}),o(e=>{A.value=Number((null==e?void 0:e.id)||0),q.value=Number((null==e?void 0:e.day_id)||0),ce()}),(e,a)=>{const l=d("SubPageBackBtn"),u=s,o=y,n=b,v=x,c=M,N=p,j=w;return r(),t(u,{class:"page-wrap"},{default:i(()=>[_(l),_(N,{"scroll-y":"",class:"page"},{default:i(()=>[z.value?(r(),t(u,{key:0,class:"loading-tip"},{default:i(()=>[f("加载中…")]),_:1})):(r(),t(u,{key:1,class:"content"},{default:i(()=>[_(u,{class:"card"},{default:i(()=>[_(u,{class:"act-title"},{default:i(()=>{var e,a;return[f(m((null==(a=null==(e=R.value)?void 0:e.activity)?void 0:a.title)||"活动预约"),1)]}),_:1}),_(u,{class:"field-label"},{default:i(()=>[f("预约场次")]),_:1}),H.value?(r(),t(u,{key:0,class:"session-info"},{default:i(()=>[_(o,{class:"session-info-name"},{default:i(()=>[f(m(H.value.session_name||"场次"),1)]),_:1}),_(o,{class:"session-info-line"},{default:i(()=>[f("场次时间:"+m(H.value.time_display||"-"),1)]),_:1}),_(o,{class:"session-info-line"},{default:i(()=>[f(m(H.value.enrolled_count_text||"已报名数:"+(Number(H.value.booked_count)||0)),1)]),_:1})]),_:1})):(r(),t(u,{key:1,class:"session-info session-info--empty"},{default:i(()=>[f("暂无场次信息")]),_:1})),Q.value?(r(),t(u,{key:2,class:"notice-block"},{default:i(()=>[_(u,{class:"sec-title-row notice-head-row"},{default:i(()=>[_(o,{class:"notice-label"},{default:i(()=>[f("预约须知")]),_:1}),E.value?(r(),t(u,{key:0,class:"expand-arrow-tap",onClick:a[0]||(a[0]=e=>D.value=!D.value)},{default:i(()=>[_(n,{class:"expand-arrow-img",src:D.value?h(I):h(O),mode:"aspectFit"},null,8,["src"])]),_:1})):g("",!0)]),_:1}),_(u,{class:k(["notice-block-body judge-notice-reserve",{"is-collapsed":E.value&&!D.value}])},{default:i(()=>[_(v,{class:"notice-inline-rich",nodes:Q.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):g("",!0)]),_:1}),R.value?(r(),t(u,{key:0,class:"card"},{default:i(()=>[_(u,{class:"mode-row"},{default:i(()=>[_(o,{class:"mode-label"},{default:i(()=>[f("预约类型")]),_:1}),_(u,{class:"mode-btns"},{default:i(()=>[ae.value?(r(),t(u,{key:0,class:k(["mode-pill",{on:"individual"===G.value.booking_type}]),onClick:se},{default:i(()=>[f("个人")]),_:1},8,["class"])):g("",!0),le.value?(r(),t(u,{key:1,class:k(["mode-pill",{on:"group"===G.value.booking_type}]),onClick:ve},{default:i(()=>[f(m(ue.value),1)]),_:1},8,["class"])):g("",!0)]),_:1})]),_:1}),oe.value?(r(),t(u,{key:0,class:"count-row"},{default:i(()=>[_(o,{class:"count-name"},{default:i(()=>[f("参观人数")]),_:1}),_(u,{class:"stepper"},{default:i(()=>[_(u,{class:k(["step-btn",{disabled:te.value}]),onClick:de},{default:i(()=>[f("−")]),_:1},8,["class"]),_(c,{modelValue:G.value.people_count,"onUpdate:modelValue":a[1]||(a[1]=e=>G.value.people_count=e),modelModifiers:{number:!0},class:"step-val",type:"number",onBlur:a[2]||(a[2]=e=>ne())},null,8,["modelValue"]),_(u,{class:k(["step-btn",{disabled:ie.value}]),onClick:re},{default:i(()=>[f("+")]),_:1},8,["class"])]),_:1})]),_:1})):g("",!0)]),_:1})):g("",!0),_(u,{class:"card"},{default:i(()=>[_(u,{class:"card-hd"},{default:i(()=>[f("联系人信息")]),_:1}),_(u,{class:"form-row"},{default:i(()=>[_(o,{class:"form-label"},{default:i(()=>[f("联系人")]),_:1}),_(c,{modelValue:G.value.visitor_name,"onUpdate:modelValue":a[3]||(a[3]=e=>G.value.visitor_name=e),class:"form-input",placeholder:"请输入姓名","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(u,{class:"form-row last"},{default:i(()=>[_(o,{class:"form-label"},{default:i(()=>[f("手机号")]),_:1}),_(c,{modelValue:G.value.visitor_phone,"onUpdate:modelValue":a[4]||(a[4]=e=>G.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"输入手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})),_(u,{class:"safe-bottom"})]),_:1}),_(u,{class:"action-bar"},{default:i(()=>[_(j,{class:"btn primary",disabled:!L.value||F.value||z.value,onClick:_e},{default:i(()=>[f(m(F.value?"提交中...":"确认预约"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-c6f7a84c"]]);export{q as default}; diff --git a/public/h5/assets/pages-discover-index.DMFdGkDJ.js b/public/h5/assets/pages-discover-index.Rr3PZ3j4.js similarity index 74% rename from public/h5/assets/pages-discover-index.DMFdGkDJ.js rename to public/h5/assets/pages-discover-index.Rr3PZ3j4.js index 8bf5446..e49bc4a 100644 --- a/public/h5/assets/pages-discover-index.DMFdGkDJ.js +++ b/public/h5/assets/pages-discover-index.Rr3PZ3j4.js @@ -1 +1 @@ -import{d as a,r as s,a as e,G as l,H as t,e as u,f as r,i as o,j as c,k as n,I as i,p as d,q as f,y as m,F as _,z as v,l as p,m as h,v as y,B as g,C as k,J as b,K as x,D as w,_ as j}from"./index-CC6J0dtG.js";import{c as C}from"./content.BfcEEng6.js";import{P as F}from"./poster.C6TYC1FC.js";import{s as V}from"./search.BJnl3YRK.js";const I=j(a({__name:"index",setup(a){const j=s([]),I=s(!1),q=s("");async function z(){I.value=!0;try{j.value=await C({keyword:q.value.trim()||void 0})||[]}catch{j.value=[]}finally{I.value=!1}}function B(){z()}function D(){b().length>1?x({fail:()=>{w({url:"/pages/index/index"})}}):w({url:"/pages/index/index"})}return e(()=>{z()}),l(async()=>{try{await z()}finally{t()}}),(a,s)=>{const e=o,l=i,t=d,b=p;return c(),u(e,{class:"page"},{default:r(()=>[n(e,{class:"filter-section"},{default:r(()=>[n(e,{class:"toolbar"},{default:r(()=>[n(e,{class:"back-btn","hover-class":"back-btn--hover","hover-stay-time":"80",onClick:D},{default:r(()=>[n(e,{class:"back-btn__icon","aria-hidden":"true"})]),_:1}),n(e,{class:"search-wrap"},{default:r(()=>[n(l,{modelValue:q.value,"onUpdate:modelValue":s[0]||(s[0]=a=>q.value=a),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph","confirm-type":"search",onConfirm:B},null,8,["modelValue"]),n(t,{class:"search-icon-img",src:f(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1}),n(e,{class:"section"},{default:r(()=>[(c(!0),m(_,null,v(j.value,a=>(c(),u(e,{key:a.id,class:"tour-card",onClick:s=>{return e=a.id,void k({url:`/pages/study-tour/detail?id=${e}`});var e}},{default:r(()=>[n(e,{class:"tour-img-wrap"},{default:r(()=>[n(t,{class:"tour-img",src:a.cover_image||f(F),mode:"aspectFill"},null,8,["src"])]),_:2},1024),n(e,{class:"tour-body"},{default:r(()=>{var s;return[n(b,{class:"tour-title"},{default:r(()=>[h(y(a.name),1)]),_:2},1024),n(e,{class:"tour-stops-timeline"},{default:r(()=>[(c(!0),m(_,null,v(a.venue_names||[],(s,l)=>(c(),u(e,{key:"v-"+a.id+"-"+l,class:"tour-stop-row"},{default:r(()=>[n(e,{class:"tour-timeline-axis"},{default:r(()=>{var s;return[n(e,{class:"tour-dot-cell"},{default:r(()=>[n(e,{class:"tour-tl-dot"})]),_:1}),Number(l)<((null==(s=a.venue_names)?void 0:s.length)||0)-1?(c(),u(e,{key:0,class:"tour-tl-line"})):g("",!0)]}),_:2},1024),n(b,{class:"tour-stop-name"},{default:r(()=>[h(y(s),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(s=a.tags)?void 0:s.length)?(c(),u(e,{key:0,class:"tour-tags-row"},{default:r(()=>[(c(!0),m(_,null,v(a.tags,(s,e)=>(c(),u(b,{key:"t-"+a.id+"-"+e,class:"tour-tag"},{default:r(()=>[h(y(s),1)]),_:2},1024))),128))]),_:2},1024)):g("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),I.value&&!j.value.length?(c(),u(e,{key:0,class:"hint"},{default:r(()=>[h("加载中…")]),_:1})):g("",!0),I.value||j.value.length?g("",!0):(c(),u(e,{key:1,class:"hint muted"},{default:r(()=>[h("暂无科普四季研学线路推荐")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-e6cee6f0"]]);export{I as default}; +import{d as a,r as s,o as e,H as l,J as t,c as u,f as r,i as o,b as c,l as n,I as i,x as d,y as f,A as m,F as _,B as v,m as p,j as h,t as y,k as g,D as k,K as b,L as x,E as w,_ as j}from"./index-D9YO76Ut.js";import{c as C}from"./content.CWxBtEbN.js";import{P as F}from"./poster.C6TYC1FC.js";import{s as V}from"./search.BJnl3YRK.js";const I=j(a({__name:"index",setup(a){const j=s([]),I=s(!1),A=s("");async function B(){I.value=!0;try{j.value=await C({keyword:A.value.trim()||void 0})||[]}catch{j.value=[]}finally{I.value=!1}}function D(){B()}function E(){b().length>1?x({fail:()=>{w({url:"/pages/index/index"})}}):w({url:"/pages/index/index"})}return e(()=>{B()}),l(async()=>{try{await B()}finally{t()}}),(a,s)=>{const e=o,l=i,t=d,b=p;return c(),u(e,{class:"page"},{default:r(()=>[n(e,{class:"filter-section"},{default:r(()=>[n(e,{class:"toolbar"},{default:r(()=>[n(e,{class:"back-btn","hover-class":"back-btn--hover","hover-stay-time":"80",onClick:E},{default:r(()=>[n(e,{class:"back-btn__icon","aria-hidden":"true"})]),_:1}),n(e,{class:"search-wrap"},{default:r(()=>[n(l,{modelValue:A.value,"onUpdate:modelValue":s[0]||(s[0]=a=>A.value=a),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph","confirm-type":"search",onConfirm:D},null,8,["modelValue"]),n(t,{class:"search-icon-img",src:f(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1}),n(e,{class:"section"},{default:r(()=>[(c(!0),m(_,null,v(j.value,a=>(c(),u(e,{key:a.id,class:"tour-card",onClick:s=>{return e=a.id,void k({url:`/pages/study-tour/detail?id=${e}`});var e}},{default:r(()=>[n(e,{class:"tour-img-wrap"},{default:r(()=>[n(t,{class:"tour-img",src:a.cover_image||f(F),mode:"aspectFill"},null,8,["src"])]),_:2},1024),n(e,{class:"tour-body"},{default:r(()=>{var s;return[n(b,{class:"tour-title"},{default:r(()=>[h(y(a.name),1)]),_:2},1024),n(e,{class:"tour-stops-timeline"},{default:r(()=>[(c(!0),m(_,null,v(a.venue_names||[],(s,l)=>(c(),u(e,{key:"v-"+a.id+"-"+l,class:"tour-stop-row"},{default:r(()=>[n(e,{class:"tour-timeline-axis"},{default:r(()=>{var s;return[n(e,{class:"tour-dot-cell"},{default:r(()=>[n(e,{class:"tour-tl-dot"})]),_:1}),Number(l)<((null==(s=a.venue_names)?void 0:s.length)||0)-1?(c(),u(e,{key:0,class:"tour-tl-line"})):g("",!0)]}),_:2},1024),n(b,{class:"tour-stop-name"},{default:r(()=>[h(y(s),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(s=a.tags)?void 0:s.length)?(c(),u(e,{key:0,class:"tour-tags-row"},{default:r(()=>[(c(!0),m(_,null,v(a.tags,(s,e)=>(c(),u(b,{key:"t-"+a.id+"-"+e,class:"tour-tag"},{default:r(()=>[h(y(s),1)]),_:2},1024))),128))]),_:2},1024)):g("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128)),I.value&&!j.value.length?(c(),u(e,{key:0,class:"hint"},{default:r(()=>[h("加载中…")]),_:1})):g("",!0),I.value||j.value.length?g("",!0):(c(),u(e,{key:1,class:"hint muted"},{default:r(()=>[h("暂无科普四季研学线路推荐")]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-e6cee6f0"]]);export{I as default}; diff --git a/public/h5/assets/pages-index-index.BwLscgpE.js b/public/h5/assets/pages-index-index.BwLscgpE.js deleted file mode 100644 index ebc1c9c..0000000 --- a/public/h5/assets/pages-index-index.BwLscgpE.js +++ /dev/null @@ -1 +0,0 @@ -import{h as e,d as l,r as a,c as t,w as u,o as n,a as s,b as i,e as o,f as r,s as c,g as v,i as d,u as f,j as m,k as _,S as p,l as g,n as b,m as y,I as k,p as h,q as N,t as C,v as w,x,y as F,F as j,z as $,A as I,B as z,C as S,D as T,_ as A}from"./index-CC6J0dtG.js";import{g as D,t as P,b as V,v as B,n as M,a as q}from"./peopleCounting.CH-rEjWp.js";import{P as L}from"./poster.C6TYC1FC.js";import{s as R}from"./search.BJnl3YRK.js";import{v as Y,g as Z,a as E,m as G,d as Q,b as U}from"./suzhouDistrictPolygons.CpNycQAn.js";import{f as W,a as X,b as H,c as J}from"./activity.CPaCOiZ6.js";import{S as K,t as O,g as ee,T as le,s as ae}from"./TiandituMap.phxVrsFe.js";import{v as te}from"./venueTypes.DuAf5T5V.js";import{v as ue,o as ne,a as se,c as ie}from"./venueThemeColors.DRxjaxXI.js";import{m as oe,a as re}from"./text.BxMbQPAt.js";import"./coordChina.DSiWE9WA.js";function ce(){return e.post("/h5/home/visit",{})}const ve={lat:31.2989,lng:120.5853},de={lat:.085,lng:.098};function fe(e=de){const l=ve,a=e.lat,t=e.lng;return[{latitude:l.lat-a,longitude:l.lng-t},{latitude:l.lat-a,longitude:l.lng+t},{latitude:l.lat+a,longitude:l.lng-t},{latitude:l.lat+a,longitude:l.lng+t}]}const me=.92,_e=A(l({__name:"index",setup(l){const A={backgroundImage:"url(/h5/assets/head-BCNsV_in.png)",backgroundSize:"cover",backgroundPosition:"center top",backgroundRepeat:"no-repeat"},de=a(!1),_e=a(null),pe=a(null),ge=a({latitude:ve.lat,longitude:ve.lng}),be=a(11),ye=a("map"),ke=a(""),he=a("区域"),Ne=a(""),Ce=a("主题"),we=a(""),xe=a("预约模式"),Fe=a(""),je=a("开放模式"),$e=a(""),Ie=a("收费类型"),ze=a(""),Se=a(null),Te=t(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[])a[t.value]=t.label;return a}),Ae=t(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[])a[t.value]=t.label;return a}),De=t(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[])a[t.value]=t.label;return a});function Pe(e){return e?Te.value[e]||e:""}function Ve(e){return e?Ae.value[e]||e:""}function Be(e){return e?De.value[e]||e:""}t(()=>{var e,l;const a={};for(const t of(null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_booking_mode)??[])a[t.value]=t.label;return a});const Me=t(()=>{var e,l;const a=P(pe.value);if(null!=a)return a.toLocaleString();return Number((null==(l=null==(e=_e.value)?void 0:e.stats)?void 0:l.in_venue_total)??0).toLocaleString()}),qe=t(()=>{var e;const l=pe.value;if(l&&200===l.code&&Array.isArray(l.venues)){const e=V(l.groups),a=[...l.venues].map(l=>{var a,t,u;const n=B(l.venueId),s=null!=n?null==(u=null==(t=null==(a=_e.value)?void 0:a.all_venues)?void 0:t.find(e=>e.id===n))?void 0:u.name:void 0;return{id:n??0,name:q(l,e,s),people_count:M(l.enter,l.exit)}}).filter(e=>e.id>0).sort((e,l)=>l.people_count-e.people_count),t=[];for(let l=0;l<3;l++){const e=a[l];e&&e.people_count>0?t.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):t.push({id:0,name:"",people_count:0,empty:!0})}return t}const a=[...(null==(e=_e.value)?void 0:e.top_live_venues)??[]].sort((e,l)=>Number(l.people_count??0)-Number(e.people_count??0)),t=[];for(let u=0;u<3;u++){const e=a[u];e&&Number(e.people_count)>0?t.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):t.push({id:0,name:"",people_count:0,empty:!0})}return t}),Le=t(()=>{var e,l;return[{label:"区域",value:""},...((null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.district)??[]).map(e=>({label:e.label,value:e.value}))]}),Re=t(()=>{var e,l;return[{label:"主题",value:""},...((null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),Ye=t(()=>{var e,l;return[{label:"预约模式",value:""},...((null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Ze=t(()=>{var e,l;return[{label:"开放模式",value:""},...((null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Ee=t(()=>{var e,l;return[{label:"收费类型",value:""},...((null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Ge(e,l){const a=e.findIndex(e=>e.value===l);return a>=0?a:0}const Qe=t(()=>Ge(Le.value,Ne.value)),Ue=t(()=>Ge(Re.value,we.value)),We=t(()=>Ge(Ye.value,Fe.value)),Xe=t(()=>Ge(Ze.value,$e.value)),He=t(()=>Ge(Ee.value,ze.value));function Je(e){const l=Le.value[Number(e.detail.value)];l&&(he.value=l.label,Ne.value=l.value)}function Ke(e){const l=Re.value[Number(e.detail.value)];l&&(Ce.value=l.label,we.value=l.value)}function Oe(e){const l=Ye.value[Number(e.detail.value)];l&&(xe.value=l.label,Fe.value=l.value)}function el(e){const l=Ze.value[Number(e.detail.value)];l&&(je.value=l.label,$e.value=l.value)}function ll(e){const l=Ee.value[Number(e.detail.value)];l&&(Ie.value=l.label,ze.value=l.value)}function al(e){return te(e)}function tl(e){const l=Number(e.sort);return Number.isFinite(l)?l:0}function ul(e,l){const a=tl(e)-tl(l);return 0!==a?a:e.id-l.id}function nl(e){const l=[];for(const a of e){const e=Number(a.lat),t=Number(a.lng);Number.isFinite(e)&&Number.isFinite(t)&&l.push({lat:e,lng:t})}return l}const sl=t(()=>{var e;const l=ke.value.trim(),a=(null==(e=_e.value)?void 0:e.all_venues)??[],t=l&&a.some(e=>oe(e.name,l));return a.filter(e=>{if(!1===e.is_active)return!1;if(Ne.value&&!Y(String(e.district||""),Ne.value))return!1;if(we.value&&!al(e).includes(we.value))return!1;if(Fe.value&&(e.booking_mode||"")!==Fe.value)return!1;if($e.value&&(e.open_mode||"")!==$e.value)return!1;if("free"===ze.value&&"free"!==(e.ticket_type||""))return!1;if("paid"===ze.value&&"paid"!==(e.ticket_type||""))return!1;if(l)if(t){if(!oe(e.name,l))return!1}else{const a=`${e.name||""}${e.address||""}`;if(!re(a,l,String(e.name||"")))return!1}return!0})}),il=t(()=>[...sl.value].sort(ul)),ol=t(()=>{if(!ke.value.trim())return null;const e=il.value;if(1!==e.length)return null;const l=e[0],a=Number(l.lat),t=Number(l.lng);return Number.isFinite(a)&&Number.isFinite(t)?l:null}),rl=t(()=>{var e;if(!ke.value.trim())return null;if(null==(e=Ne.value)?void 0:e.trim())return null;const l=il.value;if(l.length<2)return null;for(const a of l){const e=Number(a.lat),l=Number(a.lng);if(Number.isFinite(e)&&Number.isFinite(l))return a}return null}),cl=t(()=>{var e,l;const a=null==(e=Ne.value)?void 0:e.trim();return a?((null==(l=_e.value)?void 0:l.map_venues)??[]).filter(e=>Y(String(e.district||""),a)):[]}),vl=t(()=>{var e;if(!(null==(e=Ne.value)?void 0:e.trim()))return null;const l=Ne.value.trim(),a=Z(l);if(null==a?void 0:a.length)return a;const t=E(nl(cl.value));return t&&t.length>=3?[t]:null}),dl=t(()=>{const e=vl.value;return(null==e?void 0:e.length)?e.map(e=>({points:e,strokeWidth:2,strokeColor:"#05C9ACE6",fillColor:"#05C9AC14",zIndex:5})):[]}),fl=t(()=>{var e;if(!(null==(e=Ne.value)?void 0:e.trim()))return[];const l=vl.value,a=[];if(null==l?void 0:l.length)for(const t of l)for(const e of t)a.push({latitude:e.latitude,longitude:e.longitude});if(!a.length){const e=E(nl(cl.value),.012);if(null==e?void 0:e.length)for(const l of e)a.push({latitude:l.latitude,longitude:l.longitude})}return a});function ml(e,l){if(!e.length)return[];let a=1/0,t=-1/0,u=1/0,n=-1/0;for(const c of e)c.latitudet&&(t=c.latitude),c.longituden&&(n=c.longitude);if(!Number.isFinite(a)||t<=a||!Number.isFinite(u)||n<=u)return e.map(e=>({...e}));const s=(a+t)/2,i=(u+n)/2,o=(t-a)/2*l,r=(n-u)/2*l;return[{latitude:s-o,longitude:i-r},{latitude:s-o,longitude:i+r},{latitude:s+o,longitude:i-r},{latitude:s+o,longitude:i+r}]}const _l=t(()=>!!(we.value||Fe.value||$e.value||ze.value||ke.value.trim())),pl=t(()=>{var e,l;if(null==(e=Ne.value)?void 0:e.trim()){const e=fl.value;if(e.length)return ml(e,me)}if(!(null==(l=Ne.value)?void 0:l.trim())&&_l.value&&il.value.length>0){const e=fe().map(e=>({...e})),l=E(nl(il.value),.018);if(null==l?void 0:l.length)for(const a of l)e.push({latitude:a.latitude,longitude:a.longitude});return ml(e,me)}return ml(fe(),me)}),gl=t(()=>G(Ne.value)),bl=t(()=>{if(ol.value)return 15;const e=gl.value;return null!=e?e:_l.value?9:be.value}),yl=t(()=>{if(null!=gl.value)return;if(_l.value)return;const e=pl.value;return e.length?e:void 0}),kl=t(()=>{const e=ol.value;if(e)return`s-${e.id}-${ke.value.trim()}`;const l=rl.value;if(l)return`m-${l.id}-${ke.value.trim()}`;const a=gl.value;return null!=a?`d-${Ne.value||""}-${a}`:_l.value?"z9":"fit"});t(()=>{var e;if((null==(e=Ne.value)?void 0:e.trim())&&fl.value.length)try{const e=f(48);return[e,e,e,e]}catch{return[16,16,16,16]}});const hl=t(()=>!!(Ne.value||we.value||Fe.value||$e.value||ze.value||ke.value.trim())),Nl=t(()=>{var e,l;if(null==Se.value)return null;const a=Number(Se.value),t=e=>(null==e?void 0:e.find(e=>Number(e.id)===a))??null;return t(il.value)??t(sl.value)??t(null==(e=_e.value)?void 0:e.map_venues)??t(null==(l=_e.value)?void 0:l.all_venues)??null});function Cl(e){var l,a;return ie(e,null==(a=null==(l=_e.value)?void 0:l.venue_dicts)?void 0:a.venue_type)}u([il,Ne,vl,_l,ke],()=>{var e,l;const a=ol.value;if(a)return void(ge.value={latitude:Number(a.lat),longitude:Number(a.lng)});const t=rl.value;if(t)return void(ge.value={latitude:Number(t.lat),longitude:Number(t.lng)});const u=vl.value;if((null==(e=Ne.value)?void 0:e.trim())&&(null==u?void 0:u.length)){const e=U(u);return void(ge.value={latitude:e.latitude,longitude:e.longitude})}(null==(l=Ne.value)?void 0:l.trim())||_l.value,Yl()}),u(sl,e=>{if(null==Se.value)return;const l=Number(Se.value);e.some(e=>Number(e.id)===l)||(Se.value=null)}),u(ye,e=>{if("list"===e&&(Se.value=null),"map"===e){const e=G(Ne.value);null!=e?be.value=e:_l.value?be.value=9:be.value=11}}),u([Ne,we,Fe,$e,ze,ke],()=>{"map"===ye.value&&setTimeout(()=>{const e=G(Ne.value);null!=e?be.value=e:_l.value?be.value=9:be.value=11},100)});let wl=null;u([il,hl],()=>{wl&&(clearTimeout(wl),wl=null),"map"===ye.value&&(!hl.value||il.value.length>0||(wl=setTimeout(()=>{wl=null,v({title:"暂无符合条件的场馆",icon:"none",duration:2e3})},150)))});const xl=t(()=>Math.round(f(K))),Fl=t(()=>{const e=bl.value>=13;return il.value.map(l=>{const a=(l.name||"").trim(),t="苏州科技馆"===a,u=O(l,()=>function(e){var l,a;if(!e)return"#05c9ac";const t=te(e)[0];if(t&&(null==(a=null==(l=_e.value)?void 0:l.venue_dicts)?void 0:a.venue_type)){const e=_e.value.venue_dicts.venue_type.find(e=>e.value===t);if(null==e?void 0:e.color)return e.color}return e.venue_type_color||"#05c9ac"}(l)),n=t?"/h5/assets/szkjg-BA5yQZYG.jpg":ee(u),s={id:l.id,latitude:l.lat,longitude:l.lng,width:t?xl.value:28,height:t?xl.value:32,iconPath:n,anchor:t?{x:.5,y:.5}:{x:.5,y:1}};return e&&a&&(s.label={content:a,color:"#1d2129",fontSize:11,bgColor:"rgba(255,255,255,0.92)",padding:3,borderRadius:4,anchorX:0,anchorY:-4}),s})});function jl(e){_l.value||null==G(Ne.value)&&Number.isFinite(e)&&(be.value=e)}let $l=!1,Il=0;function zl(e){const l=Number(e);Number.isFinite(l)&&(Il=Date.now(),Se.value=l,$l=!0,setTimeout(()=>{$l=!1},500))}function Sl(e){const l=function(e){if("number"==typeof e&&Number.isFinite(e))return e;if(!e||"object"!=typeof e)return null;const l=e;if("number"==typeof l.detail&&Number.isFinite(l.detail))return l.detail;const a=l.detail;return a&&"object"==typeof a&&"number"==typeof a.markerId?a.markerId:"number"==typeof l.markerId?l.markerId:null}(e);null!=l&&zl(l)}function Tl(){$l||Date.now()-Il<500||(Se.value=null)}function Al(){Se.value=null}function Dl(e){e&&S({url:`/pages/venue/detail?id=${e}`})}function Pl(){S({url:"/pages/stats/index"})}function Vl(){T({url:"/pages/activity/index"})}function Bl(){S({url:"/pages/discover/index"})}function Ml(e){const l=e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:J(e.start_at,e.end_at)}function ql(e){return X(e)}function Ll(e){return H(Ml(e))}function Rl(e){return`st-${Ml(e)}`}function Yl(){ge.value={latitude:ve.lat,longitude:ve.lng}}async function Zl(){de.value=!0;try{const l=await e.get("/h5/home",{},{withAuth:!1});_e.value=l,Yl(),await c().catch(()=>{}),ce().catch(()=>{})}catch(l){v({title:(null==l?void 0:l.message)||"加载首页失败",icon:"none"})}finally{de.value=!1}}return n(()=>{ae(zl),async function(){try{pe.value=await D()}catch{pe.value=null}}(),ce().catch(()=>{})}),s(async()=>{ae(zl),await Zl()}),i(()=>{ae(null)}),(e,l)=>{const a=d,t=g,u=k,n=h,s=C,i=p;return m(),o(a,{class:"page-root"},{default:r(()=>[_(i,{"scroll-y":"",class:"page"},{default:r(()=>{var e,c;return[_(a,{class:"hero"},{default:r(()=>[_(a,{class:"hero-brand",style:A}),_(a,{class:"hero-content"},{default:r(()=>[_(a,{class:"map-section"},{default:r(()=>[_(a,{class:"toolbar"},{default:r(()=>[_(a,{class:"tabs"},{default:r(()=>[_(t,{class:b(["tab",{on:"map"===ye.value}]),onClick:l[0]||(l[0]=e=>ye.value="map")},{default:r(()=>[y("地图")]),_:1},8,["class"]),_(t,{class:b(["tab",{on:"list"===ye.value}]),onClick:l[1]||(l[1]=e=>ye.value="list")},{default:r(()=>[y("列表")]),_:1},8,["class"])]),_:1}),_(a,{class:"search-wrap"},{default:r(()=>[_(u,{modelValue:ke.value,"onUpdate:modelValue":l[2]||(l[2]=e=>ke.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),_(n,{class:"search-icon-img",src:N(R),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),_(a,{class:"filters"},{default:r(()=>[_(s,{mode:"selector",range:Le.value,"range-key":"label",value:Qe.value,onChange:Je},{default:r(()=>[_(a,{class:"f-item"},{default:r(()=>[_(t,{class:"f-item-text"},{default:r(()=>[y(w(he.value),1)]),_:1}),_(n,{class:"f-item-arrow",src:N(Q),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),_(s,{mode:"selector",range:Re.value,"range-key":"label",value:Ue.value,onChange:Ke},{default:r(()=>[_(a,{class:"f-item"},{default:r(()=>[_(t,{class:"f-item-text"},{default:r(()=>[y(w(Ce.value),1)]),_:1}),_(n,{class:"f-item-arrow",src:N(Q),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),_(s,{mode:"selector",range:Ee.value,"range-key":"label",value:He.value,onChange:ll},{default:r(()=>[_(a,{class:"f-item"},{default:r(()=>[_(t,{class:"f-item-text"},{default:r(()=>[y(w(Ie.value),1)]),_:1}),_(n,{class:"f-item-arrow",src:N(Q),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),_(s,{mode:"selector",range:Ye.value,"range-key":"label",value:We.value,onChange:Oe},{default:r(()=>[_(a,{class:"f-item"},{default:r(()=>[_(t,{class:"f-item-text"},{default:r(()=>[y(w(xe.value),1)]),_:1}),_(n,{class:"f-item-arrow",src:N(Q),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),_(s,{mode:"selector",range:Ze.value,"range-key":"label",value:Xe.value,onChange:el},{default:r(()=>[_(a,{class:"f-item"},{default:r(()=>[_(t,{class:"f-item-text"},{default:r(()=>[y(w(je.value),1)]),_:1}),_(n,{class:"f-item-arrow",src:N(Q),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1}),"map"===ye.value?(m(),o(a,{key:0,class:"map-area"},{default:r(()=>[_(a,{class:"map-wrap",onTouchmove:l[3]||(l[3]=x(()=>{},["stop"]))},{default:r(()=>[(m(),o(le,{key:kl.value,class:"main-map",latitude:ge.value.latitude,longitude:ge.value.longitude,zoom:bl.value,markers:Fl.value,polygons:dl.value,"fit-points":yl.value||[],"fit-key":kl.value,"use-fit-points":!(!yl.value||!yl.value.length),"marker-tap-fn":zl,onZoomchange:jl,onMarkertap:Sl,onClick:Tl},null,8,["latitude","longitude","zoom","markers","polygons","fit-points","fit-key","use-fit-points"]))]),_:1}),null!=Se.value&&Nl.value?(m(),o(a,{key:0,class:"venue-sheet",onClick:l[5]||(l[5]=x(()=>{},["stop"]))},{default:r(()=>[_(a,{class:"venue-sheet-inner"},{default:r(()=>[_(a,{class:"sheet-bar"}),_(a,{class:"sheet-row"},{default:r(()=>[_(n,{class:"sheet-cover",src:Nl.value.image||N(L),mode:"aspectFill"},null,8,["src"]),_(a,{class:"sheet-main"},{default:r(()=>[_(t,{class:"sheet-name"},{default:r(()=>[y(w(Nl.value.name),1)]),_:1}),_(a,{class:"sheet-tags-line"},{default:r(()=>[_(a,{class:"sheet-meta"},{default:r(()=>{var e,l;return[(m(!0),F(j,null,$(al(Nl.value),(e,l)=>(m(),o(t,{key:"svm-"+l,class:"sheet-type",style:I(N(ue)(Cl(e)))},{default:r(()=>[y(w(Pe(e)||e),1)]),_:2},1032,["style"]))),128)),Nl.value.ticket_type?(m(),o(t,{key:0,class:b(["sheet-ticket","paid"===Nl.value.ticket_type?"paid":"free"])},{default:r(()=>[y(w(Ve(Nl.value.ticket_type)),1)]),_:1},8,["class"])):z("",!0),Nl.value.open_mode?(m(),o(t,{key:1,class:"open-mode-tag",style:I(N(ne)(Nl.value.open_mode,null==(l=null==(e=_e.value)?void 0:e.venue_dicts)?void 0:l.venue_open_mode))},{default:r(()=>[y(w(Be(Nl.value.open_mode)),1)]),_:1},8,["style"])):z("",!0)]}),_:1})]),_:1})]),_:1})]),_:1}),_(a,{class:"sheet-actions"},{default:r(()=>[_(a,{class:"sheet-btn ghost",onClick:Al},{default:r(()=>[y("关闭")]),_:1}),Nl.value?(m(),o(a,{key:0,class:"sheet-btn primary",onClick:l[4]||(l[4]=e=>Dl(Nl.value.id))},{default:r(()=>[y("详情")]),_:1})):z("",!0)]),_:1})]),_:1})]),_:1})):z("",!0)]),_:1})):(m(),o(i,{key:1,"scroll-y":"",class:"venue-list-scroll"},{default:r(()=>[(m(!0),F(j,null,$(il.value,e=>(m(),o(a,{key:e.id,class:"venue-row",onClick:l=>Dl(e.id)},{default:r(()=>[_(n,{class:"venue-thumb",src:e.image||N(L),mode:"aspectFill"},null,8,["src"]),_(a,{class:"venue-info"},{default:r(()=>[_(t,{class:"venue-name"},{default:r(()=>[y(w(e.name),1)]),_:2},1024),_(a,{class:"venue-tags-line"},{default:r(()=>[_(a,{class:"venue-meta"},{default:r(()=>{var l,a;return[(m(!0),F(j,null,$(al(e),(l,a)=>(m(),o(t,{key:"vml-"+e.id+"-"+a,class:"venue-type-pill",style:I(N(ue)(Cl(l)))},{default:r(()=>[y(w(Pe(l)||l),1)]),_:2},1032,["style"]))),128)),e.ticket_type?(m(),o(t,{key:0,class:b(["venue-ticket-pill","paid"===e.ticket_type?"paid":"free"])},{default:r(()=>[y(w(Ve(e.ticket_type)),1)]),_:2},1032,["class"])):z("",!0),e.open_mode?(m(),o(t,{key:1,class:"open-mode-tag",style:I(N(ne)(e.open_mode,null==(a=null==(l=_e.value)?void 0:l.venue_dicts)?void 0:a.venue_open_mode))},{default:r(()=>[y(w(Be(e.open_mode)),1)]),_:2},1032,["style"])):z("",!0)]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),il.value.length?z("",!0):(m(),o(a,{key:0,class:"empty-tip"},{default:r(()=>[y(w(hl.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1}))]),_:1})]),_:1})]),_:1}),(m(),o(a,{key:0,class:"stat-section"},{default:r(()=>[_(a,{class:"stat-card"},{default:r(()=>[_(a,{class:"stat-card__body"},{default:r(()=>[_(a,{class:"stat-main"},{default:r(()=>[_(a,{class:"stat-left"},{default:r(()=>[_(t,{class:"stat-label"},{default:r(()=>[y("在馆实时总人数")]),_:1}),_(a,{class:"stat-note"},{default:r(()=>[y("(纳入市科协人数统计系统场馆)")]),_:1}),_(t,{class:"stat-num"},{default:r(()=>[y(w(Me.value)+" 人",1)]),_:1})]),_:1}),_(a,{class:"stat-right"},{default:r(()=>[_(a,{class:"live-list"},{default:r(()=>[(m(!0),F(j,null,$(qe.value,(e,l)=>(m(),o(a,{key:"live-"+l,class:b(["live-venue-row",{"is-empty":e.empty}]),onClick:x(l=>{var a;(a=e).empty||Dl(a.id)},["stop"])},{default:r(()=>[_(a,{class:"live-row-one"},{default:r(()=>[_(t,{class:"live-name"},{default:r(()=>[y(w(e.empty?"—":e.name),1)]),_:2},1024),_(t,{class:"live-count"},{default:r(()=>[y(w(e.empty?"—":e.people_count+" 人"),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),_(a,{class:"stat-foot",onClick:x(Pl,["stop"])},{default:r(()=>[_(t,{class:"stat-foot-link"},{default:r(()=>[y("实时人数排行 >")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})),_(a,{class:"section"},{default:r(()=>[_(a,{class:"sec-head"},{default:r(()=>[_(a,{class:"sec-bar"}),_(t,{class:"sec-title"},{default:r(()=>[y("热门活动")]),_:1}),_(t,{class:"sec-more",onClick:Vl},{default:r(()=>[y("更多 >")]),_:1})]),_:1}),_(i,{"scroll-x":"",class:"act-scroll","show-scrollbar":!1,"enable-flex":!0},{default:r(()=>[_(a,{class:"act-scroll-row"},{default:r(()=>{var e;return[(m(!0),F(j,null,$((null==(e=_e.value)?void 0:e.hot_activities)??[],e=>(m(),o(a,{key:(e.list_kind||"activity")+"-"+e.id,class:"act-card",onClick:l=>function(e){"ticket_grab"!==e.list_kind?S({url:`/pages/activity/detail?id=${e.id}`}):S({url:`/pages/ticket-grab/detail?id=${e.id}`})}(e)},{default:r(()=>[_(a,{class:"act-img-wrap"},{default:r(()=>{var l,u,s;return[_(n,{class:"act-img",src:e.image||N(L),mode:"aspectFill"},null,8,["src"]),_(a,{class:b(["act-schedule-tag",Rl(e)])},{default:r(()=>[y(w(Ll(e)),1)]),_:2},1032,["class"]),"ticket_grab"===e.list_kind&&e.can_grab_today?(m(),o(a,{key:0,class:"act-book-badge is-grab"},{default:r(()=>[_(t,{class:"act-book-text is-grab"},{default:r(()=>[y("抢票")]),_:1})]),_:1})):ql(e)?(m(),o(a,{key:1,class:b(["act-book-badge",{"is-bookable":"brand"===(null==(l=ql(e))?void 0:l.kind),"is-muted":"muted"===(null==(u=ql(e))?void 0:u.kind),"is-accent":"accent"===(null==(s=ql(e))?void 0:s.kind)}])},{default:r(()=>{var l,a,u;return[_(t,{class:b(["act-book-text",{"is-bookable":"brand"===(null==(l=ql(e))?void 0:l.kind),"is-muted":"muted"===(null==(a=ql(e))?void 0:a.kind),"is-accent":"accent"===(null==(u=ql(e))?void 0:u.kind)}])},{default:r(()=>{var l;return[y(w(null==(l=ql(e))?void 0:l.text),1)]}),_:2},1032,["class"])]}),_:2},1032,["class"])):z("",!0)]}),_:2},1024),_(a,{class:"act-body"},{default:r(()=>[_(t,{class:"act-title"},{default:r(()=>[y(w(e.title),1)]),_:2},1024),_(a,{class:"act-tags"},{default:r(()=>[(m(!0),F(j,null,$(e.tags||[],(l,a)=>{var u,n;return m(),o(t,{key:"tag-"+e.id+"-"+a,class:"act-tag-chip",style:I(N(se)(a,null==(n=null==(u=_e.value)?void 0:u.venue_dicts)?void 0:n.venue_type))},{default:r(()=>[y(w(l),1)]),_:2},1032,["style"])}),128))]),_:2},1024),_(t,{class:"act-meta"},{default:r(()=>[y(w(N(W)(e.start_at,e.end_at)),1)]),_:2},1024),"ticket_grab"===e.list_kind?(m(),o(t,{key:0,class:"act-meta"},{default:r(()=>[y(w(Number(e.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(m(),o(t,{key:1,class:"act-meta"},{default:r(()=>[y(w(e.venue_name||e.address||"苏州"),1)]),_:2},1024))]),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})]),_:1})]),_:1}),((null==(c=null==(e=_e.value)?void 0:e.study_tours)?void 0:c.length)??0)>0?(m(),o(a,{key:1,class:"section"},{default:r(()=>{var e;return[_(a,{class:"sec-head"},{default:r(()=>[_(a,{class:"sec-bar"}),_(t,{class:"sec-title"},{default:r(()=>[y("科普四季研学线路推荐")]),_:1}),_(t,{class:"sec-more",onClick:Bl},{default:r(()=>[y("更多 >")]),_:1})]),_:1}),(m(!0),F(j,null,$((null==(e=_e.value)?void 0:e.study_tours)??[],e=>(m(),o(a,{key:e.id,class:"tour-card",onClick:l=>{return a=e.id,void S({url:`/pages/study-tour/detail?id=${a}`});var a}},{default:r(()=>[_(a,{class:"tour-img-wrap"},{default:r(()=>[_(n,{class:"tour-img",src:e.cover_image||N(L),mode:"aspectFill"},null,8,["src"])]),_:2},1024),_(a,{class:"tour-body"},{default:r(()=>{var l;return[_(t,{class:"tour-title"},{default:r(()=>[y(w(e.name),1)]),_:2},1024),_(a,{class:"tour-stops-timeline"},{default:r(()=>[(m(!0),F(j,null,$(e.venue_names,(l,u)=>(m(),o(a,{key:"v-"+e.id+"-"+u,class:"tour-stop-row"},{default:r(()=>[_(a,{class:"tour-timeline-axis"},{default:r(()=>[_(a,{class:"tour-dot-cell"},{default:r(()=>[_(a,{class:"tour-tl-dot"})]),_:1}),u[y(w(l),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(l=e.tags)?void 0:l.length)?(m(),o(a,{key:0,class:"tour-tags-row"},{default:r(()=>[(m(!0),F(j,null,$(e.tags,(l,a)=>{var u,n;return m(),o(t,{key:"t-"+e.id+"-"+a,class:"tour-tag",style:I(N(se)(a,null==(n=null==(u=_e.value)?void 0:u.venue_dicts)?void 0:n.venue_type))},{default:r(()=>[y(w(l),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):z("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})):z("",!0),_(a,{class:"bottom-safe"}),de.value?(m(),o(a,{key:2,class:"loading-mask"},{default:r(()=>[y("加载中...")]),_:1})):z("",!0)]}),_:1})]),_:1})}}}),[["__scopeId","data-v-3cb322be"]]);export{_e as default}; diff --git a/public/h5/assets/pages-index-index.C5qF5PDt.js b/public/h5/assets/pages-index-index.C5qF5PDt.js new file mode 100644 index 0000000..9af8ad7 --- /dev/null +++ b/public/h5/assets/pages-index-index.C5qF5PDt.js @@ -0,0 +1 @@ +import{h as e,d as t,r as l,o as a,a as n,w as u,b as o,c as i,i as s,e as r,f as c,g as d,j as v,t as f,k as m,l as p,m as _,_ as g,n as y,p as b,s as h,q as k,u as w,S as N,v as T,I as C,x as F,y as E,z as I,A as x,F as L,B as $,C as S,D as A,E as z}from"./index-D9YO76Ut.js";import{g as R,t as P,b as M,v as j,n as Z,a as D}from"./peopleCounting.BfwgNXhn.js";import{P as O}from"./poster.C6TYC1FC.js";import{s as V}from"./search.BJnl3YRK.js";import{g as W,w as U,v as K,a as Y,b as B,m as G,d as X,c as Q}from"./suzhouDistrictPolygons.C_blUQfv.js";import{f as q,a as H,b as J,c as ee}from"./activity.CPaCOiZ6.js";import{v as te}from"./venueTypes.DuAf5T5V.js";import{v as le,o as ae,a as ne,c as ue}from"./venueThemeColors.DRxjaxXI.js";import{m as oe,a as ie}from"./text.BxMbQPAt.js";function se(){return e.post("/h5/home/visit",{})}const re={lat:31.2989,lng:120.5853},ce={lat:.085,lng:.098};function de(e=ce){const t=re,l=e.lat,a=e.lng;return[{latitude:t.lat-l,longitude:t.lng-a},{latitude:t.lat-l,longitude:t.lng+a},{latitude:t.lat+l,longitude:t.lng-a},{latitude:t.lat+l,longitude:t.lng+a}]}const ve=new Map,fe="#05c9ac";function me(e){const t=function(e){if(!e||"string"!=typeof e)return fe;let t=e.trim();if(t.startsWith("#")||(t=`#${t}`),/^#[0-9A-Fa-f]{6}$/.test(t))return t;if(/^#[0-9A-Fa-f]{3}$/.test(t)){const e=t[1],l=t[2],a=t[3];return`#${e}${e}${l}${l}${a}${a}`}return fe}(e||"");if(ve.has(t))return ve.get(t);if("undefined"==typeof document)return ve.set(t,""),"";const l=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(`\n\n\n\n`)}`;return ve.set(t,l),l}let pe=null;function _e(e){pe=e}let ge=null;function ye(){return String("ebd6693edf7730d8f8f9a7ba1719f5c1").trim()}function be(e){const t=window.T,l=new t.TileLayer(function(e){return`https://t0.tianditu.gov.cn/vec_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vec&STYLE=default&TILEMATRIXSET=c&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=${e}`}(e),{minZoom:1,maxZoom:18}),a=new t.TileLayer(function(e){return`https://t0.tianditu.gov.cn/cva_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&STYLE=default&TILEMATRIXSET=c&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=${e}`}(e),{minZoom:1,maxZoom:18});return[l,a]}function he(e,t){const l=W(e,t);return new window.T.LngLat(l.lng,l.lat)}function ke(e){const{lng:t,lat:l}=function(e){if(!e)throw new Error("missing lnglat");const t="function"==typeof e.getLng?e.getLng():"number"==typeof e.lng?e.lng:NaN,l="function"==typeof e.getLat?e.getLat():"number"==typeof e.lat?e.lat:NaN;if(!Number.isFinite(t)||!Number.isFinite(l))throw new Error("invalid lnglat");return{lng:t,lat:l}}(e.lnglat),a=U(t,l);return{lat:Number(a.lat.toFixed(6)),lng:Number(a.lng.toFixed(6))}}function we(e){const t=(e||"").trim();if(!t.startsWith("#"))return{color:"#05C9AC",opacity:.9};if(9===t.length){const e=t.slice(0,7),l=parseInt(t.slice(7,9),16)/255;return{color:e,opacity:Number.isFinite(l)?l:.9}}return{color:t.slice(0,7),opacity:.9}}const Ne=g(t({__name:"TiandituMap",props:{latitude:{},longitude:{},zoom:{},markers:{default:()=>[]},polygons:{default:()=>[]},fitPoints:{default:()=>[]},fitKey:{default:""},useFitPoints:{type:Boolean,default:!0},markerTapFn:{}},emits:["venue-marker-tap","markertap","tap","zoomchange"],setup(e,{emit:t}){const g=e,y=t,b=l(null),h=l(""),k=l(!1),w=l(!ye());let N=null,T=[];const C=new WeakMap;let F=[],E=!1,I="",x=!1,L=0;function $(e){var t;const l=Number(e);Number.isFinite(l)&&(L=Date.now()+500,null==(t=g.markerTapFn)||t.call(g,l),function(e){const t=Number(e);Number.isFinite(t)&&(null==pe||pe(t))}(l),y("venue-marker-tap",l),y("markertap",{detail:{markerId:l}}))}function S(e){var t,l;if(!e||"object"!=typeof e)return null;const a=C.get(e);if("number"==typeof a&&Number.isFinite(a))return a;for(const u of T)if(u.overlay===e)return u.id;const n=e.options;return null!=(null==(t=null==n?void 0:n.extData)?void 0:t.venueId)?Number(n.extData.venueId):null!=(null==(l=null==n?void 0:n.item)?void 0:l.id)?Number(n.item.id):null}function A(e){e.stopPropagation()}function z(e,t){const l=t;"function"==typeof l.addEventListener&&l.addEventListener("click",t=>{$(S(null==t?void 0:t.target)??e)})}function R(){var e,t;if(!N||!k.value)return;null==(e=N.checkResize)||e.call(N);const l=g.fitKey??"";g.useFitPoints&&((null==(t=g.fitPoints)?void 0:t.length)??0)>0?l!==I&&(I=l,function(){var e;if(N){if(g.useFitPoints&&(null==(e=g.fitPoints)?void 0:e.length)){const e=g.fitPoints.map(e=>he(e.longitude,e.latitude));return N.setViewport(e),void y("zoomchange",N.getZoom())}N.centerAndZoom(he(g.longitude,g.latitude),g.zoom)}}()):(I="",N.setZoom(g.zoom),N.centerAndZoom(he(g.longitude,g.latitude),g.zoom)),function(){if(!N||!window.T)return;const e=window.T;for(const t of F)N.removeOverLay(t);F=[];for(const t of g.polygons){const l=(t.points||[]).filter(e=>Number.isFinite(e.latitude)&&Number.isFinite(e.longitude));if(l.length<3)continue;const a=we(t.strokeColor||"#05C9ACE6"),n=we(t.fillColor||"#05C9AC14"),u=l.map(e=>he(e.longitude,e.latitude)),o=new e.Polygon(u,{color:a.color,weight:t.strokeWidth??2,opacity:a.opacity,fillColor:n.color,fillOpacity:.35*n.opacity});N.addOverLay(o),F.push(o)}}(),function(){var e,t;if(!N||!window.T)return;const l=window.T;for(const a of T)N.removeOverLay(a.overlay);T=[];for(const a of g.markers){const n=Number(a.latitude),u=Number(a.longitude);if(!Number.isFinite(n)||!Number.isFinite(u))continue;const o={};if(a.iconPath){const n=a.width||28,u=a.height||32,i=((null==(e=a.anchor)?void 0:e.x)??.5)*n,s=((null==(t=a.anchor)?void 0:t.y)??1)*u;o.icon=new l.Icon({iconUrl:a.iconPath,iconSize:new l.Point(n,u),iconAnchor:new l.Point(i,s)})}const i=new l.Marker(he(u,n),{...o,extData:{venueId:a.id},item:{id:a.id}});C.set(i,a.id),z(a.id,i),N.addOverLay(i),T.push({id:a.id,overlay:i})}}()}function P(e){const t=S(e.target);if(null==t){try{const{lat:t,lng:l}=ke(e),a=function(e,t){const l=(null==N?void 0:N.getZoom())??g.zoom??12,a=.006/Math.pow(2,.5*Math.max(0,l-11)),n=a*a;let u=null,o=1/0;for(const i of g.markers){const l=Number(i.latitude),a=Number(i.longitude);if(!Number.isFinite(l)||!Number.isFinite(a))continue;const s=1.15*(l-e),r=a-t,c=s*s+r*r;c<=n&&c{const a=document.createElement("script");a.src=`https://api.tianditu.gov.cn/api?v=4.0&tk=${encodeURIComponent(e)}`,a.async=!0,a.onload=()=>t(),a.onerror=()=>l(new Error("天地图 SDK 加载失败")),document.head.appendChild(a)})),await ge,!window.T)throw new Error("天地图 SDK 未就绪")}(),N)return;N=function(e,t,l,a){var n,u,o,i;const s=ye(),r=new window.T.Map(e,{projection:"EPSG:4326",layers:be(s)});return r.centerAndZoom(he(t,l),a),null==(n=r.enableScrollWheelZoom)||n.call(r),null==(u=r.enableDrag)||u.call(r),null==(o=r.enableDoubleClickZoom)||o.call(r),null==(i=r.enablePinchToZoom)||i.call(r),r}(b.value,g.longitude,g.latitude,g.zoom),function(e){if(x)return;x=!0;const t=["touchstart","touchmove","touchend","wheel"];for(const l of t)e.addEventListener(l,A,!1);e.addEventListener("click",A,!1)}(b.value),N&&!E&&(N.addEventListener("click",e=>P(e)),N.addEventListener("zoomend",()=>{N&&y("zoomchange",N.getZoom())}),E=!0),k.value=!0,I="",R(),setTimeout(()=>{var e;null==(e=null==N?void 0:N.checkResize)||e.call(N)},200)}catch(e){h.value=(null==e?void 0:e.message)||"地图加载失败"}}}return a(()=>{M()}),n(()=>{!function(){if(N){for(const e of T)N.removeOverLay(e.overlay);T=[];for(const e of F)N.removeOverLay(e);F=[]}}(),N=null,k.value=!1,I="",E=!1,x=!1}),u(()=>[g.latitude,g.longitude,g.zoom,g.fitKey,g.useFitPoints,g.markers,g.polygons,g.fitPoints],()=>R(),{deep:!0}),(e,t)=>{const l=s,a=_;return o(),i(l,{class:"tdt-wrap",onTouchmove:t[0]||(t[0]=r(()=>{},["stop"]))},{default:c(()=>[d("div",{ref_key:"rootRef",ref:b,class:"tdt-map"},null,512),h.value?(o(),i(l,{key:0,class:"tdt-err"},{default:c(()=>[v(f(h.value),1)]),_:1})):w.value?(o(),i(l,{key:1,class:"tdt-err"},{default:c(()=>[v("未配置 VITE_TIANDITU_TK")]),_:1})):m("",!0),p(a,{class:"tdt-copy"},{default:c(()=>[v("审图号:GS(2024)0568号 · 数据来源:天地图")]),_:1})]),_:1})}}}),[["__scopeId","data-v-b885381f"]]),Te=.92,Ce=g(t({__name:"index",setup(t){const d={backgroundImage:"url(/h5/assets/head-BCNsV_in.png)",backgroundSize:"cover",backgroundPosition:"center top",backgroundRepeat:"no-repeat"},g=l(!1),W=l(null),U=l(null),ce=l({latitude:re.lat,longitude:re.lng}),ve=l(11),fe=l("map"),pe=l(""),ge=l("区域"),ye=l(""),be=l("主题"),he=l(""),ke=l("预约模式"),we=l(""),Ce=l("开放模式"),Fe=l(""),Ee=l("收费类型"),Ie=l(""),xe=l(null),Le=y(()=>{var e,t;const l={};for(const a of(null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_type)??[])l[a.value]=a.label;return l}),$e=y(()=>{var e,t;const l={};for(const a of(null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.ticket_type)??[])l[a.value]=a.label;return l}),Se=y(()=>{var e,t;const l={};for(const a of(null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_open_mode)??[])l[a.value]=a.label;return l});function Ae(e){return e?Le.value[e]||e:""}function ze(e){return e?$e.value[e]||e:""}function Re(e){return e?Se.value[e]||e:""}y(()=>{var e,t;const l={};for(const a of(null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_booking_mode)??[])l[a.value]=a.label;return l});const Pe=y(()=>{var e,t;const l=P(U.value);if(null!=l)return l.toLocaleString();return Number((null==(t=null==(e=W.value)?void 0:e.stats)?void 0:t.in_venue_total)??0).toLocaleString()}),Me=y(()=>{var e;const t=U.value;if(t&&200===t.code&&Array.isArray(t.venues)){const e=M(t.groups),l=[...t.venues].map(t=>{var l,a,n;const u=j(t.venueId),o=null!=u?null==(n=null==(a=null==(l=W.value)?void 0:l.all_venues)?void 0:a.find(e=>e.id===u))?void 0:n.name:void 0;return{id:u??0,name:D(t,e,o),people_count:Z(t.enter,t.exit)}}).filter(e=>e.id>0).sort((e,t)=>t.people_count-e.people_count),a=[];for(let t=0;t<3;t++){const e=l[t];e&&e.people_count>0?a.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):a.push({id:0,name:"",people_count:0,empty:!0})}return a}const l=[...(null==(e=W.value)?void 0:e.top_live_venues)??[]].sort((e,t)=>Number(t.people_count??0)-Number(e.people_count??0)),a=[];for(let n=0;n<3;n++){const e=l[n];e&&Number(e.people_count)>0?a.push({id:e.id,name:e.name,people_count:e.people_count,empty:!1}):a.push({id:0,name:"",people_count:0,empty:!0})}return a}),je=y(()=>{var e,t;return[{label:"区域",value:""},...((null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.district)??[]).map(e=>({label:e.label,value:e.value}))]}),Ze=y(()=>{var e,t;return[{label:"主题",value:""},...((null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),De=y(()=>{var e,t;return[{label:"预约模式",value:""},...((null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Oe=y(()=>{var e,t;return[{label:"开放模式",value:""},...((null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Ve=y(()=>{var e,t;return[{label:"收费类型",value:""},...((null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function We(e,t){const l=e.findIndex(e=>e.value===t);return l>=0?l:0}const Ue=y(()=>We(je.value,ye.value)),Ke=y(()=>We(Ze.value,he.value)),Ye=y(()=>We(De.value,we.value)),Be=y(()=>We(Oe.value,Fe.value)),Ge=y(()=>We(Ve.value,Ie.value));function Xe(e){const t=je.value[Number(e.detail.value)];t&&(ge.value=t.label,ye.value=t.value)}function Qe(e){const t=Ze.value[Number(e.detail.value)];t&&(be.value=t.label,he.value=t.value)}function qe(e){const t=De.value[Number(e.detail.value)];t&&(ke.value=t.label,we.value=t.value)}function He(e){const t=Oe.value[Number(e.detail.value)];t&&(Ce.value=t.label,Fe.value=t.value)}function Je(e){const t=Ve.value[Number(e.detail.value)];t&&(Ee.value=t.label,Ie.value=t.value)}function et(e){return te(e)}function tt(e){const t=Number(e.sort);return Number.isFinite(t)?t:0}function lt(e,t){const l=tt(e)-tt(t);return 0!==l?l:e.id-t.id}function at(e){const t=[];for(const l of e){const e=Number(l.lat),a=Number(l.lng);Number.isFinite(e)&&Number.isFinite(a)&&t.push({lat:e,lng:a})}return t}const nt=y(()=>{var e;const t=pe.value.trim(),l=(null==(e=W.value)?void 0:e.all_venues)??[],a=t&&l.some(e=>oe(e.name,t));return l.filter(e=>{if(!1===e.is_active)return!1;if(ye.value&&!K(String(e.district||""),ye.value))return!1;if(he.value&&!et(e).includes(he.value))return!1;if(we.value&&(e.booking_mode||"")!==we.value)return!1;if(Fe.value&&(e.open_mode||"")!==Fe.value)return!1;if("free"===Ie.value&&"free"!==(e.ticket_type||""))return!1;if("paid"===Ie.value&&"paid"!==(e.ticket_type||""))return!1;if(t)if(a){if(!oe(e.name,t))return!1}else{const l=`${e.name||""}${e.address||""}`;if(!ie(l,t,String(e.name||"")))return!1}return!0})}),ut=y(()=>[...nt.value].sort(lt)),ot=y(()=>{if(!pe.value.trim())return null;const e=ut.value;if(1!==e.length)return null;const t=e[0],l=Number(t.lat),a=Number(t.lng);return Number.isFinite(l)&&Number.isFinite(a)?t:null}),it=y(()=>{var e;if(!pe.value.trim())return null;if(null==(e=ye.value)?void 0:e.trim())return null;const t=ut.value;if(t.length<2)return null;for(const l of t){const e=Number(l.lat),t=Number(l.lng);if(Number.isFinite(e)&&Number.isFinite(t))return l}return null}),st=y(()=>{var e,t;const l=null==(e=ye.value)?void 0:e.trim();return l?((null==(t=W.value)?void 0:t.map_venues)??[]).filter(e=>K(String(e.district||""),l)):[]}),rt=y(()=>{var e;if(!(null==(e=ye.value)?void 0:e.trim()))return null;const t=ye.value.trim(),l=Y(t);if(null==l?void 0:l.length)return l;const a=B(at(st.value));return a&&a.length>=3?[a]:null}),ct=y(()=>{const e=rt.value;return(null==e?void 0:e.length)?e.map(e=>({points:e,strokeWidth:2,strokeColor:"#05C9ACE6",fillColor:"#05C9AC14",zIndex:5})):[]}),dt=y(()=>{var e;if(!(null==(e=ye.value)?void 0:e.trim()))return[];const t=rt.value,l=[];if(null==t?void 0:t.length)for(const a of t)for(const e of a)l.push({latitude:e.latitude,longitude:e.longitude});if(!l.length){const e=B(at(st.value),.012);if(null==e?void 0:e.length)for(const t of e)l.push({latitude:t.latitude,longitude:t.longitude})}return l});function vt(e,t){if(!e.length)return[];let l=1/0,a=-1/0,n=1/0,u=-1/0;for(const c of e)c.latitudea&&(a=c.latitude),c.longitudeu&&(u=c.longitude);if(!Number.isFinite(l)||a<=l||!Number.isFinite(n)||u<=n)return e.map(e=>({...e}));const o=(l+a)/2,i=(n+u)/2,s=(a-l)/2*t,r=(u-n)/2*t;return[{latitude:o-s,longitude:i-r},{latitude:o-s,longitude:i+r},{latitude:o+s,longitude:i-r},{latitude:o+s,longitude:i+r}]}const ft=y(()=>!!(he.value||we.value||Fe.value||Ie.value||pe.value.trim())),mt=y(()=>{var e,t;if(null==(e=ye.value)?void 0:e.trim()){const e=dt.value;if(e.length)return vt(e,Te)}if(!(null==(t=ye.value)?void 0:t.trim())&&ft.value&&ut.value.length>0){const e=de().map(e=>({...e})),t=B(at(ut.value),.018);if(null==t?void 0:t.length)for(const l of t)e.push({latitude:l.latitude,longitude:l.longitude});return vt(e,Te)}return vt(de(),Te)}),pt=y(()=>G(ye.value)),_t=y(()=>{if(ot.value)return 15;const e=pt.value;return null!=e?e:ft.value?9:ve.value}),gt=y(()=>{if(null!=pt.value)return;if(ft.value)return;const e=mt.value;return e.length?e:void 0}),yt=y(()=>{const e=ot.value;if(e)return`s-${e.id}-${pe.value.trim()}`;const t=it.value;if(t)return`m-${t.id}-${pe.value.trim()}`;const l=pt.value;return null!=l?`d-${ye.value||""}-${l}`:ft.value?"z9":"fit"});y(()=>{var e;if((null==(e=ye.value)?void 0:e.trim())&&dt.value.length)try{const e=w(48);return[e,e,e,e]}catch{return[16,16,16,16]}});const bt=y(()=>!!(ye.value||he.value||we.value||Fe.value||Ie.value||pe.value.trim())),ht=y(()=>{var e,t;if(null==xe.value)return null;const l=Number(xe.value),a=e=>(null==e?void 0:e.find(e=>Number(e.id)===l))??null;return a(ut.value)??a(nt.value)??a(null==(e=W.value)?void 0:e.map_venues)??a(null==(t=W.value)?void 0:t.all_venues)??null});function kt(e){var t,l;return ue(e,null==(l=null==(t=W.value)?void 0:t.venue_dicts)?void 0:l.venue_type)}u([ut,ye,rt,ft,pe],()=>{var e,t;const l=ot.value;if(l)return void(ce.value={latitude:Number(l.lat),longitude:Number(l.lng)});const a=it.value;if(a)return void(ce.value={latitude:Number(a.lat),longitude:Number(a.lng)});const n=rt.value;if((null==(e=ye.value)?void 0:e.trim())&&(null==n?void 0:n.length)){const e=Q(n);return void(ce.value={latitude:e.latitude,longitude:e.longitude})}(null==(t=ye.value)?void 0:t.trim())||ft.value,Dt()}),u(nt,e=>{if(null==xe.value)return;const t=Number(xe.value);e.some(e=>Number(e.id)===t)||(xe.value=null)}),u(fe,e=>{if("list"===e&&(xe.value=null),"map"===e){const e=G(ye.value);null!=e?ve.value=e:ft.value?ve.value=9:ve.value=11}}),u([ye,he,we,Fe,Ie,pe],()=>{"map"===fe.value&&setTimeout(()=>{const e=G(ye.value);null!=e?ve.value=e:ft.value?ve.value=9:ve.value=11},100)});let wt=null;u([ut,bt],()=>{wt&&(clearTimeout(wt),wt=null),"map"===fe.value&&(!bt.value||ut.value.length>0||(wt=setTimeout(()=>{wt=null,k({title:"暂无符合条件的场馆",icon:"none",duration:2e3})},150)))});const Nt=y(()=>Math.round(w(120))),Tt=y(()=>{const e=_t.value>=13;return ut.value.map(t=>{const l=(t.name||"").trim(),a="苏州科技馆"===l,n=function(e,t){const l=e.venue_type_color;return l&&"string"==typeof l&&function(e){if(!e||"string"!=typeof e)return null;let t=e.trim();t.startsWith("#")||(t=`#${t}`);const l=t.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(!l)return null;let a=l[1];return 3===a.length&&(a=`${a[0]}${a[0]}${a[1]}${a[1]}${a[2]}${a[2]}`),a.toLowerCase()}(l.trim())?l.trim():t()}(t,()=>function(e){var t,l;if(!e)return"#05c9ac";const a=te(e)[0];if(a&&(null==(l=null==(t=W.value)?void 0:t.venue_dicts)?void 0:l.venue_type)){const e=W.value.venue_dicts.venue_type.find(e=>e.value===a);if(null==e?void 0:e.color)return e.color}return e.venue_type_color||"#05c9ac"}(t)),u=a?"/h5/assets/szkjg-BA5yQZYG.jpg":me(n),o={id:t.id,latitude:t.lat,longitude:t.lng,width:a?Nt.value:28,height:a?Nt.value:32,iconPath:u,anchor:a?{x:.5,y:.5}:{x:.5,y:1}};return e&&l&&(o.label={content:l,color:"#1d2129",fontSize:11,bgColor:"rgba(255,255,255,0.92)",padding:3,borderRadius:4,anchorX:0,anchorY:-4}),o})});function Ct(e){ft.value||null==G(ye.value)&&Number.isFinite(e)&&(ve.value=e)}let Ft=!1,Et=0;function It(e){const t=Number(e);Number.isFinite(t)&&(Et=Date.now(),xe.value=t,Ft=!0,setTimeout(()=>{Ft=!1},500))}function xt(e){const t=function(e){if("number"==typeof e&&Number.isFinite(e))return e;if(!e||"object"!=typeof e)return null;const t=e;if("number"==typeof t.detail&&Number.isFinite(t.detail))return t.detail;const l=t.detail;return l&&"object"==typeof l&&"number"==typeof l.markerId?l.markerId:"number"==typeof t.markerId?t.markerId:null}(e);null!=t&&It(t)}function Lt(){Ft||Date.now()-Et<500||(xe.value=null)}function $t(){xe.value=null}function St(e){e&&A({url:`/pages/venue/detail?id=${e}`})}function At(){A({url:"/pages/stats/index"})}function zt(){z({url:"/pages/activity/index"})}function Rt(){A({url:"/pages/discover/index"})}function Pt(e){const t=e.schedule_status;return"not_started"===t||"ongoing"===t||"ended"===t?t:ee(e.start_at,e.end_at)}function Mt(e){return H(e)}function jt(e){return J(Pt(e))}function Zt(e){return`st-${Pt(e)}`}function Dt(){ce.value={latitude:re.lat,longitude:re.lng}}async function Ot(){g.value=!0;try{const t=await e.get("/h5/home",{},{withAuth:!1});W.value=t,Dt(),await h().catch(()=>{}),se().catch(()=>{})}catch(t){k({title:(null==t?void 0:t.message)||"加载首页失败",icon:"none"})}finally{g.value=!1}}return b(()=>{_e(It),async function(){try{U.value=await R()}catch{U.value=null}}(),se().catch(()=>{})}),a(async()=>{_e(It),await Ot()}),n(()=>{_e(null)}),(e,t)=>{const l=s,a=_,n=C,u=F,y=I,b=N;return o(),i(l,{class:"page-root"},{default:c(()=>[p(b,{"scroll-y":"",class:"page"},{default:c(()=>{var e,s;return[p(l,{class:"hero"},{default:c(()=>[p(l,{class:"hero-brand",style:d}),p(l,{class:"hero-content"},{default:c(()=>[p(l,{class:"map-section"},{default:c(()=>[p(l,{class:"toolbar"},{default:c(()=>[p(l,{class:"tabs"},{default:c(()=>[p(a,{class:T(["tab",{on:"map"===fe.value}]),onClick:t[0]||(t[0]=e=>fe.value="map")},{default:c(()=>[v("地图")]),_:1},8,["class"]),p(a,{class:T(["tab",{on:"list"===fe.value}]),onClick:t[1]||(t[1]=e=>fe.value="list")},{default:c(()=>[v("列表")]),_:1},8,["class"])]),_:1}),p(l,{class:"search-wrap"},{default:c(()=>[p(n,{modelValue:pe.value,"onUpdate:modelValue":t[2]||(t[2]=e=>pe.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),p(u,{class:"search-icon-img",src:E(V),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),p(l,{class:"filters"},{default:c(()=>[p(y,{mode:"selector",range:je.value,"range-key":"label",value:Ue.value,onChange:Xe},{default:c(()=>[p(l,{class:"f-item"},{default:c(()=>[p(a,{class:"f-item-text"},{default:c(()=>[v(f(ge.value),1)]),_:1}),p(u,{class:"f-item-arrow",src:E(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),p(y,{mode:"selector",range:Ze.value,"range-key":"label",value:Ke.value,onChange:Qe},{default:c(()=>[p(l,{class:"f-item"},{default:c(()=>[p(a,{class:"f-item-text"},{default:c(()=>[v(f(be.value),1)]),_:1}),p(u,{class:"f-item-arrow",src:E(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),p(y,{mode:"selector",range:Ve.value,"range-key":"label",value:Ge.value,onChange:Je},{default:c(()=>[p(l,{class:"f-item"},{default:c(()=>[p(a,{class:"f-item-text"},{default:c(()=>[v(f(Ee.value),1)]),_:1}),p(u,{class:"f-item-arrow",src:E(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),p(y,{mode:"selector",range:De.value,"range-key":"label",value:Ye.value,onChange:qe},{default:c(()=>[p(l,{class:"f-item"},{default:c(()=>[p(a,{class:"f-item-text"},{default:c(()=>[v(f(ke.value),1)]),_:1}),p(u,{class:"f-item-arrow",src:E(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),p(y,{mode:"selector",range:Oe.value,"range-key":"label",value:Be.value,onChange:He},{default:c(()=>[p(l,{class:"f-item"},{default:c(()=>[p(a,{class:"f-item-text"},{default:c(()=>[v(f(Ce.value),1)]),_:1}),p(u,{class:"f-item-arrow",src:E(X),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1}),"map"===fe.value?(o(),i(l,{key:0,class:"map-area"},{default:c(()=>[p(l,{class:"map-wrap",onTouchmove:t[3]||(t[3]=r(()=>{},["stop"]))},{default:c(()=>[(o(),i(Ne,{key:yt.value,class:"main-map",latitude:ce.value.latitude,longitude:ce.value.longitude,zoom:_t.value,markers:Tt.value,polygons:ct.value,"fit-points":gt.value||[],"fit-key":yt.value,"use-fit-points":!(!gt.value||!gt.value.length),"marker-tap-fn":It,onZoomchange:Ct,onMarkertap:xt,onClick:Lt},null,8,["latitude","longitude","zoom","markers","polygons","fit-points","fit-key","use-fit-points"]))]),_:1}),null!=xe.value&&ht.value?(o(),i(l,{key:0,class:"venue-sheet",onClick:t[5]||(t[5]=r(()=>{},["stop"]))},{default:c(()=>[p(l,{class:"venue-sheet-inner"},{default:c(()=>[p(l,{class:"sheet-bar"}),p(l,{class:"sheet-row"},{default:c(()=>[p(u,{class:"sheet-cover",src:ht.value.image||E(O),mode:"aspectFill"},null,8,["src"]),p(l,{class:"sheet-main"},{default:c(()=>[p(a,{class:"sheet-name"},{default:c(()=>[v(f(ht.value.name),1)]),_:1}),p(l,{class:"sheet-tags-line"},{default:c(()=>[p(l,{class:"sheet-meta"},{default:c(()=>{var e,t;return[(o(!0),x(L,null,$(et(ht.value),(e,t)=>(o(),i(a,{key:"svm-"+t,class:"sheet-type",style:S(E(le)(kt(e)))},{default:c(()=>[v(f(Ae(e)||e),1)]),_:2},1032,["style"]))),128)),ht.value.ticket_type?(o(),i(a,{key:0,class:T(["sheet-ticket","paid"===ht.value.ticket_type?"paid":"free"])},{default:c(()=>[v(f(ze(ht.value.ticket_type)),1)]),_:1},8,["class"])):m("",!0),ht.value.open_mode?(o(),i(a,{key:1,class:"open-mode-tag",style:S(E(ae)(ht.value.open_mode,null==(t=null==(e=W.value)?void 0:e.venue_dicts)?void 0:t.venue_open_mode))},{default:c(()=>[v(f(Re(ht.value.open_mode)),1)]),_:1},8,["style"])):m("",!0)]}),_:1})]),_:1})]),_:1})]),_:1}),p(l,{class:"sheet-actions"},{default:c(()=>[p(l,{class:"sheet-btn ghost",onClick:$t},{default:c(()=>[v("关闭")]),_:1}),ht.value?(o(),i(l,{key:0,class:"sheet-btn primary",onClick:t[4]||(t[4]=e=>St(ht.value.id))},{default:c(()=>[v("详情")]),_:1})):m("",!0)]),_:1})]),_:1})]),_:1})):m("",!0)]),_:1})):(o(),i(b,{key:1,"scroll-y":"",class:"venue-list-scroll"},{default:c(()=>[(o(!0),x(L,null,$(ut.value,e=>(o(),i(l,{key:e.id,class:"venue-row",onClick:t=>St(e.id)},{default:c(()=>[p(u,{class:"venue-thumb",src:e.image||E(O),mode:"aspectFill"},null,8,["src"]),p(l,{class:"venue-info"},{default:c(()=>[p(a,{class:"venue-name"},{default:c(()=>[v(f(e.name),1)]),_:2},1024),p(l,{class:"venue-tags-line"},{default:c(()=>[p(l,{class:"venue-meta"},{default:c(()=>{var t,l;return[(o(!0),x(L,null,$(et(e),(t,l)=>(o(),i(a,{key:"vml-"+e.id+"-"+l,class:"venue-type-pill",style:S(E(le)(kt(t)))},{default:c(()=>[v(f(Ae(t)||t),1)]),_:2},1032,["style"]))),128)),e.ticket_type?(o(),i(a,{key:0,class:T(["venue-ticket-pill","paid"===e.ticket_type?"paid":"free"])},{default:c(()=>[v(f(ze(e.ticket_type)),1)]),_:2},1032,["class"])):m("",!0),e.open_mode?(o(),i(a,{key:1,class:"open-mode-tag",style:S(E(ae)(e.open_mode,null==(l=null==(t=W.value)?void 0:t.venue_dicts)?void 0:l.venue_open_mode))},{default:c(()=>[v(f(Re(e.open_mode)),1)]),_:2},1032,["style"])):m("",!0)]}),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),ut.value.length?m("",!0):(o(),i(l,{key:0,class:"empty-tip"},{default:c(()=>[v(f(bt.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1}))]),_:1})]),_:1})]),_:1}),(o(),i(l,{key:0,class:"stat-section"},{default:c(()=>[p(l,{class:"stat-card"},{default:c(()=>[p(l,{class:"stat-card__body"},{default:c(()=>[p(l,{class:"stat-main"},{default:c(()=>[p(l,{class:"stat-left"},{default:c(()=>[p(a,{class:"stat-label"},{default:c(()=>[v("在馆实时总人数")]),_:1}),p(l,{class:"stat-note"},{default:c(()=>[v("(纳入市科协人数统计系统场馆)")]),_:1}),p(a,{class:"stat-num"},{default:c(()=>[v(f(Pe.value)+" 人",1)]),_:1})]),_:1}),p(l,{class:"stat-right"},{default:c(()=>[p(l,{class:"live-list"},{default:c(()=>[(o(!0),x(L,null,$(Me.value,(e,t)=>(o(),i(l,{key:"live-"+t,class:T(["live-venue-row",{"is-empty":e.empty}]),onClick:r(t=>{var l;(l=e).empty||St(l.id)},["stop"])},{default:c(()=>[p(l,{class:"live-row-one"},{default:c(()=>[p(a,{class:"live-name"},{default:c(()=>[v(f(e.empty?"—":e.name),1)]),_:2},1024),p(a,{class:"live-count"},{default:c(()=>[v(f(e.empty?"—":e.people_count+" 人"),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),p(l,{class:"stat-foot",onClick:r(At,["stop"])},{default:c(()=>[p(a,{class:"stat-foot-link"},{default:c(()=>[v("实时人数排行 >")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})),p(l,{class:"section"},{default:c(()=>[p(l,{class:"sec-head"},{default:c(()=>[p(l,{class:"sec-bar"}),p(a,{class:"sec-title"},{default:c(()=>[v("热门活动")]),_:1}),p(a,{class:"sec-more",onClick:zt},{default:c(()=>[v("更多 >")]),_:1})]),_:1}),p(b,{"scroll-x":"",class:"act-scroll","show-scrollbar":!1,"enable-flex":!0},{default:c(()=>[p(l,{class:"act-scroll-row"},{default:c(()=>{var e;return[(o(!0),x(L,null,$((null==(e=W.value)?void 0:e.hot_activities)??[],e=>(o(),i(l,{key:(e.list_kind||"activity")+"-"+e.id,class:"act-card",onClick:t=>function(e){"ticket_grab"!==e.list_kind?A({url:`/pages/activity/detail?id=${e.id}`}):A({url:`/pages/ticket-grab/detail?id=${e.id}`})}(e)},{default:c(()=>[p(l,{class:"act-img-wrap"},{default:c(()=>{var t,n,s;return[p(u,{class:"act-img",src:e.image||E(O),mode:"aspectFill"},null,8,["src"]),p(l,{class:T(["act-schedule-tag",Zt(e)])},{default:c(()=>[v(f(jt(e)),1)]),_:2},1032,["class"]),"ticket_grab"===e.list_kind&&e.can_grab_today?(o(),i(l,{key:0,class:"act-book-badge is-grab"},{default:c(()=>[p(a,{class:"act-book-text is-grab"},{default:c(()=>[v("抢票")]),_:1})]),_:1})):Mt(e)?(o(),i(l,{key:1,class:T(["act-book-badge",{"is-bookable":"brand"===(null==(t=Mt(e))?void 0:t.kind),"is-muted":"muted"===(null==(n=Mt(e))?void 0:n.kind),"is-accent":"accent"===(null==(s=Mt(e))?void 0:s.kind)}])},{default:c(()=>{var t,l,n;return[p(a,{class:T(["act-book-text",{"is-bookable":"brand"===(null==(t=Mt(e))?void 0:t.kind),"is-muted":"muted"===(null==(l=Mt(e))?void 0:l.kind),"is-accent":"accent"===(null==(n=Mt(e))?void 0:n.kind)}])},{default:c(()=>{var t;return[v(f(null==(t=Mt(e))?void 0:t.text),1)]}),_:2},1032,["class"])]}),_:2},1032,["class"])):m("",!0)]}),_:2},1024),p(l,{class:"act-body"},{default:c(()=>[p(a,{class:"act-title"},{default:c(()=>[v(f(e.title),1)]),_:2},1024),p(l,{class:"act-tags"},{default:c(()=>[(o(!0),x(L,null,$(e.tags||[],(t,l)=>{var n,u;return o(),i(a,{key:"tag-"+e.id+"-"+l,class:"act-tag-chip",style:S(E(ne)(l,null==(u=null==(n=W.value)?void 0:n.venue_dicts)?void 0:u.venue_type))},{default:c(()=>[v(f(t),1)]),_:2},1032,["style"])}),128))]),_:2},1024),p(a,{class:"act-meta"},{default:c(()=>[v(f(E(q)(e.start_at,e.end_at)),1)]),_:2},1024),"ticket_grab"===e.list_kind?(o(),i(a,{key:0,class:"act-meta"},{default:c(()=>[v(f(Number(e.venue_count)||0)+"家场馆可抢票",1)]),_:2},1024)):(o(),i(a,{key:1,class:"act-meta"},{default:c(()=>[v(f(e.venue_name||e.address||"苏州"),1)]),_:2},1024))]),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})]),_:1})]),_:1}),((null==(s=null==(e=W.value)?void 0:e.study_tours)?void 0:s.length)??0)>0?(o(),i(l,{key:1,class:"section"},{default:c(()=>{var e;return[p(l,{class:"sec-head"},{default:c(()=>[p(l,{class:"sec-bar"}),p(a,{class:"sec-title"},{default:c(()=>[v("科普四季研学线路推荐")]),_:1}),p(a,{class:"sec-more",onClick:Rt},{default:c(()=>[v("更多 >")]),_:1})]),_:1}),(o(!0),x(L,null,$((null==(e=W.value)?void 0:e.study_tours)??[],e=>(o(),i(l,{key:e.id,class:"tour-card",onClick:t=>{return l=e.id,void A({url:`/pages/study-tour/detail?id=${l}`});var l}},{default:c(()=>[p(l,{class:"tour-img-wrap"},{default:c(()=>[p(u,{class:"tour-img",src:e.cover_image||E(O),mode:"aspectFill"},null,8,["src"])]),_:2},1024),p(l,{class:"tour-body"},{default:c(()=>{var t;return[p(a,{class:"tour-title"},{default:c(()=>[v(f(e.name),1)]),_:2},1024),p(l,{class:"tour-stops-timeline"},{default:c(()=>[(o(!0),x(L,null,$(e.venue_names,(t,n)=>(o(),i(l,{key:"v-"+e.id+"-"+n,class:"tour-stop-row"},{default:c(()=>[p(l,{class:"tour-timeline-axis"},{default:c(()=>[p(l,{class:"tour-dot-cell"},{default:c(()=>[p(l,{class:"tour-tl-dot"})]),_:1}),n[v(f(t),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),(null==(t=e.tags)?void 0:t.length)?(o(),i(l,{key:0,class:"tour-tags-row"},{default:c(()=>[(o(!0),x(L,null,$(e.tags,(t,l)=>{var n,u;return o(),i(a,{key:"t-"+e.id+"-"+l,class:"tour-tag",style:S(E(ne)(l,null==(u=null==(n=W.value)?void 0:n.venue_dicts)?void 0:u.venue_type))},{default:c(()=>[v(f(t),1)]),_:2},1032,["style"])}),128))]),_:2},1024)):m("",!0)]}),_:2},1024)]),_:2},1032,["onClick"]))),128))]}),_:1})):m("",!0),p(l,{class:"bottom-safe"}),g.value?(o(),i(l,{key:2,class:"loading-mask"},{default:c(()=>[v("加载中...")]),_:1})):m("",!0)]}),_:1})]),_:1})}}}),[["__scopeId","data-v-3cb322be"]]);export{Ce as default}; diff --git a/public/h5/assets/pages-map-index.7Ur7Md9J.js b/public/h5/assets/pages-map-index.7Ur7Md9J.js deleted file mode 100644 index 5bd276a..0000000 --- a/public/h5/assets/pages-map-index.7Ur7Md9J.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,c as l,a as u,e as t,f as s,i as r,j as n,k as v,I as o,p as i,q as c,t as d,l as m,m as f,v as p,y as _,F as b,z as g,A as y,n as k,B as h,C as j,_ as x}from"./index-CC6J0dtG.js";import{g as C,a as N}from"./content.BfcEEng6.js";import{P as w}from"./poster.C6TYC1FC.js";import{s as F}from"./search.BJnl3YRK.js";import{v as S,d as I}from"./suzhouDistrictPolygons.CpNycQAn.js";import{v as P}from"./venueTypes.DuAf5T5V.js";import{v as V,c as $,o as q}from"./venueThemeColors.DRxjaxXI.js";import{m as z,a as T}from"./text.BxMbQPAt.js";import"./coordChina.DSiWE9WA.js";const A=x(e({__name:"index",setup(e){const x=a([]),A=a(null),B=a(""),D=a("区域"),U=a(""),E=a("主题"),G=a(""),H=a("预约模式"),J=a(""),K=a("开放模式"),L=a(""),M=a("收费类型"),O=a(""),Q=l(()=>{var e;return[{label:"区域",value:""},...((null==(e=A.value)?void 0:e.district)??[]).map(e=>({label:e.label,value:e.value}))]}),R=l(()=>{var e;return[{label:"主题",value:""},...((null==(e=A.value)?void 0:e.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),W=l(()=>{var e;return[{label:"预约模式",value:""},...((null==(e=A.value)?void 0:e.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),X=l(()=>{var e;return[{label:"开放模式",value:""},...((null==(e=A.value)?void 0:e.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Y=l(()=>{var e;return[{label:"收费类型",value:""},...((null==(e=A.value)?void 0:e.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Z(e){return P(e)}const ee=l(()=>{var e;const a={};for(const l of(null==(e=A.value)?void 0:e.venue_type)??[])a[l.value]=l.label;return a}),ae=l(()=>{var e;const a={};for(const l of(null==(e=A.value)?void 0:e.ticket_type)??[])a[l.value]=l.label;return a}),le=l(()=>{var e;const a={};for(const l of(null==(e=A.value)?void 0:e.venue_open_mode)??[])a[l.value]=l.label;return a});l(()=>{var e;const a={};for(const l of(null==(e=A.value)?void 0:e.venue_booking_mode)??[])a[l.value]=l.label;return a});const ue=l(()=>{const e=B.value.trim(),a=x.value,l=e&&a.some(a=>z(String(a.name??""),e));return a.filter(a=>{if(!1===a.is_active)return!1;if(U.value&&!S(String(a.district||""),U.value))return!1;if(G.value&&!Z(a).includes(G.value))return!1;if(J.value&&(a.booking_mode||"")!==J.value)return!1;if(L.value&&(a.open_mode||"")!==L.value)return!1;if("free"===O.value&&"free"!==(a.ticket_type||""))return!1;if("paid"===O.value&&"paid"!==(a.ticket_type||""))return!1;if(e)if(l){if(!z(String(a.name??""),e))return!1}else{const l=`${a.name||""}${a.address||""}`;if(!T(l,e,String(a.name||"")))return!1}return!0})});function te(e,a){const l=Number((null==e?void 0:e.sort)??0),u=Number((null==a?void 0:a.sort)??0);return l!==u?l-u:Number(null==e?void 0:e.id)-Number(null==a?void 0:a.id)}const se=l(()=>[...ue.value].sort(te));function re(e,a){const l=e.findIndex(e=>e.value===a);return l>=0?l:0}const ne=l(()=>re(Q.value,U.value)),ve=l(()=>re(R.value,G.value)),oe=l(()=>re(W.value,J.value)),ie=l(()=>re(X.value,L.value)),ce=l(()=>re(Y.value,O.value));function de(e){const a=Q.value[Number(e.detail.value)];a&&(D.value=a.label,U.value=a.value)}function me(e){const a=R.value[Number(e.detail.value)];a&&(E.value=a.label,G.value=a.value)}function fe(e){const a=W.value[Number(e.detail.value)];a&&(H.value=a.label,J.value=a.value)}function pe(e){const a=X.value[Number(e.detail.value)];a&&(K.value=a.label,L.value=a.value)}function _e(e){const a=Y.value[Number(e.detail.value)];a&&(M.value=a.label,O.value=a.value)}const be=l(()=>!!(U.value||G.value||J.value||L.value||O.value||B.value.trim()));return u(()=>{!async function(){const[e,a]=await Promise.all([C(),N()]);A.value=e,x.value=a||[]}()}),(e,a)=>{const l=o,u=i,x=r,C=m,N=d;return n(),t(x,{class:"page"},{default:s(()=>[v(x,{class:"map-section"},{default:s(()=>[v(x,{class:"toolbar"},{default:s(()=>[v(x,{class:"search-wrap"},{default:s(()=>[v(l,{modelValue:B.value,"onUpdate:modelValue":a[0]||(a[0]=e=>B.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),v(u,{class:"search-icon-img",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),v(x,{class:"filters"},{default:s(()=>[v(N,{mode:"selector",range:Q.value,"range-key":"label",value:ne.value,onChange:de},{default:s(()=>[v(x,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(D.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:R.value,"range-key":"label",value:ve.value,onChange:me},{default:s(()=>[v(x,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(E.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:Y.value,"range-key":"label",value:ce.value,onChange:_e},{default:s(()=>[v(x,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(M.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:W.value,"range-key":"label",value:oe.value,onChange:fe},{default:s(()=>[v(x,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(H.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:X.value,"range-key":"label",value:ie.value,onChange:pe},{default:s(()=>[v(x,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(K.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1})]),_:1}),v(x,{class:"list"},{default:s(()=>[(n(!0),_(b,null,g(se.value,e=>(n(),t(x,{key:e.id,class:"item",onClick:a=>{return l=e.id,void j({url:`/pages/venue/detail?id=${l}`});var l}},{default:s(()=>[v(u,{class:"img",src:e.cover_image||c(w),mode:"aspectFill"},null,8,["src"]),v(x,{class:"body"},{default:s(()=>[v(x,{class:"name"},{default:s(()=>[f(p(e.name),1)]),_:2},1024),Z(e).length||e.ticket_type||e.open_mode?(n(),t(x,{key:0,class:"meta-row"},{default:s(()=>{var a;return[(n(!0),_(b,null,g(Z(e),(a,l)=>{var u;return n(),t(C,{key:"vt-"+e.id+"-"+l,class:"meta-pill",style:y(c(V)(c($)(a,null==(u=A.value)?void 0:u.venue_type)))},{default:s(()=>{return[f(p((e=a,(e?ee.value[e]||e:"")||a)),1)];var e}),_:2},1032,["style"])}),128)),e.ticket_type?(n(),t(C,{key:0,class:k(["meta-pill","paid"===e.ticket_type?"meta-pill--paid":"meta-pill--free"])},{default:s(()=>{return[f(p((a=e.ticket_type,a?ae.value[a]||a:"")),1)];var a}),_:2},1032,["class"])):h("",!0),e.open_mode?(n(),t(C,{key:1,class:"open-mode-tag",style:y(c(q)(e.open_mode,null==(a=A.value)?void 0:a.venue_open_mode))},{default:s(()=>{return[f(p((a=e.open_mode,a?le.value[a]||a:"")),1)];var a}),_:2},1032,["style"])):h("",!0)]}),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),se.value.length?h("",!0):(n(),t(x,{key:0,class:"empty-tip"},{default:s(()=>[f(p(be.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-7cc25480"]]);export{A as default}; diff --git a/public/h5/assets/pages-map-index.BWtgkiYt.js b/public/h5/assets/pages-map-index.BWtgkiYt.js new file mode 100644 index 0000000..d6b4ccb --- /dev/null +++ b/public/h5/assets/pages-map-index.BWtgkiYt.js @@ -0,0 +1 @@ +import{d as e,r as a,n as l,o as u,c as t,f as s,i as r,b as n,l as v,I as o,x as i,y as c,z as d,m,j as f,t as p,A as _,F as b,B as g,C as y,v as k,k as h,D as x,_ as j}from"./index-D9YO76Ut.js";import{g as C,a as N}from"./content.CWxBtEbN.js";import{P as w}from"./poster.C6TYC1FC.js";import{s as F}from"./search.BJnl3YRK.js";import{v as S,d as I}from"./suzhouDistrictPolygons.C_blUQfv.js";import{v as P}from"./venueTypes.DuAf5T5V.js";import{v as V,c as $,o as z}from"./venueThemeColors.DRxjaxXI.js";import{m as D,a as T}from"./text.BxMbQPAt.js";const q=j(e({__name:"index",setup(e){const j=a([]),q=a(null),A=a(""),B=a("区域"),U=a(""),E=a("主题"),G=a(""),H=a("预约模式"),J=a(""),K=a("开放模式"),L=a(""),M=a("收费类型"),O=a(""),Q=l(()=>{var e;return[{label:"区域",value:""},...((null==(e=q.value)?void 0:e.district)??[]).map(e=>({label:e.label,value:e.value}))]}),R=l(()=>{var e;return[{label:"主题",value:""},...((null==(e=q.value)?void 0:e.venue_type)??[]).map(e=>({label:e.label,value:e.value}))]}),W=l(()=>{var e;return[{label:"预约模式",value:""},...((null==(e=q.value)?void 0:e.venue_booking_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),X=l(()=>{var e;return[{label:"开放模式",value:""},...((null==(e=q.value)?void 0:e.venue_open_mode)??[]).map(e=>({label:e.label,value:e.value}))]}),Y=l(()=>{var e;return[{label:"收费类型",value:""},...((null==(e=q.value)?void 0:e.ticket_type)??[]).map(e=>({label:e.label,value:e.value}))]});function Z(e){return P(e)}const ee=l(()=>{var e;const a={};for(const l of(null==(e=q.value)?void 0:e.venue_type)??[])a[l.value]=l.label;return a}),ae=l(()=>{var e;const a={};for(const l of(null==(e=q.value)?void 0:e.ticket_type)??[])a[l.value]=l.label;return a}),le=l(()=>{var e;const a={};for(const l of(null==(e=q.value)?void 0:e.venue_open_mode)??[])a[l.value]=l.label;return a});l(()=>{var e;const a={};for(const l of(null==(e=q.value)?void 0:e.venue_booking_mode)??[])a[l.value]=l.label;return a});const ue=l(()=>{const e=A.value.trim(),a=j.value,l=e&&a.some(a=>D(String(a.name??""),e));return a.filter(a=>{if(!1===a.is_active)return!1;if(U.value&&!S(String(a.district||""),U.value))return!1;if(G.value&&!Z(a).includes(G.value))return!1;if(J.value&&(a.booking_mode||"")!==J.value)return!1;if(L.value&&(a.open_mode||"")!==L.value)return!1;if("free"===O.value&&"free"!==(a.ticket_type||""))return!1;if("paid"===O.value&&"paid"!==(a.ticket_type||""))return!1;if(e)if(l){if(!D(String(a.name??""),e))return!1}else{const l=`${a.name||""}${a.address||""}`;if(!T(l,e,String(a.name||"")))return!1}return!0})});function te(e,a){const l=Number((null==e?void 0:e.sort)??0),u=Number((null==a?void 0:a.sort)??0);return l!==u?l-u:Number(null==e?void 0:e.id)-Number(null==a?void 0:a.id)}const se=l(()=>[...ue.value].sort(te));function re(e,a){const l=e.findIndex(e=>e.value===a);return l>=0?l:0}const ne=l(()=>re(Q.value,U.value)),ve=l(()=>re(R.value,G.value)),oe=l(()=>re(W.value,J.value)),ie=l(()=>re(X.value,L.value)),ce=l(()=>re(Y.value,O.value));function de(e){const a=Q.value[Number(e.detail.value)];a&&(B.value=a.label,U.value=a.value)}function me(e){const a=R.value[Number(e.detail.value)];a&&(E.value=a.label,G.value=a.value)}function fe(e){const a=W.value[Number(e.detail.value)];a&&(H.value=a.label,J.value=a.value)}function pe(e){const a=X.value[Number(e.detail.value)];a&&(K.value=a.label,L.value=a.value)}function _e(e){const a=Y.value[Number(e.detail.value)];a&&(M.value=a.label,O.value=a.value)}const be=l(()=>!!(U.value||G.value||J.value||L.value||O.value||A.value.trim()));return u(()=>{!async function(){const[e,a]=await Promise.all([C(),N()]);q.value=e,j.value=a||[]}()}),(e,a)=>{const l=o,u=i,j=r,C=m,N=d;return n(),t(j,{class:"page"},{default:s(()=>[v(j,{class:"map-section"},{default:s(()=>[v(j,{class:"toolbar"},{default:s(()=>[v(j,{class:"search-wrap"},{default:s(()=>[v(l,{modelValue:A.value,"onUpdate:modelValue":a[0]||(a[0]=e=>A.value=e),class:"search-input",placeholder:"请输入您要搜索的内容","placeholder-class":"ph"},null,8,["modelValue"]),v(u,{class:"search-icon-img",src:c(F),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),v(j,{class:"filters"},{default:s(()=>[v(N,{mode:"selector",range:Q.value,"range-key":"label",value:ne.value,onChange:de},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(B.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:R.value,"range-key":"label",value:ve.value,onChange:me},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(E.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:Y.value,"range-key":"label",value:ce.value,onChange:_e},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(M.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:W.value,"range-key":"label",value:oe.value,onChange:fe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(H.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"]),v(N,{mode:"selector",range:X.value,"range-key":"label",value:ie.value,onChange:pe},{default:s(()=>[v(j,{class:"f-item"},{default:s(()=>[v(C,{class:"f-item-text"},{default:s(()=>[f(p(K.value),1)]),_:1}),v(u,{class:"f-item-arrow",src:c(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1},8,["range","value"])]),_:1})]),_:1}),v(j,{class:"list"},{default:s(()=>[(n(!0),_(b,null,g(se.value,e=>(n(),t(j,{key:e.id,class:"item",onClick:a=>{return l=e.id,void x({url:`/pages/venue/detail?id=${l}`});var l}},{default:s(()=>[v(u,{class:"img",src:e.cover_image||c(w),mode:"aspectFill"},null,8,["src"]),v(j,{class:"body"},{default:s(()=>[v(j,{class:"name"},{default:s(()=>[f(p(e.name),1)]),_:2},1024),Z(e).length||e.ticket_type||e.open_mode?(n(),t(j,{key:0,class:"meta-row"},{default:s(()=>{var a;return[(n(!0),_(b,null,g(Z(e),(a,l)=>{var u;return n(),t(C,{key:"vt-"+e.id+"-"+l,class:"meta-pill",style:y(c(V)(c($)(a,null==(u=q.value)?void 0:u.venue_type)))},{default:s(()=>{return[f(p((e=a,(e?ee.value[e]||e:"")||a)),1)];var e}),_:2},1032,["style"])}),128)),e.ticket_type?(n(),t(C,{key:0,class:k(["meta-pill","paid"===e.ticket_type?"meta-pill--paid":"meta-pill--free"])},{default:s(()=>{return[f(p((a=e.ticket_type,a?ae.value[a]||a:"")),1)];var a}),_:2},1032,["class"])):h("",!0),e.open_mode?(n(),t(C,{key:1,class:"open-mode-tag",style:y(c(z)(e.open_mode,null==(a=q.value)?void 0:a.venue_open_mode))},{default:s(()=>{return[f(p((a=e.open_mode,a?le.value[a]||a:"")),1)];var a}),_:2},1032,["style"])):h("",!0)]}),_:2},1024)):h("",!0)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),se.value.length?h("",!0):(n(),t(j,{key:0,class:"empty-tip"},{default:s(()=>[f(p(be.value?"暂无符合条件的场馆":"暂无场馆"),1)]),_:1}))]),_:1})]),_:1})}}}),[["__scopeId","data-v-7cc25480"]]);export{q as default}; diff --git a/public/h5/assets/pages-mine-index.BigDkNCj.js b/public/h5/assets/pages-mine-index.BigDkNCj.js deleted file mode 100644 index 4190f5b..0000000 --- a/public/h5/assets/pages-mine-index.BigDkNCj.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as l,o as e,e as s,f as n,L as u,M as t,i as o,j as r,k as c,p as i,m as d,v as f,l as v,C as p,_}from"./index-CC6J0dtG.js";import{g as m}from"./profile.CBiER3ty.js";import{l as h}from"./localProfile.w3dNAYL8.js";const k=_(a({__name:"index",setup(a){const _=l("游客"),k=l(""),g=l("");function j(a){return a&&11===a.length?`${a.slice(0,3)}****${a.slice(7)}`:a||""}function y(){p({url:"/pages/mine/profile"})}function C(){p({url:"/pages/mine/orders"})}return e(()=>{!async function(){var a;if(u(t.accessToken))try{const a=await m();return _.value=(a.real_name||a.nickname||"用户").trim()||"用户",k.value=a.phone?j(a.phone):"",void(g.value=a.avatar_url||"")}catch{}const l=h();_.value=(null==(a=null==l?void 0:l.real_name)?void 0:a.trim())||"游客",k.value=(null==l?void 0:l.phone)?j(l.phone):"",g.value=(null==l?void 0:l.avatar_url)||""}()}),(a,l)=>{const e=i,u=o,t=v;return r(),s(u,{class:"page"},{default:n(()=>[c(u,{class:"header"},{default:n(()=>[c(u,{class:"profile",onClick:y},{default:n(()=>[g.value?(r(),s(e,{key:0,class:"avatar",src:g.value,mode:"aspectFill"},null,8,["src"])):(r(),s(u,{key:1,class:"avatar placeholder"})),c(u,{class:"profile-info"},{default:n(()=>[c(u,{class:"name"},{default:n(()=>[d(f(_.value),1)]),_:1}),c(u,{class:"phone"},{default:n(()=>[d(f(k.value||"完善信息方便预约"),1)]),_:1})]),_:1})]),_:1})]),_:1}),c(u,{class:"panel"},{default:n(()=>[c(u,{class:"menu-item",onClick:y},{default:n(()=>[c(t,null,{default:n(()=>[d("我的信息")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1}),c(u,{class:"menu-item",onClick:C},{default:n(()=>[c(t,null,{default:n(()=>[d("预约记录")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-0d216b84"]]);export{k as default}; diff --git a/public/h5/assets/pages-mine-index.CbEaOtOy.js b/public/h5/assets/pages-mine-index.CbEaOtOy.js new file mode 100644 index 0000000..6f7f017 --- /dev/null +++ b/public/h5/assets/pages-mine-index.CbEaOtOy.js @@ -0,0 +1 @@ +import{d as a,r as l,p as e,c as s,f as n,M as u,N as t,i as o,b as r,l as c,x as i,j as d,t as f,m as p,D as _,_ as m}from"./index-D9YO76Ut.js";import{g as v}from"./profile.DNiRgAnN.js";import{l as h}from"./localProfile.DAR2ddcd.js";const k=m(a({__name:"index",setup(a){const m=l("游客"),k=l(""),g=l("");function j(a){return a&&11===a.length?`${a.slice(0,3)}****${a.slice(7)}`:a||""}function x(){_({url:"/pages/mine/profile"})}function y(){_({url:"/pages/mine/orders"})}return e(()=>{!async function(){var a;if(u(t.accessToken))try{const a=await v();return m.value=(a.real_name||a.nickname||"用户").trim()||"用户",k.value=a.phone?j(a.phone):"",void(g.value=a.avatar_url||"")}catch{}const l=h();m.value=(null==(a=null==l?void 0:l.real_name)?void 0:a.trim())||"游客",k.value=(null==l?void 0:l.phone)?j(l.phone):"",g.value=(null==l?void 0:l.avatar_url)||""}()}),(a,l)=>{const e=i,u=o,t=p;return r(),s(u,{class:"page"},{default:n(()=>[c(u,{class:"header"},{default:n(()=>[c(u,{class:"profile",onClick:x},{default:n(()=>[g.value?(r(),s(e,{key:0,class:"avatar",src:g.value,mode:"aspectFill"},null,8,["src"])):(r(),s(u,{key:1,class:"avatar placeholder"})),c(u,{class:"profile-info"},{default:n(()=>[c(u,{class:"name"},{default:n(()=>[d(f(m.value),1)]),_:1}),c(u,{class:"phone"},{default:n(()=>[d(f(k.value||"完善信息方便预约"),1)]),_:1})]),_:1})]),_:1})]),_:1}),c(u,{class:"panel"},{default:n(()=>[c(u,{class:"menu-item",onClick:x},{default:n(()=>[c(t,null,{default:n(()=>[d("我的信息")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1}),c(u,{class:"menu-item",onClick:y},{default:n(()=>[c(t,null,{default:n(()=>[d("预约记录")]),_:1}),c(t,null,{default:n(()=>[d(">")]),_:1})]),_:1})]),_:1})]),_:1})}}}),[["__scopeId","data-v-0d216b84"]]);export{k as default}; diff --git a/public/h5/assets/pages-mine-orders.DSJn__4h.js b/public/h5/assets/pages-mine-orders.DSJn__4h.js new file mode 100644 index 0000000..98a6ab5 --- /dev/null +++ b/public/h5/assets/pages-mine-orders.DSJn__4h.js @@ -0,0 +1 @@ +import{d as a,r as e,n as l,p as t,c as n,f as i,q as s,i as c,M as u,N as d,O as o,b as r,l as v,m as f,j as _,v as p,k as g,A as m,F as k,B as y,t as b,y as h,P as C,e as x,D as S,_ as $}from"./index-D9YO76Ut.js";import{d as j,e as w}from"./content.CWxBtEbN.js";import{g as B}from"./profile.DNiRgAnN.js";import{f as N,a as P,i as q}from"./datetime.BfIJTcZ8.js";const A=$(a({__name:"orders",setup(a){const $=e([]),A=e(!1),D=e(!1),F=e(!1),I=e("all"),M=l(()=>{const a=$.value;return"all"===I.value?a:a.filter(a=>a.status===I.value)});function O(){return!!u(d.accessToken)}function T(a){return"pending"===a?"待核销":"verified"===a?"已核销":"cancelled"===a?"已取消":"expired"===a?"已过期":a||"-"}function z(a){return"pending"===(null==a?void 0:a.status)&&!q(function(a){var e,l;return"ticket_grab"===(null==a?void 0:a.reservation_kind)?(null==a?void 0:a.entry_date)||(null==(e=null==a?void 0:a.activity_day)?void 0:e.activity_date):null==(l=null==a?void 0:a.activity_day)?void 0:l.activity_date}(a))}function E(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim(),t=String(e.session_name||"").trim();return l?t?`${t} ${l}`:l:N(e.activity_date)}function G(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim();return l||N(e.activity_date)}function H(a){return`预约人:${String((null==a?void 0:a.visitor_name)||"").trim()||"-"}|${String((null==a?void 0:a.visitor_phone)||"").trim()||"-"}|${Number(null==a?void 0:a.ticket_count)||1}人`}async function J(){if(!O())return D.value=!1,F.value=!1,$.value=[],void s({title:"请先通过微信登录",icon:"none"});A.value=!0;try{const e=await B();D.value=(a=null==e?void 0:e.phone,!/^1\d{10}$/.test(String(a??"").trim())),$.value=await j(),F.value=D.value}catch(e){s({title:(null==e?void 0:e.message)||"加载失败",icon:"none"}),$.value=[],F.value=!1}finally{A.value=!1}var a}function K(){F.value=!1,S({url:"/pages/mine/profile"})}function L(){F.value=!1}const Q=e(!1),R=e(0),U=e(null);function V(){Q.value=!1,R.value=0,U.value=null}async function W(){const a=R.value,e=U.value;if(V(),a&&e&&z(e))try{await w(a),s({title:"取消成功",icon:"success"}),await J()}catch(l){s({title:(null==l?void 0:l.message)||"取消失败",icon:"none"})}}return t(()=>{J()}),(a,e)=>{const l=o("SubPageBackBtn"),t=f,u=c,d=C;return r(),n(u,{class:"page"},{default:i(()=>[v(l),v(u,{class:"notice-top"},{default:i(()=>[v(t,{class:"notice-text"},{default:i(()=>[_("请按时到场参与活动,累计 3 次无故未履约,将限制 3 个月预约资格,感谢诚信守约。")]),_:1})]),_:1}),v(u,{class:"card"},{default:i(()=>[v(u,{class:"title"},{default:i(()=>[_("我的活动预约")]),_:1}),v(u,{class:"filters"},{default:i(()=>[v(u,{class:p(["chip",{active:"all"===I.value}]),onClick:e[0]||(e[0]=a=>I.value="all")},{default:i(()=>[_("全部")]),_:1},8,["class"]),v(u,{class:p(["chip",{active:"pending"===I.value}]),onClick:e[1]||(e[1]=a=>I.value="pending")},{default:i(()=>[_("待核销")]),_:1},8,["class"]),v(u,{class:p(["chip",{active:"verified"===I.value}]),onClick:e[2]||(e[2]=a=>I.value="verified")},{default:i(()=>[_("已核销")]),_:1},8,["class"]),v(u,{class:p(["chip",{active:"cancelled"===I.value}]),onClick:e[3]||(e[3]=a=>I.value="cancelled")},{default:i(()=>[_("已取消")]),_:1},8,["class"]),v(u,{class:p(["chip",{active:"expired"===I.value}]),onClick:e[4]||(e[4]=a=>I.value="expired")},{default:i(()=>[_("已过期")]),_:1},8,["class"])]),_:1})]),_:1}),A.value?(r(),n(u,{key:0,class:"empty-hint"},{default:i(()=>[_("加载中…")]),_:1})):A.value||!O()||M.value.length?g("",!0):(r(),n(u,{key:1,class:"empty-hint"},{default:i(()=>[_("当前没有预约记录")]),_:1})),(r(!0),m(k,null,y(M.value,a=>(r(),n(u,{key:a.id,class:"order-card"},{default:i(()=>[v(u,{class:"order-top"},{default:i(()=>{return[v(u,{class:"t"},{default:i(()=>{var e;return[_(b((null==(e=a.activity)?void 0:e.title)||"-"),1)]}),_:2},1024),v(u,{class:p(["status",(e=a.status,"pending"===e?"pending":"verified"===e?"verified":"expired"===e?"expired":"cancelled")])},{default:i(()=>[_(b(T(a.status)),1)]),_:2},1032,["class"])];var e}),_:2},1024),"ticket_grab"===a.reservation_kind?(r(),m(k,{key:0},[v(u,{class:"line"},{default:i(()=>{var e;return[_("预约场馆:"+b((null==(e=a.venue)?void 0:e.name)||"-"),1)]}),_:2},1024),v(u,{class:"line"},{default:i(()=>[_(b(H(a)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("入馆日期:"+b(h(N)(a.entry_date)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("下单时间:"+b(h(P)(a.created_at)),1)]),_:2},1024)],64)):(r(),m(k,{key:1},[v(u,{class:"line"},{default:i(()=>[_("预约场次:"+b(E(a)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("联系人:"+b(a.visitor_name||"-")+" | "+b(a.visitor_phone||"-")+" "+b(a.ticket_count||1)+"人",1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("场次时间:"+b(G(a)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("下单时间:"+b(h(P)(a.created_at)),1)]),_:2},1024)],64)),v(u,{class:"actions"},{default:i(()=>[z(a)?(r(),n(d,{key:0,class:"btn-light mini",onClick:x(e=>{return l=a.id,t=a,void(O()&&(z(t)?(R.value=l,U.value=t,Q.value=!0):s({title:"当前不可取消",icon:"none"})));var l,t},["stop"])},{default:i(()=>[_("取消")]),_:2},1032,["onClick"])):g("",!0),v(d,{class:"btn-main mini",onClick:x(e=>{return l=a.id,void(O()?S({url:`/pages/mine/reservation-detail?id=${l}`}):s({title:"请先通过微信登录",icon:"none"}));var l},["stop"])},{default:i(()=>[_("查看详情")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),F.value?(r(),n(u,{key:2,class:"cancel-mask profile-guide-mask"},{default:i(()=>[v(u,{class:"cancel-panel profile-guide-panel",onClick:e[5]||(e[5]=x(()=>{},["stop"]))},{default:i(()=>[v(t,{class:"cancel-dlg-title"},{default:i(()=>[_("提示")]),_:1}),v(t,{class:"cancel-dlg-body profile-guide-body"},{default:i(()=>[_("您还未完善个人信息,请先完善后查看")]),_:1}),v(u,{class:"profile-guide-actions"},{default:i(()=>[v(d,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:L},{default:i(()=>[_("稍后再说")]),_:1}),v(d,{class:"cancel-dlg-btn cancel-dlg-btn--main-inline",onClick:K},{default:i(()=>[_("确认")]),_:1})]),_:1})]),_:1})]),_:1})):g("",!0),Q.value?(r(),n(u,{key:3,class:"cancel-mask cancel-dialog-mask",onClick:V},{default:i(()=>[v(u,{class:"cancel-panel",onClick:e[6]||(e[6]=x(()=>{},["stop"]))},{default:i(()=>[v(t,{class:"cancel-dlg-title"},{default:i(()=>[_("取消预约")]),_:1}),v(t,{class:"cancel-dlg-body"},{default:i(()=>[_(b("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),v(u,{class:"cancel-dlg-actions"},{default:i(()=>[v(d,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:V},{default:i(()=>[_("返回")]),_:1}),v(d,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:W},{default:i(()=>[_("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):g("",!0)]),_:1})}}}),[["__scopeId","data-v-ce6ac31d"]]);export{A as default}; diff --git a/public/h5/assets/pages-mine-orders.jHn0X0qO.js b/public/h5/assets/pages-mine-orders.jHn0X0qO.js deleted file mode 100644 index 540338f..0000000 --- a/public/h5/assets/pages-mine-orders.jHn0X0qO.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,c as l,o as t,e as n,f as i,g as s,i as c,L as u,M as d,N as o,j as r,k as v,l as f,m as _,n as g,B as p,y as m,F as k,z as y,v as b,q as C,O as h,x,C as S,_ as $}from"./index-CC6J0dtG.js";import{d as j,e as w}from"./content.BfcEEng6.js";import{g as B}from"./profile.CBiER3ty.js";import{f as N,a as q,i as z}from"./datetime.BfIJTcZ8.js";const F=$(a({__name:"orders",setup(a){const $=e([]),F=e(!1),I=e(!1),L=e(!1),M=e("all"),O=l(()=>{const a=$.value;return"all"===M.value?a:a.filter(a=>a.status===M.value)});function P(){return!!u(d.accessToken)}function T(a){return"pending"===a?"待核销":"verified"===a?"已核销":"cancelled"===a?"已取消":"expired"===a?"已过期":a||"-"}function A(a){return"pending"===(null==a?void 0:a.status)&&!z(function(a){var e,l;return"ticket_grab"===(null==a?void 0:a.reservation_kind)?(null==a?void 0:a.entry_date)||(null==(e=null==a?void 0:a.activity_day)?void 0:e.activity_date):null==(l=null==a?void 0:a.activity_day)?void 0:l.activity_date}(a))}function D(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim(),t=String(e.session_name||"").trim();return l?t?`${t} ${l}`:l:N(e.activity_date)}function E(a){const e=null==a?void 0:a.activity_day;if(!e)return"-";const l=String(e.time_range_text||"").trim();return l||N(e.activity_date)}function G(a){return`预约人:${String((null==a?void 0:a.visitor_name)||"").trim()||"-"}|${String((null==a?void 0:a.visitor_phone)||"").trim()||"-"}|${Number(null==a?void 0:a.ticket_count)||1}人`}async function H(){if(!P())return I.value=!1,L.value=!1,$.value=[],void s({title:"请先通过微信登录",icon:"none"});F.value=!0;try{const e=await B();I.value=(a=null==e?void 0:e.phone,!/^1\d{10}$/.test(String(a??"").trim())),$.value=await j(),L.value=I.value}catch(e){s({title:(null==e?void 0:e.message)||"加载失败",icon:"none"}),$.value=[],L.value=!1}finally{F.value=!1}var a}function J(){L.value=!1,S({url:"/pages/mine/profile"})}function K(){L.value=!1}const Q=e(!1),R=e(0),U=e(null);function V(){Q.value=!1,R.value=0,U.value=null}async function W(){const a=R.value,e=U.value;if(V(),a&&e&&A(e))try{await w(a),s({title:"取消成功",icon:"success"}),await H()}catch(l){s({title:(null==l?void 0:l.message)||"取消失败",icon:"none"})}}return t(()=>{H()}),(a,e)=>{const l=o("SubPageBackBtn"),t=f,u=c,d=h;return r(),n(u,{class:"page"},{default:i(()=>[v(l),v(u,{class:"notice-top"},{default:i(()=>[v(t,{class:"notice-text"},{default:i(()=>[_("请按时到场参与活动,累计 3 次无故未履约,将限制 3 个月预约资格,感谢诚信守约。")]),_:1})]),_:1}),v(u,{class:"card"},{default:i(()=>[v(u,{class:"title"},{default:i(()=>[_("我的活动预约")]),_:1}),v(u,{class:"filters"},{default:i(()=>[v(u,{class:g(["chip",{active:"all"===M.value}]),onClick:e[0]||(e[0]=a=>M.value="all")},{default:i(()=>[_("全部")]),_:1},8,["class"]),v(u,{class:g(["chip",{active:"pending"===M.value}]),onClick:e[1]||(e[1]=a=>M.value="pending")},{default:i(()=>[_("待核销")]),_:1},8,["class"]),v(u,{class:g(["chip",{active:"verified"===M.value}]),onClick:e[2]||(e[2]=a=>M.value="verified")},{default:i(()=>[_("已核销")]),_:1},8,["class"]),v(u,{class:g(["chip",{active:"cancelled"===M.value}]),onClick:e[3]||(e[3]=a=>M.value="cancelled")},{default:i(()=>[_("已取消")]),_:1},8,["class"]),v(u,{class:g(["chip",{active:"expired"===M.value}]),onClick:e[4]||(e[4]=a=>M.value="expired")},{default:i(()=>[_("已过期")]),_:1},8,["class"])]),_:1})]),_:1}),F.value?(r(),n(u,{key:0,class:"empty-hint"},{default:i(()=>[_("加载中…")]),_:1})):F.value||!P()||O.value.length?p("",!0):(r(),n(u,{key:1,class:"empty-hint"},{default:i(()=>[_("当前没有预约记录")]),_:1})),(r(!0),m(k,null,y(O.value,a=>(r(),n(u,{key:a.id,class:"order-card"},{default:i(()=>[v(u,{class:"order-top"},{default:i(()=>{return[v(u,{class:"t"},{default:i(()=>{var e;return[_(b((null==(e=a.activity)?void 0:e.title)||"-"),1)]}),_:2},1024),v(u,{class:g(["status",(e=a.status,"pending"===e?"pending":"verified"===e?"verified":"expired"===e?"expired":"cancelled")])},{default:i(()=>[_(b(T(a.status)),1)]),_:2},1032,["class"])];var e}),_:2},1024),"ticket_grab"===a.reservation_kind?(r(),m(k,{key:0},[v(u,{class:"line"},{default:i(()=>{var e;return[_("预约场馆:"+b((null==(e=a.venue)?void 0:e.name)||"-"),1)]}),_:2},1024),v(u,{class:"line"},{default:i(()=>[_(b(G(a)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("入馆日期:"+b(C(N)(a.entry_date)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("下单时间:"+b(C(q)(a.created_at)),1)]),_:2},1024)],64)):(r(),m(k,{key:1},[v(u,{class:"line"},{default:i(()=>[_("预约场次:"+b(D(a)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("联系人:"+b(a.visitor_name||"-")+" | "+b(a.visitor_phone||"-")+" "+b(a.ticket_count||1)+"人",1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("场次时间:"+b(E(a)),1)]),_:2},1024),v(u,{class:"line"},{default:i(()=>[_("下单时间:"+b(C(q)(a.created_at)),1)]),_:2},1024)],64)),v(u,{class:"actions"},{default:i(()=>[A(a)?(r(),n(d,{key:0,class:"btn-light mini",onClick:x(e=>{return l=a.id,t=a,void(P()&&(A(t)?(R.value=l,U.value=t,Q.value=!0):s({title:"当前不可取消",icon:"none"})));var l,t},["stop"])},{default:i(()=>[_("取消")]),_:2},1032,["onClick"])):p("",!0),v(d,{class:"btn-main mini",onClick:x(e=>{return l=a.id,void(P()?S({url:`/pages/mine/reservation-detail?id=${l}`}):s({title:"请先通过微信登录",icon:"none"}));var l},["stop"])},{default:i(()=>[_("查看详情")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),L.value?(r(),n(u,{key:2,class:"cancel-mask profile-guide-mask"},{default:i(()=>[v(u,{class:"cancel-panel profile-guide-panel",onClick:e[5]||(e[5]=x(()=>{},["stop"]))},{default:i(()=>[v(t,{class:"cancel-dlg-title"},{default:i(()=>[_("提示")]),_:1}),v(t,{class:"cancel-dlg-body profile-guide-body"},{default:i(()=>[_("您还未完善个人信息,请先完善后查看")]),_:1}),v(u,{class:"profile-guide-actions"},{default:i(()=>[v(d,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:K},{default:i(()=>[_("稍后再说")]),_:1}),v(d,{class:"cancel-dlg-btn cancel-dlg-btn--main-inline",onClick:J},{default:i(()=>[_("确认")]),_:1})]),_:1})]),_:1})]),_:1})):p("",!0),Q.value?(r(),n(u,{key:3,class:"cancel-mask cancel-dialog-mask",onClick:V},{default:i(()=>[v(u,{class:"cancel-panel",onClick:e[6]||(e[6]=x(()=>{},["stop"]))},{default:i(()=>[v(t,{class:"cancel-dlg-title"},{default:i(()=>[_("取消预约")]),_:1}),v(t,{class:"cancel-dlg-body"},{default:i(()=>[_(b("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),v(u,{class:"cancel-dlg-actions"},{default:i(()=>[v(d,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:V},{default:i(()=>[_("返回")]),_:1}),v(d,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:W},{default:i(()=>[_("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):p("",!0)]),_:1})}}}),[["__scopeId","data-v-ce6ac31d"]]);export{F as default}; diff --git a/public/h5/assets/pages-mine-profile.B0i8Br8b.js b/public/h5/assets/pages-mine-profile.B0i8Br8b.js new file mode 100644 index 0000000..3aea59f --- /dev/null +++ b/public/h5/assets/pages-mine-profile.B0i8Br8b.js @@ -0,0 +1 @@ +import{d as a,r as e,o as l,c as s,f as t,M as n,N as u,i as r,O as o,b as c,l as i,j as v,x as d,t as _,m as p,I as m,P as f,q as h,Q as y,R as b,T as k,U as g,_ as w}from"./index-D9YO76Ut.js";import{g as V,u as j}from"./profile.DNiRgAnN.js";import{l as x,s as P}from"./localProfile.DAR2ddcd.js";const T=w(a({__name:"profile",setup(a){const w=e(!0),T=e(!1),U=e(!1),B=e({real_name:"",phone:"",avatar_url:""});function C(a){B.value.real_name=a.real_name||"",B.value.phone=a.phone||"",B.value.avatar_url=a.avatar_url||""}function F(){U.value?y({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:async a=>{const e=a.tempFilePaths[0];if(e)try{b({title:"上传中"});const{url:a}=await k(e);B.value.avatar_url=a}catch(l){h({title:(null==l?void 0:l.message)||"上传失败",icon:"none"})}finally{g()}}}):h({title:"请先通过微信登录后再上传头像",icon:"none"})}async function I(){if(B.value.real_name.trim())if(/^1\d{10}$/.test(B.value.phone.trim())){T.value=!0;try{const a={real_name:B.value.real_name.trim(),phone:B.value.phone.trim(),avatar_url:B.value.avatar_url||void 0};U.value&&await j(a),P({real_name:a.real_name,phone:a.phone,avatar_url:a.avatar_url}),h({title:"保存成功",icon:"success"})}catch(a){h({title:(null==a?void 0:a.message)||"保存失败",icon:"none"})}finally{T.value=!1}}else h({title:"请填写11位手机号",icon:"none"});else h({title:"请填写姓名",icon:"none"})}return l(()=>{!async function(){w.value=!0,U.value=!!n(u.accessToken);try{if(U.value)try{const a=await V();B.value.real_name=a.real_name||"",B.value.phone=a.phone||"",B.value.avatar_url=a.avatar_url||""}catch{const a=x();a&&C(a)}else{const a=x();a&&C(a)}}finally{w.value=!1}}()}),(a,e)=>{const l=o("SubPageBackBtn"),n=r,u=d,h=p,y=m,b=f;return c(),s(n,{class:"page"},{default:t(()=>[i(l),w.value?(c(),s(n,{key:0,class:"loading"},{default:t(()=>[v("加载中…")]),_:1})):(c(),s(n,{key:1,class:"content"},{default:t(()=>[i(n,{class:"avatar-block"},{default:t(()=>[i(n,{class:"avatar-wrap",onClick:F},{default:t(()=>[B.value.avatar_url?(c(),s(u,{key:0,class:"avatar",src:B.value.avatar_url,mode:"aspectFill"},null,8,["src"])):(c(),s(n,{key:1,class:"avatar placeholder"})),i(n,{class:"avatar-tip"},{default:t(()=>[v(_(U.value?"点击更换头像":"登录后可上传头像"),1)]),_:1})]),_:1})]),_:1}),i(n,{class:"card"},{default:t(()=>[i(n,{class:"row"},{default:t(()=>[i(h,{class:"label"},{default:t(()=>[v("姓名")]),_:1}),i(y,{modelValue:B.value.real_name,"onUpdate:modelValue":e[0]||(e[0]=a=>B.value.real_name=a),class:"input",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),i(n,{class:"row last"},{default:t(()=>[i(h,{class:"label"},{default:t(()=>[v("手机号")]),_:1}),i(y,{modelValue:B.value.phone,"onUpdate:modelValue":e[1]||(e[1]=a=>B.value.phone=a),class:"input",type:"number",maxlength:"11",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1}),i(b,{class:"btn",disabled:T.value,onClick:I},{default:t(()=>[v(_(T.value?"保存中…":"保存"),1)]),_:1},8,["disabled"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-f84b8690"]]);export{T as default}; diff --git a/public/h5/assets/pages-mine-profile.Cx1vm1pe.js b/public/h5/assets/pages-mine-profile.Cx1vm1pe.js deleted file mode 100644 index 7edcf8b..0000000 --- a/public/h5/assets/pages-mine-profile.Cx1vm1pe.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,a as l,e as s,f as t,L as n,M as u,i as r,N as o,j as c,k as i,m as v,p as d,v as p,l as _,I as m,O as f,g as h,P as y,Q as b,R as k,T as g,_ as w}from"./index-CC6J0dtG.js";import{g as V,u as j}from"./profile.CBiER3ty.js";import{l as P,s as T}from"./localProfile.w3dNAYL8.js";const x=w(a({__name:"profile",setup(a){const w=e(!0),x=e(!1),B=e(!1),C=e({real_name:"",phone:"",avatar_url:""});function F(a){C.value.real_name=a.real_name||"",C.value.phone=a.phone||"",C.value.avatar_url=a.avatar_url||""}function I(){B.value?y({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:async a=>{const e=a.tempFilePaths[0];if(e)try{b({title:"上传中"});const{url:a}=await k(e);C.value.avatar_url=a}catch(l){h({title:(null==l?void 0:l.message)||"上传失败",icon:"none"})}finally{g()}}}):h({title:"请先通过微信登录后再上传头像",icon:"none"})}async function U(){if(C.value.real_name.trim())if(/^1\d{10}$/.test(C.value.phone.trim())){x.value=!0;try{const a={real_name:C.value.real_name.trim(),phone:C.value.phone.trim(),avatar_url:C.value.avatar_url||void 0};B.value&&await j(a),T({real_name:a.real_name,phone:a.phone,avatar_url:a.avatar_url}),h({title:"保存成功",icon:"success"})}catch(a){h({title:(null==a?void 0:a.message)||"保存失败",icon:"none"})}finally{x.value=!1}}else h({title:"请填写11位手机号",icon:"none"});else h({title:"请填写姓名",icon:"none"})}return l(()=>{!async function(){w.value=!0,B.value=!!n(u.accessToken);try{if(B.value)try{const a=await V();C.value.real_name=a.real_name||"",C.value.phone=a.phone||"",C.value.avatar_url=a.avatar_url||""}catch{const a=P();a&&F(a)}else{const a=P();a&&F(a)}}finally{w.value=!1}}()}),(a,e)=>{const l=o("SubPageBackBtn"),n=r,u=d,h=_,y=m,b=f;return c(),s(n,{class:"page"},{default:t(()=>[i(l),w.value?(c(),s(n,{key:0,class:"loading"},{default:t(()=>[v("加载中…")]),_:1})):(c(),s(n,{key:1,class:"content"},{default:t(()=>[i(n,{class:"avatar-block"},{default:t(()=>[i(n,{class:"avatar-wrap",onClick:I},{default:t(()=>[C.value.avatar_url?(c(),s(u,{key:0,class:"avatar",src:C.value.avatar_url,mode:"aspectFill"},null,8,["src"])):(c(),s(n,{key:1,class:"avatar placeholder"})),i(n,{class:"avatar-tip"},{default:t(()=>[v(p(B.value?"点击更换头像":"登录后可上传头像"),1)]),_:1})]),_:1})]),_:1}),i(n,{class:"card"},{default:t(()=>[i(n,{class:"row"},{default:t(()=>[i(h,{class:"label"},{default:t(()=>[v("姓名")]),_:1}),i(y,{modelValue:C.value.real_name,"onUpdate:modelValue":e[0]||(e[0]=a=>C.value.real_name=a),class:"input",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),i(n,{class:"row last"},{default:t(()=>[i(h,{class:"label"},{default:t(()=>[v("手机号")]),_:1}),i(y,{modelValue:C.value.phone,"onUpdate:modelValue":e[1]||(e[1]=a=>C.value.phone=a),class:"input",type:"number",maxlength:"11",placeholder:"必填","placeholder-class":"ph"},null,8,["modelValue"])]),_:1})]),_:1}),i(b,{class:"btn",disabled:x.value,onClick:U},{default:t(()=>[v(p(x.value?"保存中…":"保存"),1)]),_:1},8,["disabled"])]),_:1}))]),_:1})}}}),[["__scopeId","data-v-f84b8690"]]);export{x as default}; diff --git a/public/h5/assets/pages-mine-reservation-detail.DJgfBOw9.js b/public/h5/assets/pages-mine-reservation-detail.CluhMTEj.js similarity index 79% rename from public/h5/assets/pages-mine-reservation-detail.DJgfBOw9.js rename to public/h5/assets/pages-mine-reservation-detail.CluhMTEj.js index b85cdd1..f8cbe5c 100644 --- a/public/h5/assets/pages-mine-reservation-detail.DJgfBOw9.js +++ b/public/h5/assets/pages-mine-reservation-detail.CluhMTEj.js @@ -1 +1 @@ -import{d as t,r as e,c as n,U as r,e as o,f as a,g as i,i as s,L as l,M as u,N as c,j as d,k as f,m as g,B as h,v,y as p,F as m,z as y,l as w,A as E,q as _,p as C,O as A,x as B,a9 as b,a0 as I,_ as M}from"./index-CC6J0dtG.js";import{g as N,q as T,e as P}from"./content.BfcEEng6.js";import{a as k}from"./venueThemeColors.DRxjaxXI.js";import{i as R,f as L,a as S}from"./datetime.BfIJTcZ8.js";var x={},U={},F={};let z;const D=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];F.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},F.getSymbolTotalCodewords=function(t){return D[t]},F.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},F.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');z=t},F.isKanjiModeEnabled=function(){return void 0!==z},F.toSJIS=function(t){return z(t)};var H,J={};function K(){this.buffer=[],this.length=0}(H=J).L={bit:1},H.M={bit:0},H.Q={bit:3},H.H={bit:2},H.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},H.from=function(t,e){if(H.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return H.L;case"m":case"medium":return H.M;case"q":case"quartile":return H.Q;case"h":case"high":return H.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},K.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Y=K;function q(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}q.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},q.prototype.get=function(t,e){return this.data[t*this.size+e]},q.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},q.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var j=q,$={};!function(t){const e=F.getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),o=145===r?26:2*Math.ceil((r-13)/(2*n-2)),a=[r-7];for(let e=1;e=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const n=t.size;let r=0,o=0,a=0,i=null,s=null;for(let l=0;l=5&&(r+=e+(o-5)),i=n,o=1),n=t.get(u,l),n===s?a++:(a>=5&&(r+=e+(a-5)),s=n,a=1)}o>=5&&(r+=e+(o-5)),a>=5&&(r+=e+(a-5))}return r},t.getPenaltyN2=function(t){const e=t.size;let r=0;for(let n=0;n=10&&(1488===o||93===o)&&n++,a=a<<1&2047|t.get(i,r),i>=10&&(1488===a||93===a)&&n++}return n*r},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r=0;){const t=r[0];for(let a=0;a0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var it=at,st={},lt={},ut={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},ct={};const dt="[0-9]+";let ft="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ft=ft.replace(/u/g,"\\u");const gt="(?:(?![A-Z0-9 $%*+\\-./:]|"+ft+")(?:.|[\r\n]))+";ct.KANJI=new RegExp(ft,"g"),ct.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ct.BYTE=new RegExp(gt,"g"),ct.NUMERIC=new RegExp(dt,"g"),ct.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const ht=new RegExp("^"+ft+"$"),vt=new RegExp("^"+dt+"$"),pt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ct.testKanji=function(t){return ht.test(t)},ct.testNumeric=function(t){return vt.test(t)},ct.testAlphanumeric=function(t){return pt.test(t)},function(t){const e=ut,n=ct;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(r){return n}}}(lt),function(t){const e=F,n=Z,r=J,o=lt,a=ut,i=e.getBCHDigit(7973);function s(t,e){return o.getCharCountIndicator(t,e)+4}function l(t,e){let n=0;return t.forEach(function(t){const r=s(t.mode,e);n+=r+t.getBitsLength()}),n}t.from=function(t,e){return a.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,i){if(!a.isValid(t))throw new Error("Invalid QR Code version");void 0===i&&(i=o.BYTE);const l=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(i===o.MIXED)return l;const u=l-s(i,t);switch(i){case o.NUMERIC:return Math.floor(u/10*3);case o.ALPHANUMERIC:return Math.floor(u/11*2);case o.KANJI:return Math.floor(u/13);case o.BYTE:default:return Math.floor(u/8)}},t.getBestVersionForData=function(e,n){let a;const i=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(l(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,i);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(a.mode,a.getLength(),i)},t.getEncodedBits=function(t){if(!a.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-i>=0;)n^=7973<=0;)r^=1335<0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var At=Ct;const Bt=lt,bt=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function It(t){this.mode=Bt.ALPHANUMERIC,this.data=t}It.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},It.prototype.getLength=function(){return this.data.length},It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)},It.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*bt.indexOf(this.data[e]);n+=bt.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(bt.indexOf(this.data[e]),6)};var Mt=It;const Nt=lt;function Tt(t){this.mode=Nt.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}Tt.getBitsLength=function(t){return 8*t},Tt.prototype.getLength=function(){return this.data.length},Tt.prototype.getBitsLength=function(){return Tt.getBitsLength(this.data.length)},Tt.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}};var St,xt=Lt,Ut={exports:{}},Ft=Ut.exports=St={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var a,i,s,l,u,c,d,f=St.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(s in i=(a=f.pop()).value,l=a.cost,u=t[i]||{})u.hasOwnProperty(s)&&(c=l+u[s],d=o[s],(void 0===o[s]||d>c)&&(o[s]=c,f.push(s,c),r[s]=i));if(void 0!==n&&void 0===o[n]){var g=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(g)}return r},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var r=St.single_source_shortest_paths(t,e,n);return St.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=St.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};!function(t){const e=lt,n=At,r=Mt,o=Pt,a=xt,i=ct,s=F,l=Ft;function u(t){return unescape(encodeURIComponent(t)).length}function c(t,e,n){const r=[];let o;for(;null!==(o=t.exec(n));)r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function d(t){const n=c(i.NUMERIC,e.NUMERIC,t),r=c(i.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,a;s.isKanjiModeEnabled()?(o=c(i.BYTE,e.BYTE,t),a=c(i.KANJI,e.KANJI,t)):(o=c(i.BYTE_KANJI,e.BYTE,t),a=[]);return n.concat(r,o,a).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function f(t,i){switch(i){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return a.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function g(t,i){let l;const u=e.getBestModeForData(t);if(l=e.from(i,u),l!==e.BYTE&&l.bit=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[])}(c))},t.rawSplit=function(e){return t.fromArray(d(e,s.isKanjiModeEnabled()))}}(Et);const zt=F,Dt=J,Ht=Y,Jt=j,Kt=$,Yt=V,qt=Q,jt=Z,$t=it,Vt=st,Ot=mt,Qt=lt,Zt=Et;function Xt(t,e,n){const r=t.size,o=Ot.getEncodedBits(e,n);let a,i;for(a=0;a<15;a++)i=1==(o>>a&1),a<6?t.set(a,8,i,!0):a<8?t.set(a+1,8,i,!0):t.set(r-15+a,8,i,!0),a<8?t.set(8,r-a-1,i,!0):a<9?t.set(8,15-a-1+1,i,!0):t.set(8,15-a-1,i,!0);t.set(r-8,8,1,!0)}function Wt(t,e,n){const r=new Ht;n.forEach(function(e){r.put(e.mode.bit,4),r.put(e.getLength(),Qt.getCharCountIndicator(e.mode,t)),e.write(r)});const o=8*(zt.getSymbolTotalCodewords(t)-jt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const a=(o-r.getLengthInBits())/8;for(let i=0;i=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?t.set(e+r,a+o,!0,!0):t.set(e+r,a+o,!1,!0))}}(l,e),function(t){const e=t.size;for(let n=8;n=7&&function(t,e){const n=t.size,r=Vt.getEncodedBits(e);let o,a,i;for(let s=0;s<18;s++)o=Math.floor(s/3),a=s%3+n-8-3,i=1==(r>>s&1),t.set(o,a,i,!0),t.set(a,o,i,!0)}(l,e),function(t,e){const n=t.size;let r=-1,o=n-1,a=7,i=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(o,s-n)){let r=!1;i>>a&1)),t.set(o,s-n,r),a--,-1===a&&(i++,a=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(l,i),isNaN(r)&&(r=qt.getBestMask(l,Xt.bind(null,l,n))),qt.applyMask(r,l),Xt(l,n,r),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}U.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=Dt.M;return void 0!==e&&(o=Dt.from(e.errorCorrectionLevel,Dt.M),n=Vt.from(e.version),r=qt.from(e.maskPattern),e.toSJISFunc&&zt.setToSJISFunction(e.toSJISFunc)),Gt(t,n,o,r)};var te={},ee={};!function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:n,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const o=n.modules.size,a=n.modules.data,i=t.getScale(o,r),s=Math.floor((o+2*r.margin)*i),l=r.margin*i,u=[r.color.light,r.color.dark];for(let t=0;t=l&&n>=l&&t':"",l="0&&l>0&&t[s-1]||(r+=a?ae("M",l+n,.5+u+n):ae("m",o,0),o=0,a=!1),l+1',u='viewBox="0 0 '+i+" "+i+'"',c=''+s+l+"\n";return"function"==typeof n&&n(null,c),c};const ie=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},se=U,le=te,ue=ne;function ce(t,e,n,r,o){const a=[].slice.call(arguments,1),i=a.length,s="function"==typeof a[i-1];if(!s&&!ie())throw new Error("Callback required as last argument");if(!s){if(i<1)throw new Error("Too few arguments provided");return 1===i?(n=e,e=r=void 0):2!==i||e.getContext||(r=n,n=e,e=void 0),new Promise(function(o,a){try{const a=se.create(n,r);o(t(a,e,r))}catch(i){a(i)}})}if(i<2)throw new Error("Too few arguments provided");2===i?(o=n,n=e,e=r=void 0):3===i&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const a=se.create(n,r);o(null,t(a,e,r))}catch(l){o(l)}}x.create=se.create,x.toCanvas=ce.bind(null,le.render),x.toDataURL=ce.bind(null,le.renderToDataURL),x.toString=ce.bind(null,function(t,e,n){return ue.render(t,n)});const de=M(t({__name:"reservation-detail",setup(t){const M=e(null),U=e(null),F=e(""),z=e(!1),D=e(!1),H=e("");function J(){return!!l(u.accessToken)}const K=n(()=>{var t,e;const n=M.value;if(n)return"ticket_grab"===n.reservation_kind?n.entry_date||(null==(t=n.activity_day)?void 0:t.activity_date):null==(e=n.activity_day)?void 0:e.activity_date}),Y=n(()=>{const t=M.value;return!(!t||"pending"!==t.status)&&!R(K.value)}),q=n(()=>{var t;const e=null==(t=M.value)?void 0:t.activity;if(!(null==e?void 0:e.start_at)&&!(null==e?void 0:e.end_at))return"-";const n=e.start_at?L(e.start_at):"",r=e.end_at?L(e.end_at):"";return n&&r&&n===r?n:n&&r?`${n} ~ ${r}`:n||r||"-"}),j=n(()=>{var t,e;const n=null==(t=M.value)?void 0:t.venue,r=null==(e=M.value)?void 0:e.activity;return String((null==n?void 0:n.address)||(null==r?void 0:r.address)||"").trim()||"-"}),$=n(()=>{const t=M.value;if(!t)return"预约人:-|-|-人";return`预约人:${String(t.visitor_name||"").trim()||"-"}|${String(t.visitor_phone||"").trim()||"-"}|${Number(t.ticket_count)||1}人`});const V=e([]);function O(){var t;const e=(null==(t=M.value)?void 0:t.qr_token)||"";e&&b({data:e})}function Q(){const t=M.value,e=null==t?void 0:t.activity,n=null==t?void 0:t.venue,r="ticket_grab"===(null==t?void 0:t.reservation_kind),o=Number((r&&null!=(null==n?void 0:n.lat)?n.lat:null==e?void 0:e.lat)??(null==n?void 0:n.lat)??(null==e?void 0:e.lat)??0),a=Number((r&&null!=(null==n?void 0:n.lng)?n.lng:null==e?void 0:e.lng)??(null==n?void 0:n.lng)??(null==e?void 0:e.lng)??0),i=(r?null==n?void 0:n.name:null==e?void 0:e.title)||"场馆",s=String((null==n?void 0:n.address)||(null==e?void 0:e.address)||"").trim();I({lat:o,lng:a,name:i,address:s||"苏州",emptyHint:"暂未标注地图坐标,无法导航"})}async function Z(t){if(!t)return;const e=/^1\d{10}$/.test(F.value);if(e||J()){z.value=!0;try{if(!U.value)try{U.value=await N()}catch{U.value=null}M.value=await T(t,e?F.value:void 0),await async function(){var t;const e=null==(t=M.value)?void 0:t.qr_token;if(e)try{H.value=await x.toDataURL(e,{width:320,margin:1,errorCorrectionLevel:"M"})}catch{H.value=""}else H.value=""}(),function(){var t;const e=(null==(t=M.value)?void 0:t.visitor_name)||"观众";V.value=H.value?[{label:e,qr:H.value}]:[]}()}catch(n){i({title:(null==n?void 0:n.message)||"加载详情失败",icon:"none"})}finally{z.value=!1}}else i({title:"缺少验证信息",icon:"none"})}const X=e(!1);function W(){X.value=!1}function G(){var t;(null==(t=M.value)?void 0:t.id)&&(Y.value?(/^1\d{10}$/.test(F.value)||J())&&(X.value=!0):i({title:"当前不可取消(已核销/已取消或预约日已过)",icon:"none"}))}async function tt(){var t;if(X.value=!1,!(null==(t=M.value)?void 0:t.id))return;if(!Y.value)return;const e=/^1\d{10}$/.test(F.value);if(e||J()){D.value=!0;try{await P(M.value.id,e?F.value:void 0),i({title:"取消成功",icon:"success"}),await Z(M.value.id)}catch(n){i({title:(null==n?void 0:n.message)||"取消失败",icon:"none"})}finally{D.value=!1}}}return r(t=>{const e=Number((null==t?void 0:t.id)||0);F.value=String((null==t?void 0:t.phone)||""),Z(e)}),(t,e)=>{const n=c("SubPageBackBtn"),r=s,i=w,l=C,u=A;return d(),o(r,{class:"page"},{default:a(()=>{var t,s;return[f(n),z.value&&!M.value?(d(),o(r,{key:0,class:"loading"},{default:a(()=>[g("加载中…")]),_:1})):h("",!0),f(r,{class:"card"},{default:a(()=>{var t,e,n;return[f(r,{class:"title"},{default:a(()=>{var t,e;return[g(v((null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.title)||"-"),1)]}),_:1}),(null==(n=null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.tags)?void 0:n.length)?(d(),o(r,{key:0,class:"tags"},{default:a(()=>[(d(!0),p(m,null,y(M.value.activity.tags,(t,e)=>{var n;return d(),o(i,{key:e,class:"tag",style:E(_(k)(e,null==(n=U.value)?void 0:n.venue_type))},{default:a(()=>[g(v(t),1)]),_:2},1032,["style"])}),128))]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>[g("活动时间:"+v(q.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e;return[g("预约场馆:"+v((null==(e=null==(t=M.value)?void 0:t.venue)?void 0:e.name)||"-"),1)]}),_:1}),f(r,{class:"addr-row"},{default:a(()=>[f(i,{class:"meta meta--grow"},{default:a(()=>[g("场馆地址:"+v(j.value),1)]),_:1}),f(r,{class:"nav-btn",onClick:Q},{default:a(()=>[g("导航")]),_:1})]),_:1})]}),_:1}),f(r,{class:"card"},{default:a(()=>{var t,e,n,i,s;return[f(r,{class:"sec-label"},{default:a(()=>[g("预约信息")]),_:1}),"ticket_grab"===(null==(t=M.value)?void 0:t.reservation_kind)?(d(),p(m,{key:0},[f(r,{class:"meta"},{default:a(()=>[g(v($.value),1)]),_:1}),(null==(e=M.value)?void 0:e.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[g("证件号码:"+v(M.value.id_card),1)]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>{var t;return[g("入馆日期:"+v(_(L)(null==(t=M.value)?void 0:t.entry_date)),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[g("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(n=M.value)?void 0:n.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[g("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):h("",!0)],64)):(d(),p(m,{key:1},[f(r,{class:"meta"},{default:a(()=>{var t,e;return[g("预约场次:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.session_name)||"").trim()||"-"),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e,n,r;return[g("场次/入馆时间:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.time_range_text)||"").trim()||_(L)(null==(r=null==(n=M.value)?void 0:n.activity_day)?void 0:r.activity_date)),1)]}),_:1}),(null==(i=M.value)?void 0:i.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[g("证件号码:"+v(M.value.id_card),1)]),_:1})):h("",!0),f(r,{class:"meta"},{default:a(()=>[g(v($.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[g("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(s=M.value)?void 0:s.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[g("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):h("",!0)],64))]}),_:1}),(null==(t=M.value)?void 0:t.qr_token)&&"pending"===(null==(s=M.value)?void 0:s.status)?(d(),o(r,{key:1,class:"card"},{default:a(()=>[f(r,{class:"sub-title"},{default:a(()=>[g("入馆凭证")]),_:1}),(d(!0),p(m,null,y(V.value,(t,e)=>(d(),o(r,{class:"ticket",key:e},{default:a(()=>[f(r,{class:"ticket-head"},{default:a(()=>[f(i,null,{default:a(()=>[g("请向工作人员出示此码")]),_:1}),f(i,{class:"copy",onClick:O},{default:a(()=>[g("复制码")]),_:1})]),_:1}),t.qr?(d(),o(l,{key:0,class:"qr",src:t.qr,mode:"aspectFit"},null,8,["src"])):(d(),o(r,{key:1,class:"tip"},{default:a(()=>[g("二维码生成中...")]),_:1})),f(r,{class:"qr-name"},{default:a(()=>[g(v(t.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):h("",!0),Y.value?(d(),o(r,{key:2,class:"action"},{default:a(()=>[f(u,{class:"btn",disabled:D.value||z.value,onClick:G},{default:a(()=>[g(v(D.value?"取消中...":"取消预约"),1)]),_:1},8,["disabled"])]),_:1})):h("",!0),X.value?(d(),o(r,{key:3,class:"cancel-mask",onClick:W},{default:a(()=>[f(r,{class:"cancel-panel",onClick:e[0]||(e[0]=B(()=>{},["stop"]))},{default:a(()=>[f(i,{class:"cancel-dlg-title"},{default:a(()=>[g("取消预约")]),_:1}),f(i,{class:"cancel-dlg-body"},{default:a(()=>[g(v("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),f(r,{class:"cancel-dlg-actions"},{default:a(()=>[f(u,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:W},{default:a(()=>[g("返回")]),_:1}),f(u,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:tt},{default:a(()=>[g("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):h("",!0)]}),_:1})}}}),[["__scopeId","data-v-c4ecbdd3"]]);export{de as default}; +import{d as t,r as e,n,V as r,c as o,f as a,q as i,i as s,M as l,N as u,O as c,b as d,l as f,j as h,k as g,t as v,A as p,F as m,B as y,m as w,C as E,y as _,x as C,P as A,e as B,aa as b,a1 as I,_ as M}from"./index-D9YO76Ut.js";import{g as N,q as T,e as P}from"./content.CWxBtEbN.js";import{a as k}from"./venueThemeColors.DRxjaxXI.js";import{i as R,f as L,a as S}from"./datetime.BfIJTcZ8.js";var x={},U={},F={};let D;const z=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];F.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},F.getSymbolTotalCodewords=function(t){return z[t]},F.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},F.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');D=t},F.isKanjiModeEnabled=function(){return void 0!==D},F.toSJIS=function(t){return D(t)};var H,q={};function J(){this.buffer=[],this.length=0}(H=q).L={bit:1},H.M={bit:0},H.Q={bit:3},H.H={bit:2},H.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},H.from=function(t,e){if(H.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return H.L;case"m":case"medium":return H.M;case"q":case"quartile":return H.Q;case"h":case"high":return H.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},J.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var K=J;function Y(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}Y.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},Y.prototype.get=function(t,e){return this.data[t*this.size+e]},Y.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},Y.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var j=Y,V={};!function(t){const e=F.getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),o=145===r?26:2*Math.ceil((r-13)/(2*n-2)),a=[r-7];for(let e=1;e=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const n=t.size;let r=0,o=0,a=0,i=null,s=null;for(let l=0;l=5&&(r+=e+(o-5)),i=n,o=1),n=t.get(u,l),n===s?a++:(a>=5&&(r+=e+(a-5)),s=n,a=1)}o>=5&&(r+=e+(o-5)),a>=5&&(r+=e+(a-5))}return r},t.getPenaltyN2=function(t){const e=t.size;let r=0;for(let n=0;n=10&&(1488===o||93===o)&&n++,a=a<<1&2047|t.get(i,r),i>=10&&(1488===a||93===a)&&n++}return n*r},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r=0;){const t=r[0];for(let a=0;a0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var it=at,st={},lt={},ut={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},ct={};const dt="[0-9]+";let ft="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ft=ft.replace(/u/g,"\\u");const ht="(?:(?![A-Z0-9 $%*+\\-./:]|"+ft+")(?:.|[\r\n]))+";ct.KANJI=new RegExp(ft,"g"),ct.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ct.BYTE=new RegExp(ht,"g"),ct.NUMERIC=new RegExp(dt,"g"),ct.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const gt=new RegExp("^"+ft+"$"),vt=new RegExp("^"+dt+"$"),pt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ct.testKanji=function(t){return gt.test(t)},ct.testNumeric=function(t){return vt.test(t)},ct.testAlphanumeric=function(t){return pt.test(t)},function(t){const e=ut,n=ct;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(r){return n}}}(lt),function(t){const e=F,n=Z,r=q,o=lt,a=ut,i=e.getBCHDigit(7973);function s(t,e){return o.getCharCountIndicator(t,e)+4}function l(t,e){let n=0;return t.forEach(function(t){const r=s(t.mode,e);n+=r+t.getBitsLength()}),n}t.from=function(t,e){return a.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,i){if(!a.isValid(t))throw new Error("Invalid QR Code version");void 0===i&&(i=o.BYTE);const l=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(i===o.MIXED)return l;const u=l-s(i,t);switch(i){case o.NUMERIC:return Math.floor(u/10*3);case o.ALPHANUMERIC:return Math.floor(u/11*2);case o.KANJI:return Math.floor(u/13);case o.BYTE:default:return Math.floor(u/8)}},t.getBestVersionForData=function(e,n){let a;const i=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(l(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,i);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(a.mode,a.getLength(),i)},t.getEncodedBits=function(t){if(!a.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-i>=0;)n^=7973<=0;)r^=1335<0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var At=Ct;const Bt=lt,bt=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function It(t){this.mode=Bt.ALPHANUMERIC,this.data=t}It.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},It.prototype.getLength=function(){return this.data.length},It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)},It.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*bt.indexOf(this.data[e]);n+=bt.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(bt.indexOf(this.data[e]),6)};var Mt=It;const Nt=lt;function Tt(t){this.mode=Nt.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}Tt.getBitsLength=function(t){return 8*t},Tt.prototype.getLength=function(){return this.data.length},Tt.prototype.getBitsLength=function(){return Tt.getBitsLength(this.data.length)},Tt.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}};var St,xt=Lt,Ut={exports:{}},Ft=Ut.exports=St={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var a,i,s,l,u,c,d,f=St.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(s in i=(a=f.pop()).value,l=a.cost,u=t[i]||{})u.hasOwnProperty(s)&&(c=l+u[s],d=o[s],(void 0===o[s]||d>c)&&(o[s]=c,f.push(s,c),r[s]=i));if(void 0!==n&&void 0===o[n]){var h=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(h)}return r},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var r=St.single_source_shortest_paths(t,e,n);return St.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=St.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};!function(t){const e=lt,n=At,r=Mt,o=Pt,a=xt,i=ct,s=F,l=Ft;function u(t){return unescape(encodeURIComponent(t)).length}function c(t,e,n){const r=[];let o;for(;null!==(o=t.exec(n));)r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function d(t){const n=c(i.NUMERIC,e.NUMERIC,t),r=c(i.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,a;s.isKanjiModeEnabled()?(o=c(i.BYTE,e.BYTE,t),a=c(i.KANJI,e.KANJI,t)):(o=c(i.BYTE_KANJI,e.BYTE,t),a=[]);return n.concat(r,o,a).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function f(t,i){switch(i){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return a.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function h(t,i){let l;const u=e.getBestModeForData(t);if(l=e.from(i,u),l!==e.BYTE&&l.bit=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[])}(c))},t.rawSplit=function(e){return t.fromArray(d(e,s.isKanjiModeEnabled()))}}(Et);const Dt=F,zt=q,Ht=K,qt=j,Jt=V,Kt=$,Yt=Q,jt=Z,Vt=it,$t=st,Ot=mt,Qt=lt,Zt=Et;function Xt(t,e,n){const r=t.size,o=Ot.getEncodedBits(e,n);let a,i;for(a=0;a<15;a++)i=1==(o>>a&1),a<6?t.set(a,8,i,!0):a<8?t.set(a+1,8,i,!0):t.set(r-15+a,8,i,!0),a<8?t.set(8,r-a-1,i,!0):a<9?t.set(8,15-a-1+1,i,!0):t.set(8,15-a-1,i,!0);t.set(r-8,8,1,!0)}function Wt(t,e,n){const r=new Ht;n.forEach(function(e){r.put(e.mode.bit,4),r.put(e.getLength(),Qt.getCharCountIndicator(e.mode,t)),e.write(r)});const o=8*(Dt.getSymbolTotalCodewords(t)-jt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const a=(o-r.getLengthInBits())/8;for(let i=0;i=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?t.set(e+r,a+o,!0,!0):t.set(e+r,a+o,!1,!0))}}(l,e),function(t){const e=t.size;for(let n=8;n=7&&function(t,e){const n=t.size,r=$t.getEncodedBits(e);let o,a,i;for(let s=0;s<18;s++)o=Math.floor(s/3),a=s%3+n-8-3,i=1==(r>>s&1),t.set(o,a,i,!0),t.set(a,o,i,!0)}(l,e),function(t,e){const n=t.size;let r=-1,o=n-1,a=7,i=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(o,s-n)){let r=!1;i>>a&1)),t.set(o,s-n,r),a--,-1===a&&(i++,a=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(l,i),isNaN(r)&&(r=Yt.getBestMask(l,Xt.bind(null,l,n))),Yt.applyMask(r,l),Xt(l,n,r),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}U.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=zt.M;return void 0!==e&&(o=zt.from(e.errorCorrectionLevel,zt.M),n=$t.from(e.version),r=Yt.from(e.maskPattern),e.toSJISFunc&&Dt.setToSJISFunction(e.toSJISFunc)),Gt(t,n,o,r)};var te={},ee={};!function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:n,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const o=n.modules.size,a=n.modules.data,i=t.getScale(o,r),s=Math.floor((o+2*r.margin)*i),l=r.margin*i,u=[r.color.light,r.color.dark];for(let t=0;t=l&&n>=l&&t':"",l="0&&l>0&&t[s-1]||(r+=a?ae("M",l+n,.5+u+n):ae("m",o,0),o=0,a=!1),l+1',u='viewBox="0 0 '+i+" "+i+'"',c=''+s+l+"\n";return"function"==typeof n&&n(null,c),c};const ie=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},se=U,le=te,ue=ne;function ce(t,e,n,r,o){const a=[].slice.call(arguments,1),i=a.length,s="function"==typeof a[i-1];if(!s&&!ie())throw new Error("Callback required as last argument");if(!s){if(i<1)throw new Error("Too few arguments provided");return 1===i?(n=e,e=r=void 0):2!==i||e.getContext||(r=n,n=e,e=void 0),new Promise(function(o,a){try{const a=se.create(n,r);o(t(a,e,r))}catch(i){a(i)}})}if(i<2)throw new Error("Too few arguments provided");2===i?(o=n,n=e,e=r=void 0):3===i&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const a=se.create(n,r);o(null,t(a,e,r))}catch(l){o(l)}}x.create=se.create,x.toCanvas=ce.bind(null,le.render),x.toDataURL=ce.bind(null,le.renderToDataURL),x.toString=ce.bind(null,function(t,e,n){return ue.render(t,n)});const de=M(t({__name:"reservation-detail",setup(t){const M=e(null),U=e(null),F=e(""),D=e(!1),z=e(!1),H=e("");function q(){return!!l(u.accessToken)}const J=n(()=>{var t,e;const n=M.value;if(n)return"ticket_grab"===n.reservation_kind?n.entry_date||(null==(t=n.activity_day)?void 0:t.activity_date):null==(e=n.activity_day)?void 0:e.activity_date}),K=n(()=>{const t=M.value;return!(!t||"pending"!==t.status)&&!R(J.value)}),Y=n(()=>{var t;const e=null==(t=M.value)?void 0:t.activity;if(!(null==e?void 0:e.start_at)&&!(null==e?void 0:e.end_at))return"-";const n=e.start_at?L(e.start_at):"",r=e.end_at?L(e.end_at):"";return n&&r&&n===r?n:n&&r?`${n} ~ ${r}`:n||r||"-"}),j=n(()=>{var t,e;const n=null==(t=M.value)?void 0:t.venue,r=null==(e=M.value)?void 0:e.activity;return String((null==n?void 0:n.address)||(null==r?void 0:r.address)||"").trim()||"-"}),V=n(()=>{const t=M.value;if(!t)return"预约人:-|-|-人";return`预约人:${String(t.visitor_name||"").trim()||"-"}|${String(t.visitor_phone||"").trim()||"-"}|${Number(t.ticket_count)||1}人`});const $=e([]);function O(){var t;const e=(null==(t=M.value)?void 0:t.qr_token)||"";e&&b({data:e})}function Q(){const t=M.value,e=null==t?void 0:t.activity,n=null==t?void 0:t.venue,r="ticket_grab"===(null==t?void 0:t.reservation_kind),o=Number((r&&null!=(null==n?void 0:n.lat)?n.lat:null==e?void 0:e.lat)??(null==n?void 0:n.lat)??(null==e?void 0:e.lat)??0),a=Number((r&&null!=(null==n?void 0:n.lng)?n.lng:null==e?void 0:e.lng)??(null==n?void 0:n.lng)??(null==e?void 0:e.lng)??0),i=(r?null==n?void 0:n.name:null==e?void 0:e.title)||"场馆",s=String((null==n?void 0:n.address)||(null==e?void 0:e.address)||"").trim();I({lat:o,lng:a,name:i,address:s||"苏州",emptyHint:"暂未标注地图坐标,无法导航"})}async function Z(t){if(!t)return;const e=/^1\d{10}$/.test(F.value);if(e||q()){D.value=!0;try{if(!U.value)try{U.value=await N()}catch{U.value=null}M.value=await T(t,e?F.value:void 0),await async function(){var t;const e=null==(t=M.value)?void 0:t.qr_token;if(e)try{H.value=await x.toDataURL(e,{width:320,margin:1,errorCorrectionLevel:"M"})}catch{H.value=""}else H.value=""}(),function(){var t;const e=(null==(t=M.value)?void 0:t.visitor_name)||"观众";$.value=H.value?[{label:e,qr:H.value}]:[]}()}catch(n){i({title:(null==n?void 0:n.message)||"加载详情失败",icon:"none"})}finally{D.value=!1}}else i({title:"缺少验证信息",icon:"none"})}const X=e(!1);function W(){X.value=!1}function G(){var t;(null==(t=M.value)?void 0:t.id)&&(K.value?(/^1\d{10}$/.test(F.value)||q())&&(X.value=!0):i({title:"当前不可取消(已核销/已取消或预约日已过)",icon:"none"}))}async function tt(){var t;if(X.value=!1,!(null==(t=M.value)?void 0:t.id))return;if(!K.value)return;const e=/^1\d{10}$/.test(F.value);if(e||q()){z.value=!0;try{await P(M.value.id,e?F.value:void 0),i({title:"取消成功",icon:"success"}),await Z(M.value.id)}catch(n){i({title:(null==n?void 0:n.message)||"取消失败",icon:"none"})}finally{z.value=!1}}}return r(t=>{const e=Number((null==t?void 0:t.id)||0);F.value=String((null==t?void 0:t.phone)||""),Z(e)}),(t,e)=>{const n=c("SubPageBackBtn"),r=s,i=w,l=C,u=A;return d(),o(r,{class:"page"},{default:a(()=>{var t,s;return[f(n),D.value&&!M.value?(d(),o(r,{key:0,class:"loading"},{default:a(()=>[h("加载中…")]),_:1})):g("",!0),f(r,{class:"card"},{default:a(()=>{var t,e,n;return[f(r,{class:"title"},{default:a(()=>{var t,e;return[h(v((null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.title)||"-"),1)]}),_:1}),(null==(n=null==(e=null==(t=M.value)?void 0:t.activity)?void 0:e.tags)?void 0:n.length)?(d(),o(r,{key:0,class:"tags"},{default:a(()=>[(d(!0),p(m,null,y(M.value.activity.tags,(t,e)=>{var n;return d(),o(i,{key:e,class:"tag",style:E(_(k)(e,null==(n=U.value)?void 0:n.venue_type))},{default:a(()=>[h(v(t),1)]),_:2},1032,["style"])}),128))]),_:1})):g("",!0),f(r,{class:"meta"},{default:a(()=>[h("活动时间:"+v(Y.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e;return[h("预约场馆:"+v((null==(e=null==(t=M.value)?void 0:t.venue)?void 0:e.name)||"-"),1)]}),_:1}),f(r,{class:"addr-row"},{default:a(()=>[f(i,{class:"meta meta--grow"},{default:a(()=>[h("场馆地址:"+v(j.value),1)]),_:1}),f(r,{class:"nav-btn",onClick:Q},{default:a(()=>[h("导航")]),_:1})]),_:1})]}),_:1}),f(r,{class:"card"},{default:a(()=>{var t,e,n,i,s;return[f(r,{class:"sec-label"},{default:a(()=>[h("预约信息")]),_:1}),"ticket_grab"===(null==(t=M.value)?void 0:t.reservation_kind)?(d(),p(m,{key:0},[f(r,{class:"meta"},{default:a(()=>[h(v(V.value),1)]),_:1}),(null==(e=M.value)?void 0:e.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[h("证件号码:"+v(M.value.id_card),1)]),_:1})):g("",!0),f(r,{class:"meta"},{default:a(()=>{var t;return[h("入馆日期:"+v(_(L)(null==(t=M.value)?void 0:t.entry_date)),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[h("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(n=M.value)?void 0:n.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[h("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):g("",!0)],64)):(d(),p(m,{key:1},[f(r,{class:"meta"},{default:a(()=>{var t,e;return[h("预约场次:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.session_name)||"").trim()||"-"),1)]}),_:1}),f(r,{class:"meta"},{default:a(()=>{var t,e,n,r;return[h("场次/入馆时间:"+v(((null==(e=null==(t=M.value)?void 0:t.activity_day)?void 0:e.time_range_text)||"").trim()||_(L)(null==(r=null==(n=M.value)?void 0:n.activity_day)?void 0:r.activity_date)),1)]}),_:1}),(null==(i=M.value)?void 0:i.id_card)?(d(),o(r,{key:0,class:"meta"},{default:a(()=>[h("证件号码:"+v(M.value.id_card),1)]),_:1})):g("",!0),f(r,{class:"meta"},{default:a(()=>[h(v(V.value),1)]),_:1}),f(r,{class:"meta"},{default:a(()=>{var t;return[h("下单时间:"+v(_(S)(null==(t=M.value)?void 0:t.created_at)),1)]}),_:1}),(null==(s=M.value)?void 0:s.verified_at)?(d(),o(r,{key:1,class:"meta"},{default:a(()=>[h("核销时间:"+v(_(S)(M.value.verified_at)),1)]),_:1})):g("",!0)],64))]}),_:1}),(null==(t=M.value)?void 0:t.qr_token)&&"pending"===(null==(s=M.value)?void 0:s.status)?(d(),o(r,{key:1,class:"card"},{default:a(()=>[f(r,{class:"sub-title"},{default:a(()=>[h("入馆凭证")]),_:1}),(d(!0),p(m,null,y($.value,(t,e)=>(d(),o(r,{class:"ticket",key:e},{default:a(()=>[f(r,{class:"ticket-head"},{default:a(()=>[f(i,null,{default:a(()=>[h("请向工作人员出示此码")]),_:1}),f(i,{class:"copy",onClick:O},{default:a(()=>[h("复制码")]),_:1})]),_:1}),t.qr?(d(),o(l,{key:0,class:"qr",src:t.qr,mode:"aspectFit"},null,8,["src"])):(d(),o(r,{key:1,class:"tip"},{default:a(()=>[h("二维码生成中...")]),_:1})),f(r,{class:"qr-name"},{default:a(()=>[h(v(t.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):g("",!0),K.value?(d(),o(r,{key:2,class:"action"},{default:a(()=>[f(u,{class:"btn",disabled:z.value||D.value,onClick:G},{default:a(()=>[h(v(z.value?"取消中...":"取消预约"),1)]),_:1},8,["disabled"])]),_:1})):g("",!0),X.value?(d(),o(r,{key:3,class:"cancel-mask",onClick:W},{default:a(()=>[f(r,{class:"cancel-panel",onClick:e[0]||(e[0]=B(()=>{},["stop"]))},{default:a(()=>[f(i,{class:"cancel-dlg-title"},{default:a(()=>[h("取消预约")]),_:1}),f(i,{class:"cancel-dlg-body"},{default:a(()=>[h(v("累计 3 次预约未履约将自动进入灰名单,3 个月内将限制预约功能,请合理安排行程。\n\n确认后将取消本次预约并释放名额。"))]),_:1}),f(r,{class:"cancel-dlg-actions"},{default:a(()=>[f(u,{class:"cancel-dlg-btn cancel-dlg-btn--ghost",onClick:W},{default:a(()=>[h("返回")]),_:1}),f(u,{class:"cancel-dlg-btn cancel-dlg-btn--warn",onClick:tt},{default:a(()=>[h("确认取消")]),_:1})]),_:1})]),_:1})]),_:1})):g("",!0)]}),_:1})}}}),[["__scopeId","data-v-c4ecbdd3"]]);export{de as default}; diff --git a/public/h5/assets/pages-stats-index.C9uW77Qa.js b/public/h5/assets/pages-stats-index.C9uW77Qa.js new file mode 100644 index 0000000..7b37333 --- /dev/null +++ b/public/h5/assets/pages-stats-index.C9uW77Qa.js @@ -0,0 +1 @@ +import{d as a,r as s,o as t,ae as l,p as e,H as c,J as i,c as n,f as u,q as o,i as r,O as d,b as f,l as m,C as _,m as v,j as p,A as y,F as g,B as k,v as h,t as b,x as C,y as w,k as j,D as x,_ as B}from"./index-D9YO76Ut.js";import{a as A,g as P}from"./content.CWxBtEbN.js";import{g as F,l as H}from"./peopleCounting.BfwgNXhn.js";import{P as S}from"./poster.C6TYC1FC.js";const q=B(a({__name:"index",setup(a){const B=s(!0),q=s([]),D=s(6);async function I(){B.value=!0;try{const[a,s,t]=await Promise.all([A({only_included_in_stats:!0}),P().catch(()=>null),F().catch(()=>null)]),l=Array.isArray(a)?a:[],e=function(a){const s={};for(const t of(null==a?void 0:a.district)??[]){const a=(t.value||"").trim();a&&(s[a]=(t.label||"").trim()||a)}return s}(s),c=H(t);q.value=function(a,s,t){const l=a.map(a=>{const l=(a.district||"").trim(),e=l?s[l]??l:"",c=t.has(a.id)?t.get(a.id):null;return{id:a.id,name:a.name||"未命名场馆",district:e,cover_image:a.cover_image||null,liveCount:c}}).filter(a=>null!=a.liveCount&&a.liveCount>0);return l.sort((a,s)=>s.liveCount-a.liveCount),l}(l,e,c)}catch(a){o({title:(null==a?void 0:a.message)||"加载失败",icon:"none"}),q.value=[]}finally{B.value=!1}}return t(()=>{try{const a=l();D.value=Number(a.statusBarHeight||0)+6}catch{D.value=6}}),e(()=>{I()}),c(async()=>{try{await I()}finally{i()}}),(a,s)=>{const t=d("SubPageBackBtn"),l=r,e=v,c=C;return f(),n(l,{class:"page"},{default:u(()=>[m(l,{class:"stats-header",style:_({paddingTop:D.value+"px"})},{default:u(()=>[m(l,{class:"stats-header-row"},{default:u(()=>[m(t,{embedded:""}),m(l,{class:"stats-title-line"},{default:u(()=>[m(l,{class:"title-left"},{default:u(()=>[m(l,{class:"bar","aria-hidden":"true"}),m(e,{class:"title"},{default:u(()=>[p("实时人数排行")]),_:1})]),_:1}),m(e,{class:"title-hint"},{default:u(()=>[p("纳入市科协人数统计系统场馆")]),_:1})]),_:1})]),_:1})]),_:1},8,["style"]),B.value&&!q.value.length?(f(),n(l,{key:0,class:"state"},{default:u(()=>[p("加载中…")]),_:1})):q.value.length?(f(),n(l,{key:2,class:"list"},{default:u(()=>[(f(!0),y(g,null,k(q.value,(a,s)=>(f(),n(l,{key:a.id,class:h(["row",{"is-top1":0===s,"is-top2":1===s,"is-top3":2===s}]),onClick:s=>{var t;(t=a.id)&&x({url:`/pages/venue/detail?id=${t}`})}},{default:u(()=>[m(l,{class:"rank-wrap"},{default:u(()=>[s<3?(f(),n(l,{key:0,class:h(["medal","m"+(s+1)])},{default:u(()=>[p(b(s+1),1)]),_:2},1032,["class"])):(f(),n(e,{key:1,class:"rank-num"},{default:u(()=>[p(b(s+1),1)]),_:2},1024))]),_:2},1024),m(c,{class:"thumb",src:a.cover_image||w(S),mode:"aspectFill"},null,8,["src"]),m(l,{class:"mid"},{default:u(()=>[m(e,{class:"name"},{default:u(()=>[p(b(a.name),1)]),_:2},1024),a.district?(f(),n(e,{key:0,class:"district"},{default:u(()=>[p(b(a.district),1)]),_:2},1024)):j("",!0)]),_:2},1024),m(l,{class:"count-block"},{default:u(()=>[m(e,{class:"count-label"},{default:u(()=>[p("实时人数")]),_:1}),m(l,{class:"count-row"},{default:u(()=>[m(e,{class:"count"},{default:u(()=>[p(b(a.liveCount.toLocaleString()),1)]),_:2},1024),m(e,{class:"unit"},{default:u(()=>[p("人")]),_:1})]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):(f(),n(l,{key:1,class:"state muted"},{default:u(()=>[p("暂无实时人数数据")]),_:1})),m(l,{class:"bottom-safe"})]),_:1})}}}),[["__scopeId","data-v-d4b050ee"]]);export{q as default}; diff --git a/public/h5/assets/pages-stats-index.I6pKoYw2.js b/public/h5/assets/pages-stats-index.I6pKoYw2.js deleted file mode 100644 index d95b807..0000000 --- a/public/h5/assets/pages-stats-index.I6pKoYw2.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as s,a as t,ae as l,o as e,G as n,H as i,e as u,f as c,g as o,i as r,N as d,j as f,k as m,A as _,l as v,m as p,y,F as g,z as k,n as h,v as b,p as C,q as w,B as j,C as x,_ as B}from"./index-CC6J0dtG.js";import{a as A,g as P}from"./content.BfcEEng6.js";import{g as F,l as H}from"./peopleCounting.CH-rEjWp.js";import{P as N}from"./poster.C6TYC1FC.js";const S=B(a({__name:"index",setup(a){const B=s(!0),S=s([]),q=s(6);async function z(){B.value=!0;try{const[a,s,t]=await Promise.all([A({only_included_in_stats:!0}),P().catch(()=>null),F().catch(()=>null)]),l=Array.isArray(a)?a:[],e=function(a){const s={};for(const t of(null==a?void 0:a.district)??[]){const a=(t.value||"").trim();a&&(s[a]=(t.label||"").trim()||a)}return s}(s),n=H(t);S.value=function(a,s,t){const l=a.map(a=>{const l=(a.district||"").trim(),e=l?s[l]??l:"",n=t.has(a.id)?t.get(a.id):null;return{id:a.id,name:a.name||"未命名场馆",district:e,cover_image:a.cover_image||null,liveCount:n}}).filter(a=>null!=a.liveCount&&a.liveCount>0);return l.sort((a,s)=>s.liveCount-a.liveCount),l}(l,e,n)}catch(a){o({title:(null==a?void 0:a.message)||"加载失败",icon:"none"}),S.value=[]}finally{B.value=!1}}return t(()=>{try{const a=l();q.value=Number(a.statusBarHeight||0)+6}catch{q.value=6}}),e(()=>{z()}),n(async()=>{try{await z()}finally{i()}}),(a,s)=>{const t=d("SubPageBackBtn"),l=r,e=v,n=C;return f(),u(l,{class:"page"},{default:c(()=>[m(l,{class:"stats-header",style:_({paddingTop:q.value+"px"})},{default:c(()=>[m(l,{class:"stats-header-row"},{default:c(()=>[m(t,{embedded:""}),m(l,{class:"stats-title-line"},{default:c(()=>[m(l,{class:"title-left"},{default:c(()=>[m(l,{class:"bar","aria-hidden":"true"}),m(e,{class:"title"},{default:c(()=>[p("实时人数排行")]),_:1})]),_:1}),m(e,{class:"title-hint"},{default:c(()=>[p("纳入市科协人数统计系统场馆")]),_:1})]),_:1})]),_:1})]),_:1},8,["style"]),B.value&&!S.value.length?(f(),u(l,{key:0,class:"state"},{default:c(()=>[p("加载中…")]),_:1})):S.value.length?(f(),u(l,{key:2,class:"list"},{default:c(()=>[(f(!0),y(g,null,k(S.value,(a,s)=>(f(),u(l,{key:a.id,class:h(["row",{"is-top1":0===s,"is-top2":1===s,"is-top3":2===s}]),onClick:s=>{var t;(t=a.id)&&x({url:`/pages/venue/detail?id=${t}`})}},{default:c(()=>[m(l,{class:"rank-wrap"},{default:c(()=>[s<3?(f(),u(l,{key:0,class:h(["medal","m"+(s+1)])},{default:c(()=>[p(b(s+1),1)]),_:2},1032,["class"])):(f(),u(e,{key:1,class:"rank-num"},{default:c(()=>[p(b(s+1),1)]),_:2},1024))]),_:2},1024),m(n,{class:"thumb",src:a.cover_image||w(N),mode:"aspectFill"},null,8,["src"]),m(l,{class:"mid"},{default:c(()=>[m(e,{class:"name"},{default:c(()=>[p(b(a.name),1)]),_:2},1024),a.district?(f(),u(e,{key:0,class:"district"},{default:c(()=>[p(b(a.district),1)]),_:2},1024)):j("",!0)]),_:2},1024),m(l,{class:"count-block"},{default:c(()=>[m(e,{class:"count-label"},{default:c(()=>[p("实时人数")]),_:1}),m(l,{class:"count-row"},{default:c(()=>[m(e,{class:"count"},{default:c(()=>[p(b(a.liveCount.toLocaleString()),1)]),_:2},1024),m(e,{class:"unit"},{default:c(()=>[p("人")]),_:1})]),_:2},1024)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})):(f(),u(l,{key:1,class:"state muted"},{default:c(()=>[p("暂无实时人数数据")]),_:1})),m(l,{class:"bottom-safe"})]),_:1})}}}),[["__scopeId","data-v-d4b050ee"]]);export{S as default}; diff --git a/public/h5/assets/pages-study-tour-detail.8Ku-CFZm.js b/public/h5/assets/pages-study-tour-detail.8Ku-CFZm.js new file mode 100644 index 0000000..166a966 --- /dev/null +++ b/public/h5/assets/pages-study-tour-detail.8Ku-CFZm.js @@ -0,0 +1 @@ +import{d as e,r as l,n as a,w as t,V as s,s as u,c as n,f as c,a4 as o,i as r,a5 as i,a6 as d,u as v,W as f,O as _,b as m,l as g,S as p,x as y,m as h,j as w,t as k,A as b,F as x,B as S,C,y as j,k as $,v as R,e as F,$ as N,ab as T,ac as B,D as L,a1 as P,ad as q,_ as M}from"./index-D9YO76Ut.js";import{r as z,g as A}from"./content.CWxBtEbN.js";import{i as D,a as I}from"./icon_up.DJ5zmdk8.js";import{P as O}from"./poster.C6TYC1FC.js";import{v as U}from"./venueTypes.DuAf5T5V.js";import{a as V,c as W}from"./venueThemeColors.DRxjaxXI.js";const E="#05c9ac",G=M(e({__name:"detail",setup(e){function M(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}function G(e){if(null==e||""===e)return"";const l=String(e);if(/<[a-z][\s\S]*>/i.test(l)){const e=function(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const s=String(a).trim();return/style\s*=/i.test(s)?/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`):`"===t?" />":">"}`})}(l);return M(e)?e:""}const a=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(l),t=`
${a}
`;return M(t)?t:""}const H=l(null),J=l(null),K=l(!0),Q=l(!0),X=l(!0),Y=l(!1),Z=l(!1),ee=l(!1),le=l(!0),ae=l(!0);function te(){o(()=>{setTimeout(()=>{var e;const l=null==(e=i())?void 0:e.proxy,a=d();l&&a.in(l);const t=v(187);a.select(".judge-study-intro").boundingClientRect(),a.select(".judge-study-fee").boundingClientRect(),a.select(".judge-study-impl").boundingClientRect(),a.exec(e=>{const[l,a,s]=e||[];Y.value=!!(l&&l.height&&l.height>t+1),Z.value=!!(a&&a.height&&a.height>t+1),ee.value=!!(s&&s.height&&s.height>t+1)})},120)})}const se=a(()=>{var e,l,a;return(null==(e=H.value)?void 0:e.venue_items)||(null==(l=H.value)?void 0:l.map_venues)||(null==(a=H.value)?void 0:a.venues)||[]}),ue=a(()=>{var e,l;return(null==(e=H.value)?void 0:e.cover_image)||(null==(l=H.value)?void 0:l.image)||O}),ne=a(()=>{var e;return(null==(e=H.value)?void 0:e.route_plans)||[]}),ce=a(()=>{var e;return(null==(e=H.value)?void 0:e.courses)||[]}),oe=a(()=>{var e;return(null==(e=H.value)?void 0:e.contact_phone_list)||[]}),re=a(()=>(ne.value||[]).map(e=>{const l=(e.items||[]).map(e=>({time:String((null==e?void 0:e.time)||"").trim()||"-",activity:String((null==e?void 0:e.activity)||"").trim()||"-",location:String((null==e?void 0:e.location)||"").trim()||"-",showLocation:!0,locationRowspan:1}));let a=0;for(;a{const e=H.value;return!!e&&!!(e.org_name||(e.season_labels||[]).length||e.suitable_count||(e.grade_level_labels||[]).length||e.duration||e.contact_person||oe.value.length)});function de(e){return function(e){var l;const a=U(e)[0];if(a)return W(a,null==(l=J.value)?void 0:l.venue_type);const t=e.venue_type_color;return t&&"string"==typeof t&&t.trim()?t.trim():E}(e)}function ve(e){return{background:"custom"===e.type?E:de(e),color:"#ffffff"}}function fe(e){return"custom"!==(null==e?void 0:e.type)&&Number(null==e?void 0:e.id)>0}const _e=a(()=>{var e;return G(null==(e=H.value)?void 0:e.intro_html)}),me=a(()=>{var e;return G(null==(e=H.value)?void 0:e.fee_html)}),ge=a(()=>{var e;return G(null==(e=H.value)?void 0:e.implementation_html)});return t([_e,me,ge],()=>{K.value=!0,Q.value=!0,X.value=!0,te()}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const[a,t]=await Promise.all([z(l),A()]);H.value=a,J.value=t,te(),"undefined"!=typeof window&&await u({title:String((null==a?void 0:a.name)||"研学线路"),desc:f.desc,link:window.location.href,imgUrl:(null==a?void 0:a.cover_image)||(null==a?void 0:a.image)||O}).catch(()=>{})}),(e,l)=>{const a=_("SubPageBackBtn"),t=y,s=r,u=h,o=N,i=p;return m(),n(s,{class:"page"},{default:c(()=>[g(a),g(i,{"scroll-y":"",class:"scroll"},{default:c(()=>[g(s,{class:"cover-wrap"},{default:c(()=>[g(t,{class:"cover-img",src:ue.value,mode:"aspectFill"},null,8,["src"])]),_:1}),g(s,{class:"main-card"},{default:c(()=>{var e,l;return[g(u,{class:"tour-title"},{default:c(()=>{var e;return[w(k((null==(e=H.value)?void 0:e.name)||"-"),1)]}),_:1}),(null==(l=null==(e=H.value)?void 0:e.tags)?void 0:l.length)?(m(),n(s,{key:0,class:"act-tags"},{default:c(()=>[(m(!0),b(x,null,S((H.value.tags||[]).slice(0,4),(e,l)=>{var a;return m(),n(u,{key:"tg-"+l+"-"+e,class:"act-tag-chip",style:C(j(V)(l,null==(a=J.value)?void 0:a.venue_type))},{default:c(()=>[w(k(e),1)]),_:2},1032,["style"])}),128))]),_:1})):$("",!0),ie.value?(m(),n(s,{key:1,class:"meta-block"},{default:c(()=>{var e,l,a,t,o,r;return[(null==(e=H.value)?void 0:e.org_name)?(m(),n(s,{key:0,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("组织单位")]),_:1}),g(u,{class:"meta-value"},{default:c(()=>[w(k(H.value.org_name),1)]),_:1})]),_:1})):$("",!0),((null==(l=H.value)?void 0:l.season_labels)||[]).length?(m(),n(s,{key:1,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("对应季节")]),_:1}),g(u,{class:"meta-value"},{default:c(()=>[w(k((H.value.season_labels||[]).join("、")),1)]),_:1})]),_:1})):$("",!0),(null==(a=H.value)?void 0:a.suitable_count)?(m(),n(s,{key:2,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("适宜人数")]),_:1}),g(u,{class:"meta-value"},{default:c(()=>[w(k(H.value.suitable_count),1)]),_:1})]),_:1})):$("",!0),((null==(t=H.value)?void 0:t.grade_level_labels)||[]).length?(m(),n(s,{key:3,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("适配学段")]),_:1}),g(u,{class:"meta-value"},{default:c(()=>[w(k((H.value.grade_level_labels||[]).join("、")),1)]),_:1})]),_:1})):$("",!0),(null==(o=H.value)?void 0:o.duration)?(m(),n(s,{key:4,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("研学时长")]),_:1}),g(u,{class:"meta-value"},{default:c(()=>[w(k(H.value.duration),1)]),_:1})]),_:1})):$("",!0),(null==(r=H.value)?void 0:r.contact_person)?(m(),n(s,{key:5,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("联络人")]),_:1}),g(u,{class:"meta-value"},{default:c(()=>[w(k(H.value.contact_person),1)]),_:1})]),_:1})):$("",!0),oe.value.length?(m(),n(s,{key:6,class:"meta-row"},{default:c(()=>[g(u,{class:"meta-label"},{default:c(()=>[w("咨询电话")]),_:1}),g(s,{class:"meta-phones"},{default:c(()=>[(m(!0),b(x,null,S(oe.value,(e,l)=>(m(),n(u,{key:"ph-"+l,class:"phone-link",onClick:l=>function(e){const l=String(e||"").trim();l&&q({phoneNumber:l})}(e)},{default:c(()=>[w(k(e),1),l[w("、")]),_:1})):$("",!0)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})):$("",!0)]}),_:1})):$("",!0),(m(!0),b(x,null,S(se.value,(e,l)=>(m(),n(s,{key:fe(e)?"sys-"+e.id:"cus-"+l+"-"+e.name,class:R(["venue-row",{"is-custom":!fe(e)}]),onClick:l=>{return fe(e)?(a=e.id,void L({url:`/pages/venue/detail?id=${a}`})):void 0;var a}},{default:c(()=>[g(s,{class:"idx",style:C(ve(e))},{default:c(()=>[w(k(Number(l)+1),1)]),_:2},1032,["style"]),g(s,{class:"venue-mid"},{default:c(()=>[g(s,{class:"name"},{default:c(()=>[w(k(e.name),1)]),_:2},1024),g(s,{class:"addr"},{default:c(()=>[w(k(e.address||"-"),1)]),_:2},1024)]),_:2},1024),fe(e)?(m(),n(s,{key:0,class:"go",onClick:F(l=>function(e){P({lat:Number(e.lat),lng:Number(e.lng),name:e.name||"站点",address:e.address||""})}(e),["stop"])},{default:c(()=>[w("导航")]),_:2},1032,["onClick"])):$("",!0)]),_:2},1032,["class","onClick"]))),128))]}),_:1}),_e.value?(m(),n(s,{key:0,class:"intro-card"},{default:c(()=>[g(s,{class:"sec-title-row"},{default:c(()=>[g(u,{class:"sec-title"},{default:c(()=>[w("线路简介")]),_:1}),Y.value?(m(),n(s,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>K.value=!K.value)},{default:c(()=>[g(t,{class:"expand-arrow-img",src:K.value?j(D):j(I),mode:"aspectFit"},null,8,["src"])]),_:1})):$("",!0)]),_:1}),g(s,{class:R(["intro-rich-wrap judge-study-intro",{"is-collapsed":Y.value&&!K.value}])},{default:c(()=>[g(o,{class:"intro-rich",nodes:_e.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):$("",!0),re.value.length?(m(),n(s,{key:1,class:"section-card"},{default:c(()=>[g(s,{class:"sec-title-row"},{default:c(()=>[g(u,{class:"sec-title"},{default:c(()=>[w("线路规划")]),_:1}),g(s,{class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>le.value=!le.value)},{default:c(()=>[g(t,{class:"expand-arrow-img",src:le.value?j(D):j(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),T(g(s,{class:"route-table"},{default:c(()=>[g(s,{class:"route-head"},{default:c(()=>[g(u,{class:"c-date"},{default:c(()=>[w("日期")]),_:1}),g(u,{class:"c-time"},{default:c(()=>[w("时间")]),_:1}),g(u,{class:"c-act"},{default:c(()=>[w("行程安排")]),_:1}),g(u,{class:"c-loc"},{default:c(()=>[w("地点")]),_:1})]),_:1}),(m(!0),b(x,null,S(re.value,(e,l)=>(m(),n(s,{key:"rg-"+l,class:"route-group-grid",style:C({gridTemplateRows:`repeat(${Math.max(e.rows.length,1)}, auto)`})},{default:c(()=>[g(s,{class:"cell-date",style:C({gridRow:`1 / span ${Math.max(e.rows.length,1)}`})},{default:c(()=>[g(u,null,{default:c(()=>[w(k(e.date_label),1)]),_:2},1024)]),_:2},1032,["style"]),(m(!0),b(x,null,S(e.rows,(e,a)=>(m(),b(x,{key:"ri-"+l+"-"+a},[g(u,{class:"cell-time",style:C({gridRow:String(a+1)})},{default:c(()=>[w(k(e.time),1)]),_:2},1032,["style"]),g(u,{class:"cell-act",style:C({gridRow:String(a+1)})},{default:c(()=>[w(k(e.activity),1)]),_:2},1032,["style"]),e.showLocation?(m(),n(s,{key:0,class:"cell-loc",style:C({gridRow:`${a+1} / span ${e.locationRowspan}`})},{default:c(()=>[g(u,null,{default:c(()=>[w(k(e.location),1)]),_:2},1024)]),_:2},1032,["style"])):$("",!0)],64))),128))]),_:2},1032,["style"]))),128))]),_:1},512),[[B,le.value]])]),_:1})):$("",!0),ce.value.length?(m(),n(s,{key:2,class:"section-card"},{default:c(()=>[g(s,{class:"sec-title-row"},{default:c(()=>[g(u,{class:"sec-title"},{default:c(()=>[w("研学课程")]),_:1}),g(s,{class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>ae.value=!ae.value)},{default:c(()=>[g(t,{class:"expand-arrow-img",src:ae.value?j(D):j(I),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),T(g(s,null,{default:c(()=>[(m(!0),b(x,null,S(ce.value,(e,l)=>(m(),n(s,{key:"c-"+l,class:"course-item"},{default:c(()=>[g(s,{class:"course-head"},{default:c(()=>[g(u,{class:"course-no"},{default:c(()=>[w(k(l+1),1)]),_:2},1024),g(u,{class:"course-name"},{default:c(()=>[w(k(e.name||"-"),1)]),_:2},1024)]),_:2},1024),g(u,{class:"course-content"},{default:c(()=>[w(k(e.content||"-"),1)]),_:2},1024)]),_:2},1024))),128))]),_:1},512),[[B,ae.value]])]),_:1})):$("",!0),me.value?(m(),n(s,{key:3,class:"intro-card"},{default:c(()=>[g(s,{class:"sec-title-row"},{default:c(()=>[g(u,{class:"sec-title"},{default:c(()=>[w("线路收费标准")]),_:1}),Z.value?(m(),n(s,{key:0,class:"expand-arrow-tap",onClick:l[3]||(l[3]=e=>Q.value=!Q.value)},{default:c(()=>[g(t,{class:"expand-arrow-img",src:Q.value?j(D):j(I),mode:"aspectFit"},null,8,["src"])]),_:1})):$("",!0)]),_:1}),g(s,{class:R(["intro-rich-wrap judge-study-fee",{"is-collapsed":Z.value&&!Q.value}])},{default:c(()=>[g(o,{class:"intro-rich",nodes:me.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):$("",!0),ge.value?(m(),n(s,{key:4,class:"intro-card"},{default:c(()=>[g(s,{class:"sec-title-row"},{default:c(()=>[g(u,{class:"sec-title"},{default:c(()=>[w("计划实施情况")]),_:1}),ee.value?(m(),n(s,{key:0,class:"expand-arrow-tap",onClick:l[4]||(l[4]=e=>X.value=!X.value)},{default:c(()=>[g(t,{class:"expand-arrow-img",src:X.value?j(D):j(I),mode:"aspectFit"},null,8,["src"])]),_:1})):$("",!0)]),_:1}),g(s,{class:R(["intro-rich-wrap judge-study-impl",{"is-collapsed":ee.value&&!X.value}])},{default:c(()=>[g(o,{class:"intro-rich",nodes:ge.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):$("",!0),g(s,{class:"safe-bottom"})]),_:1})]),_:1})}}}),[["__scopeId","data-v-94f73ba8"]]);export{G as default}; diff --git a/public/h5/assets/pages-study-tour-detail.DXNgTVif.js b/public/h5/assets/pages-study-tour-detail.DXNgTVif.js deleted file mode 100644 index f5e09ed..0000000 --- a/public/h5/assets/pages-study-tour-detail.DXNgTVif.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as l,c as a,w as t,U as s,s as u,e as n,f as o,a3 as r,i,a4 as c,a5 as d,u as v,W as f,N as m,j as g,k as _,S as p,B as y,n as h,l as w,m as b,v as k,y as x,F as C,z as S,A as N,q as j,x as $,p as R,Z as F,aa as T,ab as z,C as B,a0 as L,ac as P,_ as q}from"./index-CC6J0dtG.js";import{r as M,g as A}from"./content.BfcEEng6.js";import{i as I,a as U}from"./icon_up.DJ5zmdk8.js";import{P as K}from"./poster.C6TYC1FC.js";import{g as W,T as Y,t as Z}from"./TiandituMap.phxVrsFe.js";import{v as D}from"./venueTypes.DuAf5T5V.js";import{a as E,c as G}from"./venueThemeColors.DRxjaxXI.js";import"./coordChina.DSiWE9WA.js";const H="#05c9ac",J=q(e({__name:"detail",setup(e){function q(e){if(!e||!String(e).trim())return!1;return String(e).replace(/<[^>]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}function J(e){if(null==e||""===e)return"";const l=String(e);if(/<[a-z][\s\S]*>/i.test(l)){const e=function(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const s=String(a).trim();return/style\s*=/i.test(s)?/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`):`"===t?" />":">"}`})}(l);return q(e)?e:""}const a=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(l),t=`
${a}
`;return q(t)?t:""}const O=l(null),Q=l(null),V=l(!0),X=l(!0),ee=l(!0),le=l(!1),ae=l(!1),te=l(!1),se=l(!0),ue=l(!0);function ne(){r(()=>{setTimeout(()=>{var e;const l=null==(e=c())?void 0:e.proxy,a=d();l&&a.in(l);const t=v(187);a.select(".judge-study-intro").boundingClientRect(),a.select(".judge-study-fee").boundingClientRect(),a.select(".judge-study-impl").boundingClientRect(),a.exec(e=>{const[l,a,s]=e||[];le.value=!!(l&&l.height&&l.height>t+1),ae.value=!!(a&&a.height&&a.height>t+1),te.value=!!(s&&s.height&&s.height>t+1)})},120)})}const oe=a(()=>{var e,l;return(null==(e=O.value)?void 0:e.map_venues)||(null==(l=O.value)?void 0:l.venues)||[]}),re=a(()=>{var e;return(null==(e=O.value)?void 0:e.venue_items)||oe.value||[]}),ie=a(()=>{var e;return(null==(e=O.value)?void 0:e.route_plans)||[]}),ce=a(()=>{var e;return(null==(e=O.value)?void 0:e.courses)||[]}),de=a(()=>{var e;return(null==(e=O.value)?void 0:e.contact_phone_list)||[]}),ve=a(()=>(ie.value||[]).map(e=>{const l=(e.items||[]).map(e=>({time:String((null==e?void 0:e.time)||"").trim()||"-",activity:String((null==e?void 0:e.activity)||"").trim()||"-",location:String((null==e?void 0:e.location)||"").trim()||"-",showLocation:!0,locationRowspan:1}));let a=0;for(;a{const e=O.value;return!!e&&!!(e.org_name||(e.season_labels||[]).length||e.suitable_count||(e.grade_level_labels||[]).length||e.duration||e.contact_person||de.value.length)});function me(e){return Z({venue_type_color:e.venue_type_color},()=>function(e){var l;const a=D(e)[0];if(a)return G(a,null==(l=Q.value)?void 0:l.venue_type);const t=e.venue_type_color;return t&&"string"==typeof t&&t.trim()?t.trim():H}(e))}function ge(e){return{background:"custom"===e.type?H:me(e),color:"#ffffff"}}function _e(e){return"custom"!==(null==e?void 0:e.type)&&Number(null==e?void 0:e.id)>0}const pe=a(()=>{var e;return J(null==(e=O.value)?void 0:e.intro_html)}),ye=a(()=>{var e;return J(null==(e=O.value)?void 0:e.fee_html)}),he=a(()=>{var e;return J(null==(e=O.value)?void 0:e.implementation_html)});t([pe,ye,he],()=>{V.value=!0,X.value=!0,ee.value=!0,ne()});const we=a(()=>{const e=oe.value.map(e=>({lat:Number(e.lat),lng:Number(e.lng)})).filter(e=>Number.isFinite(e.lat)&&Number.isFinite(e.lng)&&e.lat&&e.lng);if(!e.length)return{latitude:31.2989,longitude:120.5853};const l=e.reduce((e,l)=>({lat:e.lat+l.lat,lng:e.lng+l.lng}),{lat:0,lng:0});return{latitude:l.lat/e.length,longitude:l.lng/e.length}}),be=a(()=>oe.value.map(e=>({latitude:Number(e.lat),longitude:Number(e.lng)})).filter(e=>Number.isFinite(e.latitude)&&Number.isFinite(e.longitude)&&e.latitude&&e.longitude)),ke=a(()=>{const e=be.value.length;return e>=5?10:e>=3?11:e>=2?12:13}),xe=a(()=>oe.value.map((e,l)=>{const a=Number(e.lat),t=Number(e.lng);if(!a||!t)return null;const s=me(e);return{id:Number(e.id)||l+1,latitude:a,longitude:t,width:28,height:32,iconPath:W(s),anchor:{x:.5,y:1},callout:{content:`${l+1}. ${e.name||"场馆"}`,color:"#333333",fontSize:12,borderRadius:8,bgColor:"#ffffff",padding:8,display:"BYCLICK"}}}).filter(Boolean));return s(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const[a,t]=await Promise.all([M(l),A()]);O.value=a,Q.value=t,ne(),"undefined"!=typeof window&&await u({title:String((null==a?void 0:a.name)||"研学线路"),desc:f.desc,link:window.location.href,imgUrl:K}).catch(()=>{})}),(e,l)=>{const a=m("SubPageBackBtn"),t=w,s=i,u=R,r=F,c=p;return g(),n(s,{class:"page"},{default:o(()=>[_(a),_(c,{"scroll-y":"",class:"scroll"},{default:o(()=>{var e;return[be.value.length?(g(),n(Y,{key:0,class:"map",latitude:we.value.latitude,longitude:we.value.longitude,markers:xe.value,zoom:ke.value,"fit-points":be.value,"fit-key":String((null==(e=O.value)?void 0:e.id)||"")+"-"+be.value.length,"use-fit-points":be.value.length>0},null,8,["latitude","longitude","markers","zoom","fit-points","fit-key","use-fit-points"])):y("",!0),_(s,{class:h(["main-card",{"no-map":!be.value.length}])},{default:o(()=>{var e,l;return[_(t,{class:"tour-title"},{default:o(()=>{var e;return[b(k((null==(e=O.value)?void 0:e.name)||"-"),1)]}),_:1}),(null==(l=null==(e=O.value)?void 0:e.tags)?void 0:l.length)?(g(),n(s,{key:0,class:"act-tags"},{default:o(()=>[(g(!0),x(C,null,S((O.value.tags||[]).slice(0,4),(e,l)=>{var a;return g(),n(t,{key:"tg-"+l+"-"+e,class:"act-tag-chip",style:N(j(E)(l,null==(a=Q.value)?void 0:a.venue_type))},{default:o(()=>[b(k(e),1)]),_:2},1032,["style"])}),128))]),_:1})):y("",!0),fe.value?(g(),n(s,{key:1,class:"meta-block"},{default:o(()=>{var e,l,a,u,r,i;return[(null==(e=O.value)?void 0:e.org_name)?(g(),n(s,{key:0,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("组织单位")]),_:1}),_(t,{class:"meta-value"},{default:o(()=>[b(k(O.value.org_name),1)]),_:1})]),_:1})):y("",!0),((null==(l=O.value)?void 0:l.season_labels)||[]).length?(g(),n(s,{key:1,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("对应季节")]),_:1}),_(t,{class:"meta-value"},{default:o(()=>[b(k((O.value.season_labels||[]).join("、")),1)]),_:1})]),_:1})):y("",!0),(null==(a=O.value)?void 0:a.suitable_count)?(g(),n(s,{key:2,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("适宜人数")]),_:1}),_(t,{class:"meta-value"},{default:o(()=>[b(k(O.value.suitable_count),1)]),_:1})]),_:1})):y("",!0),((null==(u=O.value)?void 0:u.grade_level_labels)||[]).length?(g(),n(s,{key:3,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("适配学段")]),_:1}),_(t,{class:"meta-value"},{default:o(()=>[b(k((O.value.grade_level_labels||[]).join("、")),1)]),_:1})]),_:1})):y("",!0),(null==(r=O.value)?void 0:r.duration)?(g(),n(s,{key:4,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("研学时长")]),_:1}),_(t,{class:"meta-value"},{default:o(()=>[b(k(O.value.duration),1)]),_:1})]),_:1})):y("",!0),(null==(i=O.value)?void 0:i.contact_person)?(g(),n(s,{key:5,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("联络人")]),_:1}),_(t,{class:"meta-value"},{default:o(()=>[b(k(O.value.contact_person),1)]),_:1})]),_:1})):y("",!0),de.value.length?(g(),n(s,{key:6,class:"meta-row"},{default:o(()=>[_(t,{class:"meta-label"},{default:o(()=>[b("咨询电话")]),_:1}),_(s,{class:"meta-phones"},{default:o(()=>[(g(!0),x(C,null,S(de.value,(e,l)=>(g(),n(t,{key:"ph-"+l,class:"phone-link",onClick:l=>function(e){const l=String(e||"").trim();l&&P({phoneNumber:l})}(e)},{default:o(()=>[b(k(e),1),l[b("、")]),_:1})):y("",!0)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})):y("",!0)]}),_:1})):y("",!0),(g(!0),x(C,null,S(re.value,(e,l)=>(g(),n(s,{key:_e(e)?"sys-"+e.id:"cus-"+l+"-"+e.name,class:h(["venue-row",{"is-custom":!_e(e)}]),onClick:l=>{return _e(e)?(a=e.id,void B({url:`/pages/venue/detail?id=${a}`})):void 0;var a}},{default:o(()=>[_(s,{class:"idx",style:N(ge(e))},{default:o(()=>[b(k(Number(l)+1),1)]),_:2},1032,["style"]),_(s,{class:"venue-mid"},{default:o(()=>[_(s,{class:"name"},{default:o(()=>[b(k(e.name),1)]),_:2},1024),_(s,{class:"addr"},{default:o(()=>[b(k(e.address||"-"),1)]),_:2},1024)]),_:2},1024),_e(e)?(g(),n(s,{key:0,class:"go",onClick:$(l=>function(e){L({lat:Number(e.lat),lng:Number(e.lng),name:e.name||"站点",address:e.address||""})}(e),["stop"])},{default:o(()=>[b("导航")]),_:2},1032,["onClick"])):y("",!0)]),_:2},1032,["class","onClick"]))),128))]}),_:1},8,["class"]),pe.value?(g(),n(s,{key:1,class:"intro-card"},{default:o(()=>[_(s,{class:"sec-title-row"},{default:o(()=>[_(t,{class:"sec-title"},{default:o(()=>[b("线路简介")]),_:1}),le.value?(g(),n(s,{key:0,class:"expand-arrow-tap",onClick:l[0]||(l[0]=e=>V.value=!V.value)},{default:o(()=>[_(u,{class:"expand-arrow-img",src:V.value?j(I):j(U),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),_(s,{class:h(["intro-rich-wrap judge-study-intro",{"is-collapsed":le.value&&!V.value}])},{default:o(()=>[_(r,{class:"intro-rich",nodes:pe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),ve.value.length?(g(),n(s,{key:2,class:"section-card"},{default:o(()=>[_(s,{class:"sec-title-row"},{default:o(()=>[_(t,{class:"sec-title"},{default:o(()=>[b("线路规划")]),_:1}),_(s,{class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>se.value=!se.value)},{default:o(()=>[_(u,{class:"expand-arrow-img",src:se.value?j(I):j(U),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),T(_(s,{class:"route-table"},{default:o(()=>[_(s,{class:"route-head"},{default:o(()=>[_(t,{class:"c-date"},{default:o(()=>[b("日期")]),_:1}),_(t,{class:"c-time"},{default:o(()=>[b("时间")]),_:1}),_(t,{class:"c-act"},{default:o(()=>[b("行程安排")]),_:1}),_(t,{class:"c-loc"},{default:o(()=>[b("地点")]),_:1})]),_:1}),(g(!0),x(C,null,S(ve.value,(e,l)=>(g(),n(s,{key:"rg-"+l,class:"route-group-grid",style:N({gridTemplateRows:`repeat(${Math.max(e.rows.length,1)}, auto)`})},{default:o(()=>[_(s,{class:"cell-date",style:N({gridRow:`1 / span ${Math.max(e.rows.length,1)}`})},{default:o(()=>[_(t,null,{default:o(()=>[b(k(e.date_label),1)]),_:2},1024)]),_:2},1032,["style"]),(g(!0),x(C,null,S(e.rows,(e,a)=>(g(),x(C,{key:"ri-"+l+"-"+a},[_(t,{class:"cell-time",style:N({gridRow:String(a+1)})},{default:o(()=>[b(k(e.time),1)]),_:2},1032,["style"]),_(t,{class:"cell-act",style:N({gridRow:String(a+1)})},{default:o(()=>[b(k(e.activity),1)]),_:2},1032,["style"]),e.showLocation?(g(),n(s,{key:0,class:"cell-loc",style:N({gridRow:`${a+1} / span ${e.locationRowspan}`})},{default:o(()=>[_(t,null,{default:o(()=>[b(k(e.location),1)]),_:2},1024)]),_:2},1032,["style"])):y("",!0)],64))),128))]),_:2},1032,["style"]))),128))]),_:1},512),[[z,se.value]])]),_:1})):y("",!0),ce.value.length?(g(),n(s,{key:3,class:"section-card"},{default:o(()=>[_(s,{class:"sec-title-row"},{default:o(()=>[_(t,{class:"sec-title"},{default:o(()=>[b("研学课程")]),_:1}),_(s,{class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>ue.value=!ue.value)},{default:o(()=>[_(u,{class:"expand-arrow-img",src:ue.value?j(I):j(U),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1}),T(_(s,null,{default:o(()=>[(g(!0),x(C,null,S(ce.value,(e,l)=>(g(),n(s,{key:"c-"+l,class:"course-item"},{default:o(()=>[_(s,{class:"course-head"},{default:o(()=>[_(t,{class:"course-no"},{default:o(()=>[b(k(l+1),1)]),_:2},1024),_(t,{class:"course-name"},{default:o(()=>[b(k(e.name||"-"),1)]),_:2},1024)]),_:2},1024),_(t,{class:"course-content"},{default:o(()=>[b(k(e.content||"-"),1)]),_:2},1024)]),_:2},1024))),128))]),_:1},512),[[z,ue.value]])]),_:1})):y("",!0),ye.value?(g(),n(s,{key:4,class:"intro-card"},{default:o(()=>[_(s,{class:"sec-title-row"},{default:o(()=>[_(t,{class:"sec-title"},{default:o(()=>[b("线路收费标准")]),_:1}),ae.value?(g(),n(s,{key:0,class:"expand-arrow-tap",onClick:l[3]||(l[3]=e=>X.value=!X.value)},{default:o(()=>[_(u,{class:"expand-arrow-img",src:X.value?j(I):j(U),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),_(s,{class:h(["intro-rich-wrap judge-study-fee",{"is-collapsed":ae.value&&!X.value}])},{default:o(()=>[_(r,{class:"intro-rich",nodes:ye.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),he.value?(g(),n(s,{key:5,class:"intro-card"},{default:o(()=>[_(s,{class:"sec-title-row"},{default:o(()=>[_(t,{class:"sec-title"},{default:o(()=>[b("计划实施情况")]),_:1}),te.value?(g(),n(s,{key:0,class:"expand-arrow-tap",onClick:l[4]||(l[4]=e=>ee.value=!ee.value)},{default:o(()=>[_(u,{class:"expand-arrow-img",src:ee.value?j(I):j(U),mode:"aspectFit"},null,8,["src"])]),_:1})):y("",!0)]),_:1}),_(s,{class:h(["intro-rich-wrap judge-study-impl",{"is-collapsed":te.value&&!ee.value}])},{default:o(()=>[_(r,{class:"intro-rich",nodes:he.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):y("",!0),_(s,{class:"safe-bottom"})]}),_:1})]),_:1})}}}),[["__scopeId","data-v-d8ce78bb"]]);export{J as default}; diff --git a/public/h5/assets/pages-ticket-grab-detail.GEKRgo9i.js b/public/h5/assets/pages-ticket-grab-detail.GEKRgo9i.js new file mode 100644 index 0000000..bea7614 --- /dev/null +++ b/public/h5/assets/pages-ticket-grab-detail.GEKRgo9i.js @@ -0,0 +1 @@ +import{d as e,r as a,n as l,V as s,p as t,c as u,f as i,i as n,s as r,W as c,O as o,b as d,l as v,m as f,j as _,S as m,X as y,A as g,F as p,B as k,Y as b,x as h,Z as w,k as x,t as j,C as $,y as S,$ as F,q as A,D as N,_ as C}from"./index-D9YO76Ut.js";import{g as B,j as q}from"./content.CWxBtEbN.js";import{a as P}from"./venueThemeColors.DRxjaxXI.js";import{f as T}from"./activity.CPaCOiZ6.js";import{b as z,n as D,h as I}from"./richText.Cl1iMeI3.js";import{i as O}from"./icon2.fcm2h4jI.js";import{a as U,b as V,i as W}from"./icon8.D8UBMaA-.js";import{P as X}from"./poster.C6TYC1FC.js";import{h as Y}from"./text.BxMbQPAt.js";const Z=C(e({__name:"detail",setup(e){const C=a(0),Z=a(null),E=a(null),G=a(!1),H=a(!0),J=l(()=>{const e=Z.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:X}]:[{type:"image",url:X}]}),K=l(()=>{var e;return z(null==(e=Z.value)?void 0:e.reservation_notice)}),L=l(()=>{var e;const a=null==(e=Z.value)?void 0:e.detail_html;if(!a)return"";const l=D(String(a));return I(l)?l:""}),M=l(()=>{var e;return Array.isArray(null==(e=Z.value)?void 0:e.venue_blocks)?Z.value.venue_blocks:[]}),Q=l(()=>{const e=Z.value;if(!(null==e?void 0:e.booking_start_at)&&!(null==e?void 0:e.booking_end_at))return"";return`开放预约:${e.booking_start_at||"—"} 至 ${e.booking_end_at||"—"}`}),R=l(()=>{const e=Z.value;if(!(null==e?void 0:e.daily_release_start_time))return"";const a=String(e.daily_release_start_time).trim(),l=null!=e.daily_release_end_time&&""!==e.daily_release_end_time?String(e.daily_release_end_time).trim():"23:59";return"23:59"===l?`放票时间:每日 ${a} 起`:`放票时间:每日 ${a} 至 ${l}`}),ee={all:"全部人员",school_age:"学龄内学生"},ae=l(()=>{var e;const a=null==(e=Z.value)?void 0:e.booking_audience;if(null==a||""===a)return"";const l=String(a).trim();return`预约人群:${ee[l]||l}`});function le(e){const a=Number(null==e?void 0:e.today_remaining);return Number.isNaN(a)?"—":String(a)}function se(e){let a=Y(null==e?void 0:e.summary).replace(/\s+/gu," ").trim();return a.length>160&&(a=`${a.slice(0,157)}…`),a||c.desc}async function te(){const e=C.value;if(H.value=!0,G.value=!1,!e)return G.value=!0,Z.value=null,void(H.value=!1);try{E.value=await B()}catch{E.value=null}try{Z.value=await q(e)}catch{G.value=!0,Z.value=null}finally{H.value=!1}!function(){if("undefined"==typeof window)return;const e=Z.value;e&&!G.value&&r({title:String(e.title||"抢票活动"),desc:se(e),link:window.location.href,imgUrl:X}).catch(()=>{})}()}return s(e=>{C.value=Number((null==e?void 0:e.id)||0)}),t(()=>{C.value&&te()}),(e,a)=>{const l=o("SubPageBackBtn"),s=f,t=n,r=h,c=w,C=b,B=y,q=F,z=m;return d(),u(t,{class:"page"},{default:i(()=>[v(l),H.value?(d(),u(t,{key:0,class:"loading-wrap"},{default:i(()=>[v(s,{class:"loading-text"},{default:i(()=>[_("加载中…")]),_:1})]),_:1})):!G.value&&Z.value?(d(),u(z,{key:1,"scroll-y":"",class:"scroll"},{default:i(()=>{var e;return[v(t,{class:"hero"},{default:i(()=>[J.value.length?(d(),u(B,{key:0,class:"hero-swiper",circular:"",autoplay:J.value.length>1,interval:4e3,"indicator-dots":J.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:i(()=>[(d(!0),g(p,null,k(J.value,(e,a)=>(d(),u(C,{key:"s-"+a,class:"swiper-item"},{default:i(()=>["video"!==e.type?(d(),u(r,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(d(),u(c,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):x("",!0)]),_:1}),v(t,{class:"main-card"},{default:i(()=>{var e,a;return[v(t,{class:"title-row"},{default:i(()=>[v(s,{class:"act-title"},{default:i(()=>{var e;return[_(j((null==(e=Z.value)?void 0:e.title)||"-"),1)]}),_:1})]),_:1}),(null==(a=null==(e=Z.value)?void 0:e.tags)?void 0:a.length)?(d(),u(t,{key:0,class:"act-tags"},{default:i(()=>[(d(!0),g(p,null,k((Z.value.tags||[]).slice(0,4),(e,a)=>{var l;return d(),u(s,{key:"tg-"+a+"-"+e,class:"act-tag-chip",style:$(S(P)(a,null==(l=E.value)?void 0:l.venue_type))},{default:i(()=>[_(j(e),1)]),_:2},1032,["style"])}),128))]),_:1})):x("",!0),Z.value?(d(),u(t,{key:1,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(U),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-label"},{default:i(()=>[_("活动日期:")]),_:1}),v(s,{class:"info-value"},{default:i(()=>{var e,a;return[_(j(S(T)(null==(e=Z.value)?void 0:e.start_at,null==(a=Z.value)?void 0:a.end_at)),1)]}),_:1})]),_:1})]),_:1})):x("",!0),Q.value?(d(),u(t,{key:2,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(O),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-value info-value--inline"},{default:i(()=>[_(j(Q.value),1)]),_:1})]),_:1})]),_:1})):x("",!0),R.value?(d(),u(t,{key:3,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(V),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-value info-value--inline"},{default:i(()=>[_(j(R.value),1)]),_:1})]),_:1})]),_:1})):x("",!0),ae.value?(d(),u(t,{key:4,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-value info-value--inline"},{default:i(()=>[_(j(ae.value),1)]),_:1})]),_:1})]),_:1})):x("",!0),K.value?(d(),u(t,{key:5,class:"notice-block"},{default:i(()=>[v(t,{class:"sec-title-row notice-head-row"},{default:i(()=>[v(s,{class:"notice-label"},{default:i(()=>[_("预约须知")]),_:1})]),_:1}),v(t,{class:"notice-block-body"},{default:i(()=>[v(q,{class:"notice-inline-rich",nodes:K.value},null,8,["nodes"])]),_:1})]),_:1})):x("",!0)]}),_:1}),(null==(e=Z.value)?void 0:e.summary)?(d(),u(t,{key:0,class:"summary-card"},{default:i(()=>[v(t,{class:"sec-title-row"},{default:i(()=>[v(s,{class:"sec-title"},{default:i(()=>[_("简介")]),_:1})]),_:1}),v(s,{class:"summary-text"},{default:i(()=>[_(j(Z.value.summary),1)]),_:1})]),_:1})):x("",!0),M.value.length?(d(),u(t,{key:1,class:"venue-block-wrap"},{default:i(()=>[v(t,{class:"sec-title-row venue-sec-title"},{default:i(()=>[v(s,{class:"sec-title"},{default:i(()=>[_("参与场馆")]),_:1})]),_:1}),(d(!0),g(p,null,k(M.value,(e,a)=>(d(),u(t,{key:"vb-"+e.id+"-"+a,class:"venue-row",onClick:a=>function(e,a){const l=Number(null==e?void 0:e.id);if(!l)return void A({title:"场馆信息异常",icon:"none"});N({url:`/pages/venue/detail?id=${l}&ticket_grab_event_id=${a}`})}(e,Z.value.id)},{default:i(()=>[v(t,{class:"venue-cover-wrap"},{default:i(()=>[v(r,{class:"venue-cover",src:e.cover_image||S(X),mode:"aspectFill"},null,8,["src"]),v(t,{class:"venue-grab-badge"},{default:i(()=>[_("立即抢票")]),_:1})]),_:2},1024),v(t,{class:"venue-body"},{default:i(()=>[v(s,{class:"venue-name"},{default:i(()=>[_(j(e.name||"场馆"),1)]),_:2},1024),e.district?(d(),u(s,{key:0,class:"venue-meta"},{default:i(()=>[_(j(e.district),1)]),_:2},1024)):x("",!0),v(s,{class:"venue-meta addr"},{default:i(()=>[_("今日余票:"+j(le(e)),1)]),_:2},1024)]),_:2},1024),v(s,{class:"chev"},{default:i(()=>[_("›")]),_:1})]),_:2},1032,["onClick"]))),128)),v(t,{class:"venue-hint"},{default:i(()=>[_("请进入场馆后按系统提示完成抢票预约")]),_:1})]),_:1})):x("",!0),L.value?(d(),u(t,{key:2,class:"intro-card"},{default:i(()=>[v(t,{class:"sec-title-row"},{default:i(()=>[v(s,{class:"sec-title"},{default:i(()=>[_("活动详情")]),_:1})]),_:1}),v(t,{class:"intro-rich-wrap"},{default:i(()=>[v(q,{class:"intro-rich",nodes:L.value},null,8,["nodes"])]),_:1})]),_:1})):x("",!0),v(t,{class:"safe-bottom"})]}),_:1})):(d(),u(t,{key:2,class:"err-wrap"},{default:i(()=>[v(s,{class:"err-text"},{default:i(()=>[_("加载失败或活动已下架")]),_:1})]),_:1}))]),_:1})}}}),[["__scopeId","data-v-f0562541"]]);export{Z as default}; diff --git a/public/h5/assets/pages-ticket-grab-detail.zhd9RT8q.js b/public/h5/assets/pages-ticket-grab-detail.zhd9RT8q.js deleted file mode 100644 index 08acb02..0000000 --- a/public/h5/assets/pages-ticket-grab-detail.zhd9RT8q.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,c as l,U as s,o as t,e as u,f as i,i as n,s as r,W as c,N as o,j as d,k as v,l as f,m as _,S as m,V as y,y as g,F as p,z as k,X as b,p as h,Y as w,B as j,v as x,A as $,q as S,Z as F,g as N,C as A,_ as C}from"./index-CC6J0dtG.js";import{g as B,j as z}from"./content.BfcEEng6.js";import{a as P}from"./venueThemeColors.DRxjaxXI.js";import{f as T}from"./activity.CPaCOiZ6.js";import{b as U,n as q,h as I}from"./richText.Cl1iMeI3.js";import{i as V}from"./icon2.fcm2h4jI.js";import{a as W,b as X,i as Y}from"./icon8.D8UBMaA-.js";import{P as Z}from"./poster.C6TYC1FC.js";import{h as D}from"./text.BxMbQPAt.js";const E=C(e({__name:"detail",setup(e){const C=a(0),E=a(null),G=a(null),H=a(!1),J=a(!0),K=l(()=>{const e=E.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.image?[{type:"image",url:e.image}]:[{type:"image",url:Z}]:[{type:"image",url:Z}]}),L=l(()=>{var e;return U(null==(e=E.value)?void 0:e.reservation_notice)}),M=l(()=>{var e;const a=null==(e=E.value)?void 0:e.detail_html;if(!a)return"";const l=q(String(a));return I(l)?l:""}),O=l(()=>{var e;return Array.isArray(null==(e=E.value)?void 0:e.venue_blocks)?E.value.venue_blocks:[]}),Q=l(()=>{const e=E.value;if(!(null==e?void 0:e.booking_start_at)&&!(null==e?void 0:e.booking_end_at))return"";return`开放预约:${e.booking_start_at||"—"} 至 ${e.booking_end_at||"—"}`}),R=l(()=>{const e=E.value;if(!(null==e?void 0:e.daily_release_start_time))return"";const a=String(e.daily_release_start_time).trim(),l=null!=e.daily_release_end_time&&""!==e.daily_release_end_time?String(e.daily_release_end_time).trim():"23:59";return"23:59"===l?`放票时间:每日 ${a} 起`:`放票时间:每日 ${a} 至 ${l}`}),ee={all:"全部人员",school_age:"学龄内学生"},ae=l(()=>{var e;const a=null==(e=E.value)?void 0:e.booking_audience;if(null==a||""===a)return"";const l=String(a).trim();return`预约人群:${ee[l]||l}`});function le(e){const a=Number(null==e?void 0:e.today_remaining);return Number.isNaN(a)?"—":String(a)}function se(e){let a=D(null==e?void 0:e.summary).replace(/\s+/gu," ").trim();return a.length>160&&(a=`${a.slice(0,157)}…`),a||c.desc}async function te(){const e=C.value;if(J.value=!0,H.value=!1,!e)return H.value=!0,E.value=null,void(J.value=!1);try{G.value=await B()}catch{G.value=null}try{E.value=await z(e)}catch{H.value=!0,E.value=null}finally{J.value=!1}!function(){if("undefined"==typeof window)return;const e=E.value;e&&!H.value&&r({title:String(e.title||"抢票活动"),desc:se(e),link:window.location.href,imgUrl:Z}).catch(()=>{})}()}return s(e=>{C.value=Number((null==e?void 0:e.id)||0)}),t(()=>{C.value&&te()}),(e,a)=>{const l=o("SubPageBackBtn"),s=f,t=n,r=h,c=w,C=b,B=y,z=F,U=m;return d(),u(t,{class:"page"},{default:i(()=>[v(l),J.value?(d(),u(t,{key:0,class:"loading-wrap"},{default:i(()=>[v(s,{class:"loading-text"},{default:i(()=>[_("加载中…")]),_:1})]),_:1})):!H.value&&E.value?(d(),u(U,{key:1,"scroll-y":"",class:"scroll"},{default:i(()=>{var e;return[v(t,{class:"hero"},{default:i(()=>[K.value.length?(d(),u(B,{key:0,class:"hero-swiper",circular:"",autoplay:K.value.length>1,interval:4e3,"indicator-dots":K.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:i(()=>[(d(!0),g(p,null,k(K.value,(e,a)=>(d(),u(C,{key:"s-"+a,class:"swiper-item"},{default:i(()=>["video"!==e.type?(d(),u(r,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(d(),u(c,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["autoplay","indicator-dots"])):j("",!0)]),_:1}),v(t,{class:"main-card"},{default:i(()=>{var e,a;return[v(t,{class:"title-row"},{default:i(()=>[v(s,{class:"act-title"},{default:i(()=>{var e;return[_(x((null==(e=E.value)?void 0:e.title)||"-"),1)]}),_:1})]),_:1}),(null==(a=null==(e=E.value)?void 0:e.tags)?void 0:a.length)?(d(),u(t,{key:0,class:"act-tags"},{default:i(()=>[(d(!0),g(p,null,k((E.value.tags||[]).slice(0,4),(e,a)=>{var l;return d(),u(s,{key:"tg-"+a+"-"+e,class:"act-tag-chip",style:$(S(P)(a,null==(l=G.value)?void 0:l.venue_type))},{default:i(()=>[_(x(e),1)]),_:2},1032,["style"])}),128))]),_:1})):j("",!0),E.value?(d(),u(t,{key:1,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(W),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-label"},{default:i(()=>[_("活动日期:")]),_:1}),v(s,{class:"info-value"},{default:i(()=>{var e,a;return[_(x(S(T)(null==(e=E.value)?void 0:e.start_at,null==(a=E.value)?void 0:a.end_at)),1)]}),_:1})]),_:1})]),_:1})):j("",!0),Q.value?(d(),u(t,{key:2,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(V),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-value info-value--inline"},{default:i(()=>[_(x(Q.value),1)]),_:1})]),_:1})]),_:1})):j("",!0),R.value?(d(),u(t,{key:3,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(X),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-value info-value--inline"},{default:i(()=>[_(x(R.value),1)]),_:1})]),_:1})]),_:1})):j("",!0),ae.value?(d(),u(t,{key:4,class:"info-row"},{default:i(()=>[v(r,{class:"info-ico",src:S(Y),mode:"aspectFit"},null,8,["src"]),v(t,{class:"info-text-col"},{default:i(()=>[v(s,{class:"info-value info-value--inline"},{default:i(()=>[_(x(ae.value),1)]),_:1})]),_:1})]),_:1})):j("",!0),L.value?(d(),u(t,{key:5,class:"notice-block"},{default:i(()=>[v(t,{class:"sec-title-row notice-head-row"},{default:i(()=>[v(s,{class:"notice-label"},{default:i(()=>[_("预约须知")]),_:1})]),_:1}),v(t,{class:"notice-block-body"},{default:i(()=>[v(z,{class:"notice-inline-rich",nodes:L.value},null,8,["nodes"])]),_:1})]),_:1})):j("",!0)]}),_:1}),(null==(e=E.value)?void 0:e.summary)?(d(),u(t,{key:0,class:"summary-card"},{default:i(()=>[v(t,{class:"sec-title-row"},{default:i(()=>[v(s,{class:"sec-title"},{default:i(()=>[_("简介")]),_:1})]),_:1}),v(s,{class:"summary-text"},{default:i(()=>[_(x(E.value.summary),1)]),_:1})]),_:1})):j("",!0),O.value.length?(d(),u(t,{key:1,class:"venue-block-wrap"},{default:i(()=>[v(t,{class:"sec-title-row venue-sec-title"},{default:i(()=>[v(s,{class:"sec-title"},{default:i(()=>[_("参与场馆")]),_:1})]),_:1}),(d(!0),g(p,null,k(O.value,(e,a)=>(d(),u(t,{key:"vb-"+e.id+"-"+a,class:"venue-row",onClick:a=>function(e,a){const l=Number(null==e?void 0:e.id);if(!l)return void N({title:"场馆信息异常",icon:"none"});A({url:`/pages/venue/detail?id=${l}&ticket_grab_event_id=${a}`})}(e,E.value.id)},{default:i(()=>[v(t,{class:"venue-cover-wrap"},{default:i(()=>[v(r,{class:"venue-cover",src:e.cover_image||S(Z),mode:"aspectFill"},null,8,["src"]),v(t,{class:"venue-grab-badge"},{default:i(()=>[_("立即抢票")]),_:1})]),_:2},1024),v(t,{class:"venue-body"},{default:i(()=>[v(s,{class:"venue-name"},{default:i(()=>[_(x(e.name||"场馆"),1)]),_:2},1024),e.district?(d(),u(s,{key:0,class:"venue-meta"},{default:i(()=>[_(x(e.district),1)]),_:2},1024)):j("",!0),v(s,{class:"venue-meta addr"},{default:i(()=>[_("今日余票:"+x(le(e)),1)]),_:2},1024)]),_:2},1024),v(s,{class:"chev"},{default:i(()=>[_("›")]),_:1})]),_:2},1032,["onClick"]))),128)),v(t,{class:"venue-hint"},{default:i(()=>[_("请进入场馆后按系统提示完成抢票预约")]),_:1})]),_:1})):j("",!0),M.value?(d(),u(t,{key:2,class:"intro-card"},{default:i(()=>[v(t,{class:"sec-title-row"},{default:i(()=>[v(s,{class:"sec-title"},{default:i(()=>[_("活动详情")]),_:1})]),_:1}),v(t,{class:"intro-rich-wrap"},{default:i(()=>[v(z,{class:"intro-rich",nodes:M.value},null,8,["nodes"])]),_:1})]),_:1})):j("",!0),v(t,{class:"safe-bottom"})]}),_:1})):(d(),u(t,{key:2,class:"err-wrap"},{default:i(()=>[v(s,{class:"err-text"},{default:i(()=>[_("加载失败或活动已下架")]),_:1})]),_:1}))]),_:1})}}}),[["__scopeId","data-v-f0562541"]]);export{E as default}; diff --git a/public/h5/assets/pages-ticket-grab-reserve.DM2tgpLy.js b/public/h5/assets/pages-ticket-grab-reserve.DM2tgpLy.js deleted file mode 100644 index 5c7db28..0000000 --- a/public/h5/assets/pages-ticket-grab-reserve.DM2tgpLy.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as l,c as a,w as t,U as n,g as u,e as o,f as i,i as r,L as s,M as v,N as d,j as c,k as _,S as m,m as f,v as p,B as g,n as y,l as k,I as h,x as b,t as w,Z as S,O as C,a7 as V,K as j,_ as x}from"./index-CC6J0dtG.js";import{k as U,l as $,m as B}from"./content.BfcEEng6.js";import{g as N}from"./profile.CBiER3ty.js";import{l as O}from"./localProfile.w3dNAYL8.js";import{b as P}from"./richText.Cl1iMeI3.js";function T(e,l,a){const t=function(e){const l=String(e||"").trim().toUpperCase();return/^\d{17}[\dX]$/.test(l)?l.slice(6,14):null}(e);return t?l||a?function(e,l,a){if(!e||8!==e.length)return!1;if(!l&&!a)return!0;if(l&&ea.replace(/-/g,""))return!1;return!0}(t,l,a)?{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:t,reason:"该证件的出生日期不在本次活动允许范围内"}:{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:null,reason:"请填写正确的 18 位身份证号"}}const I=x(e({__name:"reserve",setup(e){const x=l(0),I=l(0),M=l(!0),X=l(!1),K=l(null),L=l(""),Z=l({visitor_name:"",visitor_phone:"",id_card:"",entry_date:"",ticket_mode:"single"}),q=a(()=>/^1\d{10}$/.test(String(Z.value.visitor_phone||"").trim())),z=a(()=>{var e;return(null==(e=K.value)?void 0:e.entry_dates)||[]}),A=a(()=>{var e,l;return"school_age"===String((null==(l=null==(e=K.value)?void 0:e.event)?void 0:l.booking_audience)||"")}),D=a(()=>{var e,l;return P(null==(l=null==(e=K.value)?void 0:e.event)?void 0:l.reservation_notice)}),E=a(()=>{var e,l;return Number((null==(l=null==(e=K.value)?void 0:e.today_release)?void 0:l.remaining)??0)}),F=a(()=>{var e,l;return(null==(l=null==(e=K.value)?void 0:e.event)?void 0:l.age_limit_start)||null}),G=a(()=>{var e,l;return(null==(l=null==(e=K.value)?void 0:e.event)?void 0:l.age_limit_end)||null}),H=a(()=>/^\d{17}[\dXx]$/.test(String(Z.value.id_card||"").trim())),J=a(()=>H.value?T(String(Z.value.id_card).trim().toUpperCase(),F.value,G.value):null),Q=a(()=>{var e,l;return!!(null==(e=Z.value.visitor_name)?void 0:e.trim())&&(!!q.value&&(!!H.value&&!0===(null==(l=J.value)?void 0:l.ok)))}),R=a(()=>{const e=K.value;return e?e.in_booking_window?e.in_daily_release_time?e.today_release?E.value<=0?"今日余票已发完。":e.can_book_now?"":"当前暂无法预约。":"今日无放票计划。":"当前不在今日放票时段内,请稍后再试。":"当前不在该活动的预约开放日期内,无法提交。":""}),W=a(()=>A.value&&Q.value&&E.value>=2),Y=a(()=>{const e=z.value;return e.length?["请选择入馆日期",...e]:[]}),ee=a(()=>{const e=z.value;if(!Z.value.entry_date)return 0;const l=e.indexOf(Z.value.entry_date);return l>=0?l+1:0}),le=a(()=>{var e,l,a;return!!(null==(e=K.value)?void 0:e.can_book_now)&&(!R.value&&(!!(null==(l=Z.value.visitor_name)?void 0:l.trim())&&(!!q.value&&(!!H.value&&(!!(null==(a=J.value)?void 0:a.ok)&&(!!Q.value&&(!!Z.value.entry_date&&!(A.value&&"pair"===Z.value.ticket_mode&&E.value<2))))))))});function ae(){var e;Q.value||((null==(e=Z.value.visitor_name)?void 0:e.trim())?q.value?H.value?J.value&&!J.value.ok&&u({title:J.value.reason||"该证件出生日期不在允许范围",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请先填写姓名",icon:"none"}))}function te(){Q.value||ae()}function ne(e){var l;if(!Q.value)return void ae();const a=Number((null==(l=null==e?void 0:e.detail)?void 0:l.value)??0),t=z.value;if(!t.length)return;if(0===a)return void(Z.value.entry_date="");const n=a-1;Z.value.entry_date=t[n]??""}function ue(){A.value&&(Q.value?Z.value.ticket_mode="single":ae())}function oe(){A.value&&(Q.value?W.value?Z.value.ticket_mode="pair":u({title:"一大一小需至少 2 张余票",icon:"none"}):ae())}async function ie(){if(x.value&&I.value){M.value=!0;try{const[e,l]=await Promise.all([U(x.value,I.value),$(I.value).catch(()=>null)]);K.value=e,L.value=(null==l?void 0:l.name)||"场馆",Z.value.entry_date="",await async function(){if(s(v.accessToken))try{const e=await N();return(null==e?void 0:e.real_name)&&(Z.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(Z.value.visitor_phone=String(e.phone).trim()))}catch{}const e=O();(null==e?void 0:e.real_name)&&(Z.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(Z.value.visitor_phone=String(e.phone).trim())}()}catch(e){const l=(null==e?void 0:e.message)||(null==e?void 0:e.errMsg)||"加载失败";u({title:String(l),icon:"none"})}finally{M.value=!1}}else M.value=!1}async function re(){var e,l;if(le.value){X.value=!0;try{const e={venue_id:I.value,visitor_name:Z.value.visitor_name.trim(),visitor_phone:String(Z.value.visitor_phone).trim(),id_card:String(Z.value.id_card).trim().toUpperCase(),entry_date:Z.value.entry_date};A.value&&(e.ticket_mode=Z.value.ticket_mode);const a=await B(x.value,e);u({title:"抢票成功",icon:"success"});const t=null==(l=null==a?void 0:a.reservation)?void 0:l.id;setTimeout(()=>{t?V({url:`/pages/mine/reservation-detail?id=${t}`}):j()},400)}catch(a){const e="string"==typeof(null==a?void 0:a.message)&&a.message||Object.values((null==a?void 0:a.errors)||{}).flat().find(Boolean)||"预约失败";u({title:String(e),icon:"none"})}finally{X.value=!1}}else(null==(e=Z.value.visitor_name)?void 0:e.trim())?q.value?H.value?J.value&&!J.value.ok?u({title:J.value.reason||"该证件年龄不符合",icon:"none"}):Z.value.entry_date?u({title:R.value||"请完善信息",icon:"none"}):u({title:"请选择入馆日期",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请填写姓名",icon:"none"})}return t(Q,e=>{e||(Z.value.entry_date="")},{flush:"post"}),t([()=>A.value,Q,E],()=>{A.value&&Q.value&&E.value<=1&&(Z.value.ticket_mode="single")},{flush:"post"}),t([z,Q],()=>{if(!Q.value)return;const e=z.value;Z.value.entry_date&&!e.includes(Z.value.entry_date)&&(Z.value.entry_date="")},{flush:"post"}),n(e=>{if(x.value=Number((null==e?void 0:e.event_id)||0),I.value=Number((null==e?void 0:e.venue_id)||0),!x.value||!I.value)return u({title:"参数无效",icon:"none"}),void(M.value=!1);ie()}),(e,l)=>{const a=d("SubPageBackBtn"),t=r,n=k,u=h,s=w,v=S,V=m,j=C;return c(),o(t,{class:"page-wrap"},{default:i(()=>[_(a),_(V,{"scroll-y":"",class:"page"},{default:i(()=>[M.value?(c(),o(t,{key:0,class:"loading-tip"},{default:i(()=>[f("加载中…")]),_:1})):(c(),o(t,{key:1,class:"content"},{default:i(()=>[_(t,{class:"card"},{default:i(()=>[_(t,{class:"act-title"},{default:i(()=>{var e,l;return[f(p((null==(l=null==(e=K.value)?void 0:e.event)?void 0:l.title)||"抢票预约"),1)]}),_:1}),_(t,{class:"sub-line"},{default:i(()=>[f("预约场馆:"+p(L.value),1)]),_:1}),R.value?(c(),o(t,{key:0,class:"warn-line"},{default:i(()=>[f(p(R.value),1)]),_:1})):g("",!0)]),_:1}),_(t,{class:y(["card",{"field-locked":!Q.value}]),onClick:te},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约信息")]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("姓名")]),_:1}),_(u,{modelValue:Z.value.visitor_name,"onUpdate:modelValue":l[0]||(l[0]=e=>Z.value.visitor_name=e),class:"form-input",placeholder:"必填,与身份证一致","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("联系方式")]),_:1}),_(u,{modelValue:Z.value.visitor_phone,"onUpdate:modelValue":l[1]||(l[1]=e=>Z.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"必填,11 位手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("身份证号")]),_:1}),_(u,{modelValue:Z.value.id_card,"onUpdate:modelValue":l[2]||(l[2]=e=>Z.value.id_card=e),class:"form-input",placeholder:"必填,18 位","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),H.value&&J.value&&!J.value.ok?(c(),o(t,{key:0,class:"id-warn"},{default:i(()=>[f(p(J.value.reason),1)]),_:1})):g("",!0),z.value.length?(c(),o(t,{key:1,class:"form-row form-row--picker",onClick:l[3]||(l[3]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("入馆日期")]),_:1}),_(s,{mode:"selector",range:Y.value,value:ee.value,disabled:!Q.value,onChange:ne},{default:i(()=>[_(t,{class:y(["picker-val",{muted:!Z.value.entry_date||!Q.value}])},{default:i(()=>[f(p(Q.value?Z.value.entry_date||"请选择":"请先完成上方信息"),1)]),_:1},8,["class"])]),_:1},8,["range","value","disabled"])]),_:1})):(c(),o(t,{key:2,class:"form-row"},{default:i(()=>[_(n,{class:"form-muted"},{default:i(()=>[f("暂无可选入馆日期,请稍后再来")]),_:1})]),_:1})),A.value?(c(),o(t,{key:3,class:"mode-wrap",onClick:l[4]||(l[4]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("名额类型")]),_:1}),_(t,{class:"mode-btns"},{default:i(()=>[_(t,{class:y(["mode-pill",{on:"single"===Z.value.ticket_mode,disabled:!Q.value}]),onClick:ue},{default:i(()=>[f("单张")]),_:1},8,["class"]),_(t,{class:y(["mode-pill",{on:"pair"===Z.value.ticket_mode,disabled:!Q.value||!W.value}]),onClick:oe},{default:i(()=>[f("一大一小(2 张)")]),_:1},8,["class"])]),_:1}),A.value&&Q.value&&E.value<=1?(c(),o(t,{key:0,class:"mode-tip"},{default:i(()=>[f(" 当前仅剩 1 张,仅可选单张 ")]),_:1})):g("",!0)]),_:1})):g("",!0)]),_:1},8,["class"]),D.value?(c(),o(t,{key:0,class:"card notice-card"},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约须知")]),_:1}),_(t,{class:"promo-notice"},{default:i(()=>[_(v,{class:"promo-notice-rich",nodes:D.value},null,8,["nodes"])]),_:1})]),_:1})):g("",!0)]),_:1})),_(t,{class:"safe-bottom"})]),_:1}),_(t,{class:"action-bar"},{default:i(()=>[_(j,{class:"btn primary",disabled:!le.value||X.value||M.value,onClick:re},{default:i(()=>[f(p(X.value?"提交中…":"确认抢票"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-286e8350"]]);export{I as default}; diff --git a/public/h5/assets/pages-ticket-grab-reserve.Dq3BP2x1.js b/public/h5/assets/pages-ticket-grab-reserve.Dq3BP2x1.js new file mode 100644 index 0000000..c9738c2 --- /dev/null +++ b/public/h5/assets/pages-ticket-grab-reserve.Dq3BP2x1.js @@ -0,0 +1 @@ +import{d as e,r as l,n as a,w as t,V as n,q as u,c as o,f as i,i as r,M as s,N as v,O as d,b as c,l as _,S as m,j as f,t as p,k as y,v as g,m as k,I as h,e as b,z as w,$ as S,P as C,a8 as V,L as j,_ as $}from"./index-D9YO76Ut.js";import{k as x,l as U,m as N}from"./content.CWxBtEbN.js";import{g as P}from"./profile.DNiRgAnN.js";import{l as B}from"./localProfile.DAR2ddcd.js";import{b as O}from"./richText.Cl1iMeI3.js";function T(e,l,a){const t=function(e){const l=String(e||"").trim().toUpperCase();return/^\d{17}[\dX]$/.test(l)?l.slice(6,14):null}(e);return t?l||a?function(e,l,a){if(!e||8!==e.length)return!1;if(!l&&!a)return!0;if(l&&ea.replace(/-/g,""))return!1;return!0}(t,l,a)?{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:t,reason:"该证件的出生日期不在本次活动允许范围内"}:{ok:!0,ymd:t,reason:""}:{ok:!1,ymd:null,reason:"请填写正确的 18 位身份证号"}}const z=$(e({__name:"reserve",setup(e){const $=l(0),z=l(0),I=l(!0),M=l(!1),X=l(null),q=l(""),L=l({visitor_name:"",visitor_phone:"",id_card:"",entry_date:"",ticket_mode:"single"}),A=a(()=>/^1\d{10}$/.test(String(L.value.visitor_phone||"").trim())),D=a(()=>{var e;return(null==(e=X.value)?void 0:e.entry_dates)||[]}),E=a(()=>{var e,l;return"school_age"===String((null==(l=null==(e=X.value)?void 0:e.event)?void 0:l.booking_audience)||"")}),F=a(()=>{var e,l;return O(null==(l=null==(e=X.value)?void 0:e.event)?void 0:l.reservation_notice)}),G=a(()=>{var e,l;return Number((null==(l=null==(e=X.value)?void 0:e.today_release)?void 0:l.remaining)??0)}),H=a(()=>{var e,l;return(null==(l=null==(e=X.value)?void 0:e.event)?void 0:l.age_limit_start)||null}),J=a(()=>{var e,l;return(null==(l=null==(e=X.value)?void 0:e.event)?void 0:l.age_limit_end)||null}),K=a(()=>/^\d{17}[\dXx]$/.test(String(L.value.id_card||"").trim())),Q=a(()=>K.value?T(String(L.value.id_card).trim().toUpperCase(),H.value,J.value):null),R=a(()=>{var e,l;return!!(null==(e=L.value.visitor_name)?void 0:e.trim())&&(!!A.value&&(!!K.value&&!0===(null==(l=Q.value)?void 0:l.ok)))}),W=a(()=>{const e=X.value;return e?e.in_booking_window?e.in_daily_release_time?e.today_release?G.value<=0?"今日余票已发完。":e.can_book_now?"":"当前暂无法预约。":"今日无放票计划。":"当前不在今日放票时段内,请稍后再试。":"当前不在该活动的预约开放日期内,无法提交。":""}),Y=a(()=>E.value&&R.value&&G.value>=2),Z=a(()=>{const e=D.value;return e.length?["请选择入馆日期",...e]:[]}),ee=a(()=>{const e=D.value;if(!L.value.entry_date)return 0;const l=e.indexOf(L.value.entry_date);return l>=0?l+1:0}),le=a(()=>{var e,l,a;return!!(null==(e=X.value)?void 0:e.can_book_now)&&(!W.value&&(!!(null==(l=L.value.visitor_name)?void 0:l.trim())&&(!!A.value&&(!!K.value&&(!!(null==(a=Q.value)?void 0:a.ok)&&(!!R.value&&(!!L.value.entry_date&&!(E.value&&"pair"===L.value.ticket_mode&&G.value<2))))))))});function ae(){var e;R.value||((null==(e=L.value.visitor_name)?void 0:e.trim())?A.value?K.value?Q.value&&!Q.value.ok&&u({title:Q.value.reason||"该证件出生日期不在允许范围",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请先填写姓名",icon:"none"}))}function te(){R.value||ae()}function ne(e){var l;if(!R.value)return void ae();const a=Number((null==(l=null==e?void 0:e.detail)?void 0:l.value)??0),t=D.value;if(!t.length)return;if(0===a)return void(L.value.entry_date="");const n=a-1;L.value.entry_date=t[n]??""}function ue(){E.value&&(R.value?L.value.ticket_mode="single":ae())}function oe(){E.value&&(R.value?Y.value?L.value.ticket_mode="pair":u({title:"一大一小需至少 2 张余票",icon:"none"}):ae())}async function ie(){if($.value&&z.value){I.value=!0;try{const[e,l]=await Promise.all([x($.value,z.value),U(z.value).catch(()=>null)]);X.value=e,q.value=(null==l?void 0:l.name)||"场馆",L.value.entry_date="",await async function(){if(s(v.accessToken))try{const e=await P();return(null==e?void 0:e.real_name)&&(L.value.visitor_name=e.real_name),void((null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(L.value.visitor_phone=String(e.phone).trim()))}catch{}const e=B();(null==e?void 0:e.real_name)&&(L.value.visitor_name=e.real_name),(null==e?void 0:e.phone)&&/^1\d{10}$/.test(String(e.phone).trim())&&(L.value.visitor_phone=String(e.phone).trim())}()}catch(e){const l=(null==e?void 0:e.message)||(null==e?void 0:e.errMsg)||"加载失败";u({title:String(l),icon:"none"})}finally{I.value=!1}}else I.value=!1}async function re(){var e,l;if(le.value){M.value=!0;try{const e={venue_id:z.value,visitor_name:L.value.visitor_name.trim(),visitor_phone:String(L.value.visitor_phone).trim(),id_card:String(L.value.id_card).trim().toUpperCase(),entry_date:L.value.entry_date};E.value&&(e.ticket_mode=L.value.ticket_mode);const a=await N($.value,e);u({title:"抢票成功",icon:"success"});const t=null==(l=null==a?void 0:a.reservation)?void 0:l.id;setTimeout(()=>{t?V({url:`/pages/mine/reservation-detail?id=${t}`}):j()},400)}catch(a){const e="string"==typeof(null==a?void 0:a.message)&&a.message||Object.values((null==a?void 0:a.errors)||{}).flat().find(Boolean)||"预约失败";u({title:String(e),icon:"none"})}finally{M.value=!1}}else(null==(e=L.value.visitor_name)?void 0:e.trim())?A.value?K.value?Q.value&&!Q.value.ok?u({title:Q.value.reason||"该证件年龄不符合",icon:"none"}):L.value.entry_date?u({title:W.value||"请完善信息",icon:"none"}):u({title:"请选择入馆日期",icon:"none"}):u({title:"请填写 18 位身份证号",icon:"none"}):u({title:"请填写 11 位大陆手机号",icon:"none"}):u({title:"请填写姓名",icon:"none"})}return t(R,e=>{e||(L.value.entry_date="")},{flush:"post"}),t([()=>E.value,R,G],()=>{E.value&&R.value&&G.value<=1&&(L.value.ticket_mode="single")},{flush:"post"}),t([D,R],()=>{if(!R.value)return;const e=D.value;L.value.entry_date&&!e.includes(L.value.entry_date)&&(L.value.entry_date="")},{flush:"post"}),n(e=>{if($.value=Number((null==e?void 0:e.event_id)||0),z.value=Number((null==e?void 0:e.venue_id)||0),!$.value||!z.value)return u({title:"参数无效",icon:"none"}),void(I.value=!1);ie()}),(e,l)=>{const a=d("SubPageBackBtn"),t=r,n=k,u=h,s=w,v=S,V=m,j=C;return c(),o(t,{class:"page-wrap"},{default:i(()=>[_(a),_(V,{"scroll-y":"",class:"page"},{default:i(()=>[I.value?(c(),o(t,{key:0,class:"loading-tip"},{default:i(()=>[f("加载中…")]),_:1})):(c(),o(t,{key:1,class:"content"},{default:i(()=>[_(t,{class:"card"},{default:i(()=>[_(t,{class:"act-title"},{default:i(()=>{var e,l;return[f(p((null==(l=null==(e=X.value)?void 0:e.event)?void 0:l.title)||"抢票预约"),1)]}),_:1}),_(t,{class:"sub-line"},{default:i(()=>[f("预约场馆:"+p(q.value),1)]),_:1}),W.value?(c(),o(t,{key:0,class:"warn-line"},{default:i(()=>[f(p(W.value),1)]),_:1})):y("",!0)]),_:1}),_(t,{class:g(["card",{"field-locked":!R.value}]),onClick:te},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约信息")]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("姓名")]),_:1}),_(u,{modelValue:L.value.visitor_name,"onUpdate:modelValue":l[0]||(l[0]=e=>L.value.visitor_name=e),class:"form-input",placeholder:"必填,与身份证一致","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("联系方式")]),_:1}),_(u,{modelValue:L.value.visitor_phone,"onUpdate:modelValue":l[1]||(l[1]=e=>L.value.visitor_phone=e),class:"form-input",type:"number",maxlength:"11",placeholder:"必填,11 位手机号","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),_(t,{class:"form-row"},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("身份证号")]),_:1}),_(u,{modelValue:L.value.id_card,"onUpdate:modelValue":l[2]||(l[2]=e=>L.value.id_card=e),class:"form-input",placeholder:"必填,18 位","placeholder-class":"ph"},null,8,["modelValue"])]),_:1}),K.value&&Q.value&&!Q.value.ok?(c(),o(t,{key:0,class:"id-warn"},{default:i(()=>[f(p(Q.value.reason),1)]),_:1})):y("",!0),D.value.length?(c(),o(t,{key:1,class:"form-row form-row--picker",onClick:l[3]||(l[3]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("入馆日期")]),_:1}),_(s,{mode:"selector",range:Z.value,value:ee.value,disabled:!R.value,onChange:ne},{default:i(()=>[_(t,{class:g(["picker-val",{muted:!L.value.entry_date||!R.value}])},{default:i(()=>[f(p(R.value?L.value.entry_date||"请选择":"请先完成上方信息"),1)]),_:1},8,["class"])]),_:1},8,["range","value","disabled"])]),_:1})):(c(),o(t,{key:2,class:"form-row"},{default:i(()=>[_(n,{class:"form-muted"},{default:i(()=>[f("暂无可选入馆日期,请稍后再来")]),_:1})]),_:1})),E.value?(c(),o(t,{key:3,class:"mode-wrap",onClick:l[4]||(l[4]=b(()=>{},["stop"]))},{default:i(()=>[_(n,{class:"form-label"},{default:i(()=>[f("名额类型")]),_:1}),_(t,{class:"mode-btns"},{default:i(()=>[_(t,{class:g(["mode-pill",{on:"single"===L.value.ticket_mode,disabled:!R.value}]),onClick:ue},{default:i(()=>[f("单张")]),_:1},8,["class"]),_(t,{class:g(["mode-pill",{on:"pair"===L.value.ticket_mode,disabled:!R.value||!Y.value}]),onClick:oe},{default:i(()=>[f("一大一小(2 张)")]),_:1},8,["class"])]),_:1}),E.value&&R.value&&G.value<=1?(c(),o(t,{key:0,class:"mode-tip"},{default:i(()=>[f(" 当前仅剩 1 张,仅可选单张 ")]),_:1})):y("",!0)]),_:1})):y("",!0)]),_:1},8,["class"]),F.value?(c(),o(t,{key:0,class:"card notice-card"},{default:i(()=>[_(t,{class:"card-hd"},{default:i(()=>[f("预约须知")]),_:1}),_(t,{class:"promo-notice"},{default:i(()=>[_(v,{class:"promo-notice-rich",nodes:F.value},null,8,["nodes"])]),_:1})]),_:1})):y("",!0)]),_:1})),_(t,{class:"safe-bottom"})]),_:1}),_(t,{class:"action-bar"},{default:i(()=>[_(j,{class:"btn primary",disabled:!le.value||M.value||I.value,onClick:re},{default:i(()=>[f(p(M.value?"提交中…":"确认抢票"),1)]),_:1},8,["disabled"])]),_:1})]),_:1})}}}),[["__scopeId","data-v-286e8350"]]);export{z as default}; diff --git a/public/h5/assets/pages-traffic-index.BZrXn9cM.js b/public/h5/assets/pages-traffic-index.ObsDwTJH.js similarity index 79% rename from public/h5/assets/pages-traffic-index.BZrXn9cM.js rename to public/h5/assets/pages-traffic-index.ObsDwTJH.js index 2035a0c..d922f78 100644 --- a/public/h5/assets/pages-traffic-index.BZrXn9cM.js +++ b/public/h5/assets/pages-traffic-index.ObsDwTJH.js @@ -1 +1 @@ -import{d as a,r as e,c as l,a as t,a3 as s,w as u,e as d,f as c,ah as v,i as n,N as i,j as r,k as o,l as f,m as h,n as y,v as _,ai as x,A as m,y as g,F as k,z as p,_ as S}from"./index-CC6J0dtG.js";const w="trafficLineChart",b=S(a({__name:"index",setup(a){const S=e("week"),b={week:[{date:"04-03",value:12358},{date:"04-04",value:15540},{date:"04-05",value:14200},{date:"04-06",value:18680},{date:"04-07",value:14820},{date:"04-08",value:20550},{date:"04-09",value:32100}],month:[{date:"04-01",value:12800},{date:"04-05",value:18800},{date:"04-10",value:17600},{date:"04-15",value:22900},{date:"04-20",value:19600},{date:"04-25",value:26400},{date:"04-30",value:30100}],year:[{date:"01月",value:268e3},{date:"03月",value:292e3},{date:"05月",value:318e3},{date:"07月",value:346e3},{date:"09月",value:332e3},{date:"11月",value:368e3},{date:"12月",value:392e3}]},T=l(()=>b[S.value]),C=l(()=>{var a,e;return`${(null==(a=T.value[0])?void 0:a.date)||"-"} 至 ${(null==(e=T.value[T.value.length-1])?void 0:e.date)||"-"}`}),F=l(()=>T.value.reduce((a,e)=>e.value>a.value?e:a,T.value[0]));function P(){const a=T.value;if(!a.length)return;const e=v(w),l=24,t=18,s=24,u=18,d=260,c=Math.min(...a.map(a=>a.value)),n=Math.max(...a.map(a=>a.value)),i=Math.max(1,n-c),r=680-u-t,o=d-l-s;e.clearRect(0,0,680,d);const f=e.createLinearGradient(0,l,0,d);f.addColorStop(0,"rgba(5,201,172,0.35)"),f.addColorStop(1,"rgba(5,201,172,0.02)");const h=a.map((e,t)=>({x:u+r*t/Math.max(1,a.length-1),y:l+(n-e.value)/i*o,value:e.value,date:e.date}));e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.lineTo(h[h.length-1].x,252),e.lineTo(h[0].x,252),e.closePath(),e.setFillStyle(f),e.fill(),e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.setStrokeStyle("#05c9ac"),e.setLineWidth(5),e.stroke(),e.setFillStyle("#ff7d00"),h.forEach(a=>{e.beginPath(),e.arc(a.x,a.y,6,0,2*Math.PI),e.fill(),e.setFillStyle("#4e5969"),e.setFontSize(20),e.fillText(a.value.toLocaleString(),a.x-34,a.y-12),e.setFillStyle("#ff7d00")}),e.draw()}return t(async()=>{await s(),P()}),u(S,async()=>{await s(),P()}),(a,e)=>{const l=i("SubPageBackBtn"),t=n,s=f,u=x;return r(),d(t,{class:"page"},{default:c(()=>[o(l),o(t,{class:"section-title"},{default:c(()=>[o(t,{class:"bar"}),o(s,{class:"title"},{default:c(()=>[h("全市参观人数")]),_:1}),o(t,{class:"period"},{default:c(()=>[o(s,{class:y({active:"week"===S.value}),onClick:e[0]||(e[0]=a=>S.value="week")},{default:c(()=>[h("周")]),_:1},8,["class"]),o(s,{class:y({active:"month"===S.value}),onClick:e[1]||(e[1]=a=>S.value="month")},{default:c(()=>[h("月")]),_:1},8,["class"]),o(s,{class:y({active:"year"===S.value}),onClick:e[2]||(e[2]=a=>S.value="year")},{default:c(()=>[h("年")]),_:1},8,["class"])]),_:1})]),_:1}),o(t,{class:"date-range"},{default:c(()=>[h(_(C.value),1)]),_:1}),o(t,{class:"chart-card"},{default:c(()=>[o(u,{"canvas-id":w,id:w,class:"chart-canvas",style:m("width:680rpx;height:260rpx;")},null,8,["style"]),o(t,{class:"x-axis"},{default:c(()=>[(r(!0),g(k,null,p(T.value,a=>(r(),d(s,{key:a.date},{default:c(()=>[h(_(a.date),1)]),_:2},1024))),128))]),_:1})]),_:1}),o(t,{class:"list-card"},{default:c(()=>[o(t,{class:"list-title"},{default:c(()=>[h("参观人数列表")]),_:1}),(r(!0),g(k,null,p(T.value,a=>(r(),d(t,{key:a.date,class:"row"},{default:c(()=>{var e;return[o(s,{class:"d"},{default:c(()=>[h(_(a.date),1)]),_:2},1024),o(s,{class:y(["c",{hot:a.date===(null==(e=F.value)?void 0:e.date)}])},{default:c(()=>{return[h(_((e=a.value,`${e.toLocaleString()}人`)),1)];var e}),_:2},1032,["class"])]}),_:2},1024))),128))]),_:1})]),_:1})}}}),[["__scopeId","data-v-90b339fd"]]);export{b as default}; +import{d as a,r as e,n as l,o as t,a4 as s,w as u,c as d,f as c,ah as v,i as n,O as i,b as r,l as o,m as f,j as h,v as y,t as _,ai as x,C as m,A as g,F as p,B as k,_ as S}from"./index-D9YO76Ut.js";const w="trafficLineChart",b=S(a({__name:"index",setup(a){const S=e("week"),b={week:[{date:"04-03",value:12358},{date:"04-04",value:15540},{date:"04-05",value:14200},{date:"04-06",value:18680},{date:"04-07",value:14820},{date:"04-08",value:20550},{date:"04-09",value:32100}],month:[{date:"04-01",value:12800},{date:"04-05",value:18800},{date:"04-10",value:17600},{date:"04-15",value:22900},{date:"04-20",value:19600},{date:"04-25",value:26400},{date:"04-30",value:30100}],year:[{date:"01月",value:268e3},{date:"03月",value:292e3},{date:"05月",value:318e3},{date:"07月",value:346e3},{date:"09月",value:332e3},{date:"11月",value:368e3},{date:"12月",value:392e3}]},C=l(()=>b[S.value]),T=l(()=>{var a,e;return`${(null==(a=C.value[0])?void 0:a.date)||"-"} 至 ${(null==(e=C.value[C.value.length-1])?void 0:e.date)||"-"}`}),F=l(()=>C.value.reduce((a,e)=>e.value>a.value?e:a,C.value[0]));function P(){const a=C.value;if(!a.length)return;const e=v(w),l=24,t=18,s=24,u=18,d=260,c=Math.min(...a.map(a=>a.value)),n=Math.max(...a.map(a=>a.value)),i=Math.max(1,n-c),r=680-u-t,o=d-l-s;e.clearRect(0,0,680,d);const f=e.createLinearGradient(0,l,0,d);f.addColorStop(0,"rgba(5,201,172,0.35)"),f.addColorStop(1,"rgba(5,201,172,0.02)");const h=a.map((e,t)=>({x:u+r*t/Math.max(1,a.length-1),y:l+(n-e.value)/i*o,value:e.value,date:e.date}));e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.lineTo(h[h.length-1].x,252),e.lineTo(h[0].x,252),e.closePath(),e.setFillStyle(f),e.fill(),e.beginPath(),h.forEach((a,l)=>0===l?e.moveTo(a.x,a.y):e.lineTo(a.x,a.y)),e.setStrokeStyle("#05c9ac"),e.setLineWidth(5),e.stroke(),e.setFillStyle("#ff7d00"),h.forEach(a=>{e.beginPath(),e.arc(a.x,a.y,6,0,2*Math.PI),e.fill(),e.setFillStyle("#4e5969"),e.setFontSize(20),e.fillText(a.value.toLocaleString(),a.x-34,a.y-12),e.setFillStyle("#ff7d00")}),e.draw()}return t(async()=>{await s(),P()}),u(S,async()=>{await s(),P()}),(a,e)=>{const l=i("SubPageBackBtn"),t=n,s=f,u=x;return r(),d(t,{class:"page"},{default:c(()=>[o(l),o(t,{class:"section-title"},{default:c(()=>[o(t,{class:"bar"}),o(s,{class:"title"},{default:c(()=>[h("全市参观人数")]),_:1}),o(t,{class:"period"},{default:c(()=>[o(s,{class:y({active:"week"===S.value}),onClick:e[0]||(e[0]=a=>S.value="week")},{default:c(()=>[h("周")]),_:1},8,["class"]),o(s,{class:y({active:"month"===S.value}),onClick:e[1]||(e[1]=a=>S.value="month")},{default:c(()=>[h("月")]),_:1},8,["class"]),o(s,{class:y({active:"year"===S.value}),onClick:e[2]||(e[2]=a=>S.value="year")},{default:c(()=>[h("年")]),_:1},8,["class"])]),_:1})]),_:1}),o(t,{class:"date-range"},{default:c(()=>[h(_(T.value),1)]),_:1}),o(t,{class:"chart-card"},{default:c(()=>[o(u,{"canvas-id":w,id:w,class:"chart-canvas",style:m("width:680rpx;height:260rpx;")},null,8,["style"]),o(t,{class:"x-axis"},{default:c(()=>[(r(!0),g(p,null,k(C.value,a=>(r(),d(s,{key:a.date},{default:c(()=>[h(_(a.date),1)]),_:2},1024))),128))]),_:1})]),_:1}),o(t,{class:"list-card"},{default:c(()=>[o(t,{class:"list-title"},{default:c(()=>[h("参观人数列表")]),_:1}),(r(!0),g(p,null,k(C.value,a=>(r(),d(t,{key:a.date,class:"row"},{default:c(()=>{var e;return[o(s,{class:"d"},{default:c(()=>[h(_(a.date),1)]),_:2},1024),o(s,{class:y(["c",{hot:a.date===(null==(e=F.value)?void 0:e.date)}])},{default:c(()=>{return[h(_((e=a.value,`${e.toLocaleString()}人`)),1)];var e}),_:2},1032,["class"])]}),_:2},1024))),128))]),_:1})]),_:1})}}}),[["__scopeId","data-v-90b339fd"]]);export{b as default}; diff --git a/public/h5/assets/pages-venue-detail.DR_idxYG.js b/public/h5/assets/pages-venue-detail.DR_idxYG.js deleted file mode 100644 index a70664d..0000000 --- a/public/h5/assets/pages-venue-detail.DR_idxYG.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as l,c as a,w as t,U as s,s as n,o as i,e as o,f as u,i as c,W as r,N as d,j as v,k as f,S as _,V as m,y as p,F as g,z as k,X as h,p as y,Y as b,B as A,l as w,m as x,v as F,A as C,q as B,n as G,x as S,Z as j,O as N,C as D,a0 as Q,g as U,a3 as E,a4 as q,a5 as I,u as R,_ as V}from"./index-CC6J0dtG.js";import{j as O,l as K,g as z,k as P}from"./content.BfcEEng6.js";import{f as L,b as W,c as T}from"./activity.CPaCOiZ6.js";import{v as J}from"./venueTypes.DuAf5T5V.js";import{v as X,c as H,o as Y}from"./venueThemeColors.DRxjaxXI.js";import{s as Z,i as $,a as M,d as ee,b as le}from"./phone.CX37tqZE.js";import{i as ae}from"./icon2.fcm2h4jI.js";import{b as te,a as se,i as ne}from"./icon8.D8UBMaA-.js";import{i as ie,a as oe}from"./icon_up.DJ5zmdk8.js";import{P as ue}from"./poster.C6TYC1FC.js";import{h as ce,s as re}from"./text.BxMbQPAt.js";const de={theme_nature_ecology:"自然生态",theme_tech_industry:"科技产业",theme_su_craft:"苏工苏艺",theme_life_health:"生命健康",theme_scientist_spirit:"弘扬科学家精神",theme_spark:"企业星火科技馆"},ve=V(e({__name:"detail",setup(e){const V={free:"免费",paid:"收费"};function ve(e){var l,a;if(!e)return"";const t=null==(a=null==(l=he.value)?void 0:l.venue_type)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)?t.label:de[e]||e}function fe(e){const l=null==e?void 0:e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:T(null==e?void 0:e.start_at,null==e?void 0:e.end_at)}function _e(e){return W(fe(e))}function me(e){return`st-${fe(e)}`}function pe(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const s=String(a).trim();if(/style\s*=/i.test(s))return/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`);return`"===t?" />":">"}`})}function ge(e){if(!e||!String(e).trim())return!1;const l=String(e);if(/]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const ke=l(null),he=l(null),ye=l(0),be=a(()=>ye.value>0),Ae=l(null),we=l(!1),xe=a(()=>{var e,l;if(!be.value)return"";const a=Number(null==(l=null==(e=Ae.value)?void 0:e.today_release)?void 0:l.remaining);return Number.isNaN(a)?"—":String(a)});function Fe(e){if(null==e||""===e)return null;const l=String(e).trim().slice(0,10);return/^\d{4}-\d{2}-\d{2}$/.test(l)?l:null}const Ce=a(()=>{var e;if(!be.value||!we.value)return!1;const l=null==(e=Ae.value)?void 0:e.event;if(!l)return!1;const a=Fe(l.booking_start_at),t=Fe(l.booking_end_at);if(!a||!t)return!1;const s=function(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}();return s>=a&&s<=t}),Be=a(()=>{var e;return Boolean(null==(e=Ae.value)?void 0:e.has_existing_reservation)}),Ge=l(!0),Se=l(!1),je=l(!1),Ne=l(!1),De=l(!0),Qe=l(!1),Ue=a(()=>{const e=ke.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.cover_image?[{type:"image",url:e.cover_image}]:[{type:"image",url:ue}]:[]}),Ee=a(()=>{var e;return Z(null==(e=ke.value)?void 0:e.contact_phone)}),qe=a(()=>{var e;const l=null==(e=ke.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let t="";if(/<[a-z][\s\S]*>/i.test(a)){t=`
${pe(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return ge(t)?t:""}),Ie=a(()=>{var e;const l=null==(e=ke.value)?void 0:e.detail_html;if(!l)return"";const a=pe(String(l));return ge(a)?`
${a}
`:""}),Re=a(()=>{var e;return ce(null==(e=ke.value)?void 0:e.booking_method)}),Ve=a(()=>Re.value.length>0),Oe=a(()=>{var e;const l=null==(e=ke.value)?void 0:e.booking_qr_media;if(!Array.isArray(l))return[];const a=[];for(const t of l)if(t&&"object"==typeof t&&"image"===t.type){const e=String(t.url||"").trim();e&&a.push(e)}return a}),Ke=a(()=>!!ke.value&&(Ve.value||Oe.value.length>0)),ze=a(()=>J(ke.value));function Pe(e){var l,a;if(!e)return"";const t=null==(a=null==(l=he.value)?void 0:l.venue_open_mode)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)||e}function Le(e){return null==e?"":String(e).trim()}function We(e){return Le(e).length>0}function Te(e){return re(e)}function Je(e){return Te(e).length>0}function Xe(){var e,l,a,t;const s=Number((null==(e=ke.value)?void 0:e.lat)||0),n=Number((null==(l=ke.value)?void 0:l.lng)||0);Q({lat:s,lng:n,name:(null==(a=ke.value)?void 0:a.name)||"场馆",address:(null==(t=ke.value)?void 0:t.address)||""})}async function He(){var e,l;const a=Number((null==(e=ke.value)?void 0:e.id)||0),t=ye.value;a&&t?(null==(l=Ae.value)?void 0:l.has_existing_reservation)||D({url:`/pages/ticket-grab/reserve?event_id=${t}&venue_id=${a}`}):U({title:"参数无效",icon:"none"})}return t([Ie,qe],()=>{Ge.value=!0,Se.value=!0,E(()=>{setTimeout(()=>{var e;const l=null==(e=q())?void 0:e.proxy,a=I();l&&a.in(l);const t=R(187);a.select(".judge-intro").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];je.value=!!(l&&l.height&&l.height>t+1),Ne.value=!!(a&&a.height&&a.height>t+1),Ne.value?Se.value=!1:Se.value=!0})},120)})}),t(()=>{var e;return Le(null==(e=ke.value)?void 0:e.ticket_content)},()=>{De.value=!0,E(()=>{setTimeout(()=>{var e;const l=null==(e=q())?void 0:e.proxy,a=I();l&&a.in(l);const t=R(156);a.select(".judge-ticket-measure").boundingClientRect(),a.exec(e=>{const[l]=e||[],a=!!(l&&l.height&&l.height>t+1);Qe.value=a,De.value=!a})},120)})},{flush:"post"}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const a=Number((null==e?void 0:e.ticket_grab_event_id)||0);ye.value=Number.isFinite(a)&&a>0?a:0;const t=ye.value,s=t>0?O(t).catch(()=>null):Promise.resolve(null),[[i,o],u]=await Promise.all([Promise.all([K(l,t>0?{ticket_grab_event_id:t}:{}),z()]),s]),c=u;if(ke.value=i,he.value=o,"undefined"!=typeof window){let e=String((null==i?void 0:i.name)||"场馆详情"),l=r.desc;if(ye.value>0&&c){e=`${String(c.title??"").trim()||"抢票活动"} · ${String((null==i?void 0:i.name)??"").trim()||"场馆"}`;const a=ce(String(c.summary??"")).replace(/\s+/gu," ").trim();a&&(l=a.length>160?`${a.slice(0,157)}…`:a)}await n({title:e,desc:l,link:window.location.href,imgUrl:ue}).catch(()=>{})}if(ye.value>0){try{Ae.value=await P(ye.value,l)}catch{Ae.value=null}we.value=!0}else Ae.value=null,we.value=!1}),i(()=>{var e;ye.value>0&&(null==(e=ke.value)?void 0:e.id)&&async function(){var e;if(ye.value&&(null==(e=ke.value)?void 0:e.id))try{Ae.value=await P(ye.value,ke.value.id)}catch{}}()}),(e,l)=>{const a=d("SubPageBackBtn"),t=y,s=b,n=h,i=m,r=c,Q=w,U=j,E=_,q=N;return v(),o(r,{class:"page"},{default:u(()=>[f(a),f(E,{"scroll-y":"",class:"scroll"},{default:u(()=>{var e,a;return[f(r,{class:"hero"},{default:u(()=>[Ue.value.length?(v(),o(i,{key:0,class:"hero-swiper",circular:"","indicator-dots":Ue.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:u(()=>[(v(!0),p(g,null,k(Ue.value,(e,l)=>(v(),o(n,{key:"s-"+l,class:"swiper-item"},{default:u(()=>["video"!==e.type?(v(),o(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(v(),o(s,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["indicator-dots"])):A("",!0)]),_:1}),f(r,{class:"main-card"},{default:u(()=>{var e,a;return[!be.value&&ke.value&&We(ke.value.ticket_content)?(v(),o(r,{key:0,class:"ticket-measure-host","aria-hidden":"true"},{default:u(()=>[f(r,{class:"info-row ticket-measure-row info-row--ticket-one"},{default:u(()=>[f(r,{class:"ticket-measure-ico","aria-hidden":"true"}),f(r,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("门票说明:")]),_:1}),f(Q,{class:"judge-ticket-measure ticket-plain"},{default:u(()=>[x(F(Le(ke.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})]),_:1})):A("",!0),f(Q,{class:"venue-name"},{default:u(()=>{var e;return[x(F((null==(e=ke.value)?void 0:e.name)||"-"),1)]}),_:1}),!be.value&&(ze.value.length||(null==(e=ke.value)?void 0:e.ticket_type)||(null==(a=ke.value)?void 0:a.open_mode))?(v(),o(r,{key:1,class:"chip-row"},{default:u(()=>{var e,l,a;return[(v(!0),p(g,null,k(ze.value,(e,l)=>{var a;return v(),o(Q,{key:"vt-"+l,class:"chip",style:C(B(X)(B(H)(e,null==(a=he.value)?void 0:a.venue_type)))},{default:u(()=>[x(F(ve(e)),1)]),_:2},1032,["style"])}),128)),(null==(e=ke.value)?void 0:e.ticket_type)?(v(),o(Q,{key:0,class:G(["chip","paid"===ke.value.ticket_type?"chip-paid":"chip-free"])},{default:u(()=>{return[x(F((e=ke.value.ticket_type,e?V[e]||e:"")),1)];var e}),_:1},8,["class"])):A("",!0),(null==(l=ke.value)?void 0:l.open_mode)?(v(),o(Q,{key:1,class:"chip open-mode-tag",style:C(B(Y)(ke.value.open_mode,null==(a=he.value)?void 0:a.venue_open_mode))},{default:u(()=>[x(F(Pe(ke.value.open_mode)),1)]),_:1},8,["style"])):A("",!0)]}),_:1})):A("",!0),be.value?(v(),p(g,{key:2},[ke.value&&Je(ke.value.unit_name)?(v(),o(r,{key:0,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B($),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("所属单位:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.open_time)?(v(),o(r,{key:1,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(ae),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("开放时间:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.open_time)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.contact_name)?(v(),o(r,{key:2,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAACgUlEQVRIibWWW4hOURTHf/t8h2FcZ0hyl+KBEkUeRIwnkyceRjy5vEjKC/KAeCGF8uaSJil5mHJ7Iy9ujVJErqGQ3D8zGsLM0TbrTPts57L3+fjXqrPXOWv/91p7r/8+auCNVnIwG1gFzAImAj+BZ8A14BTwIi84D1nEg4D9wHogzIivAruBg2WIQ1C2rxFoAxYWxA4HDgAzZIE9XsRRkrgCnHQgNbEGeAns8iEOrHELsNRnAsE2ydyDWCkMW22NXa3ON9bc43HA/BLZxphH72SRy8fmHo8FBtdAPF0O3Gcn4oznMqgD+htx9XJQR1lV0Jl+MUvdKR/81V+OeA90WASLgIaU8F9hpPp4tAq9AsaXJL4NfDPGkbRZWn9XzYz1as8DG0oSX7bGehGLU1r2z6JsATkigjDAk/SRaHdicuBjVkDQm3Gf3QG1xfIVWReodaA6feLStPow8BU4BAwtyPQpsBa4avgqGeVNwDxcJk4AN4EdQDMwxHr/BjgD7Ekp53bZrjxU0zKO8QBYKcIyBRgBdAPvgIdyLaZBK+CkAuKe0KEqr42DolvjbQ6pxn3geoF0dqhK+9msl01Ssrny99FP/Hr/nwNXgOPA3aKVp0FV2s/ZPq25+2Rvi/ADOAbsBD54EQe3EsTN0o/DPBN4DCwH7rkGmIdrGXBaxN0XU4GLwBLgiRU7Ghhp+bpj4slAa0nSGBOkWguA74Z/E7DV+vZToCUzQu2NUA3yXIvNiVAbrfj6CBVY1qgzngmsqCFTG5uBo/rOFf8l6f+4vXSJu0KUanGROA+MkVZsk5ALYgkE0qf/Gk1F8+lr8X8QTyskBqXVR59mp79DB+g91DqfDeA3q/KYf9QO7bUAAAAASUVORK5CYII="),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("联系人:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Ee.value.length?(v(),o(r,{key:3,class:"info-row info-row--phones"},{default:u(()=>[f(t,{class:"info-ico",src:B(M),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--phone-block"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("联系方式:")]),_:1}),f(r,{class:"phone-list"},{default:u(()=>[(v(!0),p(g,null,k(Ee.value,(e,l)=>(v(),o(Q,{key:"tg-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:S(l=>B(ee)(e),["stop"])},{default:u(()=>[x(F(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.address)?(v(),o(r,{key:4,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(le),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("场馆地址:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.address)),1)]),_:1})]),_:1})]),_:1})):A("",!0),we.value?(v(),o(r,{key:5,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(te),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("今日余票:")]),_:1}),f(Q,{class:"info-value info-value--em"},{default:u(()=>[x(F(xe.value),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.qr_verify_method)?(v(),o(r,{key:6,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(se),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line info-text-col--verify-one"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("核销方式说明:")]),_:1}),f(Q,{class:"info-value info-value--single-line"},{default:u(()=>[x(F(String(ke.value.qr_verify_method).trim()),1)]),_:1})]),_:1})]),_:1})):A("",!0)],64)):(v(),p(g,{key:3},[ke.value&&Je(ke.value.unit_name)?(v(),o(r,{key:0,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B($),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("所属单位:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.open_time)?(v(),o(r,{key:1,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(ae),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("开放时间:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.open_time)),1)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&Ke.value?(v(),o(r,{key:2,class:"info-row info-row--booking"},{default:u(()=>[f(t,{class:"info-ico",src:B(se),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line info-text-col--booking-row"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("预约方式:")]),_:1}),f(r,{class:"bm-value-col"},{default:u(()=>[Ve.value?(v(),o(Q,{key:0,class:"info-value"},{default:u(()=>[x(F(Re.value),1)]),_:1})):A("",!0),Oe.value.length?(v(),o(r,{key:1,class:"bm-qr-row"},{default:u(()=>[(v(!0),p(g,null,k(Oe.value,(e,l)=>(v(),o(t,{key:"bqr-"+l+"-"+e,class:"bm-qr",src:e,mode:"widthFix","show-menu-by-longpress":""},null,8,["src"]))),128))]),_:1})):A("",!0)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&Je(ke.value.visit_form)?(v(),o(r,{key:3,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(ne),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("参观形式:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.visit_form)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.consultation_hours)?(v(),o(r,{key:4,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAACOklEQVRIib2WO2hUQRSGv392QWOIWEQSGxVFMUkvwcZAwAdYCYJGC0GxUQLJVkErsbAxIikEMYgiaKGFjyJa+AIJGCvxQQLGKkUKjUiMIsKRCbN4ucy6c9eQAz+zO+c/9zD/zJkzahq/Th1bAewCdgBdQAfQBswB74EPwCvgUZiraeU6iU4Dp4D2iK8FWA/sCf+/AaPAGWAh9jEHIoLdoCnQOVB7DU4eq0EDoI+gwzGOM0QO/YbGDG2J+FLQbuimoQt5bnkx6V/zkl2qt4mJNhiWNBiTsRs0kiCXgZ6A5hK4A1lJszI+SJTpsqFeQycT+TcMNfvf1ZUNgVoTD8J0GGcS+T7HFUKyEuhsYqBHS25MQR+orWxob0K9LYXtLyP1LEMib71lUNcyJev0MnY0GKwETtZa/crWFgz6FcaVBeNWOZO+mkQDeGrSSIG4nw7c5OJFko4T4LrBfQbXD24nuOcJ8V/8DfK24EW7wdC4oauG1hh6YajH0CFDM/+Im/RF/bJAcWZxLLSho2HuNqgT9LsG/5lKE/ebgfmCm50336kPAk3AG6AU4WzyMn43dLHB3lXFdkPTht4ZKkX8jw19kpt4SFjnQgPHOdX8s2K2euv7HnWkwb2rhwpoNt/P7hoa/k8587iV/abLyVABhpdIujtAX3bCIZFDBek40nzElwJDGkI6kOfGXlceo4Y2G7pmyArIds/QVkPnY37xeqyeHBuBfeFFvA1YB/ja/OFPGDAV6swfa/9CjhvwBwLNF6GrRpkqAAAAAElFTkSuQmCC"),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("咨询时间:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.consultation_hours)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Ee.value.length?(v(),o(r,{key:5,class:"info-row info-row--phones"},{default:u(()=>[f(t,{class:"info-ico",src:B(M),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--phone-block"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("咨询电话:")]),_:1}),f(r,{class:"phone-list"},{default:u(()=>[(v(!0),p(g,null,k(Ee.value,(e,l)=>(v(),o(Q,{key:"ph-"+l+"-"+e,class:"phone-link phone-line",onClick:S(l=>B(ee)(e),["stop"])},{default:u(()=>[x(F(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.address)?(v(),o(r,{key:6,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(le),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("场馆地址:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.address)),1)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&We(ke.value.ticket_content)&&!Qe.value?(v(),o(r,{key:7,class:"info-row info-row--ticket-one"},{default:u(()=>[f(t,{class:"info-ico",src:B(te),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("门票说明:")]),_:1}),f(Q,{class:"info-value ticket-plain"},{default:u(()=>[x(F(Le(ke.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&We(ke.value.ticket_content)&&Qe.value?(v(),o(r,{key:8,class:"ticket-block"},{default:u(()=>[f(r,{class:"info-row ticket-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(te),mode:"aspectFit"},null,8,["src"]),f(r,{class:"ticket-col"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("门票说明:")]),_:1}),f(r,{class:"ticket-value-wrap"},{default:u(()=>[f(r,{class:G(["ticket-text-block",{"is-collapsed":!De.value}])},{default:u(()=>[f(Q,{class:"ticket-plain"},{default:u(()=>[x(F(Le(ke.value.ticket_content)),1)]),_:1})]),_:1},8,["class"]),f(r,{class:"ticket-arrow-tap",onClick:l[0]||(l[0]=S(e=>De.value=!De.value,["stop"]))},{default:u(()=>[f(t,{class:"expand-arrow-img",src:De.value?B(ie):B(oe),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&qe.value?(v(),o(r,{key:9,class:"notice-block"},{default:u(()=>[f(r,{class:"sec-title-row notice-head-row"},{default:u(()=>[f(Q,{class:"notice-label"},{default:u(()=>[x("预约须知")]),_:1}),Ne.value?(v(),o(r,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>Se.value=!Se.value)},{default:u(()=>[f(t,{class:"expand-arrow-img",src:Se.value?B(ie):B(oe),mode:"aspectFit"},null,8,["src"])]),_:1})):A("",!0)]),_:1}),f(r,{class:G(["notice-block-body judge-notice",{"is-collapsed":Ne.value&&!Se.value}])},{default:u(()=>[f(U,{class:"notice-inline-rich",nodes:qe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):A("",!0)],64))]}),_:1}),Ie.value?(v(),o(r,{key:0,class:"intro-card"},{default:u(()=>[f(r,{class:"sec-title-row"},{default:u(()=>[f(Q,{class:"sec-title"},{default:u(()=>[x(F(be.value?"详情":"场馆介绍"),1)]),_:1}),je.value?(v(),o(r,{key:0,class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>Ge.value=!Ge.value)},{default:u(()=>[f(t,{class:"expand-arrow-img",src:Ge.value?B(ie):B(oe),mode:"aspectFit"},null,8,["src"])]),_:1})):A("",!0)]),_:1}),f(r,{class:G(["intro-rich-wrap judge-intro",{"is-collapsed":je.value&&!Ge.value}])},{default:u(()=>[f(U,{class:"intro-rich",nodes:Ie.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):A("",!0),!be.value&&(null==(a=null==(e=ke.value)?void 0:e.activities)?void 0:a.length)?(v(),o(r,{key:1,class:"activities-card"},{default:u(()=>[f(r,{class:"sec-title-row"},{default:u(()=>[f(Q,{class:"sec-title"},{default:u(()=>[x("场馆活动")]),_:1})]),_:1}),(v(!0),p(g,null,k(ke.value.activities,e=>(v(),o(r,{key:e.id,class:"venue-act-row",onClick:l=>{var a;(a=e.id)&&D({url:`/pages/activity/detail?id=${a}`})}},{default:u(()=>[f(r,{class:"venue-act-cover-wrap"},{default:u(()=>[f(t,{class:"venue-act-cover",src:e.cover_image||B(ue),mode:"aspectFill"},null,8,["src"]),f(r,{class:G(["venue-act-status",me(e)])},{default:u(()=>[x(F(_e(e)),1)]),_:2},1032,["class"])]),_:2},1024),f(r,{class:"venue-act-body"},{default:u(()=>[f(Q,{class:"venue-act-title"},{default:u(()=>[x(F(e.title),1)]),_:2},1024),e.summary?(v(),o(Q,{key:0,class:"venue-act-sum"},{default:u(()=>[x(F(e.summary),1)]),_:2},1024)):A("",!0),f(r,{class:"venue-act-meta-row"},{default:u(()=>[f(Q,{class:"venue-act-meta"},{default:u(()=>[x(F(B(L)(e.start_at,e.end_at)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):A("",!0),f(r,{class:"safe-bottom"})]}),_:1}),f(r,{class:G(["action-bar",{"action-bar--row":Ce.value}])},{default:u(()=>[f(q,{class:G(["btn flex",be.value?"btn-ghost":"btn-primary"]),onClick:Xe},{default:u(()=>[x("一键导航")]),_:1},8,["class"]),Ce.value?(v(),o(q,{key:0,class:G(["btn flex btn-primary",{"btn-grab-locked":Be.value}]),disabled:Be.value,onClick:He},{default:u(()=>[x(" 立即抢票 ")]),_:1},8,["class","disabled"])):A("",!0)]),_:1},8,["class"])]),_:1})}}}),[["__scopeId","data-v-2f36aa1c"]]);export{ve as default}; diff --git a/public/h5/assets/pages-venue-detail.DZRhch0b.js b/public/h5/assets/pages-venue-detail.DZRhch0b.js new file mode 100644 index 0000000..6c98bf0 --- /dev/null +++ b/public/h5/assets/pages-venue-detail.DZRhch0b.js @@ -0,0 +1 @@ +import{d as e,r as l,n as a,w as t,V as s,s as n,p as i,c as o,f as u,i as c,W as r,O as d,b as v,l as f,S as _,X as m,A as p,F as g,B as k,Y as h,x as y,Z as b,k as A,m as w,j as x,t as F,C,y as B,v as G,e as S,$ as j,P as D,D as N,a1 as Q,q as E,a4 as U,a5 as q,a6 as I,u as R,_ as V}from"./index-D9YO76Ut.js";import{j as O,l as K,g as P,k as L}from"./content.CWxBtEbN.js";import{f as W,b as z,c as T}from"./activity.CPaCOiZ6.js";import{v as J}from"./venueTypes.DuAf5T5V.js";import{v as X,c as H,o as Y}from"./venueThemeColors.DRxjaxXI.js";import{s as $,i as Z,a as M,d as ee,b as le}from"./phone.BuoI0HSZ.js";import{i as ae}from"./icon2.fcm2h4jI.js";import{b as te,a as se,i as ne}from"./icon8.D8UBMaA-.js";import{i as ie,a as oe}from"./icon_up.DJ5zmdk8.js";import{P as ue}from"./poster.C6TYC1FC.js";import{h as ce,s as re}from"./text.BxMbQPAt.js";const de={theme_nature_ecology:"自然生态",theme_tech_industry:"科技产业",theme_su_craft:"苏工苏艺",theme_life_health:"生命健康",theme_scientist_spirit:"弘扬科学家精神",theme_spark:"企业星火科技馆"},ve=V(e({__name:"detail",setup(e){const V={free:"免费",paid:"收费"};function ve(e){var l,a;if(!e)return"";const t=null==(a=null==(l=he.value)?void 0:l.venue_type)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)?t.label:de[e]||e}function fe(e){const l=null==e?void 0:e.schedule_status;return"not_started"===l||"ongoing"===l||"ended"===l?l:T(null==e?void 0:e.start_at,null==e?void 0:e.end_at)}function _e(e){return z(fe(e))}function me(e){return`st-${fe(e)}`}function pe(e){if(!e||"string"!=typeof e)return"";const l="max-width:100%;height:auto;display:block;vertical-align:top;";return e.replace(/|>)/gi,(e,a,t)=>{const s=String(a).trim();if(/style\s*=/i.test(s))return/max-width\s*:/i.test(s)?e:e.replace(/style\s*=\s*(["'])([\s\S]*?)\1/i,(e,a,t)=>/max-width/i.test(t)?e:`style=${a}${t};${l}${a}`);return`"===t?" />":">"}`})}function ge(e){if(!e||!String(e).trim())return!1;const l=String(e);if(/]+>/g," ").replace(/ /gi," ").replace(/\s+/g," ").trim().length>0}const ke=l(null),he=l(null),ye=l(0),be=a(()=>ye.value>0),Ae=l(null),we=l(!1),xe=a(()=>{var e,l;if(!be.value)return"";const a=Number(null==(l=null==(e=Ae.value)?void 0:e.today_release)?void 0:l.remaining);return Number.isNaN(a)?"—":String(a)});function Fe(e){if(null==e||""===e)return null;const l=String(e).trim().slice(0,10);return/^\d{4}-\d{2}-\d{2}$/.test(l)?l:null}const Ce=a(()=>{var e;if(!be.value||!we.value)return!1;const l=null==(e=Ae.value)?void 0:e.event;if(!l)return!1;const a=Fe(l.booking_start_at),t=Fe(l.booking_end_at);if(!a||!t)return!1;const s=function(){const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}();return s>=a&&s<=t}),Be=a(()=>{var e;return Boolean(null==(e=Ae.value)?void 0:e.has_existing_reservation)}),Ge=l(!0),Se=l(!1),je=l(!1),De=l(!1),Ne=l(!0),Qe=l(!1),Ee=a(()=>{const e=ke.value;return e?Array.isArray(e.carousel)&&e.carousel.length?e.carousel:e.cover_image?[{type:"image",url:e.cover_image}]:[{type:"image",url:ue}]:[]}),Ue=a(()=>{var e;return $(null==(e=ke.value)?void 0:e.contact_phone)}),qe=a(()=>{var e;const l=null==(e=ke.value)?void 0:e.reservation_notice;if(null==l||""===l)return"";const a=String(l);let t="";if(/<[a-z][\s\S]*>/i.test(a)){t=`
${pe(a)}
`}else{const e=function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}(a);t=`
${e}
`}return ge(t)?t:""}),Ie=a(()=>{var e;const l=null==(e=ke.value)?void 0:e.detail_html;if(!l)return"";const a=pe(String(l));return ge(a)?`
${a}
`:""}),Re=a(()=>{var e;return ce(null==(e=ke.value)?void 0:e.booking_method)}),Ve=a(()=>Re.value.length>0),Oe=a(()=>{var e;const l=null==(e=ke.value)?void 0:e.booking_qr_media;if(!Array.isArray(l))return[];const a=[];for(const t of l)if(t&&"object"==typeof t&&"image"===t.type){const e=String(t.url||"").trim();e&&a.push(e)}return a}),Ke=a(()=>!!ke.value&&(Ve.value||Oe.value.length>0)),Pe=a(()=>J(ke.value));function Le(e){var l,a;if(!e)return"";const t=null==(a=null==(l=he.value)?void 0:l.venue_open_mode)?void 0:a.find(l=>l.value===e);return(null==t?void 0:t.label)||e}function We(e){return null==e?"":String(e).trim()}function ze(e){return We(e).length>0}function Te(e){return re(e)}function Je(e){return Te(e).length>0}function Xe(){var e,l,a,t;const s=Number((null==(e=ke.value)?void 0:e.lat)||0),n=Number((null==(l=ke.value)?void 0:l.lng)||0);Q({lat:s,lng:n,name:(null==(a=ke.value)?void 0:a.name)||"场馆",address:(null==(t=ke.value)?void 0:t.address)||""})}async function He(){var e,l;const a=Number((null==(e=ke.value)?void 0:e.id)||0),t=ye.value;a&&t?(null==(l=Ae.value)?void 0:l.has_existing_reservation)||N({url:`/pages/ticket-grab/reserve?event_id=${t}&venue_id=${a}`}):E({title:"参数无效",icon:"none"})}return t([Ie,qe],()=>{Ge.value=!0,Se.value=!0,U(()=>{setTimeout(()=>{var e;const l=null==(e=q())?void 0:e.proxy,a=I();l&&a.in(l);const t=R(187);a.select(".judge-intro").boundingClientRect(),a.select(".judge-notice").boundingClientRect(),a.exec(e=>{const[l,a]=e||[];je.value=!!(l&&l.height&&l.height>t+1),De.value=!!(a&&a.height&&a.height>t+1),De.value?Se.value=!1:Se.value=!0})},120)})}),t(()=>{var e;return We(null==(e=ke.value)?void 0:e.ticket_content)},()=>{Ne.value=!0,U(()=>{setTimeout(()=>{var e;const l=null==(e=q())?void 0:e.proxy,a=I();l&&a.in(l);const t=R(156);a.select(".judge-ticket-measure").boundingClientRect(),a.exec(e=>{const[l]=e||[],a=!!(l&&l.height&&l.height>t+1);Qe.value=a,Ne.value=!a})},120)})},{flush:"post"}),s(async e=>{const l=Number((null==e?void 0:e.id)||0);if(!l)return;const a=Number((null==e?void 0:e.ticket_grab_event_id)||0);ye.value=Number.isFinite(a)&&a>0?a:0;const t=ye.value,s=t>0?O(t).catch(()=>null):Promise.resolve(null),[[i,o],u]=await Promise.all([Promise.all([K(l,t>0?{ticket_grab_event_id:t}:{}),P()]),s]),c=u;if(ke.value=i,he.value=o,"undefined"!=typeof window){let e=String((null==i?void 0:i.name)||"场馆详情"),l=r.desc;if(ye.value>0&&c){e=`${String(c.title??"").trim()||"抢票活动"} · ${String((null==i?void 0:i.name)??"").trim()||"场馆"}`;const a=ce(String(c.summary??"")).replace(/\s+/gu," ").trim();a&&(l=a.length>160?`${a.slice(0,157)}…`:a)}await n({title:e,desc:l,link:window.location.href,imgUrl:ue}).catch(()=>{})}if(ye.value>0){try{Ae.value=await L(ye.value,l)}catch{Ae.value=null}we.value=!0}else Ae.value=null,we.value=!1}),i(()=>{var e;ye.value>0&&(null==(e=ke.value)?void 0:e.id)&&async function(){var e;if(ye.value&&(null==(e=ke.value)?void 0:e.id))try{Ae.value=await L(ye.value,ke.value.id)}catch{}}()}),(e,l)=>{const a=d("SubPageBackBtn"),t=y,s=b,n=h,i=m,r=c,Q=w,E=j,U=_,q=D;return v(),o(r,{class:"page"},{default:u(()=>[f(a),f(U,{"scroll-y":"",class:"scroll"},{default:u(()=>{var e,a;return[f(r,{class:"hero"},{default:u(()=>[Ee.value.length?(v(),o(i,{key:0,class:"hero-swiper",circular:"","indicator-dots":Ee.value.length>1,"indicator-active-color":"#05c9ac","indicator-color":"rgba(255,255,255,0.45)"},{default:u(()=>[(v(!0),p(g,null,k(Ee.value,(e,l)=>(v(),o(n,{key:"s-"+l,class:"swiper-item"},{default:u(()=>["video"!==e.type?(v(),o(t,{key:0,class:"slide-media",src:e.url,mode:"aspectFill"},null,8,["src"])):(v(),o(s,{key:1,class:"slide-media slide-video",src:e.url,controls:"","object-fit":"cover","show-center-play-btn":!0},null,8,["src"]))]),_:2},1024))),128))]),_:1},8,["indicator-dots"])):A("",!0)]),_:1}),f(r,{class:"main-card"},{default:u(()=>{var e,a;return[!be.value&&ke.value&&ze(ke.value.ticket_content)?(v(),o(r,{key:0,class:"ticket-measure-host","aria-hidden":"true"},{default:u(()=>[f(r,{class:"info-row ticket-measure-row info-row--ticket-one"},{default:u(()=>[f(r,{class:"ticket-measure-ico","aria-hidden":"true"}),f(r,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("门票说明:")]),_:1}),f(Q,{class:"judge-ticket-measure ticket-plain"},{default:u(()=>[x(F(We(ke.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})]),_:1})):A("",!0),f(Q,{class:"venue-name"},{default:u(()=>{var e;return[x(F((null==(e=ke.value)?void 0:e.name)||"-"),1)]}),_:1}),!be.value&&(Pe.value.length||(null==(e=ke.value)?void 0:e.ticket_type)||(null==(a=ke.value)?void 0:a.open_mode))?(v(),o(r,{key:1,class:"chip-row"},{default:u(()=>{var e,l,a;return[(v(!0),p(g,null,k(Pe.value,(e,l)=>{var a;return v(),o(Q,{key:"vt-"+l,class:"chip",style:C(B(X)(B(H)(e,null==(a=he.value)?void 0:a.venue_type)))},{default:u(()=>[x(F(ve(e)),1)]),_:2},1032,["style"])}),128)),(null==(e=ke.value)?void 0:e.ticket_type)?(v(),o(Q,{key:0,class:G(["chip","paid"===ke.value.ticket_type?"chip-paid":"chip-free"])},{default:u(()=>{return[x(F((e=ke.value.ticket_type,e?V[e]||e:"")),1)];var e}),_:1},8,["class"])):A("",!0),(null==(l=ke.value)?void 0:l.open_mode)?(v(),o(Q,{key:1,class:"chip open-mode-tag",style:C(B(Y)(ke.value.open_mode,null==(a=he.value)?void 0:a.venue_open_mode))},{default:u(()=>[x(F(Le(ke.value.open_mode)),1)]),_:1},8,["style"])):A("",!0)]}),_:1})):A("",!0),be.value?(v(),p(g,{key:2},[ke.value&&Je(ke.value.unit_name)?(v(),o(r,{key:0,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(Z),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("所属单位:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.open_time)?(v(),o(r,{key:1,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(ae),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("开放时间:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.open_time)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.contact_name)?(v(),o(r,{key:2,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAACgUlEQVRIibWWW4hOURTHf/t8h2FcZ0hyl+KBEkUeRIwnkyceRjy5vEjKC/KAeCGF8uaSJil5mHJ7Iy9ujVJErqGQ3D8zGsLM0TbrTPts57L3+fjXqrPXOWv/91p7r/8+auCNVnIwG1gFzAImAj+BZ8A14BTwIi84D1nEg4D9wHogzIivAruBg2WIQ1C2rxFoAxYWxA4HDgAzZIE9XsRRkrgCnHQgNbEGeAns8iEOrHELsNRnAsE2ydyDWCkMW22NXa3ON9bc43HA/BLZxphH72SRy8fmHo8FBtdAPF0O3Gcn4oznMqgD+htx9XJQR1lV0Jl+MUvdKR/81V+OeA90WASLgIaU8F9hpPp4tAq9AsaXJL4NfDPGkbRZWn9XzYz1as8DG0oSX7bGehGLU1r2z6JsATkigjDAk/SRaHdicuBjVkDQm3Gf3QG1xfIVWReodaA6feLStPow8BU4BAwtyPQpsBa4avgqGeVNwDxcJk4AN4EdQDMwxHr/BjgD7Ekp53bZrjxU0zKO8QBYKcIyBRgBdAPvgIdyLaZBK+CkAuKe0KEqr42DolvjbQ6pxn3geoF0dqhK+9msl01Ssrny99FP/Hr/nwNXgOPA3aKVp0FV2s/ZPq25+2Rvi/ADOAbsBD54EQe3EsTN0o/DPBN4DCwH7rkGmIdrGXBaxN0XU4GLwBLgiRU7Ghhp+bpj4slAa0nSGBOkWguA74Z/E7DV+vZToCUzQu2NUA3yXIvNiVAbrfj6CBVY1qgzngmsqCFTG5uBo/rOFf8l6f+4vXSJu0KUanGROA+MkVZsk5ALYgkE0qf/Gk1F8+lr8X8QTyskBqXVR59mp79DB+g91DqfDeA3q/KYf9QO7bUAAAAASUVORK5CYII="),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("联系人:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.contact_name)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Ue.value.length?(v(),o(r,{key:3,class:"info-row info-row--phones"},{default:u(()=>[f(t,{class:"info-ico",src:B(M),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--phone-block"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("联系方式:")]),_:1}),f(r,{class:"phone-list"},{default:u(()=>[(v(!0),p(g,null,k(Ue.value,(e,l)=>(v(),o(Q,{key:"tg-ph-"+l+"-"+e,class:"phone-link phone-line",onClick:S(l=>B(ee)(e),["stop"])},{default:u(()=>[x(F(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.address)?(v(),o(r,{key:4,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(le),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("场馆地址:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.address)),1)]),_:1})]),_:1})]),_:1})):A("",!0),we.value?(v(),o(r,{key:5,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(te),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("今日余票:")]),_:1}),f(Q,{class:"info-value info-value--em"},{default:u(()=>[x(F(xe.value),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.qr_verify_method)?(v(),o(r,{key:6,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(se),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line info-text-col--verify-one"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("核销方式说明:")]),_:1}),f(Q,{class:"info-value info-value--single-line"},{default:u(()=>[x(F(String(ke.value.qr_verify_method).trim()),1)]),_:1})]),_:1})]),_:1})):A("",!0)],64)):(v(),p(g,{key:3},[ke.value&&Je(ke.value.unit_name)?(v(),o(r,{key:0,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(Z),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("所属单位:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.unit_name)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.open_time)?(v(),o(r,{key:1,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(ae),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("开放时间:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.open_time)),1)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&Ke.value?(v(),o(r,{key:2,class:"info-row info-row--booking"},{default:u(()=>[f(t,{class:"info-ico",src:B(se),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line info-text-col--booking-row"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("预约方式:")]),_:1}),f(r,{class:"bm-value-col"},{default:u(()=>[Ve.value?(v(),o(Q,{key:0,class:"info-value"},{default:u(()=>[x(F(Re.value),1)]),_:1})):A("",!0),Oe.value.length?(v(),o(r,{key:1,class:"bm-qr-row"},{default:u(()=>[(v(!0),p(g,null,k(Oe.value,(e,l)=>(v(),o(t,{key:"bqr-"+l+"-"+e,class:"bm-qr",src:e,mode:"widthFix","show-menu-by-longpress":""},null,8,["src"]))),128))]),_:1})):A("",!0)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&Je(ke.value.visit_form)?(v(),o(r,{key:3,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(ne),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("参观形式:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.visit_form)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.consultation_hours)?(v(),o(r,{key:4,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAACOklEQVRIib2WO2hUQRSGv392QWOIWEQSGxVFMUkvwcZAwAdYCYJGC0GxUQLJVkErsbAxIikEMYgiaKGFjyJa+AIJGCvxQQLGKkUKjUiMIsKRCbN4ucy6c9eQAz+zO+c/9zD/zJkzahq/Th1bAewCdgBdQAfQBswB74EPwCvgUZiraeU6iU4Dp4D2iK8FWA/sCf+/AaPAGWAh9jEHIoLdoCnQOVB7DU4eq0EDoI+gwzGOM0QO/YbGDG2J+FLQbuimoQt5bnkx6V/zkl2qt4mJNhiWNBiTsRs0kiCXgZ6A5hK4A1lJszI+SJTpsqFeQycT+TcMNfvf1ZUNgVoTD8J0GGcS+T7HFUKyEuhsYqBHS25MQR+orWxob0K9LYXtLyP1LEMib71lUNcyJev0MnY0GKwETtZa/crWFgz6FcaVBeNWOZO+mkQDeGrSSIG4nw7c5OJFko4T4LrBfQbXD24nuOcJ8V/8DfK24EW7wdC4oauG1hh6YajH0CFDM/+Im/RF/bJAcWZxLLSho2HuNqgT9LsG/5lKE/ebgfmCm50336kPAk3AG6AU4WzyMn43dLHB3lXFdkPTht4ZKkX8jw19kpt4SFjnQgPHOdX8s2K2euv7HnWkwb2rhwpoNt/P7hoa/k8587iV/abLyVABhpdIujtAX3bCIZFDBek40nzElwJDGkI6kOfGXlceo4Y2G7pmyArIds/QVkPnY37xeqyeHBuBfeFFvA1YB/ja/OFPGDAV6swfa/9CjhvwBwLNF6GrRpkqAAAAAElFTkSuQmCC"),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("咨询时间:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.consultation_hours)),1)]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Ue.value.length?(v(),o(r,{key:5,class:"info-row info-row--phones"},{default:u(()=>[f(t,{class:"info-ico",src:B(M),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--phone-block"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("咨询电话:")]),_:1}),f(r,{class:"phone-list"},{default:u(()=>[(v(!0),p(g,null,k(Ue.value,(e,l)=>(v(),o(Q,{key:"ph-"+l+"-"+e,class:"phone-link phone-line",onClick:S(l=>B(ee)(e),["stop"])},{default:u(()=>[x(F(e),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1})]),_:1})):A("",!0),ke.value&&Je(ke.value.address)?(v(),o(r,{key:6,class:"info-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(le),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("场馆地址:")]),_:1}),f(Q,{class:"info-value"},{default:u(()=>[x(F(Te(ke.value.address)),1)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&ze(ke.value.ticket_content)&&!Qe.value?(v(),o(r,{key:7,class:"info-row info-row--ticket-one"},{default:u(()=>[f(t,{class:"info-ico",src:B(te),mode:"aspectFit"},null,8,["src"]),f(r,{class:"info-text-col info-text-col--line info-text-col--ticket-one"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("门票说明:")]),_:1}),f(Q,{class:"info-value ticket-plain"},{default:u(()=>[x(F(We(ke.value.ticket_content)),1)]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&ke.value&&ze(ke.value.ticket_content)&&Qe.value?(v(),o(r,{key:8,class:"ticket-block"},{default:u(()=>[f(r,{class:"info-row ticket-row"},{default:u(()=>[f(t,{class:"info-ico",src:B(te),mode:"aspectFit"},null,8,["src"]),f(r,{class:"ticket-col"},{default:u(()=>[f(Q,{class:"info-label"},{default:u(()=>[x("门票说明:")]),_:1}),f(r,{class:"ticket-value-wrap"},{default:u(()=>[f(r,{class:G(["ticket-text-block",{"is-collapsed":!Ne.value}])},{default:u(()=>[f(Q,{class:"ticket-plain"},{default:u(()=>[x(F(We(ke.value.ticket_content)),1)]),_:1})]),_:1},8,["class"]),f(r,{class:"ticket-arrow-tap",onClick:l[0]||(l[0]=S(e=>Ne.value=!Ne.value,["stop"]))},{default:u(()=>[f(t,{class:"expand-arrow-img",src:Ne.value?B(ie):B(oe),mode:"aspectFit"},null,8,["src"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):A("",!0),!be.value&&qe.value?(v(),o(r,{key:9,class:"notice-block"},{default:u(()=>[f(r,{class:"sec-title-row notice-head-row"},{default:u(()=>[f(Q,{class:"notice-label"},{default:u(()=>[x("预约须知")]),_:1}),De.value?(v(),o(r,{key:0,class:"expand-arrow-tap",onClick:l[1]||(l[1]=e=>Se.value=!Se.value)},{default:u(()=>[f(t,{class:"expand-arrow-img",src:Se.value?B(ie):B(oe),mode:"aspectFit"},null,8,["src"])]),_:1})):A("",!0)]),_:1}),f(r,{class:G(["notice-block-body judge-notice",{"is-collapsed":De.value&&!Se.value}])},{default:u(()=>[f(E,{class:"notice-inline-rich",nodes:qe.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):A("",!0)],64))]}),_:1}),Ie.value?(v(),o(r,{key:0,class:"intro-card"},{default:u(()=>[f(r,{class:"sec-title-row"},{default:u(()=>[f(Q,{class:"sec-title"},{default:u(()=>[x(F(be.value?"详情":"场馆介绍"),1)]),_:1}),je.value?(v(),o(r,{key:0,class:"expand-arrow-tap",onClick:l[2]||(l[2]=e=>Ge.value=!Ge.value)},{default:u(()=>[f(t,{class:"expand-arrow-img",src:Ge.value?B(ie):B(oe),mode:"aspectFit"},null,8,["src"])]),_:1})):A("",!0)]),_:1}),f(r,{class:G(["intro-rich-wrap judge-intro",{"is-collapsed":je.value&&!Ge.value}])},{default:u(()=>[f(E,{class:"intro-rich",nodes:Ie.value},null,8,["nodes"])]),_:1},8,["class"])]),_:1})):A("",!0),!be.value&&(null==(a=null==(e=ke.value)?void 0:e.activities)?void 0:a.length)?(v(),o(r,{key:1,class:"activities-card"},{default:u(()=>[f(r,{class:"sec-title-row"},{default:u(()=>[f(Q,{class:"sec-title"},{default:u(()=>[x("场馆活动")]),_:1})]),_:1}),(v(!0),p(g,null,k(ke.value.activities,e=>(v(),o(r,{key:e.id,class:"venue-act-row",onClick:l=>{var a;(a=e.id)&&N({url:`/pages/activity/detail?id=${a}`})}},{default:u(()=>[f(r,{class:"venue-act-cover-wrap"},{default:u(()=>[f(t,{class:"venue-act-cover",src:e.cover_image||B(ue),mode:"aspectFill"},null,8,["src"]),f(r,{class:G(["venue-act-status",me(e)])},{default:u(()=>[x(F(_e(e)),1)]),_:2},1032,["class"])]),_:2},1024),f(r,{class:"venue-act-body"},{default:u(()=>[f(Q,{class:"venue-act-title"},{default:u(()=>[x(F(e.title),1)]),_:2},1024),e.summary?(v(),o(Q,{key:0,class:"venue-act-sum"},{default:u(()=>[x(F(e.summary),1)]),_:2},1024)):A("",!0),f(r,{class:"venue-act-meta-row"},{default:u(()=>[f(Q,{class:"venue-act-meta"},{default:u(()=>[x(F(B(W)(e.start_at,e.end_at)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):A("",!0),f(r,{class:"safe-bottom"})]}),_:1}),f(r,{class:G(["action-bar",{"action-bar--row":Ce.value}])},{default:u(()=>[f(q,{class:G(["btn flex",be.value?"btn-ghost":"btn-primary"]),onClick:Xe},{default:u(()=>[x("一键导航")]),_:1},8,["class"]),Ce.value?(v(),o(q,{key:0,class:G(["btn flex btn-primary",{"btn-grab-locked":Be.value}]),disabled:Be.value,onClick:He},{default:u(()=>[x(" 立即抢票 ")]),_:1},8,["class","disabled"])):A("",!0)]),_:1},8,["class"])]),_:1})}}}),[["__scopeId","data-v-2f36aa1c"]]);export{ve as default}; diff --git a/public/h5/assets/peopleCounting.CH-rEjWp.js b/public/h5/assets/peopleCounting.BfwgNXhn.js similarity index 95% rename from public/h5/assets/peopleCounting.CH-rEjWp.js rename to public/h5/assets/peopleCounting.BfwgNXhn.js index c52eb40..a60c659 100644 --- a/public/h5/assets/peopleCounting.CH-rEjWp.js +++ b/public/h5/assets/peopleCounting.BfwgNXhn.js @@ -1 +1 @@ -import{af as r,ag as n}from"./index-CC6J0dtG.js";function t(){const t=n.peopleCountingUrl;return new Promise((n,e)=>{r({url:t,method:"GET",success:r=>{const t=r.statusCode||0;t>=200&&t<300?n(r.data):e(new Error(`客流接口 HTTP ${t}`))},fail:r=>e(r)})})}function e(r,n){return Math.max(0,Number(r??0)-Number(n??0))}function o(r){const n=Number(String(r).trim());return Number.isFinite(n)&&n>0?n:null}function s(r){const n=new Map;if(!Array.isArray(r))return n;for(const t of r){const r=String(t.groupId||"").trim().toUpperCase();if(!r)continue;const e=(t.groupName||"").trim();n.set(r,e||r)}return n}function u(r,n,t){const e=(t||"").trim();if(e)return e;for(const o of function(r){if(!r)return[];if(Array.isArray(r))return r.map(r=>String(r).trim().toUpperCase()).filter(Boolean);if("string"!=typeof r)return[];const n=[],t=/\[([A-Fa-f0-9]{32})\]/g;let e;for(;null!==(e=t.exec(r));)n.push(e[1].toUpperCase());const o=r.trim().match(/^[A-Fa-f0-9]{32}$/);return o&&0===n.length?[o[0].toUpperCase()]:n}(r.includedGroups)){const r=n.get(o);if(r)return r}return(r.venueName||"").trim()||"—"}function i(r){const n=new Map;if(!r||200!==r.code||!Array.isArray(r.venues))return n;for(const t of r.venues){const r=o(t.venueId);null!=r&&n.set(r,e(t.enter,t.exit))}return n}function a(r){if(!r||200!==r.code||!Array.isArray(r.venues))return null;let n=0;for(const t of r.venues){const r=o(t.venueId);null==r||r<=0||(n+=e(t.enter,t.exit))}return n}export{u as a,s as b,t as g,i as l,e as n,a as t,o as v}; +import{af as r,ag as n}from"./index-D9YO76Ut.js";function t(){const t=n.peopleCountingUrl;return new Promise((n,e)=>{r({url:t,method:"GET",success:r=>{const t=r.statusCode||0;t>=200&&t<300?n(r.data):e(new Error(`客流接口 HTTP ${t}`))},fail:r=>e(r)})})}function e(r,n){return Math.max(0,Number(r??0)-Number(n??0))}function o(r){const n=Number(String(r).trim());return Number.isFinite(n)&&n>0?n:null}function s(r){const n=new Map;if(!Array.isArray(r))return n;for(const t of r){const r=String(t.groupId||"").trim().toUpperCase();if(!r)continue;const e=(t.groupName||"").trim();n.set(r,e||r)}return n}function u(r,n,t){const e=(t||"").trim();if(e)return e;for(const o of function(r){if(!r)return[];if(Array.isArray(r))return r.map(r=>String(r).trim().toUpperCase()).filter(Boolean);if("string"!=typeof r)return[];const n=[],t=/\[([A-Fa-f0-9]{32})\]/g;let e;for(;null!==(e=t.exec(r));)n.push(e[1].toUpperCase());const o=r.trim().match(/^[A-Fa-f0-9]{32}$/);return o&&0===n.length?[o[0].toUpperCase()]:n}(r.includedGroups)){const r=n.get(o);if(r)return r}return(r.venueName||"").trim()||"—"}function i(r){const n=new Map;if(!r||200!==r.code||!Array.isArray(r.venues))return n;for(const t of r.venues){const r=o(t.venueId);null!=r&&n.set(r,e(t.enter,t.exit))}return n}function a(r){if(!r||200!==r.code||!Array.isArray(r.venues))return null;let n=0;for(const t of r.venues){const r=o(t.venueId);null==r||r<=0||(n+=e(t.enter,t.exit))}return n}export{u as a,s as b,t as g,i as l,e as n,a as t,o as v}; diff --git a/public/h5/assets/phone.CX37tqZE.js b/public/h5/assets/phone.BuoI0HSZ.js similarity index 97% rename from public/h5/assets/phone.CX37tqZE.js rename to public/h5/assets/phone.BuoI0HSZ.js index 9a4a092..1cfe7fb 100644 --- a/public/h5/assets/phone.CX37tqZE.js +++ b/public/h5/assets/phone.BuoI0HSZ.js @@ -1 +1 @@ -import{g as A,ac as i}from"./index-CC6J0dtG.js";import{s}from"./text.BxMbQPAt.js";const t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAbCAYAAABr/T8RAAABxklEQVRIicXXsY+MQRjH8c979rCiQERCriDR0CgkCoJCoTiEHBqV/0M09KIUiURDgoiImkIhl1CdXKIQCRWJyzUczloZeTbeW/u+9777ur1fMtl3952Z78xvnnlmNmu/uK2mJjCJc/iIy3hbt5NWxXpbcRzncRibc+924wi+1wRnRe824hhOB3R7Qb192IYPtcDdf8FHMYUT2FWhj59KRl8IjiY7A3YGh+p2MoyS1WndbmDTKIA9JauvjxoqZtweNbQH7qwKeEBUjwYsWwJ+h+coc2E9TsY+bwD+O+NvOIXXFdpdxK2Cdxsiuy3gJb4OBOes/oX5igOeK4E+joyX9Ab3cRez+YrZ+PSDz9gS31/haYnVXbQjZ++I375gL97jAKYHtFuMfu/hURp4q7t0jfdHGVbrCtqNR75P5RIutBhrwBnoyHJK+f9K/3aaDUsWCxJ/N6L5bN/RWFcT+aheiKiucqg/w50G4E5+H2exFlW0tgH0j/JWp8TwMKz+UcHqZuC+/vdEWXGVXX1WVKt2SPzXTVxHKaqbwsdygVjVvjXJ6hTBTZRumSkHJPU+l9N8utBfjX8Dw878Jj7F8wye4GBJ/Q6u/Qah/1ByEhqpiwAAAABJRU5ErkJggg==",e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABuElEQVRIia2VP0scURTFf2d2DVqmyQcIFn6BKJLOygUNWFpYydrYKGihkDSCprBIoWIghWlTCCbq2liEKMKuFiooElLmEyQYSAI3THZGhmHfm3HGC4eZN/e+OffPmXnqOXlPwmrABNAE3vBAVk285i0wFd2PA93A64egqYLC6ydgJOVbAS6BvdIkhuY7EMS2AzwGfpQhCZAWkHCggrTu8edCAOpqt8yJCVB/RowXgaHvhsjATI4YJ8JKPufI5lepSkCrGUF/QctlSKomfQVawDOHONaAb+XU1WarezLpLVNFPPhwOOeGth2DGzE0WXbwMeM46Kcjm3eg4eKVKCDCb1NQS6zTaJiC5x6/E0GK9Qj0ypNV6K8VnUkSS4Y+eHq8b+hlYj1mqGHoxNBspz2qNHdcymsAwx5ltqJrWvpX0ZFxHD9QpfXRJ/EsIp+tAvP/v5MM+dUM7RaU7pyhQ0OP0oPvhFHQRkH5DoG+hIdWntKno16vFWhbf55KYqyDBkA396zmOrjnKddE6kNaRPqTc089a/AurBjqNbRp6NYTVzd0LE4PCir0zp4AL4BB4Gn7z84FsAWcAfwDuxHZ5sUXudsAAAAASUVORK5CYII=",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAeCAYAAAA2Lt7lAAADKklEQVRIiZ3W24vVVRQH8M86zpij0MVCMQq6iJaGaWbRDXowkopeooeeeuiht16CXvoTfAuKIIsCESKIigpEKQkiLcJSJrSgLMoLZmTa2KTOju2sGU+/fr8zM31hwTlnrb3WXt912SdGPntDBxbjbmzEelyFSxE4hRP4CjvxKY61uRnqcH4XHsJarMA1WNinX4YzWIrrcSc+zEDnGgGi//si3IOn8HjetgsjuCFlE27C5fg4MywXApSLpxfmTZ7PDOaCkhkvy0t9hD/q+d7k9wuyiniOuIMYJqJPN5NU28rGWuJZYs2U/dAF3WTkx/DgHG/exDDuxRP4GYd6GX0j8ShROm5afz9LjKfUzxMDbKuvTcS8WoPaCbdj+YCinsQHGMX57KxHsouaiGSk+txZeVuHVZjf4fwAtmE7fsAErsV+PIl1LWfmYWWdnxrg1hyiJkr29DvYjL/69FNDNtJ3uWb2V2B1r4ilRSwqQkPOF/FjEfuKGG/RVxktYn8R51p0C4pY3BOxUMTwZK3/JRMiTog4JqK06KscF3FUxPkW3fzqu1JUp+7vFop6uAxXDmjLSsOStG2iNsN4peiXIk61pDhUxIoibimi10HR6iJuK2K4RTdWxK81g9EsWht6uZPGstjfZvGvw8M5UF0L83ccrAG+xje4v6NVb8YzuTUPZOrLM8CNA+g7iC+GSi0iu/FAtlzbsF2Npwc460fN8DD24LupdV2335rat7N0MgjV4bvYUYeyFrLaHk+ON+A+LPifzms37sVb+F7jwal1eCFbc32O+1xQskYvZhCTAWI6wFi+RhuyS5bMMcCZPF+Z+HM6QLmYQUnFttySsy3qFCrvr+VzOY1eyz4/SLxO7MrdP9Nrdo74kniV2NfUtwWospfYTPw0iwBH0nZPm75XkpuGjBd2F7YUDnXYVDlS2FrYVTjdZtOVQZXfiK3Ee5ML8T/6St/2pPNYl5/+LmrD4Szeylwll6TNWdQV83bup060rdkmPscrONr3e32jX8YnMx3uWsP9crqIHUW8VMSRIo4XsaWI94s4OdP55l/HLtT5eDMnvNJUZ6VmMRj4Bz4oCls1OzRGAAAAAElFTkSuQmCC";function u(A){const i=s(A);return i?i.split(/[,,、;;/|]+/u).map(A=>A.trim()).filter(A=>""!==A):[]}function a(s){const t=function(A){return A.trim().replace(/\s+/g,"")}(s);t?i({phoneNumber:t}):A({title:"号码无效",icon:"none"})}export{e as a,r as b,a as d,t as i,u as s}; +import{q as A,ad as i}from"./index-D9YO76Ut.js";import{s}from"./text.BxMbQPAt.js";const t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAbCAYAAABr/T8RAAABxklEQVRIicXXsY+MQRjH8c979rCiQERCriDR0CgkCoJCoTiEHBqV/0M09KIUiURDgoiImkIhl1CdXKIQCRWJyzUczloZeTbeW/u+9777ur1fMtl3952Z78xvnnlmNmu/uK2mJjCJc/iIy3hbt5NWxXpbcRzncRibc+924wi+1wRnRe824hhOB3R7Qb192IYPtcDdf8FHMYUT2FWhj59KRl8IjiY7A3YGh+p2MoyS1WndbmDTKIA9JauvjxoqZtweNbQH7qwKeEBUjwYsWwJ+h+coc2E9TsY+bwD+O+NvOIXXFdpdxK2Cdxsiuy3gJb4OBOes/oX5igOeK4E+joyX9Ab3cRez+YrZ+PSDz9gS31/haYnVXbQjZ++I375gL97jAKYHtFuMfu/hURp4q7t0jfdHGVbrCtqNR75P5RIutBhrwBnoyHJK+f9K/3aaDUsWCxJ/N6L5bN/RWFcT+aheiKiucqg/w50G4E5+H2exFlW0tgH0j/JWp8TwMKz+UcHqZuC+/vdEWXGVXX1WVKt2SPzXTVxHKaqbwsdygVjVvjXJ6hTBTZRumSkHJPU+l9N8utBfjX8Dw878Jj7F8wye4GBJ/Q6u/Qah/1ByEhqpiwAAAABJRU5ErkJggg==",e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAABuElEQVRIia2VP0scURTFf2d2DVqmyQcIFn6BKJLOygUNWFpYydrYKGihkDSCprBIoWIghWlTCCbq2liEKMKuFiooElLmEyQYSAI3THZGhmHfm3HGC4eZN/e+OffPmXnqOXlPwmrABNAE3vBAVk285i0wFd2PA93A64egqYLC6ydgJOVbAS6BvdIkhuY7EMS2AzwGfpQhCZAWkHCggrTu8edCAOpqt8yJCVB/RowXgaHvhsjATI4YJ8JKPufI5lepSkCrGUF/QctlSKomfQVawDOHONaAb+XU1WarezLpLVNFPPhwOOeGth2DGzE0WXbwMeM46Kcjm3eg4eKVKCDCb1NQS6zTaJiC5x6/E0GK9Qj0ypNV6K8VnUkSS4Y+eHq8b+hlYj1mqGHoxNBspz2qNHdcymsAwx5ltqJrWvpX0ZFxHD9QpfXRJ/EsIp+tAvP/v5MM+dUM7RaU7pyhQ0OP0oPvhFHQRkH5DoG+hIdWntKno16vFWhbf55KYqyDBkA396zmOrjnKddE6kNaRPqTc089a/AurBjqNbRp6NYTVzd0LE4PCir0zp4AL4BB4Gn7z84FsAWcAfwDuxHZ5sUXudsAAAAASUVORK5CYII=",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAeCAYAAAA2Lt7lAAADKklEQVRIiZ3W24vVVRQH8M86zpij0MVCMQq6iJaGaWbRDXowkopeooeeeuiht16CXvoTfAuKIIsCESKIigpEKQkiLcJSJrSgLMoLZmTa2KTOju2sGU+/fr8zM31hwTlnrb3WXt912SdGPntDBxbjbmzEelyFSxE4hRP4CjvxKY61uRnqcH4XHsJarMA1WNinX4YzWIrrcSc+zEDnGgGi//si3IOn8HjetgsjuCFlE27C5fg4MywXApSLpxfmTZ7PDOaCkhkvy0t9hD/q+d7k9wuyiniOuIMYJqJPN5NU28rGWuJZYs2U/dAF3WTkx/DgHG/exDDuxRP4GYd6GX0j8ShROm5afz9LjKfUzxMDbKuvTcS8WoPaCbdj+YCinsQHGMX57KxHsouaiGSk+txZeVuHVZjf4fwAtmE7fsAErsV+PIl1LWfmYWWdnxrg1hyiJkr29DvYjL/69FNDNtJ3uWb2V2B1r4ilRSwqQkPOF/FjEfuKGG/RVxktYn8R51p0C4pY3BOxUMTwZK3/JRMiTog4JqK06KscF3FUxPkW3fzqu1JUp+7vFop6uAxXDmjLSsOStG2iNsN4peiXIk61pDhUxIoibimi10HR6iJuK2K4RTdWxK81g9EsWht6uZPGstjfZvGvw8M5UF0L83ccrAG+xje4v6NVb8YzuTUPZOrLM8CNA+g7iC+GSi0iu/FAtlzbsF2Npwc460fN8DD24LupdV2335rat7N0MgjV4bvYUYeyFrLaHk+ON+A+LPifzms37sVb+F7jwal1eCFbc32O+1xQskYvZhCTAWI6wFi+RhuyS5bMMcCZPF+Z+HM6QLmYQUnFttySsy3qFCrvr+VzOY1eyz4/SLxO7MrdP9Nrdo74kniV2NfUtwWospfYTPw0iwBH0nZPm75XkpuGjBd2F7YUDnXYVDlS2FrYVTjdZtOVQZXfiK3Ee5ML8T/6St/2pPNYl5/+LmrD4Szeylwll6TNWdQV83bup060rdkmPscrONr3e32jX8YnMx3uWsP9crqIHUW8VMSRIo4XsaWI94s4OdP55l/HLtT5eDMnvNJUZ6VmMRj4Bz4oCls1OzRGAAAAAElFTkSuQmCC";function u(A){const i=s(A);return i?i.split(/[,,、;;/|]+/u).map(A=>A.trim()).filter(A=>""!==A):[]}function a(s){const t=function(A){return A.trim().replace(/\s+/g,"")}(s);t?i({phoneNumber:t}):A({title:"号码无效",icon:"none"})}export{e as a,r as b,a as d,t as i,u as s}; diff --git a/public/h5/assets/profile.CBiER3ty.js b/public/h5/assets/profile.DNiRgAnN.js similarity index 65% rename from public/h5/assets/profile.CBiER3ty.js rename to public/h5/assets/profile.DNiRgAnN.js index 6daf206..9857d2f 100644 --- a/public/h5/assets/profile.CBiER3ty.js +++ b/public/h5/assets/profile.DNiRgAnN.js @@ -1 +1 @@ -import{h as t}from"./index-CC6J0dtG.js";function e(){return t.get("/h5/me/profile",{},{withAuth:!0})}function r(e){return t.put("/h5/me/profile",e,{withAuth:!0})}export{e as g,r as u}; +import{h as t}from"./index-D9YO76Ut.js";function e(){return t.get("/h5/me/profile",{},{withAuth:!0})}function r(e){return t.put("/h5/me/profile",e,{withAuth:!0})}export{e as g,r as u}; diff --git a/public/h5/assets/suzhouDistrictPolygons.C_blUQfv.js b/public/h5/assets/suzhouDistrictPolygons.C_blUQfv.js new file mode 100644 index 0000000..7064d8b --- /dev/null +++ b/public/h5/assets/suzhouDistrictPolygons.C_blUQfv.js @@ -0,0 +1 @@ +const t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAKCAYAAABSfLWiAAAAyklEQVQokY3SPUpDQRiF4cdLXEDAIm1a3YGkDWKWIohgkS1YpFBQIdlBFmGliAiKW3ADYjRR8T98MIHLJRPuC1PMmcPL/K1tXB5tYRNv+MIUP3jBH57xi1cZGnjEEJ1cqcQ3ZvjEexp7RdpBD9c1JOtoooU2znBVpMVpEt3UEAX/2McoJkVpIc68i9saggOcL4KiUojL3MHdCskhTstBVbIQdXGfEZxUw2WSYJJED6Wsj+Nl5XjiHPE/QnSBMQa54ipJ8IRtfGQbmANeKSt76556cgAAAABJRU5ErkJggg==",n={features:[{type:"Feature",properties:{id:"320507",name:"相城区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.826067,31.436966],[120.81984,31.437908],[120.788109,31.432948],[120.779446,31.431591],[120.768633,31.429255],[120.758424,31.419913],[120.745015,31.414115],[120.733164,31.40607],[120.726416,31.397852],[120.724162,31.391635],[120.718675,31.386841],[120.714536,31.386388],[120.703558,31.390792],[120.697516,31.385776],[120.697512,31.390757],[120.696586,31.393071],[120.690713,31.393169],[120.690953,31.385165],[120.685587,31.380706],[120.675529,31.372343],[120.666834,31.365114],[120.660013,31.360205],[120.651362,31.352881],[120.643983,31.346212],[120.644087,31.345662],[120.645489,31.338274],[120.641345,31.338152],[120.640661,31.338055],[120.639547,31.339079],[120.634247,31.337844],[120.632103,31.337699],[120.631938,31.337814],[120.631105,31.338784],[120.630767,31.339654],[120.630844,31.342046],[120.630594,31.343279],[120.629821,31.345066],[120.628658,31.347256],[120.628363,31.34881],[120.628207,31.349103],[120.627581,31.349331],[120.626201,31.349406],[120.625212,31.349286],[120.623962,31.34881],[120.623485,31.348739],[120.623025,31.348905],[120.622782,31.349159],[120.622591,31.349549],[120.622366,31.349922],[120.621949,31.35038],[120.621003,31.350436],[120.619796,31.35047],[120.618313,31.35053],[120.616793,31.350531],[120.616212,31.350748],[120.615874,31.351492],[120.615162,31.352022],[120.614616,31.352168],[120.613938,31.352244],[120.613105,31.352092],[120.612358,31.351771],[120.612098,31.351304],[120.612167,31.349367],[120.612195,31.349316],[120.612171,31.349295],[120.612173,31.34919],[120.612176,31.349101],[120.612064,31.348637],[120.611621,31.348451],[120.607897,31.348008],[120.607464,31.348126],[120.60736,31.348622],[120.605911,31.356077],[120.605355,31.35764],[120.605147,31.358301],[120.604565,31.358726],[120.602022,31.358832],[120.595948,31.358926],[120.593231,31.359033],[120.591069,31.359263],[120.588943,31.359436],[120.588249,31.359492],[120.586409,31.359549],[120.586574,31.361579],[120.585246,31.361643],[120.582495,31.361672],[120.582079,31.361293],[120.581462,31.360441],[120.580595,31.359506],[120.579692,31.359307],[120.57346,31.359176],[120.570762,31.364335],[120.568011,31.367471],[120.567082,31.367745],[120.566388,31.368726],[120.566179,31.369439],[120.566301,31.370236],[120.567325,31.371482],[120.567733,31.371982],[120.568384,31.372788],[120.568262,31.37338],[120.567698,31.373955],[120.566535,31.37445],[120.563889,31.374909],[120.560721,31.375684],[120.558073,31.376425],[120.556564,31.377377],[120.555114,31.378265],[120.554385,31.378543],[120.552406,31.378895],[120.551382,31.38077],[120.549881,31.381254],[120.548214,31.383446],[120.547815,31.385515],[120.54686,31.38834],[120.545342,31.390157],[120.54378,31.391014],[120.543276,31.391722],[120.54345,31.392477],[120.544083,31.39278],[120.54509,31.392351],[120.546132,31.392408],[120.547885,31.394437],[120.548639,31.39576],[120.546687,31.397526],[120.545993,31.398788],[120.545359,31.401593],[120.547259,31.402309],[120.550766,31.402978],[120.551773,31.403506],[120.55297,31.404509],[120.553413,31.405427],[120.553907,31.406796],[120.556025,31.407528],[120.558178,31.409797],[120.559254,31.413182],[120.559289,31.41476],[120.558638,31.415301],[120.554055,31.415839],[120.552137,31.416453],[120.550758,31.418186],[120.549577,31.420905],[120.548743,31.42272],[120.546262,31.422364],[120.544534,31.421812],[120.543467,31.421262],[120.542599,31.420034],[120.542364,31.418574],[120.540682,31.417128],[120.540004,31.416662],[120.539362,31.416371],[120.536671,31.416264],[120.531247,31.415496],[120.528253,31.413811],[120.526004,31.412462],[120.52459,31.410796],[120.521127,31.408378],[120.517785,31.407302],[120.515476,31.406879],[120.514009,31.406263],[120.512317,31.40507],[120.511189,31.405118],[120.510199,31.405256],[120.509114,31.405382],[120.508142,31.404881],[120.507595,31.404059],[120.506874,31.403516],[120.506146,31.403167],[120.505712,31.403223],[120.504601,31.403696],[120.50328,31.405378],[120.500008,31.409126],[120.49592,31.412045],[120.492005,31.413173],[120.486623,31.413048],[120.485199,31.412546],[120.483655,31.410918],[120.482656,31.41091],[120.481858,31.411306],[120.475901,31.416941],[120.475889,31.416954],[120.475823,31.417016],[120.475802,31.417035],[120.473845,31.418886],[120.466344,31.413337],[120.471813,31.408207],[120.472022,31.407664],[120.471249,31.407191],[120.470685,31.406929],[120.469409,31.406625],[120.467637,31.406615],[120.466909,31.406342],[120.465319,31.404307],[120.464494,31.404055],[120.46189,31.404105],[120.460796,31.404176],[120.46051,31.403985],[120.460493,31.403378],[120.460735,31.402099],[120.461049,31.400852],[120.46104,31.399994],[120.460996,31.397807],[120.460779,31.397032],[120.460527,31.396678],[120.460214,31.396507],[120.45952,31.396524],[120.458521,31.396776],[120.456299,31.398714],[120.455726,31.399036],[120.455275,31.399045],[120.454111,31.398401],[120.450977,31.396742],[120.449788,31.396366],[120.449041,31.396399],[120.44879,31.396867],[120.448434,31.397564],[120.447964,31.398197],[120.447114,31.39851],[120.445117,31.398781],[120.443823,31.3987],[120.442938,31.397776],[120.442816,31.396389],[120.442295,31.394666],[120.441375,31.393724],[120.439361,31.392767],[120.438293,31.392111],[120.43633,31.391234],[120.434767,31.391474],[120.433943,31.391546],[120.43238,31.392259],[120.430852,31.393397],[120.428742,31.395054],[120.426589,31.395833],[120.424514,31.395832],[120.42269,31.395053],[120.417264,31.392484],[120.41623,31.392065],[120.415666,31.392107],[120.415119,31.392419],[120.414528,31.394076],[120.414225,31.394958],[120.4132,31.395572],[120.410361,31.396357],[120.409136,31.397096],[120.407218,31.398311],[120.405342,31.398643],[120.403632,31.398642],[120.400706,31.400451],[120.387465,31.401703],[120.312979,31.400018],[120.330904,31.409224],[120.351156,31.418279],[120.358799,31.422156],[120.40155,31.443826],[120.414145,31.450166],[120.41797,31.450778],[120.418493,31.450759],[120.41903,31.450535],[120.419373,31.450207],[120.419611,31.449817],[120.420114,31.44809],[120.420303,31.447892],[120.421591,31.447332],[120.421924,31.447229],[120.423271,31.447287],[120.423248,31.448182],[120.424632,31.448184],[120.424725,31.447938],[120.425028,31.447973],[120.424995,31.448183],[120.425883,31.448185],[120.425958,31.447955],[120.426156,31.447874],[120.426419,31.447241],[120.427259,31.447038],[120.427328,31.446761],[120.427602,31.446494],[120.427766,31.446608],[120.428071,31.446467],[120.428857,31.445666],[120.430356,31.444407],[120.432841,31.444852],[120.427072,31.450439],[120.428231,31.450708],[120.429151,31.450799],[120.433532,31.45057],[120.440353,31.449499],[120.450177,31.448075],[120.455597,31.447334],[120.469908,31.448455],[120.470548,31.448655],[120.475168,31.450775],[120.476052,31.451038],[120.476403,31.451653],[120.476449,31.451856],[120.476906,31.451912],[120.477057,31.452201],[120.477263,31.451687],[120.477506,31.451445],[120.477913,31.451278],[120.48093,31.451816],[120.480929,31.450886],[120.480848,31.450756],[120.480649,31.450675],[120.480309,31.449395],[120.480518,31.449245],[120.480489,31.449085],[120.481419,31.448776],[120.481679,31.449505],[120.481799,31.449606],[120.481959,31.449976],[120.482549,31.450536],[120.485779,31.450126],[120.486989,31.450136],[120.48763,31.450266],[120.488059,31.450455],[120.488182,31.450289],[120.48839,31.449976],[120.488949,31.449546],[120.489379,31.449765],[120.48971,31.449786],[120.489599,31.450326],[120.489659,31.450346],[120.489888,31.450385],[120.49076,31.450016],[120.491309,31.449876],[120.491387,31.450112],[120.491659,31.451056],[120.491639,31.451245],[120.490929,31.451585],[120.49096,31.452528],[120.49098,31.453036],[120.491349,31.453136],[120.49178,31.453415],[120.492379,31.454036],[120.495369,31.457656],[120.4958,31.458295],[120.496979,31.459516],[120.49806,31.459936],[120.49987,31.459755],[120.499939,31.460065],[120.50063,31.459936],[120.50067,31.458756],[120.50219,31.458825],[120.502769,31.459026],[120.503499,31.458545],[120.504133,31.457628],[120.504775,31.457673],[120.506469,31.458875],[120.506798,31.458745],[120.507979,31.459076],[120.507899,31.458665],[120.508469,31.458555],[120.508499,31.458175],[120.509279,31.458126],[120.509479,31.458185],[120.509879,31.459125],[120.510119,31.459096],[120.510489,31.458655],[120.512049,31.459135],[120.512119,31.459714],[120.512999,31.459835],[120.513039,31.461945],[120.511609,31.462235],[120.511669,31.462606],[120.511627,31.46608],[120.511529,31.466165],[120.511638,31.466426],[120.512119,31.466765],[120.513109,31.467225],[120.514608,31.467625],[120.517249,31.469484],[120.518379,31.47005],[120.519508,31.470384],[120.521688,31.470364],[120.522848,31.470054],[120.524268,31.469263],[120.525037,31.469013],[120.526787,31.468653],[120.528347,31.468694],[120.529757,31.468984],[120.531337,31.468974],[120.531856,31.469153],[120.532226,31.469784],[120.532416,31.470022],[120.533016,31.470424],[120.536486,31.471013],[120.538235,31.471593],[120.539295,31.472342],[120.540032,31.473229],[120.542095,31.475212],[120.545144,31.477232],[120.546464,31.477991],[120.546673,31.477982],[120.549856,31.478335],[120.549189,31.47912],[120.550158,31.479127],[120.550991,31.479962],[120.551078,31.481297],[120.551,31.482387],[120.55034,31.484446],[120.549682,31.485584],[120.548753,31.488826],[120.546669,31.4901],[120.544821,31.491259],[120.5447,31.493228],[120.5447,31.494849],[120.54378,31.497164],[120.544239,31.49948],[120.545515,31.500868],[120.547364,31.502722],[120.548527,31.504805],[120.550957,31.509668],[120.552164,31.510525],[120.555618,31.511067],[120.559497,31.512441],[120.564331,31.514483],[120.568089,31.516613],[120.572714,31.519623],[120.581584,31.526654],[120.585637,31.529095],[120.587051,31.529633],[120.58857,31.52968],[120.589404,31.528802],[120.589794,31.527629],[120.590766,31.522256],[120.591451,31.519276],[120.592476,31.518394],[120.593699,31.518101],[120.594385,31.518296],[120.594775,31.518982],[120.595061,31.520104],[120.595843,31.52074],[120.597214,31.52074],[120.59816,31.521115],[120.601302,31.526149],[120.601571,31.527371],[120.60125,31.529181],[120.600451,31.532107],[120.600069,31.532999],[120.600008,31.534226],[120.600417,31.536403],[120.600798,31.537178],[120.600929,31.537812],[120.600642,31.538396],[120.599913,31.539146],[120.599115,31.539847],[120.598724,31.540394],[120.598594,31.541384],[120.59862,31.543307],[120.598994,31.54457],[120.599523,31.546522],[120.599583,31.5466],[120.599661,31.5467],[120.600833,31.5482],[120.608306,31.547944],[120.609208,31.547988],[120.609364,31.548361],[120.609425,31.54911],[120.608939,31.551507],[120.608939,31.552152],[120.609781,31.552244],[120.611283,31.551853],[120.612524,31.551763],[120.613999,31.552629],[120.615188,31.553111],[120.615769,31.552961],[120.616481,31.551671],[120.617123,31.550354],[120.617783,31.549199],[120.619935,31.548001],[120.621888,31.547821],[120.622773,31.54746],[120.622782,31.545871],[120.622773,31.544074],[120.623242,31.542751],[120.624761,31.540727],[120.624882,31.537689],[120.624509,31.534397],[120.623112,31.531105],[120.62247,31.528924],[120.622322,31.527906],[120.622999,31.527515],[120.627417,31.527432],[120.629821,31.527426],[120.631643,31.527349],[120.63285,31.527121],[120.633458,31.526327],[120.633197,31.525001],[120.631869,31.521209],[120.631869,31.519862],[120.632946,31.519323],[120.634474,31.518874],[120.637615,31.518874],[120.639142,31.518605],[120.639142,31.517617],[120.638874,31.515821],[120.63896,31.514653],[120.639637,31.513683],[120.641095,31.513533],[120.642128,31.513145],[120.642735,31.512498],[120.643178,31.510251],[120.64363,31.508815],[120.645244,31.507738],[120.648481,31.506749],[120.650452,31.506299],[120.651355,31.505581],[120.651085,31.504504],[120.650781,31.501685],[120.652005,31.500489],[120.652058,31.500086],[120.651971,31.49899],[120.652284,31.498486],[120.653586,31.498356],[120.654731,31.498168],[120.65566,31.497978],[120.656606,31.497933],[120.657543,31.498774],[120.658629,31.500283],[120.659106,31.500689],[120.660417,31.500719],[120.662673,31.500673],[120.664462,31.50032],[120.666744,31.500107],[120.668272,31.500244],[120.673402,31.499862],[120.674835,31.499862],[120.67579,31.501142],[120.67625,31.501695],[120.677074,31.501976],[120.677813,31.501975],[120.679323,31.50171],[120.680417,31.501463],[120.680468,31.500862],[120.680208,31.500209],[120.680903,31.499228],[120.682517,31.498935],[120.684853,31.498756],[120.686919,31.498575],[120.688186,31.498189],[120.689939,31.497351],[120.691103,31.497922],[120.692127,31.498923],[120.693638,31.500392],[120.692795,31.501494],[120.698422,31.511883],[120.699133,31.512379],[120.700687,31.513216],[120.70225,31.515252],[120.702858,31.517352],[120.703083,31.518724],[120.702806,31.520319],[120.703951,31.521406],[120.705089,31.521761],[120.707484,31.52168],[120.714048,31.521681],[120.717694,31.521959],[120.719839,31.521382],[120.722374,31.522253],[120.724041,31.523876],[120.724284,31.525912],[120.724406,31.527947],[120.724745,31.529002],[120.72635,31.52922],[120.729745,31.529246],[120.731273,31.529546],[120.731299,31.529845],[120.731108,31.537248],[120.73103,31.538177],[120.732323,31.538018],[120.734208,31.537882],[120.73538,31.537565],[120.736787,31.536615],[120.73821,31.535598],[120.741197,31.534172],[120.743055,31.533289],[120.743758,31.533107],[120.744938,31.533018],[120.747292,31.532066],[120.74928,31.531273],[120.751137,31.531094],[120.753334,31.530958],[120.753768,31.531274],[120.754602,31.531774],[120.755696,31.531707],[120.757137,31.531662],[120.758092,31.531955],[120.758647,31.532877],[120.758804,31.533641],[120.758544,31.534785],[120.758544,31.536326],[120.759795,31.540106],[120.760246,31.54169],[120.760602,31.542324],[120.761304,31.542595],[120.763545,31.541812],[120.770386,31.537595],[120.771471,31.536508],[120.77247,31.535716],[120.773781,31.535058],[120.775595,31.534266],[120.776299,31.533815],[120.776498,31.533136],[120.776584,31.531875],[120.777175,31.53099],[120.778104,31.530547],[120.779285,31.5304],[120.781161,31.530843],[120.782246,31.531433],[120.783626,31.531907],[120.784755,31.531943],[120.785119,31.531857],[120.785128,31.531557],[120.784443,31.529841],[120.784147,31.529168],[120.783782,31.527824],[120.784095,31.526978],[120.786013,31.526319],[120.78874,31.526169],[120.791049,31.52612],[120.79282,31.5259],[120.794044,31.524763],[120.794565,31.523715],[120.795164,31.523574],[120.798853,31.523622],[120.800286,31.523605],[120.80066,31.523764],[120.800798,31.524189],[120.800764,31.524736],[120.800745,31.526452],[120.801033,31.527619],[120.801476,31.528204],[120.802092,31.528753],[120.802795,31.529614],[120.803385,31.530808],[120.803967,31.531891],[120.80434,31.532974],[120.804427,31.533991],[120.80434,31.535075],[120.804366,31.538172],[120.805147,31.538171],[120.805356,31.538152],[120.806389,31.537813],[120.808915,31.536049],[120.809731,31.535023],[120.811086,31.534992],[120.812501,31.535351],[120.814071,31.5357],[120.814983,31.535615],[120.81586,31.53534],[120.81658,31.535413],[120.816746,31.535762],[120.816858,31.536471],[120.817362,31.53681],[120.81862,31.536838],[120.820113,31.536924],[120.821676,31.536658],[120.821997,31.53583],[120.822753,31.533701],[120.823481,31.530937],[120.82428,31.527999],[120.824896,31.524871],[120.825,31.523106],[120.825096,31.521994],[120.824479,31.521951],[120.820878,31.521824],[120.819167,31.521697],[120.811051,31.521666],[120.810833,31.521611],[120.809878,31.521091],[120.804601,31.516774],[120.80335,31.515724],[120.803403,31.514621],[120.803429,31.513067],[120.80355,31.511815],[120.803576,31.510762],[120.803428,31.509235],[120.803551,31.507531],[120.803551,31.505453],[120.803697,31.505127],[120.804002,31.504874],[120.81059,31.505678],[120.812796,31.506028],[120.813368,31.505854],[120.811474,31.499847],[120.811467,31.499816],[120.811441,31.499735],[120.811433,31.499713],[120.81119,31.49894],[120.810842,31.497812],[120.810217,31.49651],[120.809966,31.494806],[120.810365,31.493229],[120.812344,31.492275],[120.812692,31.491375],[120.814098,31.49105],[120.814949,31.490038],[120.81796,31.485624],[120.819983,31.477851],[120.81967,31.473302],[120.819827,31.470846],[120.821112,31.466705],[120.823212,31.446316],[120.82481,31.441084],[120.826067,31.436966]]]]}},{type:"Feature",properties:{id:"320508",name:"姑苏区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.585261,31.253367],[120.584914,31.258375],[120.584476,31.261061],[120.583789,31.26391],[120.583632,31.264963],[120.583945,31.266745],[120.582417,31.273628],[120.582062,31.275463],[120.580577,31.278014],[120.577627,31.282348],[120.576403,31.283977],[120.575682,31.285508],[120.571604,31.29489],[120.571126,31.295893],[120.568696,31.300737],[120.565329,31.307667],[120.5646,31.3088],[120.563663,31.309807],[120.56243,31.31104],[120.561996,31.311769],[120.561736,31.312863],[120.561858,31.314356],[120.561892,31.315467],[120.561806,31.316439],[120.561302,31.318087],[120.560226,31.320847],[120.55941,31.322792],[120.558976,31.32366],[120.55823,31.324581],[120.556285,31.326647],[120.530334,31.351967],[120.530148,31.352178],[120.53009,31.352207],[120.529554,31.352729],[120.52432,31.357593],[120.524052,31.35807],[120.524182,31.358547],[120.524729,31.358855],[120.535882,31.364071],[120.536151,31.364323],[120.536177,31.364755],[120.535821,31.365395],[120.535473,31.36595],[120.535352,31.366444],[120.535517,31.367083],[120.535821,31.367474],[120.535943,31.367989],[120.535804,31.368565],[120.535474,31.369616],[120.535491,31.370378],[120.535621,31.372127],[120.53609,31.373897],[120.536584,31.374804],[120.538191,31.375791],[120.539752,31.37641],[120.540395,31.376657],[120.540698,31.377131],[120.541072,31.377419],[120.541801,31.377541],[120.543094,31.377807],[120.544118,31.378265],[120.544934,31.378822],[120.545497,31.379421],[120.545741,31.380339],[120.546166,31.380621],[120.547433,31.380832],[120.549325,31.381187],[120.549881,31.381254],[120.551382,31.38077],[120.552406,31.378895],[120.554385,31.378543],[120.555114,31.378265],[120.556564,31.377377],[120.558073,31.376425],[120.560721,31.375684],[120.563889,31.374909],[120.566535,31.37445],[120.567698,31.373955],[120.568262,31.37338],[120.568384,31.372788],[120.567733,31.371982],[120.567325,31.371482],[120.566301,31.370236],[120.566179,31.369439],[120.566388,31.368726],[120.567082,31.367745],[120.568011,31.367471],[120.570762,31.364335],[120.57346,31.359176],[120.579692,31.359307],[120.580595,31.359506],[120.581462,31.360441],[120.582079,31.361293],[120.582495,31.361672],[120.585246,31.361643],[120.586574,31.361579],[120.586409,31.359549],[120.588249,31.359492],[120.588943,31.359436],[120.591069,31.359263],[120.593231,31.359033],[120.595948,31.358926],[120.602022,31.358832],[120.604565,31.358726],[120.605147,31.358301],[120.605355,31.35764],[120.605911,31.356077],[120.60736,31.348622],[120.607464,31.348126],[120.607897,31.348008],[120.611621,31.348451],[120.612064,31.348637],[120.612176,31.349101],[120.612173,31.34919],[120.612171,31.349295],[120.612195,31.349316],[120.612167,31.349367],[120.612098,31.351304],[120.612358,31.351771],[120.613105,31.352092],[120.613938,31.352244],[120.614616,31.352168],[120.615162,31.352022],[120.615874,31.351492],[120.616212,31.350748],[120.616793,31.350531],[120.618313,31.35053],[120.619796,31.35047],[120.621003,31.350436],[120.621949,31.35038],[120.622366,31.349922],[120.622591,31.349549],[120.622782,31.349159],[120.623025,31.348905],[120.623485,31.348739],[120.623962,31.34881],[120.625212,31.349286],[120.626201,31.349406],[120.627581,31.349331],[120.628207,31.349103],[120.628363,31.34881],[120.628658,31.347256],[120.629821,31.345066],[120.630594,31.343279],[120.630844,31.342046],[120.630767,31.339654],[120.631105,31.338784],[120.631938,31.337814],[120.632103,31.337699],[120.634247,31.337844],[120.639547,31.339079],[120.640661,31.338055],[120.636666,31.337489],[120.638213,31.332361],[120.639603,31.331114],[120.639742,31.330994],[120.64008,31.330708],[120.640626,31.330096],[120.640896,31.32974],[120.641078,31.329462],[120.641191,31.329261],[120.641312,31.329048],[120.641434,31.328815],[120.641625,31.328359],[120.641702,31.328123],[120.642059,31.326916],[120.64244,31.325543],[120.642797,31.324274],[120.642944,31.323753],[120.643091,31.323197],[120.643283,31.322546],[120.643474,31.321847],[120.643673,31.321116],[120.643855,31.320479],[120.644072,31.319759],[120.644307,31.31898],[120.644593,31.317956],[120.644732,31.317456],[120.644958,31.316688],[120.645035,31.316408],[120.64514,31.316024],[120.64534,31.315348],[120.645574,31.314564],[120.645634,31.314338],[120.645808,31.313729],[120.646433,31.31148],[120.646798,31.31016],[120.646868,31.309924],[120.647162,31.308878],[120.647371,31.30814],[120.647484,31.307765],[120.647822,31.306625],[120.64823,31.305137],[120.648517,31.304152],[120.648811,31.303126],[120.648976,31.302525],[120.649514,31.300609],[120.64994,31.299136],[120.650087,31.298609],[120.650339,31.297689],[120.650609,31.296675],[120.650764,31.295933],[120.650851,31.295464],[120.650921,31.294989],[120.650964,31.294414],[120.650999,31.293825],[120.651008,31.293259],[120.65099,31.292658],[120.650911,31.291788],[120.650869,31.291436],[120.650808,31.291079],[120.650704,31.290538],[120.65046,31.289431],[120.650287,31.288685],[120.650209,31.288266],[120.650122,31.287884],[120.650044,31.287521],[120.649784,31.286314],[120.649584,31.285304],[120.649498,31.284876],[120.649527,31.284811],[120.649545,31.284799],[120.649539,31.284746],[120.649546,31.284701],[120.649494,31.284427],[120.649475,31.284402],[120.649483,31.284379],[120.649484,31.284365],[120.649473,31.284282],[120.649454,31.284211],[120.649417,31.284197],[120.649341,31.284129],[120.649064,31.282895],[120.64902,31.282662],[120.648712,31.281576],[120.648358,31.280218],[120.647257,31.279812],[120.646659,31.279677],[120.645044,31.279484],[120.644567,31.279061],[120.644541,31.278255],[120.644984,31.276825],[120.645895,31.273177],[120.645722,31.272969],[120.643803,31.272765],[120.64264,31.272622],[120.641798,31.272776],[120.641087,31.27318],[120.640531,31.273738],[120.641009,31.274679],[120.641087,31.275467],[120.640549,31.276045],[120.638378,31.275602],[120.637337,31.275409],[120.636747,31.275494],[120.636026,31.27547],[120.632893,31.275304],[120.631322,31.275416],[120.630602,31.275668],[120.630247,31.276143],[120.630203,31.276673],[120.630351,31.276988],[120.630871,31.277604],[120.630967,31.277894],[120.630776,31.278187],[120.630489,31.278268],[120.629422,31.278111],[120.6291,31.278231],[120.628979,31.278771],[120.628528,31.280058],[120.623207,31.279404],[120.621888,31.279428],[120.617314,31.279085],[120.614364,31.278626],[120.610519,31.27829],[120.608575,31.277957],[120.608236,31.277603],[120.607958,31.277186],[120.607932,31.276793],[120.607967,31.276388],[120.608149,31.276066],[120.608566,31.275855],[120.609209,31.275636],[120.61025,31.274933],[120.610779,31.273581],[120.610814,31.272052],[120.61064,31.270662],[120.609564,31.269911],[120.607108,31.269055],[120.605494,31.268784],[120.605202,31.268589],[120.605184,31.268574],[120.605161,31.268562],[120.604765,31.268298],[120.6042,31.267809],[120.604079,31.267081],[120.604218,31.266208],[120.604365,31.265772],[120.60479,31.264599],[120.605658,31.263224],[120.605858,31.261743],[120.604094,31.26163],[120.604238,31.261208],[120.604389,31.260749],[120.604268,31.25896],[120.602061,31.258701],[120.600482,31.25842],[120.59899,31.258004],[120.598308,31.256834],[120.598123,31.254945],[120.597859,31.253067],[120.597429,31.25215],[120.594542,31.251858],[120.592432,31.253077],[120.592069,31.252983],[120.590682,31.253061]]]]}},{type:"Feature",properties:{id:"320505",name:"虎丘区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.591286,31.249507],[120.588474,31.249507],[120.587348,31.249291],[120.587942,31.242838],[120.588222,31.240272],[120.588436,31.235529],[120.584082,31.23534],[120.583835,31.235852],[120.583637,31.236186],[120.577553,31.234765],[120.576285,31.234357],[120.577345,31.231852],[120.577896,31.228929],[120.577656,31.227869],[120.576996,31.226329],[120.576256,31.223468],[120.575756,31.222128],[120.574087,31.222504],[120.572573,31.223154],[120.572054,31.227314],[120.571884,31.229744],[120.57209,31.230715],[120.56873,31.235321],[120.56677,31.23703],[120.563758,31.237994],[120.563484,31.238793],[120.564311,31.245314],[120.564536,31.245924],[120.564758,31.247394],[120.56417,31.247688],[120.563604,31.248434],[120.565124,31.251352],[120.565007,31.251773],[120.562929,31.252871],[120.562348,31.25332],[120.562086,31.254031],[120.562039,31.254564],[120.561825,31.254883],[120.560982,31.255404],[120.5604,31.256385],[120.559257,31.256835],[120.558659,31.257966],[120.55793,31.25791],[120.557422,31.259363],[120.559889,31.259953],[120.559914,31.261208],[120.560113,31.261498],[120.561039,31.261668],[120.562454,31.261963],[120.562579,31.261998],[120.56273,31.26243],[120.562362,31.26308],[120.559549,31.262972],[120.559322,31.264883],[120.558081,31.264751],[120.557894,31.265832],[120.556962,31.271222],[120.556719,31.274],[120.55477,31.273573],[120.554648,31.273073],[120.549096,31.272815],[120.548969,31.273998],[120.546381,31.273919],[120.546514,31.272545],[120.545325,31.272546],[120.545273,31.271885],[120.542683,31.271754],[120.542589,31.271332],[120.542016,31.271288],[120.542126,31.269638],[120.539899,31.269431],[120.539744,31.270474],[120.53649,31.270223],[120.536181,31.272138],[120.5347,31.272053],[120.534315,31.2732],[120.532861,31.27315],[120.53272,31.274341],[120.530699,31.274281],[120.530672,31.274143],[120.529539,31.27416],[120.529283,31.273736],[120.528829,31.273796],[120.528726,31.274392],[120.527324,31.274501],[120.526754,31.274514],[120.526739,31.274801],[120.527015,31.277433],[120.526753,31.278032],[120.526562,31.278479],[120.525266,31.278504],[120.524929,31.285465],[120.524953,31.285584],[120.524809,31.288076],[120.521847,31.289251],[120.521153,31.290139],[120.520805,31.291606],[120.519834,31.292803],[120.519712,31.292872],[120.519687,31.292882],[120.519659,31.292902],[120.518922,31.293318],[120.518523,31.294231],[120.517828,31.29485],[120.516127,31.295043],[120.514435,31.294902],[120.512838,31.294479],[120.509122,31.294221],[120.505941,31.2931],[120.505921,31.29309],[120.5059,31.293081],[120.501805,31.290643],[120.500451,31.290024],[120.498333,31.289986],[120.495356,31.290257],[120.49296,31.290487],[120.491858,31.289971],[120.491224,31.288996],[120.490685,31.287438],[120.489792,31.286783],[120.488516,31.286806],[120.487621,31.287386],[120.487344,31.289349],[120.486997,31.289946],[120.486259,31.290967],[120.486345,31.292014],[120.4873,31.29264],[120.487665,31.295891],[120.487422,31.296852],[120.486501,31.297173],[120.479279,31.297134],[120.478073,31.297535],[120.477595,31.298576],[120.478194,31.300221],[120.479158,31.301866],[120.479357,31.302911],[120.479079,31.304475],[120.477629,31.307805],[120.477074,31.310503],[120.476571,31.311784],[120.475268,31.312498],[120.471292,31.31334],[120.469287,31.314062],[120.468887,31.314583],[120.468254,31.315516],[120.46775,31.315672],[120.467099,31.315719],[120.463201,31.315965],[120.45939,31.316074],[120.458131,31.316237],[120.45669,31.317435],[120.456169,31.318835],[120.454919,31.319917],[120.453112,31.320358],[120.451072,31.320357],[120.449067,31.319315],[120.446133,31.317349],[120.443884,31.315183],[120.442564,31.31438],[120.441123,31.313376],[120.440436,31.311892],[120.440281,31.310247],[120.440836,31.307799],[120.442165,31.305274],[120.442521,31.303308],[120.442044,31.301863],[120.44068,31.300859],[120.438796,31.300297],[120.436139,31.300739],[120.43093,31.301941],[120.428195,31.301901],[120.426068,31.30198],[120.424548,31.302621],[120.423784,31.303745],[120.424227,31.30531],[120.424869,31.306032],[120.425148,31.306794],[120.42467,31.307355],[120.422022,31.308158],[120.417081,31.310603],[120.415845,31.3105],[120.415489,31.3105],[120.416546,31.316576],[120.415976,31.316557],[120.415272,31.319188],[120.413467,31.319658],[120.413128,31.320177],[120.414159,31.321776],[120.413238,31.322365],[120.412653,31.322806],[120.412237,31.323247],[120.410403,31.321718],[120.408783,31.323188],[120.411078,31.324526],[120.410442,31.32601],[120.408804,31.325712],[120.408393,31.325706],[120.407895,31.32681],[120.403599,31.326664],[120.40217,31.326595],[120.399664,31.326606],[120.399064,31.326205],[120.398223,31.325323],[120.397302,31.325082],[120.396338,31.325483],[120.395775,31.326165],[120.394975,31.326566],[120.39112,31.326364],[120.386345,31.326684],[120.38065,31.327126],[120.378964,31.327807],[120.376638,31.328006],[120.374024,31.327765],[120.371698,31.326601],[120.369614,31.325399],[120.368164,31.325116],[120.367948,31.324858],[120.36787,31.324452],[120.369172,31.322534],[120.369502,31.321777],[120.369441,31.321197],[120.369111,31.320906],[120.3674,31.320672],[120.353284,31.320423],[120.350115,31.320312],[120.349603,31.319272],[120.349664,31.317861],[120.350575,31.316209],[120.35101,31.315168],[120.349664,31.313821],[120.343778,31.310452],[120.339984,31.307512],[120.336677,31.305737],[120.329958,31.301841],[120.313275,31.293738],[120.301669,31.291412],[120.290898,31.291008],[120.279103,31.291619],[120.266866,31.29373],[120.258543,31.297245],[120.251131,31.302452],[120.224852,31.324967],[120.201957,31.34453],[120.204977,31.347626],[120.248553,31.368082],[120.303553,31.395182],[120.312979,31.400018],[120.387465,31.401703],[120.400706,31.400451],[120.403632,31.398642],[120.405342,31.398643],[120.407218,31.398311],[120.409136,31.397096],[120.410361,31.396357],[120.4132,31.395572],[120.414225,31.394958],[120.414528,31.394076],[120.415119,31.392419],[120.415666,31.392107],[120.41623,31.392065],[120.417264,31.392484],[120.42269,31.395053],[120.424514,31.395832],[120.426589,31.395833],[120.428742,31.395054],[120.430852,31.393397],[120.43238,31.392259],[120.433943,31.391546],[120.434767,31.391474],[120.43633,31.391234],[120.438293,31.392111],[120.439361,31.392767],[120.441375,31.393724],[120.442295,31.394666],[120.442816,31.396389],[120.442938,31.397776],[120.443823,31.3987],[120.445117,31.398781],[120.447114,31.39851],[120.447964,31.398197],[120.448434,31.397564],[120.44879,31.396867],[120.449041,31.396399],[120.449788,31.396366],[120.450977,31.396742],[120.454111,31.398401],[120.455275,31.399045],[120.455726,31.399036],[120.456299,31.398714],[120.458521,31.396776],[120.45952,31.396524],[120.460214,31.396507],[120.460527,31.396678],[120.460779,31.397032],[120.460996,31.397807],[120.46104,31.399994],[120.461049,31.400852],[120.460735,31.402099],[120.460493,31.403378],[120.46051,31.403985],[120.460796,31.404176],[120.46189,31.404105],[120.464494,31.404055],[120.465319,31.404307],[120.466909,31.406342],[120.467637,31.406615],[120.469409,31.406625],[120.470685,31.406929],[120.471249,31.407191],[120.472022,31.407664],[120.471813,31.408207],[120.466344,31.413337],[120.473845,31.418886],[120.475802,31.417035],[120.475823,31.417016],[120.475889,31.416954],[120.475901,31.416941],[120.481858,31.411306],[120.482656,31.41091],[120.483655,31.410918],[120.485199,31.412546],[120.486623,31.413048],[120.492005,31.413173],[120.49592,31.412045],[120.500008,31.409126],[120.50328,31.405378],[120.504601,31.403696],[120.505712,31.403223],[120.506146,31.403167],[120.506874,31.403516],[120.507595,31.404059],[120.508142,31.404881],[120.509114,31.405382],[120.510199,31.405256],[120.511189,31.405118],[120.512317,31.40507],[120.514009,31.406263],[120.515476,31.406879],[120.517785,31.407302],[120.521127,31.408378],[120.52459,31.410796],[120.526004,31.412462],[120.528253,31.413811],[120.531247,31.415496],[120.536671,31.416264],[120.539362,31.416371],[120.540004,31.416662],[120.540682,31.417128],[120.542364,31.418574],[120.542599,31.420034],[120.543467,31.421262],[120.544534,31.421812],[120.546262,31.422364],[120.548743,31.42272],[120.549577,31.420905],[120.550758,31.418186],[120.552137,31.416453],[120.554055,31.415839],[120.558638,31.415301],[120.559289,31.41476],[120.559254,31.413182],[120.558178,31.409797],[120.556025,31.407528],[120.553907,31.406796],[120.553413,31.405427],[120.55297,31.404509],[120.551773,31.403506],[120.550766,31.402978],[120.547259,31.402309],[120.545359,31.401593],[120.545993,31.398788],[120.546687,31.397526],[120.548639,31.39576],[120.547885,31.394437],[120.546132,31.392408],[120.54509,31.392351],[120.544083,31.39278],[120.54345,31.392477],[120.543276,31.391722],[120.54378,31.391014],[120.545342,31.390157],[120.54686,31.38834],[120.547815,31.385515],[120.548214,31.383446],[120.549881,31.381254],[120.549325,31.381187],[120.547433,31.380832],[120.546166,31.380621],[120.545741,31.380339],[120.545497,31.379421],[120.544934,31.378822],[120.544118,31.378265],[120.543094,31.377807],[120.541801,31.377541],[120.541072,31.377419],[120.540698,31.377131],[120.540395,31.376657],[120.539752,31.37641],[120.538191,31.375791],[120.536584,31.374804],[120.53609,31.373897],[120.535621,31.372127],[120.535491,31.370378],[120.535474,31.369616],[120.535804,31.368565],[120.535943,31.367989],[120.535821,31.367474],[120.535517,31.367083],[120.535352,31.366444],[120.535473,31.36595],[120.535821,31.365395],[120.536177,31.364755],[120.536151,31.364323],[120.535882,31.364071],[120.524729,31.358855],[120.524182,31.358547],[120.524052,31.35807],[120.52432,31.357593],[120.529554,31.352729],[120.53009,31.352207],[120.530148,31.352178],[120.530334,31.351967],[120.556285,31.326647],[120.55823,31.324581],[120.558976,31.32366],[120.55941,31.322792],[120.560226,31.320847],[120.561302,31.318087],[120.561806,31.316439],[120.561892,31.315467],[120.561858,31.314356],[120.561736,31.312863],[120.561996,31.311769],[120.56243,31.31104],[120.563663,31.309807],[120.5646,31.3088],[120.565329,31.307667],[120.568696,31.300737],[120.571126,31.295893],[120.571604,31.29489],[120.575682,31.285508],[120.576403,31.283977],[120.577627,31.282348],[120.580577,31.278014],[120.582062,31.275463],[120.582417,31.273628],[120.583945,31.266745],[120.583632,31.264963],[120.583789,31.26391],[120.584476,31.261061],[120.584914,31.258375],[120.585261,31.253367],[120.590682,31.253061]]],[[[120.675529,31.372343],[120.676545,31.370751],[120.674991,31.368607],[120.677856,31.358582],[120.680123,31.35024],[120.682028,31.34306],[120.683875,31.33589],[120.649308,31.328842],[120.65247,31.312801],[120.652982,31.308158],[120.652841,31.30813],[120.652859,31.307991],[120.653004,31.307955],[120.654157,31.297502],[120.660031,31.297238],[120.663846,31.296745],[120.665005,31.295266],[120.669428,31.292409],[120.6711,31.292447],[120.671639,31.292616],[120.677116,31.292394],[120.677537,31.291444],[120.68691,31.28995],[120.689122,31.286254],[120.6946,31.285401],[120.700733,31.283162],[120.709352,31.282637],[120.713356,31.281788],[120.720419,31.281464],[120.719996,31.304356],[120.732544,31.304979],[120.75291,31.300547],[120.758166,31.299314],[120.765568,31.298262],[120.765588,31.30429],[120.776147,31.304258],[120.775991,31.301813],[120.775677,31.297332],[120.787179,31.297793],[120.790503,31.297787],[120.80368,31.295867],[120.798035,31.286086],[120.797055,31.284861],[120.79447,31.281631],[120.79678,31.279713],[120.800882,31.273453],[120.8007,31.269884],[120.797383,31.269728],[120.785597,31.270297],[120.779205,31.270472],[120.771239,31.268228],[120.76835,31.258723],[120.766357,31.248616],[120.765593,31.247574],[120.762638,31.243534],[120.758987,31.238541],[120.75555,31.236653],[120.750884,31.238066],[120.747797,31.239865],[120.745135,31.240243],[120.74136,31.24078],[120.736986,31.238323],[120.734265,31.237644],[120.732922,31.237835],[120.728631,31.238445],[120.724108,31.239768],[120.719649,31.243687],[120.716388,31.246239],[120.712642,31.250459],[120.712361,31.254508],[120.709492,31.254263],[120.706192,31.254228],[120.698283,31.259214],[120.696993,31.259856],[120.696881,31.261148],[120.694806,31.262499],[120.694469,31.265139],[120.693224,31.268542],[120.69217,31.269578],[120.689983,31.271716],[120.687123,31.272338],[120.682863,31.272009],[120.677593,31.282464],[120.676693,31.291995],[120.67366,31.292169],[120.672469,31.292237],[120.672276,31.291077],[120.6713,31.289114],[120.671468,31.28732],[120.67133,31.286509],[120.671007,31.2846],[120.670074,31.282099],[120.669923,31.281692],[120.66791,31.280756],[120.66657,31.278453],[120.666539,31.276954],[120.666713,31.276712],[120.667234,31.275985],[120.667565,31.274518],[120.66862,31.273341],[120.669056,31.272563],[120.668807,31.271893],[120.668147,31.270816],[120.667959,31.269627],[120.668279,31.267796],[120.668644,31.26591],[120.667505,31.262798],[120.667314,31.262078],[120.66183,31.262003],[120.661562,31.262517],[120.660752,31.264369],[120.659253,31.267978],[120.657622,31.272881],[120.656566,31.277088],[120.652738,31.276196],[120.651513,31.276857],[120.651426,31.277354],[120.650667,31.278084],[120.649874,31.27865],[120.649725,31.281577],[120.648712,31.281576],[120.64902,31.282662],[120.649064,31.282895],[120.649341,31.284129],[120.649417,31.284197],[120.649454,31.284211],[120.649473,31.284282],[120.649484,31.284365],[120.649483,31.284379],[120.649475,31.284402],[120.649494,31.284427],[120.649546,31.284701],[120.649539,31.284746],[120.649545,31.284799],[120.649527,31.284811],[120.649498,31.284876],[120.649584,31.285304],[120.649784,31.286314],[120.650044,31.287521],[120.650122,31.287884],[120.650209,31.288266],[120.650287,31.288685],[120.65046,31.289431],[120.650704,31.290538],[120.650808,31.291079],[120.650869,31.291436],[120.650911,31.291788],[120.65099,31.292658],[120.651008,31.293259],[120.650999,31.293825],[120.650964,31.294414],[120.650921,31.294989],[120.650851,31.295464],[120.650764,31.295933],[120.650609,31.296675],[120.650339,31.297689],[120.650087,31.298609],[120.64994,31.299136],[120.649514,31.300609],[120.648976,31.302525],[120.648811,31.303126],[120.648517,31.304152],[120.64823,31.305137],[120.647822,31.306625],[120.647484,31.307765],[120.647371,31.30814],[120.647162,31.308878],[120.646868,31.309924],[120.646798,31.31016],[120.646433,31.31148],[120.645808,31.313729],[120.645634,31.314338],[120.645574,31.314564],[120.64534,31.315348],[120.64514,31.316024],[120.645035,31.316408],[120.644958,31.316688],[120.644732,31.317456],[120.644593,31.317956],[120.644307,31.31898],[120.644072,31.319759],[120.643855,31.320479],[120.643673,31.321116],[120.643474,31.321847],[120.643283,31.322546],[120.643091,31.323197],[120.642944,31.323753],[120.642797,31.324274],[120.64244,31.325543],[120.642059,31.326916],[120.641702,31.328123],[120.641625,31.328359],[120.641434,31.328815],[120.641312,31.329048],[120.641191,31.329261],[120.641078,31.329462],[120.640896,31.32974],[120.640626,31.330096],[120.64008,31.330708],[120.639742,31.330994],[120.639603,31.331114],[120.638213,31.332361],[120.636666,31.337489],[120.640661,31.338055],[120.641345,31.338152],[120.645489,31.338274],[120.644087,31.345662],[120.643983,31.346212],[120.651362,31.352881],[120.660013,31.360205],[120.666834,31.365114],[120.675529,31.372343]]]]}},{type:"Feature",properties:{id:"320506",name:"吴中区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.648712,31.281576],[120.649725,31.281577],[120.649874,31.27865],[120.650667,31.278084],[120.651426,31.277354],[120.651513,31.276857],[120.652738,31.276196],[120.656566,31.277088],[120.657622,31.272881],[120.659253,31.267978],[120.660752,31.264369],[120.661562,31.262517],[120.66183,31.262003],[120.667314,31.262078],[120.667505,31.262798],[120.668644,31.26591],[120.668279,31.267796],[120.667959,31.269627],[120.668147,31.270816],[120.668807,31.271893],[120.669056,31.272563],[120.66862,31.273341],[120.667565,31.274518],[120.667234,31.275985],[120.666713,31.276712],[120.666539,31.276954],[120.66657,31.278453],[120.66791,31.280756],[120.669923,31.281692],[120.670074,31.282099],[120.671007,31.2846],[120.67133,31.286509],[120.671468,31.28732],[120.6713,31.289114],[120.672276,31.291077],[120.672469,31.292237],[120.67366,31.292169],[120.676693,31.291995],[120.677593,31.282464],[120.682863,31.272009],[120.687123,31.272338],[120.689983,31.271716],[120.69217,31.269578],[120.693224,31.268542],[120.694469,31.265139],[120.694806,31.262499],[120.696881,31.261148],[120.696993,31.259856],[120.698283,31.259214],[120.706192,31.254228],[120.709492,31.254263],[120.712361,31.254508],[120.712642,31.250459],[120.716388,31.246239],[120.719649,31.243687],[120.724108,31.239768],[120.728631,31.238445],[120.732922,31.237835],[120.734265,31.237644],[120.736986,31.238323],[120.74136,31.24078],[120.745135,31.240243],[120.747797,31.239865],[120.750884,31.238066],[120.75555,31.236653],[120.758987,31.238541],[120.762638,31.243534],[120.765593,31.247574],[120.766357,31.248616],[120.76835,31.258723],[120.771239,31.268228],[120.779205,31.270472],[120.785597,31.270297],[120.797383,31.269728],[120.8007,31.269884],[120.800882,31.273453],[120.79678,31.279713],[120.79447,31.281631],[120.797055,31.284861],[120.798035,31.286086],[120.80368,31.295867],[120.790503,31.297787],[120.787179,31.297793],[120.775677,31.297332],[120.775991,31.301813],[120.776147,31.304258],[120.765588,31.30429],[120.765568,31.298262],[120.758166,31.299314],[120.75291,31.300547],[120.732544,31.304979],[120.719996,31.304356],[120.720419,31.281464],[120.713356,31.281788],[120.709352,31.282637],[120.700733,31.283162],[120.6946,31.285401],[120.689122,31.286254],[120.68691,31.28995],[120.677537,31.291444],[120.677116,31.292394],[120.671639,31.292616],[120.6711,31.292447],[120.669428,31.292409],[120.665005,31.295266],[120.663846,31.296745],[120.660031,31.297238],[120.654157,31.297502],[120.653004,31.307955],[120.652859,31.307991],[120.652841,31.30813],[120.652982,31.308158],[120.65247,31.312801],[120.649308,31.328842],[120.683875,31.33589],[120.682028,31.34306],[120.680123,31.35024],[120.677856,31.358582],[120.674991,31.368607],[120.676545,31.370751],[120.675529,31.372343],[120.685587,31.380706],[120.690953,31.385165],[120.690713,31.393169],[120.696586,31.393071],[120.697512,31.390757],[120.697516,31.385776],[120.703558,31.390792],[120.714536,31.386388],[120.718675,31.386841],[120.724162,31.391635],[120.726416,31.397852],[120.733164,31.40607],[120.745015,31.414115],[120.758424,31.419913],[120.768633,31.429255],[120.779446,31.431591],[120.788109,31.432948],[120.81984,31.437908],[120.826067,31.436966],[120.821528,31.419666],[120.817647,31.391666],[120.81697,31.386775],[120.817475,31.382053],[120.818247,31.378029],[120.818594,31.377099],[120.815985,31.375501],[120.815147,31.371689],[120.82291,31.373737],[120.823625,31.372381],[120.825692,31.372679],[120.826304,31.371357],[120.826376,31.371093],[120.82882,31.371325],[120.828576,31.37191],[120.829346,31.372117],[120.82996,31.372291],[120.830705,31.372274],[120.836094,31.373038],[120.836984,31.370749],[120.83623,31.370553],[120.835921,31.370444],[120.833814,31.370167],[120.833897,31.369957],[120.835974,31.368092],[120.839185,31.368739],[120.840398,31.366073],[120.842191,31.366427],[120.845808,31.352721],[120.847572,31.346165],[120.849321,31.340655],[120.849556,31.339799],[120.850043,31.336372],[120.850077,31.335743],[120.850746,31.334345],[120.85361,31.328682],[120.855919,31.323333],[120.857455,31.319453],[120.858505,31.315434],[120.860603,31.311994],[120.862756,31.308545],[120.863608,31.307504],[120.863892,31.307034],[120.864852,31.304921],[120.865334,31.302967],[120.866823,31.301276],[120.866847,31.294711],[120.867001,31.294438],[120.867934,31.293788],[120.871757,31.293153],[120.87269,31.293171],[120.873472,31.292989],[120.873866,31.291326],[120.87425,31.290238],[120.874763,31.28911],[120.87497,31.288392],[120.875051,31.287973],[120.875063,31.286255],[120.877147,31.286313],[120.876852,31.284524],[120.879939,31.28479],[120.88004,31.283739],[120.88008,31.282887],[120.880165,31.282283],[120.878751,31.282394],[120.876464,31.282445],[120.876537,31.280447],[120.879677,31.28052],[120.879871,31.280399],[120.879951,31.280088],[120.878595,31.278023],[120.878094,31.277956],[120.876566,31.277966],[120.876795,31.275579],[120.876781,31.274756],[120.876625,31.273809],[120.87661,31.273623],[120.878775,31.273416],[120.87947,31.273507],[120.880358,31.273406],[120.880075,31.272571],[120.878427,31.272588],[120.878225,31.272503],[120.87748,31.271246],[120.877024,31.270601],[120.876914,31.270223],[120.876871,31.269823],[120.877174,31.267977],[120.877019,31.267207],[120.876997,31.266743],[120.877765,31.266051],[120.881305,31.257313],[120.882469,31.254969],[120.882703,31.25463],[120.883188,31.254375],[120.885905,31.254057],[120.886981,31.253056],[120.887545,31.252034],[120.88758,31.251048],[120.887259,31.250414],[120.886382,31.24992],[120.884369,31.249288],[120.883666,31.248513],[120.883492,31.247237],[120.884377,31.240555],[120.885081,31.240414],[120.886105,31.240554],[120.887234,31.241364],[120.888388,31.241576],[120.89054,31.239779],[120.891902,31.239012],[120.892874,31.238691],[120.893065,31.238453],[120.893569,31.23696],[120.894411,31.234918],[120.895495,31.233448],[120.896348,31.233196],[120.897035,31.232604],[120.897271,31.231655],[120.897358,31.230147],[120.897228,31.228724],[120.897049,31.228293],[120.896736,31.228294],[120.89572,31.227836],[120.895113,31.227197],[120.894714,31.226657],[120.894757,31.226276],[120.895114,31.225685],[120.895461,31.225079],[120.896806,31.223645],[120.897231,31.221863],[120.897136,31.221123],[120.896329,31.220525],[120.895929,31.22043],[120.894905,31.220132],[120.894462,31.219917],[120.894167,31.21969],[120.894115,31.219438],[120.894054,31.218865],[120.893837,31.217942],[120.89323,31.217192],[120.891876,31.216702],[120.887537,31.215891],[120.883519,31.214331],[120.879474,31.212827],[120.877712,31.212018],[120.875021,31.211469],[120.873165,31.211947],[120.870196,31.212936],[120.867705,31.213926],[120.865935,31.213995],[120.86242,31.213926],[120.859512,31.213863],[120.857221,31.214029],[120.856179,31.213646],[120.855007,31.2128],[120.854139,31.211709],[120.851518,31.209472],[120.850416,31.20886],[120.849131,31.208261],[120.847109,31.207768],[120.845633,31.20725],[120.844028,31.206486],[120.842638,31.204904],[120.841432,31.203676],[120.8398,31.201766],[120.83895,31.20051],[120.838508,31.199375],[120.838307,31.197157],[120.837865,31.194327],[120.837318,31.19303],[120.836398,31.192007],[120.835408,31.191393],[120.833838,31.191358],[120.832778,31.191699],[120.831241,31.192246],[120.829436,31.192502],[120.827222,31.192546],[120.825304,31.192333],[120.823212,31.192246],[120.821424,31.191608],[120.819072,31.190796],[120.817006,31.190042],[120.814167,31.188049],[120.813429,31.186658],[120.812769,31.184965],[120.812066,31.183001],[120.811623,31.179944],[120.811685,31.177172],[120.811641,31.175701],[120.804826,31.178358],[120.792551,31.183248],[120.790155,31.184317],[120.789442,31.184928],[120.789035,31.186101],[120.789495,31.188036],[120.789391,31.189462],[120.788627,31.190127],[120.78465,31.191653],[120.772626,31.195472],[120.770334,31.197153],[120.769466,31.199088],[120.769362,31.201584],[120.76977,31.203213],[120.770846,31.204642],[120.773234,31.206476],[120.774101,31.208158],[120.775682,31.211928],[120.775578,31.213201],[120.774258,31.214473],[120.771559,31.216461],[120.766158,31.21967],[120.762998,31.220895],[120.760957,31.221695],[120.758335,31.22342],[120.756043,31.224582],[120.753768,31.225013],[120.751181,31.225318],[120.750382,31.225197],[120.749766,31.224026],[120.748533,31.221259],[120.747309,31.217939],[120.744661,31.215171],[120.743125,31.211667],[120.739738,31.206377],[120.737037,31.203241],[120.734208,31.200165],[120.732115,31.197213],[120.729658,31.194014],[120.724492,31.189157],[120.719813,31.185404],[120.71871,31.185773],[120.717043,31.187311],[120.714525,31.191124],[120.713232,31.19432],[120.71305,31.198072],[120.71305,31.200223],[120.713023,31.201371],[120.713006,31.20202],[120.709777,31.202297],[120.707128,31.202751],[120.703604,31.203104],[120.701225,31.203356],[120.697041,31.203709],[120.693612,31.20396],[120.691163,31.203657],[120.689549,31.202977],[120.688038,31.20222],[120.687231,31.20164],[120.686015,31.200883],[120.684956,31.200377],[120.683646,31.199874],[120.681024,31.19899],[120.679565,31.198788],[120.677396,31.198639],[120.676962,31.19835],[120.675669,31.196607],[120.674548,31.195548],[120.673142,31.194563],[120.673072,31.192781],[120.673203,31.190874],[120.672708,31.190014],[120.671727,31.189276],[120.670373,31.189337],[120.669444,31.190136],[120.668646,31.192658],[120.667543,31.195196],[120.66664,31.19641],[120.666145,31.196993],[120.664713,31.197096],[120.663342,31.197116],[120.661988,31.197035],[120.661059,31.197217],[120.660373,31.197599],[120.660139,31.198246],[120.660156,31.200646],[120.660356,31.20202],[120.660434,31.202786],[120.660313,31.203632],[120.659714,31.205872],[120.659271,31.20789],[120.658862,31.208244],[120.658169,31.209196],[120.657031,31.211126],[120.656415,31.214973],[120.656363,31.218249],[120.656181,31.221384],[120.655122,31.222398],[120.653135,31.222582],[120.651754,31.222446],[120.650973,31.221753],[120.649957,31.2212],[120.647371,31.221336],[120.646911,31.221753],[120.646546,31.222906],[120.645895,31.223644],[120.644472,31.223874],[120.639828,31.223188],[120.639133,31.223093],[120.638153,31.223747],[120.637944,31.224745],[120.637598,31.226061],[120.62744,31.225604],[120.627469,31.225266],[120.628041,31.222774],[120.629152,31.217087],[120.629561,31.215963],[120.630142,31.214529],[120.630316,31.213775],[120.630351,31.213493],[120.630298,31.213118],[120.630098,31.212979],[120.629873,31.212903],[120.628276,31.212417],[120.625942,31.211967],[120.62188,31.21043],[120.620682,31.209337],[120.62023,31.208487],[120.619892,31.207536],[120.619215,31.205738],[120.618521,31.203517],[120.618382,31.201561],[120.618486,31.19932],[120.618738,31.196867],[120.620022,31.186946],[120.619996,31.184884],[120.620179,31.182857],[120.619935,31.180337],[120.61957,31.179107],[120.618789,31.178132],[120.617132,31.176662],[120.61504,31.175048],[120.612298,31.172808],[120.610215,31.170639],[120.608732,31.168623],[120.606778,31.165975],[120.60525,31.163942],[120.604313,31.162295],[120.602109,31.162152],[120.600078,31.162852],[120.597136,31.163062],[120.595391,31.163062],[120.594202,31.162714],[120.592805,31.161176],[120.591434,31.159754],[120.589811,31.159242],[120.585914,31.154615],[120.564903,31.118572],[120.557153,31.105846],[120.555948,31.105242],[120.554515,31.104084],[120.553864,31.102458],[120.553447,31.100187],[120.5512,31.096904],[120.536602,31.08806],[120.49553,31.064214],[120.487188,31.059779],[120.482222,31.056054],[120.480451,31.053571],[120.460718,31.029393],[120.457471,31.022329],[120.45339,31.016522],[120.442772,31.005741],[120.43811,31.000597],[120.432727,30.99337],[120.428386,30.986621],[120.424288,30.981026],[120.422473,30.97915],[120.418574,30.975626],[120.413843,30.973456],[120.408008,30.971958],[120.400601,30.969957],[120.395062,30.968002],[120.389818,30.964906],[120.381856,30.963357],[120.37083,30.957607],[120.368216,30.954366],[120.366457,30.950791],[120.365514,30.95021],[120.365292,30.950073],[120.363877,30.949824],[120.360809,30.949386],[120.359872,30.949166],[120.358786,30.948579],[120.35787,30.947861],[120.357407,30.947701],[120.356506,30.947618],[120.356046,30.947508],[120.354975,30.946839],[120.354631,30.946634],[120.354107,30.946479],[120.352989,30.946277],[120.349466,30.945184],[120.347726,30.944811],[120.346526,30.944625],[120.343392,30.943657],[120.342096,30.943043],[120.339583,30.942224],[120.339202,30.942133],[120.338906,30.942084],[120.338725,30.942053],[120.336294,30.942033],[120.331609,30.940818],[120.326384,30.939872],[120.317668,30.937322],[120.311473,30.936017],[120.303518,30.934418],[120.301864,30.93422],[120.300187,30.934082],[120.299019,30.934095],[120.295305,30.933811],[120.291559,30.932867],[120.289324,30.933151],[120.28539,30.932899],[120.28384,30.932428],[120.282068,30.932213],[120.280543,30.932081],[120.277993,30.93205],[120.276609,30.931578],[120.275067,30.931484],[120.272832,30.931232],[120.270126,30.930383],[120.266852,30.930856],[120.261627,30.930448],[120.251721,30.929197],[120.250139,30.928698],[120.249871,30.928672],[120.248926,30.928792],[120.248158,30.928734],[120.247423,30.928642],[120.246229,30.928434],[120.244879,30.928462],[120.244416,30.928518],[120.244151,30.92855],[120.24391,30.928579],[120.24257,30.928701],[120.2396,30.928754],[120.23678,30.928702],[120.232043,30.928337],[120.230947,30.927983],[120.23086,30.927954],[120.230678,30.928024],[120.229866,30.928337],[120.228421,30.928477],[120.225077,30.928666],[120.221614,30.928764],[120.219123,30.928887],[120.217218,30.929055],[120.217072,30.929103],[120.216204,30.929399],[120.214866,30.929556],[120.2136,30.929924],[120.207734,30.931196],[120.206608,30.931095],[120.206132,30.931136],[120.205961,30.931151],[120.205853,30.931191],[120.204917,30.931537],[120.203223,30.931793],[120.201507,30.931927],[120.200041,30.931893],[120.198002,30.931516],[120.195338,30.930501],[120.194179,30.930471],[120.192395,30.931397],[120.191918,30.931899],[120.190838,30.932752],[120.188348,30.933484],[120.183941,30.934408],[120.173846,30.935984],[120.171278,30.936179],[120.162657,30.937116],[120.157126,30.937812],[120.144879,30.939539],[120.144782,30.939553],[120.144576,30.939675],[120.142441,30.940939],[120.141805,30.941123],[120.14111,30.941781],[120.141038,30.942989],[120.14111,30.943292],[120.140842,30.943409],[120.138131,30.944068],[120.137863,30.944495],[120.13706,30.944992],[120.135562,30.945381],[120.13417,30.945361],[120.133136,30.945164],[120.130338,30.943937],[120.127705,30.945113],[120.127803,30.945703],[120.1274,30.946106],[120.125134,30.947009],[120.124896,30.947128],[120.124445,30.947406],[120.123509,30.948108],[120.121986,30.949067],[120.121517,30.949358],[120.116027,30.952802],[120.11414,30.954036],[120.112465,30.955206],[120.110266,30.956665],[120.108902,30.957133],[120.108009,30.957493],[120.106976,30.957798],[120.106174,30.957922],[120.104213,30.959297],[120.103976,30.959892],[120.10375,30.960437],[120.103459,30.960673],[120.102231,30.961713],[120.102115,30.961844],[120.102056,30.961965],[120.102056,30.962102],[120.102597,30.962629],[120.10265,30.962837],[120.102573,30.962998],[120.102436,30.963073],[120.102043,30.963134],[120.101885,30.963246],[120.101011,30.964171],[120.100905,30.964271],[120.099495,30.965453],[120.099429,30.965574],[120.099431,30.965714],[120.099509,30.965882],[120.100128,30.966383],[120.100324,30.966544],[120.100354,30.966686],[120.100296,30.966839],[120.100107,30.96704],[120.099873,30.96714],[120.099455,30.967224],[120.099192,30.967233],[120.099131,30.967227],[120.098904,30.967111],[120.098177,30.966499],[120.097515,30.96599],[120.097383,30.965929],[120.097289,30.965912],[120.097183,30.96593],[120.096772,30.966173],[120.094261,30.968345],[120.08953,30.975226],[120.082091,30.981674],[120.076364,30.985932],[120.069951,30.9899],[120.068294,30.990867],[120.068012,30.991041],[120.06563,30.992964],[120.064298,30.994027],[120.06194,30.995878],[120.059688,30.997632],[120.058152,30.998765],[120.056459,30.999992],[120.056394,31.00022],[120.056144,31.000522],[120.055262,31.001313],[120.053783,31.002944],[120.052041,31.004664],[120.050893,31.005545],[120.047584,31.007757],[120.040851,31.010216],[120.033399,31.012269],[120.03253,31.012509],[120.027698,31.01384],[120.012224,31.019905],[120.012111,31.019945],[120.011972,31.019946],[120.011109,31.020462],[120.010889,31.020676],[120.006216,31.023571],[120.000055,31.02697],[119.999932,31.027051],[119.999568,31.027322],[119.996977,31.029269],[119.996215,31.030544],[119.994691,31.033008],[119.992956,31.036432],[119.992869,31.036755],[119.993689,31.038331],[119.992479,31.040915],[119.991689,31.043394],[119.990833,31.045314],[119.989073,31.047924],[119.987722,31.050457],[119.986549,31.053731],[119.985324,31.057813],[119.985198,31.058147],[119.985047,31.05855],[119.984737,31.059377],[119.983797,31.061387],[119.981528,31.063964],[119.978075,31.067108],[119.973901,31.069944],[119.971298,31.071571],[119.970824,31.071867],[119.969777,31.072522],[119.967407,31.074222],[119.965088,31.076491],[119.960558,31.083322],[119.958025,31.087681],[119.956772,31.089616],[119.954187,31.092651],[119.949364,31.097785],[119.949183,31.098012],[119.949081,31.09814],[119.948378,31.099017],[119.942716,31.107161],[119.942348,31.107444],[119.941907,31.107592],[119.941609,31.108473],[119.942049,31.109255],[119.942256,31.109677],[119.942311,31.110416],[119.942389,31.111187],[119.942336,31.112185],[119.942205,31.113221],[119.941949,31.114253],[119.936824,31.127613],[119.936733,31.12785],[119.935572,31.130877],[119.935224,31.13307],[119.935143,31.13508],[119.935244,31.136844],[119.935736,31.140289],[119.935839,31.141827],[119.935634,31.14359],[119.935183,31.14519],[119.934383,31.146604],[119.933338,31.147753],[119.932128,31.148799],[119.923303,31.155199],[119.922257,31.156183],[119.919726,31.159136],[119.916445,31.163463],[119.915871,31.164591],[119.915625,31.16574],[119.915649,31.166664],[119.916406,31.168996],[119.916348,31.171147],[119.916633,31.171585],[119.916557,31.172271],[119.916329,31.172633],[119.915864,31.1727],[119.915389,31.173165],[120.105345,31.265847],[120.136185,31.287595],[120.16899,31.310728],[120.201957,31.34453],[120.224852,31.324967],[120.251131,31.302452],[120.258543,31.297245],[120.266866,31.29373],[120.279103,31.291619],[120.290898,31.291008],[120.301669,31.291412],[120.313275,31.293738],[120.329958,31.301841],[120.336677,31.305737],[120.339984,31.307512],[120.343778,31.310452],[120.349664,31.313821],[120.35101,31.315168],[120.350575,31.316209],[120.349664,31.317861],[120.349603,31.319272],[120.350115,31.320312],[120.353284,31.320423],[120.3674,31.320672],[120.369111,31.320906],[120.369441,31.321197],[120.369502,31.321777],[120.369172,31.322534],[120.36787,31.324452],[120.367948,31.324858],[120.368164,31.325116],[120.369614,31.325399],[120.371698,31.326601],[120.374024,31.327765],[120.376638,31.328006],[120.378964,31.327807],[120.38065,31.327126],[120.386345,31.326684],[120.39112,31.326364],[120.394975,31.326566],[120.395775,31.326165],[120.396338,31.325483],[120.397302,31.325082],[120.398223,31.325323],[120.399064,31.326205],[120.399664,31.326606],[120.40217,31.326595],[120.403599,31.326664],[120.407895,31.32681],[120.408393,31.325706],[120.408804,31.325712],[120.410442,31.32601],[120.411078,31.324526],[120.408783,31.323188],[120.410403,31.321718],[120.412237,31.323247],[120.412653,31.322806],[120.413238,31.322365],[120.414159,31.321776],[120.413128,31.320177],[120.413467,31.319658],[120.415272,31.319188],[120.415976,31.316557],[120.416546,31.316576],[120.415489,31.3105],[120.415845,31.3105],[120.417081,31.310603],[120.422022,31.308158],[120.42467,31.307355],[120.425148,31.306794],[120.424869,31.306032],[120.424227,31.30531],[120.423784,31.303745],[120.424548,31.302621],[120.426068,31.30198],[120.428195,31.301901],[120.43093,31.301941],[120.436139,31.300739],[120.438796,31.300297],[120.44068,31.300859],[120.442044,31.301863],[120.442521,31.303308],[120.442165,31.305274],[120.440836,31.307799],[120.440281,31.310247],[120.440436,31.311892],[120.441123,31.313376],[120.442564,31.31438],[120.443884,31.315183],[120.446133,31.317349],[120.449067,31.319315],[120.451072,31.320357],[120.453112,31.320358],[120.454919,31.319917],[120.456169,31.318835],[120.45669,31.317435],[120.458131,31.316237],[120.45939,31.316074],[120.463201,31.315965],[120.467099,31.315719],[120.46775,31.315672],[120.468254,31.315516],[120.468887,31.314583],[120.469287,31.314062],[120.471292,31.31334],[120.475268,31.312498],[120.476571,31.311784],[120.477074,31.310503],[120.477629,31.307805],[120.479079,31.304475],[120.479357,31.302911],[120.479158,31.301866],[120.478194,31.300221],[120.477595,31.298576],[120.478073,31.297535],[120.479279,31.297134],[120.486501,31.297173],[120.487422,31.296852],[120.487665,31.295891],[120.4873,31.29264],[120.486345,31.292014],[120.486259,31.290967],[120.486997,31.289946],[120.487344,31.289349],[120.487621,31.287386],[120.488516,31.286806],[120.489792,31.286783],[120.490685,31.287438],[120.491224,31.288996],[120.491858,31.289971],[120.49296,31.290487],[120.495356,31.290257],[120.498333,31.289986],[120.500451,31.290024],[120.501805,31.290643],[120.5059,31.293081],[120.505921,31.29309],[120.505941,31.2931],[120.509122,31.294221],[120.512838,31.294479],[120.514435,31.294902],[120.516127,31.295043],[120.517828,31.29485],[120.518523,31.294231],[120.518922,31.293318],[120.519659,31.292902],[120.519687,31.292882],[120.519712,31.292872],[120.519834,31.292803],[120.520805,31.291606],[120.521153,31.290139],[120.521847,31.289251],[120.524809,31.288076],[120.524953,31.285584],[120.524929,31.285465],[120.525266,31.278504],[120.526562,31.278479],[120.526753,31.278032],[120.527015,31.277433],[120.526739,31.274801],[120.526754,31.274514],[120.527324,31.274501],[120.528726,31.274392],[120.528829,31.273796],[120.529283,31.273736],[120.529539,31.27416],[120.530672,31.274143],[120.530699,31.274281],[120.53272,31.274341],[120.532861,31.27315],[120.534315,31.2732],[120.5347,31.272053],[120.536181,31.272138],[120.53649,31.270223],[120.539744,31.270474],[120.539899,31.269431],[120.542126,31.269638],[120.542016,31.271288],[120.542589,31.271332],[120.542683,31.271754],[120.545273,31.271885],[120.545325,31.272546],[120.546514,31.272545],[120.546381,31.273919],[120.548969,31.273998],[120.549096,31.272815],[120.554648,31.273073],[120.55477,31.273573],[120.556719,31.274],[120.556962,31.271222],[120.557894,31.265832],[120.558081,31.264751],[120.559322,31.264883],[120.559549,31.262972],[120.562362,31.26308],[120.56273,31.26243],[120.562579,31.261998],[120.562454,31.261963],[120.561039,31.261668],[120.560113,31.261498],[120.559914,31.261208],[120.559889,31.259953],[120.557422,31.259363],[120.55793,31.25791],[120.558659,31.257966],[120.559257,31.256835],[120.5604,31.256385],[120.560982,31.255404],[120.561825,31.254883],[120.562039,31.254564],[120.562086,31.254031],[120.562348,31.25332],[120.562929,31.252871],[120.565007,31.251773],[120.565124,31.251352],[120.563604,31.248434],[120.56417,31.247688],[120.564758,31.247394],[120.564536,31.245924],[120.564311,31.245314],[120.563484,31.238793],[120.563758,31.237994],[120.56677,31.23703],[120.56873,31.235321],[120.57209,31.230715],[120.571884,31.229744],[120.572054,31.227314],[120.572573,31.223154],[120.574087,31.222504],[120.575756,31.222128],[120.576256,31.223468],[120.576996,31.226329],[120.577656,31.227869],[120.577896,31.228929],[120.577345,31.231852],[120.576285,31.234357],[120.577553,31.234765],[120.583637,31.236186],[120.583835,31.235852],[120.584082,31.23534],[120.588436,31.235529],[120.588222,31.240272],[120.587942,31.242838],[120.587348,31.249291],[120.588474,31.249507],[120.591286,31.249507],[120.590682,31.253061],[120.592069,31.252983],[120.592432,31.253077],[120.594542,31.251858],[120.597429,31.25215],[120.597859,31.253067],[120.598123,31.254945],[120.598308,31.256834],[120.59899,31.258004],[120.600482,31.25842],[120.602061,31.258701],[120.604268,31.25896],[120.604389,31.260749],[120.604238,31.261208],[120.604094,31.26163],[120.605858,31.261743],[120.605658,31.263224],[120.60479,31.264599],[120.604365,31.265772],[120.604218,31.266208],[120.604079,31.267081],[120.6042,31.267809],[120.604765,31.268298],[120.605161,31.268562],[120.605184,31.268574],[120.605202,31.268589],[120.605494,31.268784],[120.607108,31.269055],[120.609564,31.269911],[120.61064,31.270662],[120.610814,31.272052],[120.610779,31.273581],[120.61025,31.274933],[120.609209,31.275636],[120.608566,31.275855],[120.608149,31.276066],[120.607967,31.276388],[120.607932,31.276793],[120.607958,31.277186],[120.608236,31.277603],[120.608575,31.277957],[120.610519,31.27829],[120.614364,31.278626],[120.617314,31.279085],[120.621888,31.279428],[120.623207,31.279404],[120.628528,31.280058],[120.628979,31.278771],[120.6291,31.278231],[120.629422,31.278111],[120.630489,31.278268],[120.630776,31.278187],[120.630967,31.277894],[120.630871,31.277604],[120.630351,31.276988],[120.630203,31.276673],[120.630247,31.276143],[120.630602,31.275668],[120.631322,31.275416],[120.632893,31.275304],[120.636026,31.27547],[120.636747,31.275494],[120.637337,31.275409],[120.638378,31.275602],[120.640549,31.276045],[120.641087,31.275467],[120.641009,31.274679],[120.640531,31.273738],[120.641087,31.27318],[120.641798,31.272776],[120.64264,31.272622],[120.643803,31.272765],[120.645722,31.272969],[120.645895,31.273177],[120.644984,31.276825],[120.644541,31.278255],[120.644567,31.279061],[120.645044,31.279484],[120.646659,31.279677],[120.647257,31.279812],[120.648358,31.280218],[120.648712,31.281576]]]]}},{type:"Feature",properties:{id:"320585",name:"太仓市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[121.101936,31.368631],[121.098572,31.379198],[121.099131,31.379536],[121.098603,31.381546],[121.098117,31.381677],[121.09472,31.392057],[121.094603,31.392143],[121.094232,31.393366],[121.092468,31.392833],[121.092609,31.391501],[121.092161,31.391341],[121.09225,31.390351],[121.090226,31.389855],[121.090252,31.388108],[121.089946,31.388087],[121.089303,31.388098],[121.08873,31.388131],[121.088365,31.388339],[121.088226,31.388844],[121.087965,31.389426],[121.087731,31.389738],[121.087115,31.390097],[121.086785,31.390292],[121.086594,31.390598],[121.085708,31.391782],[121.084892,31.392879],[121.084189,31.393638],[121.08365,31.393954],[121.083191,31.39423],[121.082878,31.3947],[121.082496,31.395566],[121.082157,31.395885],[121.081654,31.396137],[121.081081,31.396279],[121.081002,31.396466],[121.081124,31.396642],[121.08194,31.396708],[121.082739,31.396913],[121.083277,31.397311],[121.083711,31.397685],[121.083903,31.398111],[121.08392,31.398639],[121.083824,31.399231],[121.083555,31.399954],[121.083564,31.400514],[121.083703,31.401053],[121.083781,31.40182],[121.084076,31.403049],[121.084449,31.403829],[121.085413,31.404738],[121.085925,31.405298],[121.086177,31.406044],[121.086499,31.407162],[121.087445,31.408698],[121.088713,31.410497],[121.08952,31.411982],[121.09005,31.412706],[121.090223,31.413517],[121.090223,31.414678],[121.090319,31.41514],[121.090527,31.415694],[121.085239,31.417058],[121.084945,31.418108],[121.094114,31.424108],[121.093827,31.425837],[121.093574,31.426159],[121.092646,31.426738],[121.091726,31.427467],[121.091196,31.428666],[121.090215,31.430876],[121.089355,31.43216],[121.088348,31.433328],[121.087219,31.434211],[121.085162,31.435634],[121.084058,31.436551],[121.08339,31.437086],[121.082504,31.437799],[121.081888,31.437905],[121.080925,31.437719],[121.080064,31.437423],[121.079396,31.436915],[121.078571,31.436084],[121.07766,31.43485],[121.076696,31.433245],[121.075272,31.43153],[121.073857,31.43003],[121.071121,31.428155],[121.06777,31.426145],[121.066112,31.425261],[121.062543,31.425729],[121.060424,31.43419],[121.054946,31.433637],[121.048703,31.429926],[121.046629,31.428215],[121.045101,31.429743],[121.042531,31.42983],[121.039153,31.433131],[121.037278,31.43633],[121.033438,31.435748],[121.033138,31.435731],[121.026322,31.434745],[121.022997,31.435209],[121.022658,31.437529],[121.018725,31.438243],[121.018074,31.440298],[121.017119,31.442736],[121.016504,31.443375],[121.016478,31.444664],[121.015974,31.44737],[121.014871,31.449544],[121.018005,31.451018],[121.022128,31.454951],[121.018656,31.455545],[121.015488,31.456532],[121.012423,31.458288],[121.0106,31.459162],[121.00955,31.459145],[121.008916,31.460822],[121.008934,31.462823],[121.006321,31.469426],[121.008856,31.470369],[121.012336,31.469649],[121.011997,31.470562],[121.012214,31.471476],[121.013022,31.477079],[121.011511,31.479227],[121.01146,31.481508],[121.015679,31.484431],[121.015626,31.486252],[121.0133,31.489192],[121.010696,31.492],[121.010261,31.493706],[121.011928,31.497331],[121.011104,31.498229],[121.008968,31.498537],[121.007935,31.496701],[121.007301,31.495321],[121.006242,31.494961],[121.003031,31.495479],[120.999576,31.49463],[120.9977,31.496608],[120.995731,31.497606],[120.994532,31.499288],[120.994073,31.49965],[120.993743,31.499704],[120.993047,31.499538],[120.992189,31.49914],[120.988847,31.497848],[120.988551,31.49774],[120.988309,31.497765],[120.988126,31.497837],[120.98791,31.498183],[120.987718,31.498757],[120.987536,31.499303],[120.987171,31.499759],[120.985236,31.500732],[120.98482,31.500959],[120.984394,31.500998],[120.983855,31.500944],[120.983492,31.500694],[120.981972,31.499545],[120.979404,31.497694],[120.975922,31.496051],[120.973631,31.496191],[120.971392,31.495789],[120.971921,31.496191],[120.97423,31.497631],[120.974499,31.497723],[120.974786,31.497772],[120.97515,31.497854],[120.975419,31.497943],[120.976347,31.498467],[120.976616,31.498638],[120.97817,31.500005],[120.978517,31.500298],[120.979056,31.500495],[120.980124,31.500838],[120.980679,31.501151],[120.981816,31.502036],[120.982666,31.502511],[120.983274,31.502889],[120.985982,31.505777],[120.987527,31.507383],[120.988317,31.50804],[120.989862,31.509284],[120.990253,31.509648],[120.990592,31.510112],[120.990878,31.510483],[120.991164,31.510764],[120.99415,31.512632],[120.994879,31.513123],[120.99646,31.51434],[120.997692,31.515373],[120.998265,31.515995],[120.998751,31.516623],[120.999966,31.518392],[121.000008,31.518457],[121.001207,31.520228],[121.001651,31.520983],[121.001902,31.521555],[121.002049,31.521948],[121.002189,31.522434],[121.001346,31.52528],[120.998222,31.530648],[120.994966,31.5346],[120.993751,31.544393],[120.993638,31.544707],[120.99336,31.544857],[120.992883,31.544819],[120.992102,31.544581],[120.991199,31.544303],[120.988812,31.544013],[120.986355,31.543691],[120.984828,31.543546],[120.983257,31.543244],[120.982831,31.545365],[120.982276,31.547042],[120.980705,31.546902],[120.977606,31.545174],[120.975636,31.545478],[120.97383,31.547397],[120.974968,31.547459],[120.980166,31.549208],[120.979585,31.550363],[120.978109,31.556372],[120.99369,31.566608],[120.996798,31.568089],[120.99718,31.568424],[120.997267,31.568828],[120.99698,31.569197],[120.996425,31.570001],[120.995808,31.570941],[120.995132,31.571814],[120.994498,31.572519],[120.993743,31.573122],[120.992232,31.574481],[121.004957,31.582617],[120.997744,31.592807],[121.003629,31.595119],[121.01422,31.600837],[121.019698,31.605181],[121.024481,31.607192],[121.031209,31.610264],[121.034926,31.612395],[121.041724,31.619343],[121.04319,31.621556],[121.046472,31.623159],[121.050371,31.627296],[121.052237,31.631859],[121.056205,31.630533],[121.058453,31.635074],[121.054304,31.637264],[121.050197,31.638148],[121.04807,31.639845],[121.044276,31.640951],[121.043329,31.643253],[121.041602,31.646328],[121.038528,31.648732],[121.035499,31.649461],[121.031973,31.651993],[121.028301,31.654254],[121.021451,31.657249],[121.01244,31.661128],[121.014367,31.663322],[121.020913,31.668069],[121.025558,31.671801],[121.027824,31.670393],[121.030801,31.671145],[121.034228,31.675465],[121.034272,31.675468],[121.03426,31.675505],[121.035029,31.676474],[121.037304,31.67917],[121.038867,31.683216],[121.041263,31.685922],[121.042608,31.686108],[121.047011,31.683855],[121.048,31.684024],[121.051768,31.689161],[121.050545,31.691024],[121.048044,31.693087],[121.045544,31.695454],[121.04945,31.703252],[121.050856,31.708565],[121.054199,31.714425],[121.055675,31.716773],[121.056223,31.719369],[121.058827,31.724115],[121.06237,31.725459],[121.066146,31.729236],[121.081775,31.746134],[121.0919,31.757965],[121.096552,31.764275],[121.11384,31.760841],[121.137438,31.7571],[121.140711,31.755719],[121.175313,31.722628],[121.284611,31.618182],[121.340979,31.573488],[121.367554,31.554968],[121.338896,31.513867],[121.331248,31.510121],[121.324946,31.506092],[121.324087,31.505962],[121.323965,31.506415],[121.322646,31.506087],[121.322654,31.505414],[121.321101,31.505104],[121.320866,31.506127],[121.319954,31.506022],[121.319929,31.504714],[121.318965,31.504558],[121.318575,31.504143],[121.318757,31.502739],[121.319096,31.502349],[121.319148,31.5015],[121.317958,31.501216],[121.317949,31.501702],[121.317177,31.501681],[121.317099,31.501216],[121.315979,31.501163],[121.315953,31.501474],[121.315354,31.501578],[121.31525,31.502748],[121.315458,31.5035],[121.315459,31.504151],[121.315485,31.504853],[121.316135,31.505061],[121.317334,31.505258],[121.317177,31.506101],[121.316083,31.506048],[121.316066,31.506537],[121.315902,31.506801],[121.315485,31.507062],[121.315614,31.507736],[121.312108,31.507633],[121.312003,31.506827],[121.312081,31.505857],[121.312142,31.505352],[121.3113,31.503761],[121.310806,31.503138],[121.308888,31.502618],[121.308731,31.503397],[121.309305,31.503683],[121.309305,31.504074],[121.308472,31.504074],[121.308341,31.504488],[121.307898,31.504696],[121.307403,31.504775],[121.307169,31.505892],[121.307507,31.505971],[121.307221,31.506776],[121.30644,31.50688],[121.305824,31.50779],[121.303949,31.507141],[121.30421,31.50662],[121.30361,31.506542],[121.303063,31.507193],[121.302187,31.507063],[121.301797,31.507271],[121.301015,31.507219],[121.300598,31.506907],[121.300781,31.506438],[121.300728,31.505997],[121.301354,31.505322],[121.300694,31.504695],[121.300129,31.504698],[121.300026,31.504385],[121.299609,31.503901],[121.299054,31.503831],[121.298741,31.504213],[121.298325,31.504109],[121.298081,31.50449],[121.297595,31.504283],[121.297526,31.503624],[121.296953,31.503184],[121.297934,31.501444],[121.297622,31.501082],[121.297256,31.501496],[121.296432,31.502528],[121.295426,31.501651],[121.296449,31.500859],[121.297552,31.5008],[121.297986,31.500335],[121.296918,31.499815],[121.296476,31.500423],[121.295755,31.500266],[121.296354,31.498641],[121.295989,31.496425],[121.293047,31.496],[121.293047,31.495536],[121.294054,31.495613],[121.294097,31.493411],[121.292857,31.493255],[121.291502,31.492869],[121.290886,31.492368],[121.28961,31.491982],[121.288994,31.49171],[121.288491,31.49225],[121.287753,31.492136],[121.287796,31.492522],[121.287136,31.493218],[121.287023,31.493605],[121.28613,31.493606],[121.285939,31.492986],[121.285783,31.492715],[121.285244,31.492097],[121.285054,31.491789],[121.285245,31.491478],[121.285201,31.491246],[121.284897,31.490938],[121.284428,31.491014],[121.283891,31.491014],[121.283387,31.49086],[121.282849,31.4914],[121.28192,31.491634],[121.281382,31.491865],[121.280991,31.492291],[121.280879,31.492601],[121.279403,31.492602],[121.279212,31.491712],[121.278674,31.491944],[121.278058,31.491943],[121.277589,31.49179],[121.277207,31.491827],[121.276895,31.492678],[121.276157,31.492638],[121.275229,31.49233],[121.275853,31.49059],[121.275351,31.490282],[121.274187,31.490165],[121.273493,31.489779],[121.273259,31.489199],[121.272911,31.488698],[121.271982,31.488581],[121.271758,31.487305],[121.269787,31.487037],[121.268432,31.486611],[121.267582,31.486262],[121.267001,31.486919],[121.266342,31.487037],[121.265994,31.487191],[121.265994,31.488737],[121.265378,31.488814],[121.264762,31.489085],[121.264414,31.489394],[121.26379,31.489007],[121.263442,31.48866],[121.26352,31.488157],[121.26287,31.488157],[121.262939,31.486844],[121.262983,31.485296],[121.2607,31.485065],[121.260005,31.48437],[121.258921,31.483983],[121.258424,31.483716],[121.258346,31.483522],[121.258231,31.483393],[121.257568,31.483124],[121.257401,31.48295],[121.257279,31.482719],[121.257215,31.482339],[121.257158,31.481658],[121.2571,31.481021],[121.257009,31.48079],[121.256887,31.480713],[121.256607,31.480631],[121.256603,31.480622],[121.255831,31.480311],[121.254981,31.479885],[121.253201,31.479732],[121.252741,31.480042],[121.252741,31.480698],[121.253245,31.480698],[121.253358,31.481162],[121.252741,31.481316],[121.252316,31.481627],[121.251812,31.481666],[121.251608,31.481514],[121.251657,31.48093],[121.251925,31.480893],[121.251926,31.479849],[121.251926,31.4795],[121.251466,31.479811],[121.251197,31.480004],[121.250997,31.47954],[121.25065,31.479385],[121.250346,31.479579],[121.250303,31.480119],[121.250693,31.481008],[121.250806,31.482593],[121.251196,31.485571],[121.249979,31.485687],[121.249843,31.484991],[121.249183,31.485028],[121.249226,31.483791],[121.248454,31.483754],[121.24841,31.483135],[121.24907,31.483057],[121.248914,31.481745],[121.246779,31.481543],[121.246735,31.480614],[121.245764,31.480614],[121.24552,31.479927],[121.245242,31.479564],[121.243871,31.479],[121.24322,31.478837],[121.242622,31.479],[121.2425,31.479484],[121.242292,31.480211],[121.242049,31.480695],[121.241528,31.481019],[121.241363,31.481826],[121.24217,31.481865],[121.242257,31.482714],[121.243831,31.482722],[121.243726,31.483817],[121.241815,31.483924],[121.241728,31.483319],[121.240886,31.483117],[121.239957,31.483118],[121.239958,31.484572],[121.239628,31.485136],[121.239394,31.485822],[121.239628,31.486469],[121.239394,31.486993],[121.239028,31.487397],[121.239349,31.489255],[121.238864,31.490223],[121.238256,31.491071],[121.237857,31.491596],[121.237597,31.491979],[121.236955,31.492239],[121.236694,31.492849],[121.237041,31.493921],[121.237363,31.494562],[121.237449,31.495228],[121.237076,31.495574],[121.236433,31.495633],[121.235627,31.495169],[121.234351,31.494185],[121.233621,31.493834],[121.23278,31.493894],[121.232025,31.494504],[121.231478,31.494937],[121.230784,31.495055],[121.230289,31.494619],[121.230402,31.493894],[121.23081,31.491022],[121.230958,31.490036],[121.230549,31.48966],[121.229942,31.489688],[121.2293,31.490036],[121.228545,31.489833],[121.227937,31.48902],[121.226895,31.487658],[121.226314,31.486874],[121.225733,31.486063],[121.225186,31.485453],[121.224431,31.484873],[121.224223,31.484061],[121.22489,31.483656],[121.22562,31.48348],[121.226392,31.48304],[121.22627,31.48203],[121.225949,31.47993],[121.225906,31.479365],[121.225342,31.479285],[121.224292,31.479648],[121.223242,31.479971],[121.222314,31.479972],[121.221749,31.479609],[121.221385,31.478841],[121.220898,31.477954],[121.220542,31.477832],[121.21872,31.477874],[121.217106,31.478076],[121.216264,31.477993],[121.214606,31.477148],[121.213313,31.477551],[121.211985,31.477682],[121.210128,31.47774],[121.209173,31.477855],[121.209173,31.478233],[121.209642,31.478552],[121.20974,31.478939],[121.210561,31.479451],[121.209902,31.481047],[121.209329,31.480826],[121.208331,31.479946],[121.205345,31.479045],[121.204009,31.478205],[121.202994,31.477596],[121.201891,31.476906],[121.201084,31.475737],[121.198939,31.474241],[121.198541,31.473798],[121.198419,31.473232],[121.198862,31.472264],[121.198783,31.471617],[121.198419,31.471255],[121.197126,31.471174],[121.195833,31.471012],[121.194782,31.470285],[121.19341,31.469962],[121.191475,31.469802],[121.190546,31.469721],[121.189817,31.469398],[121.18849,31.467966],[121.18678,31.466603],[121.184896,31.465077],[121.184696,31.464635],[121.184939,31.464151],[121.181546,31.462697],[121.181666,31.461525],[121.181666,31.460679],[121.181225,31.459993],[121.180938,31.459346],[121.180938,31.458781],[121.181102,31.458055],[121.181667,31.457165],[121.181667,31.456762],[121.181545,31.456237],[121.179731,31.455429],[121.176294,31.453331],[121.17533,31.453087],[121.174236,31.452767],[121.173108,31.45212],[121.170443,31.451151],[121.169228,31.450909],[121.167778,31.450909],[121.166927,31.451313],[121.165842,31.451717],[121.165279,31.451877],[121.164836,31.451756],[121.164228,31.451031],[121.163785,31.450384],[121.163182,31.450164],[121.161498,31.452016],[121.16093,31.451717],[121.160912,31.451717],[121.159948,31.451232],[121.15849,31.450707],[121.157561,31.450708],[121.156354,31.451514],[121.142751,31.445741],[121.143072,31.445135],[121.143315,31.444611],[121.143194,31.444287],[121.142664,31.443682],[121.142299,31.443076],[121.142465,31.442672],[121.143272,31.44126],[121.141978,31.440815],[121.142829,31.439523],[121.142283,31.439074],[121.14269,31.438638],[121.143237,31.438],[121.144114,31.437421],[121.145242,31.436696],[121.147908,31.435421],[121.150408,31.434578],[121.153915,31.434086],[121.158151,31.434056],[121.158533,31.433548],[121.158577,31.432824],[121.158552,31.432209],[121.157951,31.431886],[121.157969,31.431411],[121.158611,31.431369],[121.158577,31.430844],[121.159054,31.430803],[121.159054,31.432622],[121.159098,31.432904],[121.159419,31.433144],[121.159783,31.432904],[121.159783,31.432218],[121.159749,31.429069],[121.158776,31.429229],[121.158368,31.429271],[121.157926,31.429835],[121.15744,31.429793],[121.157405,31.429149],[121.156476,31.428906],[121.156354,31.428583],[121.156797,31.427615],[121.155226,31.42709],[121.154818,31.427817],[121.153489,31.427413],[121.15316,31.427855],[121.151831,31.427452],[121.151146,31.427451],[121.150703,31.427574],[121.149166,31.427009],[121.149166,31.426],[121.148967,31.425715],[121.148159,31.425716],[121.148037,31.425273],[121.146866,31.425152],[121.146302,31.424908],[121.146059,31.424504],[121.14658,31.423616],[121.144522,31.423456],[121.143914,31.423334],[121.143679,31.42289],[121.141657,31.422889],[121.141614,31.421518],[121.143593,31.42172],[121.144079,31.420952],[121.144686,31.420952],[121.144244,31.418289],[121.144322,31.417681],[121.144687,31.417441],[121.145086,31.417399],[121.145894,31.417562],[121.146337,31.41732],[121.146544,31.416874],[121.147065,31.416269],[121.147716,31.41623],[121.148237,31.41639],[121.148645,31.416352],[121.148845,31.415906],[121.148924,31.415503],[121.149331,31.415422],[121.149974,31.415704],[121.150381,31.415826],[121.150946,31.415663],[121.151224,31.414898],[121.15131,31.414372],[121.150903,31.413968],[121.150173,31.413767],[121.14993,31.413405],[121.15046,31.412797],[121.150903,31.412233],[121.151267,31.412233],[121.152239,31.412999],[121.152561,31.413203],[121.153246,31.412919],[121.153889,31.412313],[121.154297,31.411951],[121.154175,31.411627],[121.153403,31.411063],[121.153403,31.410699],[121.153689,31.410253],[121.153933,31.409972],[121.153325,31.409731],[121.154818,31.40763],[121.154254,31.407508],[121.152761,31.409487],[121.15066,31.408236],[121.14993,31.408074],[121.149288,31.408116],[121.148525,31.407671],[121.14921,31.40662],[121.148767,31.406419],[121.149322,31.405518],[121.148411,31.405038],[121.14737,31.404843],[121.145911,31.404037],[121.146501,31.402827],[121.146258,31.402542],[121.145416,31.402705],[121.14493,31.402584],[121.144488,31.402139],[121.144522,31.401534],[121.145008,31.40121],[121.145893,31.40113],[121.147717,31.400889],[121.147994,31.400605],[121.14816,31.399999],[121.147994,31.399797],[121.14703,31.399676],[121.145772,31.399999],[121.145052,31.40004],[121.144157,31.399759],[121.143072,31.399152],[121.143194,31.398262],[121.143758,31.397578],[121.144322,31.396931],[121.144886,31.396325],[121.143436,31.395883],[121.141978,31.395196],[121.139964,31.394428],[121.139235,31.394146],[121.139113,31.393742],[121.139556,31.393258],[121.140043,31.392772],[121.140329,31.392733],[121.140329,31.393095],[121.140441,31.393418],[121.141092,31.393175],[121.141779,31.392451],[121.142508,31.391724],[121.142065,31.391078],[121.142065,31.390754],[121.142629,31.39019],[121.143472,31.389543],[121.144122,31.389301],[121.144401,31.388736],[121.143836,31.388454],[121.143854,31.387234],[121.13683,31.385363],[121.136448,31.386352],[121.134755,31.38599],[121.135076,31.385263],[121.134026,31.3849],[121.13334,31.385384],[121.132919,31.384601],[121.133391,31.384188],[121.133606,31.383534],[121.133812,31.382959],[121.132698,31.382761],[121.128374,31.381103],[121.127158,31.38062],[121.126637,31.381466],[121.12385,31.380457],[121.119653,31.378523],[121.118667,31.380271],[121.115681,31.378849],[121.113588,31.377632],[121.111418,31.376943],[121.109125,31.376238],[121.110601,31.372931],[121.112103,31.373109],[121.112304,31.372382],[121.114456,31.372352],[121.115706,31.371047],[121.115593,31.370467],[121.114691,31.370321],[121.114057,31.370118],[121.113762,31.369567],[121.112607,31.36945],[121.109733,31.369189],[121.109065,31.368985],[121.108543,31.368666],[121.108335,31.368115],[121.108596,31.367507],[121.108222,31.366925],[121.105817,31.366432],[121.104654,31.36649],[121.104507,31.366896],[121.104263,31.368303],[121.10362,31.36818],[121.103577,31.368504],[121.103419,31.368805],[121.101936,31.368631]]]]}},{type:"Feature",properties:{id:"320583",name:"昆山市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.971392,31.495789],[120.973631,31.496191],[120.975922,31.496051],[120.979404,31.497694],[120.981972,31.499545],[120.983492,31.500694],[120.983855,31.500944],[120.984394,31.500998],[120.98482,31.500959],[120.985236,31.500732],[120.987171,31.499759],[120.987536,31.499303],[120.987718,31.498757],[120.98791,31.498183],[120.988126,31.497837],[120.988309,31.497765],[120.988551,31.49774],[120.988847,31.497848],[120.992189,31.49914],[120.993047,31.499538],[120.993743,31.499704],[120.994073,31.49965],[120.994532,31.499288],[120.995731,31.497606],[120.9977,31.496608],[120.999576,31.49463],[121.003031,31.495479],[121.006242,31.494961],[121.007301,31.495321],[121.007935,31.496701],[121.008968,31.498537],[121.011104,31.498229],[121.011928,31.497331],[121.010261,31.493706],[121.010696,31.492],[121.0133,31.489192],[121.015626,31.486252],[121.015679,31.484431],[121.01146,31.481508],[121.011511,31.479227],[121.013022,31.477079],[121.012214,31.471476],[121.011997,31.470562],[121.012336,31.469649],[121.008856,31.470369],[121.006321,31.469426],[121.008934,31.462823],[121.008916,31.460822],[121.00955,31.459145],[121.0106,31.459162],[121.012423,31.458288],[121.015488,31.456532],[121.018656,31.455545],[121.022128,31.454951],[121.018005,31.451018],[121.014871,31.449544],[121.015974,31.44737],[121.016478,31.444664],[121.016504,31.443375],[121.017119,31.442736],[121.018074,31.440298],[121.018725,31.438243],[121.022658,31.437529],[121.022997,31.435209],[121.026322,31.434745],[121.033138,31.435731],[121.033438,31.435748],[121.037278,31.43633],[121.039153,31.433131],[121.042531,31.42983],[121.045101,31.429743],[121.046629,31.428215],[121.048703,31.429926],[121.054946,31.433637],[121.060424,31.43419],[121.062543,31.425729],[121.066112,31.425261],[121.06777,31.426145],[121.071121,31.428155],[121.073857,31.43003],[121.075272,31.43153],[121.076696,31.433245],[121.07766,31.43485],[121.078571,31.436084],[121.079396,31.436915],[121.080064,31.437423],[121.080925,31.437719],[121.081888,31.437905],[121.082504,31.437799],[121.08339,31.437086],[121.084058,31.436551],[121.085162,31.435634],[121.087219,31.434211],[121.088348,31.433328],[121.089355,31.43216],[121.090215,31.430876],[121.091196,31.428666],[121.091726,31.427467],[121.092646,31.426738],[121.093574,31.426159],[121.093827,31.425837],[121.094114,31.424108],[121.084945,31.418108],[121.085239,31.417058],[121.090527,31.415694],[121.090319,31.41514],[121.090223,31.414678],[121.090223,31.413517],[121.09005,31.412706],[121.08952,31.411982],[121.088713,31.410497],[121.087445,31.408698],[121.086499,31.407162],[121.086177,31.406044],[121.085925,31.405298],[121.085413,31.404738],[121.084449,31.403829],[121.084076,31.403049],[121.083781,31.40182],[121.083703,31.401053],[121.083564,31.400514],[121.083555,31.399954],[121.083824,31.399231],[121.08392,31.398639],[121.083903,31.398111],[121.083711,31.397685],[121.083277,31.397311],[121.082739,31.396913],[121.08194,31.396708],[121.081124,31.396642],[121.081002,31.396466],[121.081081,31.396279],[121.081654,31.396137],[121.082157,31.395885],[121.082496,31.395566],[121.082878,31.3947],[121.083191,31.39423],[121.08365,31.393954],[121.084189,31.393638],[121.084892,31.392879],[121.085708,31.391782],[121.086594,31.390598],[121.086785,31.390292],[121.087115,31.390097],[121.087731,31.389738],[121.087965,31.389426],[121.088226,31.388844],[121.088365,31.388339],[121.08873,31.388131],[121.089303,31.388098],[121.089946,31.388087],[121.090252,31.388108],[121.090226,31.389855],[121.09225,31.390351],[121.092161,31.391341],[121.092609,31.391501],[121.092468,31.392833],[121.094232,31.393366],[121.094603,31.392143],[121.09472,31.392057],[121.098117,31.381677],[121.098603,31.381546],[121.099131,31.379536],[121.098572,31.379198],[121.101936,31.368631],[121.101989,31.367981],[121.101914,31.367635],[121.102127,31.366323],[121.102613,31.365112],[121.103012,31.364064],[121.103335,31.363216],[121.103621,31.362245],[121.1033,31.361118],[121.103256,31.360228],[121.103334,31.359663],[121.103456,31.359097],[121.102649,31.358977],[121.102891,31.357927],[121.102648,31.35704],[121.102735,31.356553],[121.103334,31.356352],[121.103785,31.355828],[121.103577,31.355182],[121.103334,31.354698],[121.103699,31.352437],[121.104506,31.352558],[121.105878,31.353123],[121.10653,31.353325],[121.106894,31.353164],[121.107215,31.352316],[121.107902,31.352275],[121.109594,31.35264],[121.11133,31.353287],[121.112624,31.353489],[121.113353,31.353204],[121.113675,31.352074],[121.114682,31.350863],[121.11549,31.349815],[121.115576,31.34937],[121.115004,31.34929],[121.112703,31.348925],[121.113354,31.345251],[121.115776,31.345171],[121.116784,31.34505],[121.117912,31.344687],[121.119327,31.344567],[121.12175,31.344729],[121.123165,31.345173],[121.124944,31.345698],[121.12583,31.346021],[121.125917,31.345651],[121.125656,31.344954],[121.125743,31.344403],[121.126064,31.34391],[121.126203,31.343331],[121.125917,31.342808],[121.125248,31.342054],[121.125309,31.341472],[121.12557,31.340776],[121.125943,31.340429],[121.125769,31.339791],[121.125657,31.339212],[121.12583,31.338573],[121.125856,31.337963],[121.12531,31.337441],[121.125222,31.33692],[121.125509,31.336514],[121.126325,31.336165],[121.126238,31.335468],[121.126463,31.334569],[121.126541,31.333927],[121.12734,31.333932],[121.127974,31.333786],[121.128235,31.333439],[121.128123,31.332482],[121.128878,31.331987],[121.128939,31.331437],[121.128643,31.33051],[121.127254,31.330451],[121.12722,31.329841],[121.127627,31.329349],[121.128669,31.329145],[121.128964,31.328305],[121.128704,31.327404],[121.128183,31.327289],[121.127479,31.327462],[121.126932,31.327261],[121.126845,31.326302],[121.126846,31.325635],[121.127037,31.325068],[121.126472,31.324761],[121.126602,31.324218],[121.126212,31.323782],[121.12583,31.323614],[121.124684,31.323608],[121.12432,31.322977],[121.12438,31.322585],[121.124641,31.322128],[121.124006,31.321364],[121.123313,31.321392],[121.122644,31.321132],[121.122357,31.320407],[121.12247,31.319419],[121.12247,31.318753],[121.123252,31.318521],[121.123633,31.317883],[121.123598,31.317069],[121.123573,31.316461],[121.124033,31.316084],[121.123859,31.315329],[121.123486,31.314749],[121.123364,31.313705],[121.123894,31.313387],[121.124502,31.313126],[121.124267,31.312024],[121.124788,31.31156],[121.124849,31.310745],[121.125171,31.310138],[121.124528,31.309354],[121.124588,31.308252],[121.125109,31.306918],[121.125309,31.305757],[121.125023,31.305119],[121.125343,31.304421],[121.126707,31.304249],[121.127549,31.304016],[121.129173,31.303901],[121.135059,31.304831],[121.134737,31.306572],[121.134365,31.30747],[121.134886,31.308109],[121.13709,31.309729],[121.139191,31.311546],[121.142323,31.307782],[121.143569,31.305184],[121.142563,31.304683],[121.141863,31.304588],[121.142489,31.303165],[121.144543,31.303205],[121.146215,31.300879],[121.144357,31.300735],[121.144253,31.300342],[121.143211,31.300056],[121.143428,31.299304],[121.14474,31.299554],[121.144952,31.298712],[121.145694,31.298801],[121.14595,31.29807],[121.146893,31.29829],[121.146941,31.298232],[121.148151,31.295944],[121.146536,31.295765],[121.146718,31.293799],[121.147464,31.29387],[121.148003,31.293585],[121.148324,31.293263],[121.148576,31.291833],[121.150124,31.291923],[121.150163,31.29051],[121.150264,31.290417],[121.150503,31.290429],[121.151779,31.290453],[121.151835,31.289282],[121.153785,31.289143],[121.153967,31.289519],[121.154749,31.289544],[121.15638,31.286621],[121.156736,31.28587],[121.156146,31.285517],[121.155876,31.284955],[121.154454,31.284503],[121.154852,31.283457],[121.153758,31.283056],[121.152682,31.282975],[121.150981,31.282636],[121.15092,31.281476],[121.15092,31.280315],[121.149817,31.279502],[121.149653,31.278613],[121.149175,31.278518],[121.145824,31.277308],[121.143723,31.277243],[121.140633,31.277154],[121.138414,31.277326],[121.138298,31.279519],[121.136815,31.279628],[121.136571,31.278593],[121.136402,31.278528],[121.135112,31.278785],[121.133786,31.279158],[121.133009,31.279445],[121.133441,31.280598],[121.131266,31.281487],[121.130576,31.280208],[121.129091,31.280732],[121.129589,31.282102],[121.129291,31.282267],[121.127079,31.283205],[121.12645,31.281947],[121.122604,31.283042],[121.122536,31.283507],[121.121785,31.283991],[121.119718,31.284937],[121.120407,31.28624],[121.120345,31.28626],[121.116453,31.287602],[121.116487,31.287977],[121.115754,31.287977],[121.115576,31.287213],[121.1149,31.28738],[121.114674,31.286945],[121.113101,31.287513],[121.111738,31.287478],[121.110376,31.287093],[121.109325,31.286253],[121.107857,31.284751],[121.106495,31.283562],[121.104914,31.281604],[121.103412,31.279822],[121.102049,31.278528],[121.099201,31.277148],[121.099227,31.276572],[121.10119,31.276861],[121.100825,31.275473],[121.098558,31.275928],[121.096926,31.276962],[121.094183,31.278071],[121.093436,31.279199],[121.09374,31.280661],[121.093237,31.281491],[121.09275,31.282387],[121.091951,31.285054],[121.090779,31.288819],[121.089641,31.290132],[121.08847,31.290025],[121.088964,31.291693],[121.087575,31.291019],[121.087045,31.29205],[121.085518,31.293718],[121.084172,31.293896],[121.082287,31.293539],[121.082713,31.292474],[121.082357,31.291977],[121.080082,31.28942],[121.077807,31.282744],[121.076748,31.279084],[121.079935,31.277532],[121.078363,31.274682],[121.077538,31.273365],[121.07581,31.271986],[121.074569,31.271713],[121.072034,31.271554],[121.068135,31.270982],[121.065843,31.27037],[121.064106,31.26994],[121.0621,31.269792],[121.058662,31.269756],[121.057881,31.269303],[121.05769,31.268566],[121.058349,31.268515],[121.057794,31.26442],[121.057368,31.2598],[121.058072,31.259555],[121.057577,31.258975],[121.057507,31.257889],[121.056657,31.257558],[121.056726,31.256998],[121.057333,31.257015],[121.057317,31.254828],[121.056935,31.251642],[121.056236,31.25008],[121.056405,31.248352],[121.055111,31.248597],[121.054538,31.249105],[121.053574,31.248912],[121.053108,31.248623],[121.053733,31.248019],[121.0542,31.248265],[121.055233,31.247775],[121.05578,31.24728],[121.056251,31.247217],[121.056507,31.247226],[121.056601,31.247225],[121.056677,31.247215],[121.056758,31.247192],[121.056921,31.247129],[121.057074,31.247109],[121.05769,31.248233],[121.058576,31.248403],[121.059764,31.247994],[121.059565,31.24687],[121.059591,31.245443],[121.060477,31.245],[121.060138,31.244012],[121.058983,31.24408],[121.058983,31.242856],[121.05953,31.241324],[121.059322,31.240303],[121.057482,31.239962],[121.056665,31.239689],[121.057386,31.238022],[121.057421,31.237105],[121.058029,31.23656],[121.059149,31.237003],[121.059088,31.236016],[121.059973,31.236015],[121.059999,31.234824],[121.062795,31.23479],[121.062795,31.233802],[121.062587,31.232783],[121.061198,31.233054],[121.060069,31.232646],[121.060442,31.230501],[121.060138,31.22914],[121.058228,31.228834],[121.058311,31.227878],[121.05836,31.227784],[121.058207,31.227132],[121.058054,31.226536],[121.058202,31.226032],[121.058613,31.225769],[121.058603,31.225591],[121.058501,31.225193],[121.058717,31.224951],[121.058839,31.224819],[121.058801,31.22443],[121.0588,31.223777],[121.058857,31.223272],[121.059039,31.222523],[121.059185,31.221678],[121.059306,31.221158],[121.05956,31.220144],[121.059754,31.219269],[121.059879,31.218575],[121.059911,31.218151],[121.060173,31.217413],[121.06031,31.217066],[121.060402,31.216625],[121.060393,31.216189],[121.060565,31.215851],[121.060678,31.215268],[121.060816,31.214335],[121.061032,31.213745],[121.061194,31.212786],[121.061311,31.211997],[121.061454,31.211255],[121.061607,31.210383],[121.061985,31.209004],[121.062465,31.206668],[121.062692,31.205453],[121.06286,31.204636],[121.063224,31.202873],[121.063521,31.202355],[121.064024,31.201128],[121.064239,31.200483],[121.064627,31.198394],[121.063699,31.198575],[121.062228,31.19902],[121.062022,31.199065],[121.062213,31.196843],[121.065009,31.197184],[121.065522,31.195483],[121.067597,31.195041],[121.06797,31.193406],[121.067258,31.193305],[121.066025,31.19317],[121.066303,31.192285],[121.065756,31.19174],[121.065756,31.190615],[121.066876,31.19031],[121.066919,31.189578],[121.067146,31.188697],[121.067093,31.187836],[121.066268,31.187492],[121.064167,31.186776],[121.064888,31.184773],[121.070393,31.186259],[121.070992,31.184724],[121.066633,31.183346],[121.066815,31.181355],[121.069637,31.178103],[121.070836,31.175323],[121.067936,31.174581],[121.06817,31.173507],[121.067528,31.173138],[121.067328,31.172397],[121.067796,31.17149],[121.070874,31.172198],[121.072702,31.167898],[121.072772,31.16642],[121.068535,31.165143],[121.069108,31.163598],[121.072199,31.164505],[121.072537,31.163767],[121.072467,31.162592],[121.07146,31.162424],[121.072433,31.160341],[121.069246,31.158964],[121.069039,31.158359],[121.068439,31.158157],[121.06797,31.157486],[121.068439,31.15574],[121.067458,31.155403],[121.066824,31.157317],[121.065981,31.157015],[121.06632,31.155402],[121.063898,31.154864],[121.063195,31.154193],[121.064366,31.151396],[121.06454,31.1506],[121.063863,31.150163],[121.061145,31.1505],[121.060842,31.151305],[121.061519,31.151876],[121.061484,31.15285],[121.059565,31.152747],[121.059496,31.154059],[121.058125,31.154026],[121.057985,31.155032],[121.05584,31.15493],[121.052819,31.154695],[121.0511,31.153721],[121.051274,31.152579],[121.049285,31.152781],[121.047341,31.152411],[121.045726,31.152645],[121.045562,31.153922],[121.044589,31.15654],[121.04089,31.15597],[121.040725,31.153517],[121.038911,31.152577],[121.036957,31.151772],[121.037026,31.148883],[121.037869,31.148346],[121.039006,31.148413],[121.040247,31.147474],[121.038302,31.143039],[121.037295,31.140856],[121.036253,31.139545],[121.034136,31.138875],[121.033597,31.139813],[121.032729,31.139445],[121.031757,31.139342],[121.031618,31.142299],[121.029673,31.143138],[121.0291,31.143575],[121.028597,31.14418],[121.026678,31.143641],[121.0243,31.14324],[121.023996,31.143945],[121.024325,31.144449],[121.023891,31.145859],[121.022251,31.145757],[121.022719,31.14465],[121.022147,31.144616],[121.021773,31.144077],[121.021209,31.142768],[121.018448,31.142935],[121.017815,31.142467],[121.018353,31.140316],[121.014855,31.136588],[121.014046,31.136116],[121.012606,31.136017],[121.002866,31.135478],[120.986912,31.135279],[120.981374,31.133969],[120.979594,31.133834],[120.970185,31.135784],[120.948427,31.140455],[120.926166,31.143649],[120.91747,31.140258],[120.912766,31.138445],[120.908469,31.137673],[120.904235,31.136936],[120.902256,31.136533],[120.901249,31.136466],[120.89507,31.138313],[120.893864,31.138181],[120.877139,31.136973],[120.876203,31.136403],[120.874588,31.13563],[120.873529,31.134647],[120.872271,31.133738],[120.87063,31.131712],[120.869233,31.130279],[120.868183,31.129405],[120.867385,31.127938],[120.866854,31.126051],[120.866854,31.123778],[120.866429,31.121961],[120.864547,31.119511],[120.861795,31.116992],[120.860849,31.116387],[120.859842,31.116086],[120.859061,31.115506],[120.858071,31.114745],[120.857194,31.113137],[120.85604,31.111566],[120.854677,31.110936],[120.853732,31.110761],[120.853897,31.109893],[120.852725,31.107217],[120.852672,31.106134],[120.851579,31.10732],[120.845025,31.113073],[120.837578,31.118691],[120.833672,31.120619],[120.818576,31.124953],[120.815582,31.126778],[120.811172,31.133778],[120.808933,31.144741],[120.808941,31.149934],[120.810469,31.152819],[120.819011,31.15329],[120.81836,31.161809],[120.818082,31.161758],[120.817692,31.162183],[120.818864,31.167479],[120.817926,31.170581],[120.812683,31.175108],[120.811641,31.175701],[120.811685,31.177172],[120.811623,31.179944],[120.812066,31.183001],[120.812769,31.184965],[120.813429,31.186658],[120.814167,31.188049],[120.817006,31.190042],[120.819072,31.190796],[120.821424,31.191608],[120.823212,31.192246],[120.825304,31.192333],[120.827222,31.192546],[120.829436,31.192502],[120.831241,31.192246],[120.832778,31.191699],[120.833838,31.191358],[120.835408,31.191393],[120.836398,31.192007],[120.837318,31.19303],[120.837865,31.194327],[120.838307,31.197157],[120.838508,31.199375],[120.83895,31.20051],[120.8398,31.201766],[120.841432,31.203676],[120.842638,31.204904],[120.844028,31.206486],[120.845633,31.20725],[120.847109,31.207768],[120.849131,31.208261],[120.850416,31.20886],[120.851518,31.209472],[120.854139,31.211709],[120.855007,31.2128],[120.856179,31.213646],[120.857221,31.214029],[120.859512,31.213863],[120.86242,31.213926],[120.865935,31.213995],[120.867705,31.213926],[120.870196,31.212936],[120.873165,31.211947],[120.875021,31.211469],[120.877712,31.212018],[120.879474,31.212827],[120.883519,31.214331],[120.887537,31.215891],[120.891876,31.216702],[120.89323,31.217192],[120.893837,31.217942],[120.894054,31.218865],[120.894115,31.219438],[120.894167,31.21969],[120.894462,31.219917],[120.894905,31.220132],[120.895929,31.22043],[120.896329,31.220525],[120.897136,31.221123],[120.897231,31.221863],[120.896806,31.223645],[120.895461,31.225079],[120.895114,31.225685],[120.894757,31.226276],[120.894714,31.226657],[120.895113,31.227197],[120.89572,31.227836],[120.896736,31.228294],[120.897049,31.228293],[120.897228,31.228724],[120.897358,31.230147],[120.897271,31.231655],[120.897035,31.232604],[120.896348,31.233196],[120.895495,31.233448],[120.894411,31.234918],[120.893569,31.23696],[120.893065,31.238453],[120.892874,31.238691],[120.891902,31.239012],[120.89054,31.239779],[120.888388,31.241576],[120.887234,31.241364],[120.886105,31.240554],[120.885081,31.240414],[120.884377,31.240555],[120.883492,31.247237],[120.883666,31.248513],[120.884369,31.249288],[120.886382,31.24992],[120.887259,31.250414],[120.88758,31.251048],[120.887545,31.252034],[120.886981,31.253056],[120.885905,31.254057],[120.883188,31.254375],[120.882703,31.25463],[120.882469,31.254969],[120.881305,31.257313],[120.877765,31.266051],[120.876997,31.266743],[120.877019,31.267207],[120.877174,31.267977],[120.876871,31.269823],[120.876914,31.270223],[120.877024,31.270601],[120.87748,31.271246],[120.878225,31.272503],[120.878427,31.272588],[120.880075,31.272571],[120.880358,31.273406],[120.87947,31.273507],[120.878775,31.273416],[120.87661,31.273623],[120.876625,31.273809],[120.876781,31.274756],[120.876795,31.275579],[120.876566,31.277966],[120.878094,31.277956],[120.878595,31.278023],[120.879951,31.280088],[120.879871,31.280399],[120.879677,31.28052],[120.876537,31.280447],[120.876464,31.282445],[120.878751,31.282394],[120.880165,31.282283],[120.88008,31.282887],[120.88004,31.283739],[120.879939,31.28479],[120.876852,31.284524],[120.877147,31.286313],[120.875063,31.286255],[120.875051,31.287973],[120.87497,31.288392],[120.874763,31.28911],[120.87425,31.290238],[120.873866,31.291326],[120.873472,31.292989],[120.87269,31.293171],[120.871757,31.293153],[120.867934,31.293788],[120.867001,31.294438],[120.866847,31.294711],[120.866823,31.301276],[120.865334,31.302967],[120.864852,31.304921],[120.863892,31.307034],[120.863608,31.307504],[120.862756,31.308545],[120.860603,31.311994],[120.858505,31.315434],[120.857455,31.319453],[120.855919,31.323333],[120.85361,31.328682],[120.850746,31.334345],[120.850077,31.335743],[120.850043,31.336372],[120.849556,31.339799],[120.849321,31.340655],[120.847572,31.346165],[120.845808,31.352721],[120.842191,31.366427],[120.840398,31.366073],[120.839185,31.368739],[120.835974,31.368092],[120.833897,31.369957],[120.833814,31.370167],[120.835921,31.370444],[120.83623,31.370553],[120.836984,31.370749],[120.836094,31.373038],[120.830705,31.372274],[120.82996,31.372291],[120.829346,31.372117],[120.828576,31.37191],[120.82882,31.371325],[120.826376,31.371093],[120.826304,31.371357],[120.825692,31.372679],[120.823625,31.372381],[120.82291,31.373737],[120.815147,31.371689],[120.815985,31.375501],[120.818594,31.377099],[120.818247,31.378029],[120.817475,31.382053],[120.81697,31.386775],[120.817647,31.391666],[120.821528,31.419666],[120.826067,31.436966],[120.82481,31.441084],[120.823212,31.446316],[120.821112,31.466705],[120.819827,31.470846],[120.81967,31.473302],[120.819983,31.477851],[120.81796,31.485624],[120.814949,31.490038],[120.814098,31.49105],[120.812692,31.491375],[120.812344,31.492275],[120.810365,31.493229],[120.809966,31.494806],[120.810217,31.49651],[120.810842,31.497812],[120.81119,31.49894],[120.811433,31.499713],[120.811441,31.499735],[120.811467,31.499816],[120.811474,31.499847],[120.813368,31.505854],[120.812796,31.506028],[120.81059,31.505678],[120.804002,31.504874],[120.803697,31.505127],[120.803551,31.505453],[120.803551,31.507531],[120.803428,31.509235],[120.803576,31.510762],[120.80355,31.511815],[120.803429,31.513067],[120.803403,31.514621],[120.80335,31.515724],[120.804601,31.516774],[120.809878,31.521091],[120.810833,31.521611],[120.811051,31.521666],[120.819167,31.521697],[120.820878,31.521824],[120.824479,31.521951],[120.825096,31.521994],[120.830443,31.522013],[120.833846,31.52235],[120.835608,31.522562],[120.838498,31.522683],[120.842387,31.523226],[120.84473,31.522969],[120.844791,31.521961],[120.844539,31.519333],[120.842274,31.518556],[120.8423,31.517095],[120.845182,31.515313],[120.846206,31.513879],[120.846753,31.511769],[120.846614,31.509866],[120.84868,31.50989],[120.850416,31.508883],[120.85197,31.508188],[120.856214,31.508123],[120.859694,31.507144],[120.860927,31.513765],[120.865066,31.512525],[120.866421,31.513126],[120.867739,31.515202],[120.868148,31.518915],[120.870622,31.51892],[120.87043,31.51998],[120.870526,31.520809],[120.870891,31.521474],[120.871255,31.52257],[120.871688,31.523001],[120.872487,31.523398],[120.873086,31.523863],[120.873416,31.524362],[120.873468,31.525074],[120.873667,31.526102],[120.874128,31.527363],[120.874328,31.529188],[120.874328,31.530317],[120.874527,31.530716],[120.87451,31.531595],[120.874519,31.532687],[120.876567,31.532254],[120.879084,31.531566],[120.881096,31.531598],[120.882537,31.532442],[120.882104,31.534177],[120.881879,31.535903],[120.885081,31.5348],[120.887181,31.535989],[120.888709,31.536753],[120.891998,31.536647],[120.894974,31.536856],[120.895833,31.537537],[120.89533,31.53852],[120.894506,31.543052],[120.896008,31.541921],[120.897032,31.54165],[120.898073,31.541072],[120.900251,31.540297],[120.898637,31.537962],[120.891746,31.530474],[120.895955,31.52781],[120.904807,31.531345],[120.907637,31.529803],[120.91011,31.527112],[120.90879,31.525775],[120.908748,31.523789],[120.910223,31.522084],[120.913199,31.520162],[120.913304,31.521185],[120.913573,31.521998],[120.91451,31.523075],[120.915994,31.524025],[120.919396,31.525617],[120.921783,31.526274],[120.923405,31.526851],[120.924482,31.527821],[120.925922,31.529105],[120.927736,31.530286],[120.929542,31.531361],[120.931954,31.532645],[120.932588,31.532699],[120.933074,31.532142],[120.933759,31.528989],[120.934419,31.528116],[120.934853,31.528042],[120.93612,31.525475],[120.93704,31.5188],[120.942456,31.51976],[120.943297,31.515283],[120.948704,31.514431],[120.949537,31.511586],[120.950214,31.510048],[120.951135,31.509286],[120.95254,31.509201],[120.952861,31.505941],[120.954146,31.499777],[120.9603,31.500966],[120.962946,31.502982],[120.966645,31.49809],[120.967659,31.497936],[120.971392,31.495789]]]]}},{type:"Feature",properties:{id:"320581",name:"常熟市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.600833,31.5482],[120.598819,31.548986],[120.59508,31.550591],[120.594446,31.557265],[120.593352,31.565989],[120.592146,31.571814],[120.592139,31.571836],[120.592136,31.571859],[120.591773,31.573616],[120.590609,31.576941],[120.590375,31.578136],[120.5889,31.579517],[120.585559,31.582957],[120.582847,31.585515],[120.580049,31.58726],[120.575181,31.587661],[120.569621,31.588061],[120.566205,31.587772],[120.564244,31.586972],[120.56319,31.5861],[120.566727,31.581931],[120.568817,31.579582],[120.567065,31.578781],[120.564027,31.5784],[120.559391,31.581693],[120.557601,31.581205],[120.556415,31.580693],[120.554299,31.579275],[120.552809,31.5787],[120.552796,31.578694],[120.552783,31.57869],[120.548811,31.577159],[120.546997,31.57688],[120.54595,31.577089],[120.543727,31.578672],[120.542574,31.581752],[120.54351,31.585357],[120.540803,31.587785],[120.538798,31.603802],[120.539206,31.6048],[120.541974,31.606757],[120.548839,31.607691],[120.552806,31.602393],[120.55481,31.602709],[120.56224,31.604032],[120.562379,31.605766],[120.564114,31.608286],[120.563489,31.608797],[120.562899,31.611274],[120.565798,31.611555],[120.568896,31.613876],[120.57287,31.616276],[120.574693,31.61593],[120.577072,31.615745],[120.578208,31.615571],[120.580274,31.615556],[120.581237,31.615254],[120.582209,31.614984],[120.583684,31.614826],[120.585967,31.613921],[120.587295,31.613618],[120.588128,31.613732],[120.589473,31.614142],[120.590879,31.614914],[120.592068,31.615425],[120.592849,31.616044],[120.593927,31.617051],[120.594712,31.617545],[120.596407,31.619242],[120.595722,31.620158],[120.587902,31.627161],[120.589351,31.629856],[120.591373,31.633518],[120.586773,31.637497],[120.585384,31.638648],[120.586895,31.640474],[120.59166,31.645884],[120.590227,31.647533],[120.587928,31.652404],[120.582435,31.653941],[120.579224,31.654078],[120.567508,31.657887],[120.560616,31.657567],[120.556824,31.657785],[120.555903,31.658396],[120.555612,31.658193],[120.555473,31.658238],[120.555397,31.658414],[120.555274,31.658813],[120.554368,31.659415],[120.554333,31.660596],[120.562561,31.662031],[120.563003,31.663599],[120.564391,31.667281],[120.56399,31.668291],[120.564053,31.669068],[120.564203,31.669708],[120.564173,31.669798],[120.563533,31.669798],[120.563454,31.670417],[120.564033,31.670468],[120.564123,31.670068],[120.564372,31.670047],[120.564533,31.670698],[120.563043,31.670658],[120.562313,31.671628],[120.562853,31.671707],[120.562852,31.672197],[120.563663,31.672328],[120.562703,31.673848],[120.562743,31.673987],[120.562933,31.674098],[120.562923,31.674238],[120.563753,31.674648],[120.564933,31.674427],[120.565193,31.675228],[120.565153,31.675298],[120.564113,31.675507],[120.563433,31.675367],[120.563383,31.675497],[120.563493,31.676458],[120.562943,31.676638],[120.563103,31.677697],[120.562144,31.678248],[120.562704,31.679428],[120.562334,31.679598],[120.562374,31.679668],[120.562133,31.679788],[120.562143,31.680418],[120.562294,31.680478],[120.56239,31.680777],[120.560784,31.681118],[120.559683,31.680598],[120.559554,31.680748],[120.559924,31.681008],[120.559405,31.682408],[120.559134,31.682549],[120.558744,31.682528],[120.558615,31.682609],[120.558779,31.682777],[120.559084,31.683039],[120.559154,31.683289],[120.559284,31.683418],[120.559904,31.683398],[120.560084,31.683508],[120.560624,31.683939],[120.561853,31.685218],[120.561974,31.686248],[120.561994,31.687498],[120.562614,31.687368],[120.563813,31.687308],[120.563823,31.687898],[120.56347,31.688007],[120.563943,31.689238],[120.564083,31.689297],[120.564943,31.688897],[120.565403,31.689487],[120.566272,31.690357],[120.566163,31.690638],[120.565823,31.691017],[120.565882,31.691077],[120.566422,31.691397],[120.568182,31.691807],[120.572622,31.691576],[120.572652,31.692016],[120.572391,31.692106],[120.572342,31.691927],[120.572161,31.691936],[120.572161,31.692136],[120.571922,31.692166],[120.571902,31.692596],[120.571472,31.692646],[120.571472,31.693056],[120.571591,31.693066],[120.571601,31.693276],[120.571091,31.693366],[120.571031,31.693616],[120.571252,31.693627],[120.571371,31.693936],[120.572451,31.693206],[120.573311,31.692365],[120.57382,31.692146],[120.574151,31.692066],[120.574177,31.692125],[120.574495,31.693598],[120.573868,31.693823],[120.574154,31.694739],[120.573721,31.694836],[120.573751,31.695685],[120.573791,31.695816],[120.573897,31.695821],[120.576121,31.695405],[120.58071,31.694934],[120.580929,31.695714],[120.581299,31.695694],[120.582219,31.697494],[120.582439,31.697514],[120.582819,31.698293],[120.582999,31.698354],[120.583969,31.698054],[120.584109,31.698143],[120.584869,31.699513],[120.584859,31.699593],[120.584109,31.699873],[120.584222,31.700182],[120.585019,31.700013],[120.585168,31.700484],[120.583779,31.701083],[120.584019,31.701474],[120.585619,31.700993],[120.587178,31.702403],[120.587318,31.702453],[120.587606,31.702203],[120.588598,31.702943],[120.589697,31.704412],[120.589627,31.704782],[120.590958,31.706842],[120.591087,31.707172],[120.591527,31.707733],[120.591957,31.707833],[120.592017,31.707662],[120.591607,31.707473],[120.591527,31.707193],[120.592297,31.707352],[120.592277,31.707752],[120.593617,31.708132],[120.593806,31.708442],[120.593817,31.708692],[120.596032,31.709002],[120.596607,31.710974],[120.594879,31.712843],[120.592589,31.712951],[120.586626,31.715123],[120.585637,31.71624],[120.583468,31.716254],[120.580881,31.716556],[120.580369,31.720046],[120.578981,31.721217],[120.578234,31.723293],[120.577497,31.729753],[120.578017,31.730322],[120.578928,31.73281],[120.580143,31.736594],[120.581393,31.737532],[120.585229,31.737065],[120.589117,31.740304],[120.591087,31.73559],[120.595314,31.735893],[120.598794,31.733932],[120.604643,31.733129],[120.606761,31.732719],[120.609781,31.728259],[120.614068,31.726075],[120.617497,31.725328],[120.624422,31.724698],[120.62529,31.724434],[120.629083,31.723214],[120.636217,31.722545],[120.641416,31.725807],[120.645608,31.727245],[120.650652,31.726661],[120.654045,31.72875],[120.660217,31.735202],[120.664184,31.73505],[120.667144,31.733292],[120.667674,31.733078],[120.668029,31.733324],[120.668168,31.733527],[120.670312,31.736039],[120.671649,31.737479],[120.672673,31.738897],[120.674375,31.742216],[120.674487,31.743895],[120.674539,31.744275],[120.675043,31.744416],[120.675625,31.745031],[120.676189,31.745208],[120.67862,31.745773],[120.678836,31.746298],[120.67947,31.748782],[120.679696,31.74893],[120.681041,31.748732],[120.681224,31.748969],[120.68118,31.749642],[120.681363,31.75],[120.682092,31.750296],[120.682439,31.750755],[120.682734,31.751192],[120.683897,31.751932],[120.684392,31.752377],[120.686771,31.75242],[120.69198,31.751866],[120.692726,31.75188],[120.695921,31.753551],[120.703039,31.757693],[120.708335,31.757788],[120.71232,31.757174],[120.714083,31.760607],[120.715897,31.762443],[120.719031,31.76386],[120.718103,31.76927],[120.715324,31.774873],[120.712338,31.777759],[120.7118,31.778425],[120.717555,31.781017],[120.721176,31.784247],[120.723068,31.784036],[120.725048,31.788301],[120.726159,31.794414],[120.723789,31.796833],[120.724258,31.80127],[120.723928,31.805879],[120.721219,31.807995],[120.722721,31.812543],[120.723381,31.813937],[120.722878,31.815308],[120.720065,31.815781],[120.72424,31.820929],[120.72602,31.824136],[120.726272,31.824592],[120.729198,31.824419],[120.732011,31.828536],[120.737967,31.833844],[120.742638,31.838002],[120.742977,31.838669],[120.753178,31.832456],[120.758361,31.8293],[120.763189,31.826046],[120.781395,31.817775],[120.78643,31.814716],[120.792489,31.820702],[120.796684,31.823272],[120.798784,31.824436],[120.798984,31.824629],[120.799366,31.825013],[120.802491,31.820317],[120.852368,31.801463],[120.88561,31.829094],[120.891121,31.82191],[120.893447,31.819037],[120.912436,31.795789],[120.928674,31.788813],[120.955213,31.785103],[121.014211,31.785399],[121.030254,31.78519],[121.056022,31.78485],[121.072215,31.77877],[121.096552,31.764275],[121.0919,31.757965],[121.081775,31.746134],[121.066146,31.729236],[121.06237,31.725459],[121.058827,31.724115],[121.056223,31.719369],[121.055675,31.716773],[121.054199,31.714425],[121.050856,31.708565],[121.04945,31.703252],[121.045544,31.695454],[121.048044,31.693087],[121.050545,31.691024],[121.051768,31.689161],[121.048,31.684024],[121.047011,31.683855],[121.042608,31.686108],[121.041263,31.685922],[121.038867,31.683216],[121.037304,31.67917],[121.035029,31.676474],[121.03426,31.675505],[121.034272,31.675468],[121.034228,31.675465],[121.030801,31.671145],[121.027824,31.670393],[121.025558,31.671801],[121.020913,31.668069],[121.014367,31.663322],[121.01244,31.661128],[121.021451,31.657249],[121.028301,31.654254],[121.031973,31.651993],[121.035499,31.649461],[121.038528,31.648732],[121.041602,31.646328],[121.043329,31.643253],[121.044276,31.640951],[121.04807,31.639845],[121.050197,31.638148],[121.054304,31.637264],[121.058453,31.635074],[121.056205,31.630533],[121.052237,31.631859],[121.050371,31.627296],[121.046472,31.623159],[121.04319,31.621556],[121.041724,31.619343],[121.034926,31.612395],[121.031209,31.610264],[121.024481,31.607192],[121.019698,31.605181],[121.01422,31.600837],[121.003629,31.595119],[120.997744,31.592807],[121.004957,31.582617],[120.992232,31.574481],[120.993743,31.573122],[120.994498,31.572519],[120.995132,31.571814],[120.995808,31.570941],[120.996425,31.570001],[120.99698,31.569197],[120.997267,31.568828],[120.99718,31.568424],[120.996798,31.568089],[120.99369,31.566608],[120.978109,31.556372],[120.979585,31.550363],[120.980166,31.549208],[120.974968,31.547459],[120.97383,31.547397],[120.975636,31.545478],[120.977606,31.545174],[120.980705,31.546902],[120.982276,31.547042],[120.982831,31.545365],[120.983257,31.543244],[120.984828,31.543546],[120.986355,31.543691],[120.988812,31.544013],[120.991199,31.544303],[120.992102,31.544581],[120.992883,31.544819],[120.99336,31.544857],[120.993638,31.544707],[120.993751,31.544393],[120.994966,31.5346],[120.998222,31.530648],[121.001346,31.52528],[121.002189,31.522434],[121.002049,31.521948],[121.001902,31.521555],[121.001651,31.520983],[121.001207,31.520228],[121.000008,31.518457],[120.999966,31.518392],[120.998751,31.516623],[120.998265,31.515995],[120.997692,31.515373],[120.99646,31.51434],[120.994879,31.513123],[120.99415,31.512632],[120.991164,31.510764],[120.990878,31.510483],[120.990592,31.510112],[120.990253,31.509648],[120.989862,31.509284],[120.988317,31.50804],[120.987527,31.507383],[120.985982,31.505777],[120.983274,31.502889],[120.982666,31.502511],[120.981816,31.502036],[120.980679,31.501151],[120.980124,31.500838],[120.979056,31.500495],[120.978517,31.500298],[120.97817,31.500005],[120.976616,31.498638],[120.976347,31.498467],[120.975419,31.497943],[120.97515,31.497854],[120.974786,31.497772],[120.974499,31.497723],[120.97423,31.497631],[120.971921,31.496191],[120.971392,31.495789],[120.967659,31.497936],[120.966645,31.49809],[120.962946,31.502982],[120.9603,31.500966],[120.954146,31.499777],[120.952861,31.505941],[120.95254,31.509201],[120.951135,31.509286],[120.950214,31.510048],[120.949537,31.511586],[120.948704,31.514431],[120.943297,31.515283],[120.942456,31.51976],[120.93704,31.5188],[120.93612,31.525475],[120.934853,31.528042],[120.934419,31.528116],[120.933759,31.528989],[120.933074,31.532142],[120.932588,31.532699],[120.931954,31.532645],[120.929542,31.531361],[120.927736,31.530286],[120.925922,31.529105],[120.924482,31.527821],[120.923405,31.526851],[120.921783,31.526274],[120.919396,31.525617],[120.915994,31.524025],[120.91451,31.523075],[120.913573,31.521998],[120.913304,31.521185],[120.913199,31.520162],[120.910223,31.522084],[120.908748,31.523789],[120.90879,31.525775],[120.91011,31.527112],[120.907637,31.529803],[120.904807,31.531345],[120.895955,31.52781],[120.891746,31.530474],[120.898637,31.537962],[120.900251,31.540297],[120.898073,31.541072],[120.897032,31.54165],[120.896008,31.541921],[120.894506,31.543052],[120.89533,31.53852],[120.895833,31.537537],[120.894974,31.536856],[120.891998,31.536647],[120.888709,31.536753],[120.887181,31.535989],[120.885081,31.5348],[120.881879,31.535903],[120.882104,31.534177],[120.882537,31.532442],[120.881096,31.531598],[120.879084,31.531566],[120.876567,31.532254],[120.874519,31.532687],[120.87451,31.531595],[120.874527,31.530716],[120.874328,31.530317],[120.874328,31.529188],[120.874128,31.527363],[120.873667,31.526102],[120.873468,31.525074],[120.873416,31.524362],[120.873086,31.523863],[120.872487,31.523398],[120.871688,31.523001],[120.871255,31.52257],[120.870891,31.521474],[120.870526,31.520809],[120.87043,31.51998],[120.870622,31.51892],[120.868148,31.518915],[120.867739,31.515202],[120.866421,31.513126],[120.865066,31.512525],[120.860927,31.513765],[120.859694,31.507144],[120.856214,31.508123],[120.85197,31.508188],[120.850416,31.508883],[120.84868,31.50989],[120.846614,31.509866],[120.846753,31.511769],[120.846206,31.513879],[120.845182,31.515313],[120.8423,31.517095],[120.842274,31.518556],[120.844539,31.519333],[120.844791,31.521961],[120.84473,31.522969],[120.842387,31.523226],[120.838498,31.522683],[120.835608,31.522562],[120.833846,31.52235],[120.830443,31.522013],[120.825096,31.521994],[120.825,31.523106],[120.824896,31.524871],[120.82428,31.527999],[120.823481,31.530937],[120.822753,31.533701],[120.821997,31.53583],[120.821676,31.536658],[120.820113,31.536924],[120.81862,31.536838],[120.817362,31.53681],[120.816858,31.536471],[120.816746,31.535762],[120.81658,31.535413],[120.81586,31.53534],[120.814983,31.535615],[120.814071,31.5357],[120.812501,31.535351],[120.811086,31.534992],[120.809731,31.535023],[120.808915,31.536049],[120.806389,31.537813],[120.805356,31.538152],[120.805147,31.538171],[120.804366,31.538172],[120.80434,31.535075],[120.804427,31.533991],[120.80434,31.532974],[120.803967,31.531891],[120.803385,31.530808],[120.802795,31.529614],[120.802092,31.528753],[120.801476,31.528204],[120.801033,31.527619],[120.800745,31.526452],[120.800764,31.524736],[120.800798,31.524189],[120.80066,31.523764],[120.800286,31.523605],[120.798853,31.523622],[120.795164,31.523574],[120.794565,31.523715],[120.794044,31.524763],[120.79282,31.5259],[120.791049,31.52612],[120.78874,31.526169],[120.786013,31.526319],[120.784095,31.526978],[120.783782,31.527824],[120.784147,31.529168],[120.784443,31.529841],[120.785128,31.531557],[120.785119,31.531857],[120.784755,31.531943],[120.783626,31.531907],[120.782246,31.531433],[120.781161,31.530843],[120.779285,31.5304],[120.778104,31.530547],[120.777175,31.53099],[120.776584,31.531875],[120.776498,31.533136],[120.776299,31.533815],[120.775595,31.534266],[120.773781,31.535058],[120.77247,31.535716],[120.771471,31.536508],[120.770386,31.537595],[120.763545,31.541812],[120.761304,31.542595],[120.760602,31.542324],[120.760246,31.54169],[120.759795,31.540106],[120.758544,31.536326],[120.758544,31.534785],[120.758804,31.533641],[120.758647,31.532877],[120.758092,31.531955],[120.757137,31.531662],[120.755696,31.531707],[120.754602,31.531774],[120.753768,31.531274],[120.753334,31.530958],[120.751137,31.531094],[120.74928,31.531273],[120.747292,31.532066],[120.744938,31.533018],[120.743758,31.533107],[120.743055,31.533289],[120.741197,31.534172],[120.73821,31.535598],[120.736787,31.536615],[120.73538,31.537565],[120.734208,31.537882],[120.732323,31.538018],[120.73103,31.538177],[120.731108,31.537248],[120.731299,31.529845],[120.731273,31.529546],[120.729745,31.529246],[120.72635,31.52922],[120.724745,31.529002],[120.724406,31.527947],[120.724284,31.525912],[120.724041,31.523876],[120.722374,31.522253],[120.719839,31.521382],[120.717694,31.521959],[120.714048,31.521681],[120.707484,31.52168],[120.705089,31.521761],[120.703951,31.521406],[120.702806,31.520319],[120.703083,31.518724],[120.702858,31.517352],[120.70225,31.515252],[120.700687,31.513216],[120.699133,31.512379],[120.698422,31.511883],[120.692795,31.501494],[120.693638,31.500392],[120.692127,31.498923],[120.691103,31.497922],[120.689939,31.497351],[120.688186,31.498189],[120.686919,31.498575],[120.684853,31.498756],[120.682517,31.498935],[120.680903,31.499228],[120.680208,31.500209],[120.680468,31.500862],[120.680417,31.501463],[120.679323,31.50171],[120.677813,31.501975],[120.677074,31.501976],[120.67625,31.501695],[120.67579,31.501142],[120.674835,31.499862],[120.673402,31.499862],[120.668272,31.500244],[120.666744,31.500107],[120.664462,31.50032],[120.662673,31.500673],[120.660417,31.500719],[120.659106,31.500689],[120.658629,31.500283],[120.657543,31.498774],[120.656606,31.497933],[120.65566,31.497978],[120.654731,31.498168],[120.653586,31.498356],[120.652284,31.498486],[120.651971,31.49899],[120.652058,31.500086],[120.652005,31.500489],[120.650781,31.501685],[120.651085,31.504504],[120.651355,31.505581],[120.650452,31.506299],[120.648481,31.506749],[120.645244,31.507738],[120.64363,31.508815],[120.643178,31.510251],[120.642735,31.512498],[120.642128,31.513145],[120.641095,31.513533],[120.639637,31.513683],[120.63896,31.514653],[120.638874,31.515821],[120.639142,31.517617],[120.639142,31.518605],[120.637615,31.518874],[120.634474,31.518874],[120.632946,31.519323],[120.631869,31.519862],[120.631869,31.521209],[120.633197,31.525001],[120.633458,31.526327],[120.63285,31.527121],[120.631643,31.527349],[120.629821,31.527426],[120.627417,31.527432],[120.622999,31.527515],[120.622322,31.527906],[120.62247,31.528924],[120.623112,31.531105],[120.624509,31.534397],[120.624882,31.537689],[120.624761,31.540727],[120.623242,31.542751],[120.622773,31.544074],[120.622782,31.545871],[120.622773,31.54746],[120.621888,31.547821],[120.619935,31.548001],[120.617783,31.549199],[120.617123,31.550354],[120.616481,31.551671],[120.615769,31.552961],[120.615188,31.553111],[120.613999,31.552629],[120.612524,31.551763],[120.611283,31.551853],[120.609781,31.552244],[120.608939,31.552152],[120.608939,31.551507],[120.609425,31.54911],[120.609364,31.548361],[120.609208,31.547988],[120.608306,31.547944],[120.600833,31.5482]]]]}},{type:"Feature",properties:{id:"320582",name:"张家港市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.5937,31.754857],[120.593456,31.757161],[120.592753,31.758303],[120.590627,31.762563],[120.584318,31.764689],[120.584491,31.764917],[120.585195,31.768317],[120.58483,31.77216],[120.584526,31.773734],[120.582261,31.779342],[120.580855,31.782717],[120.580022,31.784278],[120.576516,31.786926],[120.56677,31.79563],[120.566471,31.795896],[120.55412,31.787815],[120.55238,31.787657],[120.551582,31.788968],[120.551593,31.791095],[120.551593,31.791122],[120.551593,31.791159],[120.551595,31.791435],[120.551594,31.791455],[120.551595,31.791483],[120.551613,31.795045],[120.551595,31.795384],[120.551219,31.79617],[120.549936,31.795727],[120.54553,31.794388],[120.544638,31.794144],[120.542425,31.794245],[120.541937,31.794002],[120.541025,31.792804],[120.540203,31.791546],[120.54009,31.789212],[120.52722,31.789836],[120.526812,31.795254],[120.525953,31.795814],[120.523783,31.797115],[120.52216,31.797579],[120.519573,31.803314],[120.517883,31.805383],[120.517268,31.806441],[120.517506,31.807139],[120.516733,31.808695],[120.51712,31.812475],[120.519182,31.812048],[120.519322,31.812559],[120.520193,31.812827],[120.523949,31.815666],[120.525613,31.816722],[120.526491,31.81909],[120.524964,31.82337],[120.526968,31.829901],[120.52446,31.833395],[120.517603,31.836207],[120.513003,31.83996],[120.510016,31.843534],[120.503863,31.845677],[120.498828,31.843685],[120.498377,31.848121],[120.498322,31.848548],[120.497561,31.849172],[120.497501,31.849418],[120.497596,31.849654],[120.498106,31.850203],[120.497848,31.852197],[120.497727,31.852534],[120.497475,31.852886],[120.497235,31.853755],[120.496935,31.854366],[120.495845,31.855776],[120.495485,31.855665],[120.494685,31.856656],[120.494285,31.856416],[120.493925,31.856496],[120.493655,31.856476],[120.493386,31.856146],[120.493315,31.856136],[120.493225,31.856306],[120.493034,31.856386],[120.493135,31.856636],[120.492955,31.856776],[120.492925,31.856896],[120.493935,31.858276],[120.493045,31.858576],[120.492494,31.858626],[120.492245,31.858746],[120.491955,31.859926],[120.491074,31.860773],[120.491475,31.861436],[120.491455,31.861656],[120.491055,31.862035],[120.490424,31.863476],[120.490434,31.864136],[120.489925,31.864838],[120.487769,31.867418],[120.48638,31.873275],[120.482604,31.874735],[120.480069,31.876341],[120.466727,31.881089],[120.464234,31.881497],[120.461986,31.889664],[120.461908,31.891853],[120.450222,31.893221],[120.4449,31.893789],[120.442347,31.89432],[120.442299,31.894336],[120.442274,31.894342],[120.439326,31.895226],[120.432171,31.897424],[120.422195,31.899665],[120.420294,31.900204],[120.416916,31.901711],[120.416604,31.901837],[120.403006,31.907306],[120.398431,31.908795],[120.39776,31.909153],[120.39765,31.909173],[120.397404,31.908703],[120.396854,31.907563],[120.396579,31.907153],[120.39628,31.907263],[120.39571,31.907243],[120.393179,31.907952],[120.393139,31.908012],[120.393359,31.908432],[120.393259,31.908652],[120.392909,31.908793],[120.392758,31.909122],[120.392388,31.909313],[120.391678,31.909972],[120.391529,31.910302],[120.391289,31.910301],[120.391209,31.910231],[120.391159,31.910121],[120.391218,31.909762],[120.391188,31.909642],[120.391058,31.909552],[120.390408,31.909362],[120.389329,31.908822],[120.389129,31.908362],[120.389318,31.908021],[120.388928,31.907731],[120.388168,31.907561],[120.38733,31.907106],[120.387147,31.907291],[120.386988,31.907641],[120.386597,31.908791],[120.386327,31.909211],[120.386167,31.909721],[120.385817,31.91],[120.385367,31.910161],[120.384907,31.910051],[120.384636,31.910071],[120.384506,31.91042],[120.384107,31.91085],[120.383837,31.911011],[120.383631,31.910935],[120.383507,31.910991],[120.383376,31.910821],[120.383126,31.91092],[120.382816,31.91035],[120.380406,31.91133],[120.380357,31.91144],[120.380477,31.91352],[120.380086,31.91375],[120.379956,31.91401],[120.379846,31.914069],[120.378846,31.91402],[120.378816,31.9138],[120.378516,31.91382],[120.378196,31.91341],[120.377915,31.912749],[120.376666,31.912949],[120.376676,31.913449],[120.375947,31.91343],[120.375845,31.913999],[120.375025,31.913989],[120.375024,31.914849],[120.375745,31.914799],[120.375745,31.91522],[120.374811,31.915419],[120.374874,31.915898],[120.374615,31.915949],[120.375055,31.917989],[120.375205,31.918289],[120.375395,31.918349],[120.375526,31.918309],[120.375745,31.918589],[120.376215,31.919579],[120.375165,31.920359],[120.376334,31.920691],[120.385746,31.927655],[120.386518,31.930404],[120.385572,31.933992],[120.381257,31.937424],[120.370612,31.94354],[120.369914,31.945356],[120.369899,31.945377],[120.369896,31.945402],[120.368798,31.948253],[120.366862,31.956777],[120.364153,31.962912],[120.365967,31.992651],[120.375779,32.000106],[120.383116,32.008477],[120.399022,32.018035],[120.404639,32.020725],[120.416552,32.026431],[120.43535,32.035432],[120.458166,32.046354],[120.461057,32.047736],[120.464842,32.04727],[120.47611,32.045889],[120.490062,32.044175],[120.497873,32.043214],[120.499332,32.043035],[120.52025,32.032516],[120.548831,32.02328],[120.57491,32.014843],[120.584066,32.011881],[120.590211,32.010827],[120.604261,32.00842],[120.624144,32.003325],[120.637493,32.003131],[120.648377,32.004515],[120.648794,32.004612],[120.662309,32.00783],[120.669913,32.009637],[120.682127,32.012133],[120.698117,32.015398],[120.704021,32.016085],[120.728147,32.018883],[120.736578,32.019863],[120.743802,32.020769],[120.751155,32.021695],[120.756747,32.022397],[120.757155,32.022447],[120.766341,32.022611],[120.771732,32.020413],[120.777636,32.01801],[120.777705,32.017862],[120.783357,32.005302],[120.785684,32.000116],[120.798767,31.990481],[120.849209,31.890762],[120.853202,31.881961],[120.856092,31.875171],[120.859234,31.870064],[120.879648,31.836852],[120.88561,31.829094],[120.852368,31.801463],[120.802491,31.820317],[120.799366,31.825013],[120.798984,31.824629],[120.798784,31.824436],[120.796684,31.823272],[120.792489,31.820702],[120.78643,31.814716],[120.781395,31.817775],[120.763189,31.826046],[120.758361,31.8293],[120.753178,31.832456],[120.742977,31.838669],[120.742638,31.838002],[120.737967,31.833844],[120.732011,31.828536],[120.729198,31.824419],[120.726272,31.824592],[120.72602,31.824136],[120.72424,31.820929],[120.720065,31.815781],[120.722878,31.815308],[120.723381,31.813937],[120.722721,31.812543],[120.721219,31.807995],[120.723928,31.805879],[120.724258,31.80127],[120.723789,31.796833],[120.726159,31.794414],[120.725048,31.788301],[120.723068,31.784036],[120.721176,31.784247],[120.717555,31.781017],[120.7118,31.778425],[120.712338,31.777759],[120.715324,31.774873],[120.718103,31.76927],[120.719031,31.76386],[120.715897,31.762443],[120.714083,31.760607],[120.71232,31.757174],[120.708335,31.757788],[120.703039,31.757693],[120.695921,31.753551],[120.692726,31.75188],[120.69198,31.751866],[120.686771,31.75242],[120.684392,31.752377],[120.683897,31.751932],[120.682734,31.751192],[120.682439,31.750755],[120.682092,31.750296],[120.681363,31.75],[120.68118,31.749642],[120.681224,31.748969],[120.681041,31.748732],[120.679696,31.74893],[120.67947,31.748782],[120.678836,31.746298],[120.67862,31.745773],[120.676189,31.745208],[120.675625,31.745031],[120.675043,31.744416],[120.674539,31.744275],[120.674487,31.743895],[120.674375,31.742216],[120.672673,31.738897],[120.671649,31.737479],[120.670312,31.736039],[120.668168,31.733527],[120.668029,31.733324],[120.667674,31.733078],[120.667144,31.733292],[120.664184,31.73505],[120.660217,31.735202],[120.654045,31.72875],[120.650652,31.726661],[120.645608,31.727245],[120.641416,31.725807],[120.636217,31.722545],[120.629083,31.723214],[120.62529,31.724434],[120.624422,31.724698],[120.617497,31.725328],[120.614068,31.726075],[120.609781,31.728259],[120.606761,31.732719],[120.604643,31.733129],[120.598794,31.733932],[120.595314,31.735893],[120.591087,31.73559],[120.589117,31.740304],[120.590619,31.743271],[120.59455,31.74493],[120.595817,31.746758],[120.5937,31.754857]]]]}},{type:"Feature",properties:{id:"320509",name:"吴江区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.35377,30.893804],[120.354404,30.893928],[120.354352,30.894628],[120.355498,30.894866],[120.354838,30.898197],[120.354369,30.901747],[120.354742,30.905124],[120.354031,30.90704],[120.352937,30.909279],[120.352295,30.910952],[120.352199,30.913068],[120.352685,30.914954],[120.353162,30.920167],[120.353779,30.921424],[120.354786,30.92238],[120.35706,30.923104],[120.358068,30.92372],[120.358215,30.925094],[120.358041,30.92665],[120.355906,30.930282],[120.355532,30.932456],[120.354821,30.933959],[120.355037,30.93499],[120.356375,30.935892],[120.360359,30.939688],[120.362115,30.9418],[120.36264,30.941961],[120.362615,30.9424],[120.363807,30.943834],[120.365569,30.945475],[120.366654,30.947462],[120.36701,30.948497],[120.366523,30.94837],[120.36606,30.949472],[120.365917,30.949445],[120.365514,30.95021],[120.366457,30.950791],[120.368216,30.954366],[120.37083,30.957607],[120.381856,30.963357],[120.389818,30.964906],[120.395062,30.968002],[120.400601,30.969957],[120.408008,30.971958],[120.413843,30.973456],[120.418574,30.975626],[120.422473,30.97915],[120.424288,30.981026],[120.428386,30.986621],[120.432727,30.99337],[120.43811,31.000597],[120.442772,31.005741],[120.45339,31.016522],[120.457471,31.022329],[120.460718,31.029393],[120.480451,31.053571],[120.482222,31.056054],[120.487188,31.059779],[120.49553,31.064214],[120.536602,31.08806],[120.5512,31.096904],[120.553447,31.100187],[120.553864,31.102458],[120.554515,31.104084],[120.555948,31.105242],[120.557153,31.105846],[120.564903,31.118572],[120.585914,31.154615],[120.589811,31.159242],[120.591434,31.159754],[120.592805,31.161176],[120.594202,31.162714],[120.595391,31.163062],[120.597136,31.163062],[120.600078,31.162852],[120.602109,31.162152],[120.604313,31.162295],[120.60525,31.163942],[120.606778,31.165975],[120.608732,31.168623],[120.610215,31.170639],[120.612298,31.172808],[120.61504,31.175048],[120.617132,31.176662],[120.618789,31.178132],[120.61957,31.179107],[120.619935,31.180337],[120.620179,31.182857],[120.619996,31.184884],[120.620022,31.186946],[120.618738,31.196867],[120.618486,31.19932],[120.618382,31.201561],[120.618521,31.203517],[120.619215,31.205738],[120.619892,31.207536],[120.62023,31.208487],[120.620682,31.209337],[120.62188,31.21043],[120.625942,31.211967],[120.628276,31.212417],[120.629873,31.212903],[120.630098,31.212979],[120.630298,31.213118],[120.630351,31.213493],[120.630316,31.213775],[120.630142,31.214529],[120.629561,31.215963],[120.629152,31.217087],[120.628041,31.222774],[120.627469,31.225266],[120.62744,31.225604],[120.637598,31.226061],[120.637944,31.224745],[120.638153,31.223747],[120.639133,31.223093],[120.639828,31.223188],[120.644472,31.223874],[120.645895,31.223644],[120.646546,31.222906],[120.646911,31.221753],[120.647371,31.221336],[120.649957,31.2212],[120.650973,31.221753],[120.651754,31.222446],[120.653135,31.222582],[120.655122,31.222398],[120.656181,31.221384],[120.656363,31.218249],[120.656415,31.214973],[120.657031,31.211126],[120.658169,31.209196],[120.658862,31.208244],[120.659271,31.20789],[120.659714,31.205872],[120.660313,31.203632],[120.660434,31.202786],[120.660356,31.20202],[120.660156,31.200646],[120.660139,31.198246],[120.660373,31.197599],[120.661059,31.197217],[120.661988,31.197035],[120.663342,31.197116],[120.664713,31.197096],[120.666145,31.196993],[120.66664,31.19641],[120.667543,31.195196],[120.668646,31.192658],[120.669444,31.190136],[120.670373,31.189337],[120.671727,31.189276],[120.672708,31.190014],[120.673203,31.190874],[120.673072,31.192781],[120.673142,31.194563],[120.674548,31.195548],[120.675669,31.196607],[120.676962,31.19835],[120.677396,31.198639],[120.679565,31.198788],[120.681024,31.19899],[120.683646,31.199874],[120.684956,31.200377],[120.686015,31.200883],[120.687231,31.20164],[120.688038,31.20222],[120.689549,31.202977],[120.691163,31.203657],[120.693612,31.20396],[120.697041,31.203709],[120.701225,31.203356],[120.703604,31.203104],[120.707128,31.202751],[120.709777,31.202297],[120.713006,31.20202],[120.713023,31.201371],[120.71305,31.200223],[120.71305,31.198072],[120.713232,31.19432],[120.714525,31.191124],[120.717043,31.187311],[120.71871,31.185773],[120.719813,31.185404],[120.724492,31.189157],[120.729658,31.194014],[120.732115,31.197213],[120.734208,31.200165],[120.737037,31.203241],[120.739738,31.206377],[120.743125,31.211667],[120.744661,31.215171],[120.747309,31.217939],[120.748533,31.221259],[120.749766,31.224026],[120.750382,31.225197],[120.751181,31.225318],[120.753768,31.225013],[120.756043,31.224582],[120.758335,31.22342],[120.760957,31.221695],[120.762998,31.220895],[120.766158,31.21967],[120.771559,31.216461],[120.774258,31.214473],[120.775578,31.213201],[120.775682,31.211928],[120.774101,31.208158],[120.773234,31.206476],[120.770846,31.204642],[120.76977,31.203213],[120.769362,31.201584],[120.769466,31.199088],[120.770334,31.197153],[120.772626,31.195472],[120.78465,31.191653],[120.788627,31.190127],[120.789391,31.189462],[120.789495,31.188036],[120.789035,31.186101],[120.789442,31.184928],[120.790155,31.184317],[120.792551,31.183248],[120.804826,31.178358],[120.811641,31.175701],[120.812683,31.175108],[120.817926,31.170581],[120.818864,31.167479],[120.817692,31.162183],[120.818082,31.161758],[120.81836,31.161809],[120.819011,31.15329],[120.810469,31.152819],[120.808941,31.149934],[120.808933,31.144741],[120.811172,31.133778],[120.815582,31.126778],[120.818576,31.124953],[120.833672,31.120619],[120.837578,31.118691],[120.845025,31.113073],[120.851579,31.10732],[120.852672,31.106134],[120.85262,31.10507],[120.854373,31.103085],[120.855589,31.102529],[120.857889,31.103297],[120.858583,31.102369],[120.859824,31.102554],[120.860328,31.100621],[120.861578,31.099879],[120.865414,31.099481],[120.865649,31.101202],[120.867272,31.101574],[120.868382,31.10115],[120.869016,31.10258],[120.869728,31.102713],[120.872479,31.102209],[120.871854,31.100129],[120.874813,31.100654],[120.874085,31.098481],[120.873929,31.098029],[120.874475,31.097689],[120.878242,31.097457],[120.883336,31.096354],[120.886122,31.096266],[120.886877,31.096585],[120.886817,31.098064],[120.887077,31.099454],[120.888205,31.099773],[120.8887,31.098818],[120.888639,31.098121],[120.888032,31.09647],[120.888553,31.095107],[120.889715,31.093687],[120.891277,31.092991],[120.891946,31.091717],[120.89218,31.090007],[120.892553,31.088933],[120.893621,31.088963],[120.895157,31.089223],[120.89632,31.08899],[120.897969,31.087947],[120.897882,31.08728],[120.897535,31.086382],[120.897882,31.085687],[120.898689,31.085005],[120.900581,31.082787],[120.900884,31.081678],[120.900477,31.080815],[120.899262,31.080359],[120.897691,31.080407],[120.896467,31.080735],[120.895478,31.080653],[120.8952,31.079789],[120.89546,31.078921],[120.895435,31.077387],[120.894723,31.07281],[120.893473,31.069293],[120.891772,31.065376],[120.890479,31.060962],[120.890427,31.056197],[120.891303,31.052633],[120.892344,31.051333],[120.893074,31.050532],[120.892883,31.047889],[120.895599,31.041916],[120.897318,31.041068],[120.897838,31.039958],[120.89737,31.035805],[120.897274,31.029787],[120.897206,31.027827],[120.896849,31.024782],[120.896424,31.022753],[120.896918,31.020958],[120.897222,31.019826],[120.896233,31.019791],[120.896137,31.019251],[120.891009,31.019686],[120.890505,31.014041],[120.887484,31.012414],[120.887216,31.006071],[120.885307,31.004778],[120.876028,31.00122],[120.875967,31.000088],[120.875794,30.999853],[120.87405,30.999606],[120.872462,30.999541],[120.871438,30.999287],[120.870543,30.998656],[120.869884,30.998211],[120.869215,30.997761],[120.868963,30.997582],[120.86892,30.997571],[120.867557,30.997587],[120.866916,30.997602],[120.864936,30.997657],[120.864616,30.997665],[120.863878,30.997678],[120.863738,30.996732],[120.863652,30.996177],[120.863608,30.995968],[120.863556,30.995604],[120.863548,30.995523],[120.863314,30.994332],[120.863236,30.993709],[120.863175,30.993297],[120.863053,30.993286],[120.862819,30.993279],[120.862732,30.993288],[120.862255,30.993347],[120.861691,30.99341],[120.861438,30.993447],[120.861326,30.993466],[120.861308,30.993427],[120.861326,30.993335],[120.861369,30.993041],[120.861404,30.99282],[120.861474,30.992424],[120.8615,30.992307],[120.8615,30.992194],[120.861483,30.99212],[120.861457,30.992068],[120.861412,30.992023],[120.861335,30.991994],[120.861248,30.991971],[120.861187,30.991958],[120.861083,30.991949],[120.860701,30.991971],[120.860562,30.991975],[120.860415,30.991967],[120.860241,30.99195],[120.860137,30.991948],[120.859928,30.991964],[120.85985,30.992001],[120.859798,30.992041],[120.859772,30.992071],[120.859712,30.992188],[120.859651,30.992401],[120.859625,30.992542],[120.859608,30.992704],[120.859582,30.992776],[120.859547,30.992776],[120.859485,30.99277],[120.859321,30.99275],[120.858948,30.992675],[120.858644,30.992644],[120.858297,30.992594],[120.858201,30.992595],[120.858158,30.99259],[120.858106,30.992576],[120.858071,30.992566],[120.857958,30.992546],[120.85788,30.992501],[120.857793,30.992451],[120.85769,30.992414],[120.857594,30.992378],[120.857559,30.992397],[120.857455,30.992672],[120.857446,30.992787],[120.857082,30.993083],[120.856448,30.992894],[120.856405,30.992872],[120.856265,30.992812],[120.855884,30.992651],[120.855841,30.99264],[120.855156,30.992386],[120.85486,30.992287],[120.8546,30.992182],[120.854486,30.992138],[120.854451,30.992145],[120.854382,30.992173],[120.854313,30.992204],[120.854244,30.992241],[120.8542,30.99228],[120.854174,30.992319],[120.854088,30.992531],[120.854053,30.992572],[120.853913,30.992766],[120.853723,30.993048],[120.853445,30.993415],[120.853193,30.993703],[120.853081,30.993851],[120.85302,30.993908],[120.852933,30.994003],[120.852873,30.994064],[120.852638,30.994265],[120.852534,30.994337],[120.852352,30.994437],[120.852195,30.994545],[120.852134,30.994595],[120.851944,30.994709],[120.851709,30.994858],[120.851475,30.99498],[120.851241,30.995093],[120.851093,30.995156],[120.850997,30.995203],[120.850833,30.995266],[120.850789,30.995282],[120.850529,30.99541],[120.850364,30.995464],[120.85019,30.995517],[120.850112,30.995529],[120.850051,30.995535],[120.84986,30.995538],[120.849635,30.995525],[120.849495,30.995494],[120.849391,30.995435],[120.849157,30.995312],[120.84908,30.995256],[120.848845,30.995083],[120.848533,30.994778],[120.848367,30.994633],[120.848107,30.994418],[120.84789,30.99421],[120.847656,30.994014],[120.847387,30.993795],[120.846953,30.993383],[120.846744,30.993237],[120.84657,30.993094],[120.846067,30.992771],[120.845989,30.992706],[120.845902,30.992658],[120.84579,30.992608],[120.845615,30.992537],[120.845408,30.992465],[120.84533,30.992419],[120.845129,30.992372],[120.844713,30.99225],[120.844548,30.992211],[120.844453,30.992211],[120.844349,30.992168],[120.843932,30.992051],[120.843759,30.992001],[120.84362,30.99196],[120.843481,30.991935],[120.843385,30.991918],[120.843203,30.991884],[120.84316,30.991895],[120.843134,30.99191],[120.843082,30.991962],[120.843029,30.99203],[120.842977,30.992131],[120.842838,30.992374],[120.842743,30.99258],[120.842708,30.992667],[120.842656,30.992776],[120.842543,30.993051],[120.842491,30.993216],[120.842326,30.993721],[120.842283,30.993863],[120.84217,30.994178],[120.8421,30.994391],[120.842048,30.994485],[120.841953,30.994622],[120.841909,30.994655],[120.841823,30.994685],[120.84171,30.994753],[120.841667,30.994764],[120.841631,30.994762],[120.841519,30.994742],[120.841233,30.994653],[120.841076,30.994616],[120.840825,30.994549],[120.840616,30.994462],[120.840548,30.99444],[120.840334,30.99434],[120.840104,30.994265],[120.839962,30.994265],[120.839643,30.994345],[120.839339,30.99444],[120.839075,30.994602],[120.838788,30.994905],[120.838597,30.99516],[120.838342,30.995338],[120.837822,30.996259],[120.836979,30.997589],[120.835859,31.000094],[120.826616,31.004453],[120.818733,31.007936],[120.816641,31.00859],[120.810061,31.007973],[120.798627,31.007606],[120.776664,31.003115],[120.774562,31.001792],[120.773954,31.000092],[120.771767,30.997837],[120.770751,30.997223],[120.769622,30.99724],[120.768102,30.997548],[120.76766,30.998702],[120.76713,30.999162],[120.766332,30.999121],[120.765594,30.998785],[120.765515,30.998214],[120.765333,30.995696],[120.764839,30.994099],[120.764013,30.992905],[120.763736,30.991763],[120.763501,30.989704],[120.763709,30.987237],[120.764525,30.984302],[120.765368,30.982973],[120.765872,30.981415],[120.765846,30.980269],[120.765368,30.979475],[120.762286,30.978312],[120.758952,30.978128],[120.756348,30.977596],[120.754134,30.97671],[120.752449,30.97547],[120.751224,30.974222],[120.749376,30.971269],[120.747483,30.969632],[120.746398,30.968449],[120.745243,30.967203],[120.743689,30.965849],[120.742204,30.965236],[120.741604,30.964677],[120.738748,30.96492],[120.736753,30.965316],[120.735316,30.966267],[120.734713,30.967148],[120.734505,30.968562],[120.734041,30.969211],[120.731213,30.970324],[120.730053,30.971461],[120.729057,30.971902],[120.723259,30.97335],[120.721271,30.973721],[120.719005,30.973519],[120.71654,30.973267],[120.714335,30.97301],[120.712008,30.972762],[120.709933,30.9725],[120.707554,30.973278],[120.705774,30.974102],[120.705105,30.973883],[120.704308,30.973491],[120.703881,30.972464],[120.703526,30.971149],[120.703109,30.970122],[120.702302,30.969278],[120.701225,30.968664],[120.700019,30.968508],[120.698439,30.969156],[120.696998,30.970725],[120.695305,30.972472],[120.693915,30.973006],[120.693161,30.972101],[120.691875,30.970734],[120.69079,30.969722],[120.689783,30.969045],[120.689089,30.967562],[120.686511,30.964794],[120.685225,30.963609],[120.683811,30.962591],[120.681233,30.959415],[120.680191,30.957427],[120.683796,30.955687],[120.688312,30.954141],[120.692556,30.95298],[120.693273,30.952571],[120.694641,30.950332],[120.69481,30.950139],[120.696068,30.948429],[120.698269,30.946136],[120.699719,30.944417],[120.7012,30.942816],[120.703144,30.939706],[120.705148,30.9354],[120.706329,30.931274],[120.706868,30.928807],[120.707466,30.926219],[120.707899,30.923438],[120.708353,30.922475],[120.708379,30.921927],[120.708058,30.920108],[120.707741,30.917733],[120.707785,30.916731],[120.707569,30.914754],[120.707077,30.912978],[120.706312,30.911367],[120.705519,30.909783],[120.705437,30.908389],[120.705792,30.904892],[120.706393,30.901178],[120.707377,30.897544],[120.708306,30.893584],[120.708415,30.89088],[120.708603,30.88868],[120.708952,30.887295],[120.704073,30.886948],[120.701798,30.886583],[120.698274,30.886294],[120.696998,30.885622],[120.696442,30.884484],[120.696346,30.882932],[120.697249,30.881092],[120.698343,30.87964],[120.699116,30.878024],[120.699993,30.875207],[120.699628,30.873208],[120.697396,30.871231],[120.695652,30.870107],[120.694524,30.870125],[120.693212,30.871054],[120.692631,30.872038],[120.691372,30.872511],[120.690173,30.872364],[120.688855,30.872952],[120.688473,30.873928],[120.688369,30.87536],[120.689722,30.877008],[120.686241,30.878893],[120.683203,30.880074],[120.681884,30.880779],[120.681433,30.881475],[120.68138,30.882339],[120.681745,30.883995],[120.681224,30.884797],[120.680634,30.885212],[120.679766,30.885223],[120.678567,30.884841],[120.677543,30.883415],[120.676849,30.881996],[120.676571,30.880791],[120.675625,30.879891],[120.67335,30.879237],[120.671076,30.878691],[120.66941,30.878031],[120.668863,30.877228],[120.666102,30.87148],[120.665494,30.870647],[120.665577,30.870196],[120.665106,30.870114],[120.663577,30.868016],[120.661762,30.866551],[120.660529,30.864852],[120.659049,30.863659],[120.658898,30.863675],[120.658808,30.863766],[120.658593,30.864274],[120.65775,30.86617],[120.657592,30.866407],[120.657199,30.866772],[120.657037,30.866826],[120.656867,30.866848],[120.65671,30.866871],[120.656471,30.866951],[120.65628,30.867018],[120.656166,30.867131],[120.656019,30.867493],[120.655917,30.86764],[120.655748,30.867698],[120.655453,30.867708],[120.655262,30.867731],[120.655081,30.867776],[120.654842,30.867787],[120.654602,30.86774],[120.654489,30.867626],[120.654446,30.867315],[120.654404,30.866679],[120.654361,30.866325],[120.654278,30.866099],[120.653719,30.865456],[120.653563,30.865201],[120.653506,30.864904],[120.653563,30.864523],[120.653719,30.863971],[120.65386,30.863689],[120.653889,30.863406],[120.653818,30.863137],[120.65369,30.862896],[120.653676,30.862543],[120.653683,30.859976],[120.653626,30.859253],[120.653582,30.859049],[120.65348,30.858822],[120.653253,30.858676],[120.652869,30.858562],[120.651868,30.858375],[120.651143,30.858173],[120.65085,30.858036],[120.650669,30.857844],[120.650578,30.857516],[120.650578,30.856984],[120.650624,30.855615],[120.650663,30.854264],[120.65063,30.853619],[120.650663,30.853086],[120.650832,30.852126],[120.651002,30.851311],[120.651093,30.850644],[120.651149,30.850191],[120.651195,30.849874],[120.651149,30.849649],[120.651002,30.849501],[120.650686,30.849411],[120.650347,30.849376],[120.649804,30.849456],[120.649464,30.849547],[120.648571,30.849886],[120.648118,30.850022],[120.647632,30.850135],[120.647421,30.850161],[120.646068,30.850832],[120.643639,30.852464],[120.6412,30.85387],[120.640557,30.8544],[120.640296,30.854918],[120.640462,30.856978],[120.64053,30.857241],[120.640348,30.857504],[120.639984,30.857752],[120.639385,30.857843],[120.638278,30.857817],[120.63721,30.857714],[120.634359,30.856736],[120.632692,30.856346],[120.632041,30.856281],[120.630622,30.856789],[120.629659,30.857037],[120.628578,30.857128],[120.627705,30.857167],[120.62657,30.857799],[120.625644,30.857961],[120.624038,30.858224],[120.623527,30.858327],[120.622636,30.858441],[120.62206,30.858485],[120.621526,30.858301],[120.620417,30.857427],[120.618896,30.856029],[120.617865,30.85512],[120.61665,30.854396],[120.615628,30.854151],[120.614997,30.853756],[120.614424,30.853179],[120.613834,30.852878],[120.612745,30.852421],[120.611356,30.852027],[120.609163,30.851547],[120.606934,30.851181],[120.604488,30.850674],[120.604007,30.850796],[120.603527,30.851016],[120.602758,30.851111],[120.602006,30.85112],[120.601229,30.851129],[120.600268,30.85113],[120.599473,30.8512],[120.598861,30.851339],[120.597865,30.851628],[120.596284,30.852109],[120.594667,30.852538],[120.593375,30.852933],[120.590917,30.853903],[120.58997,30.854167],[120.58901,30.854609],[120.587271,30.854962],[120.586608,30.855179],[120.585404,30.856385],[120.58492,30.85672],[120.58482,30.856852],[120.584144,30.856232],[120.583206,30.85529],[120.582122,30.854394],[120.579449,30.852259],[120.578668,30.851155],[120.577792,30.849301],[120.57675,30.848099],[120.571812,30.845045],[120.570093,30.844005],[120.568045,30.843297],[120.565216,30.841211],[120.562552,30.839456],[120.559627,30.837929],[120.557743,30.836434],[120.555305,30.833932],[120.55442,30.831773],[120.554461,30.830753],[120.553996,30.829745],[120.553004,30.828624],[120.550394,30.826575],[120.548969,30.824701],[120.547575,30.822891],[120.545911,30.820537],[120.544598,30.81892],[120.543428,30.817543],[120.542068,30.815365],[120.540466,30.812498],[120.539074,30.810272],[120.537264,30.807966],[120.534862,30.804859],[120.532204,30.801048],[120.530138,30.798294],[120.52933,30.797057],[120.528873,30.796356],[120.526503,30.793186],[120.52583,30.792097],[120.524213,30.790063],[120.521858,30.787229],[120.521107,30.786155],[120.520274,30.784971],[120.519121,30.783176],[120.516191,30.778565],[120.513917,30.77557],[120.513132,30.774625],[120.511075,30.772351],[120.507148,30.767666],[120.506148,30.76664],[120.504868,30.765144],[120.503698,30.763901],[120.502311,30.762559],[120.501006,30.761099],[120.500079,30.760283],[120.499519,30.760149],[120.499106,30.760258],[120.498545,30.760648],[120.49796,30.761074],[120.496621,30.761684],[120.495183,30.76222],[120.493954,30.762427],[120.492625,30.762951],[120.490933,30.763596],[120.489787,30.763816],[120.488387,30.764034],[120.487265,30.764522],[120.485012,30.765678],[120.484671,30.765947],[120.484657,30.766107],[120.484646,30.766605],[120.484013,30.767068],[120.48372,30.768944],[120.482332,30.772021],[120.479883,30.775602],[120.476229,30.78062],[120.474414,30.78425],[120.474146,30.78525],[120.473245,30.786808],[120.472538,30.787807],[120.472099,30.789294],[120.471245,30.793757],[120.471201,30.794558],[120.472024,30.799756],[120.472024,30.800253],[120.472435,30.800816],[120.472691,30.801377],[120.472769,30.802224],[120.473062,30.803194],[120.472367,30.806142],[120.472344,30.80757],[120.472182,30.808376],[120.468664,30.809197],[120.468248,30.808873],[120.468248,30.80843],[120.468248,30.807998],[120.463804,30.807778],[120.463742,30.808928],[120.463712,30.809483],[120.462119,30.809493],[120.460732,30.809976],[120.46075,30.810853],[120.459949,30.811236],[120.459202,30.815611],[120.458373,30.817647],[120.453951,30.817664],[120.453094,30.822232],[120.452652,30.82325],[120.452465,30.826628],[120.45544,30.827845],[120.456273,30.829278],[120.45649,30.830417],[120.455874,30.841999],[120.454502,30.843108],[120.452731,30.844733],[120.45129,30.846697],[120.450846,30.847905],[120.449909,30.851753],[120.449128,30.85245],[120.448069,30.852807],[120.444014,30.852918],[120.441834,30.853856],[120.439473,30.855432],[120.437441,30.857402],[120.43672,30.858388],[120.436469,30.859591],[120.436534,30.860239],[120.43678,30.860732],[120.43739,30.862962],[120.439204,30.8642],[120.44338,30.867589],[120.445924,30.868651],[120.447809,30.870004],[120.448633,30.871825],[120.44793,30.873667],[120.445759,30.875355],[120.444171,30.875945],[120.44252,30.876886],[120.440107,30.879659],[120.43827,30.882157],[120.43686,30.884915],[120.434976,30.887285],[120.430669,30.88854],[120.429897,30.890039],[120.430235,30.894445],[120.430799,30.897017],[120.431746,30.898992],[120.433187,30.899789],[120.434507,30.900193],[120.435905,30.900824],[120.437164,30.901688],[120.437684,30.902664],[120.437016,30.905356],[120.434759,30.90695],[120.434081,30.907983],[120.433757,30.908708],[120.431309,30.908121],[120.430857,30.90977],[120.430364,30.909699],[120.430194,30.911197],[120.432729,30.911872],[120.432333,30.913727],[120.433058,30.914216],[120.43304,30.917049],[120.432336,30.919001],[120.431234,30.920908],[120.4304,30.922865],[120.420051,30.928653],[120.418801,30.929466],[120.416873,30.929896],[120.415475,30.929733],[120.413383,30.92758],[120.413157,30.926098],[120.414094,30.922079],[120.415796,30.916304],[120.41788,30.908505],[120.418871,30.905113],[120.419272,30.903725],[120.410491,30.902514],[120.40815,30.901504],[120.40502,30.90004],[120.402003,30.899414],[120.402216,30.898277],[120.400595,30.897922],[120.401159,30.895831],[120.400454,30.895695],[120.390052,30.892814],[120.388064,30.892898],[120.385825,30.893319],[120.383715,30.893546],[120.380041,30.89361],[120.374762,30.892823],[120.374042,30.890814],[120.372618,30.887682],[120.367704,30.887077],[120.36766,30.886354],[120.3678,30.884218],[120.361037,30.882525],[120.36003,30.882537],[120.357851,30.885122],[120.353396,30.889173],[120.352937,30.890423],[120.352902,30.890788],[120.354387,30.891619],[120.35377,30.893804]]]]}}]},e=Math.PI;function o(t,n){return t<72.004||t>137.8347||n<.8293||n>55.8271}function i(t,n){if(o(t,n))return{lng:t,lat:n};const i=6378245,r=.006693421622965943;let u=function(t,n){let o=2*t-100+3*n+.2*n*n+.1*t*n+.2*Math.sqrt(Math.abs(t));return o+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,o+=2*(20*Math.sin(n*e)+40*Math.sin(n/3*e))/3,o+=2*(160*Math.sin(n/12*e)+320*Math.sin(n*e/30))/3,o}(t-105,n-35),s=function(t,n){let o=300+t+2*n+.1*t*t+.1*t*n+.1*Math.sqrt(Math.abs(t));return o+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,o+=2*(20*Math.sin(t*e)+40*Math.sin(t/3*e))/3,o+=2*(150*Math.sin(t/12*e)+300*Math.sin(t/30*e))/3,o}(t-105,n-35);const l=n/180*e;let a=Math.sin(l);a=1-r*a*a;const c=Math.sqrt(a);return u=180*u/(i*(1-r)/(a*c)*e),s=180*s/(i/c*Math.cos(l)*e),{lng:t+s,lat:n+u}}function r(t,n){if(o(t,n))return{lng:t,lat:n};let e=t,r=n;for(let o=0;o<2;o++){const o=i(e,r);e=t-(o.lng-e),r=n-(o.lat-r)}return{lng:e,lat:r}}function u(t,n){if(t.length<=n)return s(t);const e=Math.ceil(t.length/n),o=[];for(let u=0;u=3&&n.push(u(e,130))}else if("MultiPolygon"===t.type&&Array.isArray(t.coordinates)){const e=t.coordinates;for(const t of e){const e=null==t?void 0:t[0];if(!(null==e?void 0:e.length))continue;const o=l(e);o.length>=3&&n.push(u(o,130))}}return n}const c=function(t){var n;const e={};for(const o of t.features||[]){const t=((null==(n=o.properties)?void 0:n.name)||"").trim();if(!t||!o.geometry)continue;const i=a(o.geometry);i.length&&(e[t]=i)}return e}(n),g={},f={"高新区":"虎丘区"};function p(t){const n=(t||"").trim();if(!n)return null;const e=function(t){const n=t.trim();return f[n]||n}(n),o=c[e]??g[e]??null;return o&&o.length?o:null}!function(){let t=1/0,n=-1/0,e=1/0,o=-1/0;const i=i=>{for(const r of i)for(const i of r)t=Math.min(t,i.latitude),n=Math.max(n,i.latitude),e=Math.min(e,i.longitude),o=Math.max(o,i.longitude)};for(const r of Object.values(c))i(r);for(const r of Object.values(g))i(r);!Number.isFinite(t)||n<=t||Number.isFinite(e)}();const h=new Set(["工业园区","苏州工业园区"]),y={"高新区":["虎丘区"],"虎丘区":["高新区"]};function d(t,n){const e=(t??"").trim(),o=(n??"").trim();if(!o)return!0;if(e===o)return!0;if(h.has(o)&&h.has(e))return!0;const i=y[o];return!(!i||!i.includes(e))}const m={"张家港市":10,"常熟市":10,"太仓市":10,"昆山市":10,"吴江区":10,"吴中区":9,"相城区":10,"姑苏区":11,"工业园区":11,"苏州工业园区":11,"虎丘区":10,"高新区":10};function M(t){const n=(t??"").trim();if(!n)return null;const e=m[n];return null!=e&&Number.isFinite(e)?e:null}function x(t){return{latitude:t.y,longitude:t.x}}function w(t,n,e){return(n.x-t.x)*(e.y-t.y)-(n.y-t.y)*(e.x-t.x)}function A(t,n,e){const o=n.x-t.x,i=n.y-t.y,r=Math.hypot(o,i)||1e-9,u=-i/r*e,s=o/r*e,l={x:t.x+u,y:t.y+s},a={x:n.x+u,y:n.y+s},c={x:n.x-u,y:n.y-s},g={x:t.x-u,y:t.y-s};return[x(l),x(a),x(c),x(g),x(l)]}function F(t,n=.012){const e=[];for(const u of t){const t=Number(u.lat),n=Number(u.lng);Number.isFinite(t)&&Number.isFinite(n)&&e.push({x:n,y:t})}if(0===e.length)return null;const o=t=>`${t.x.toFixed(5)},${t.y.toFixed(5)}`,i=new Set,r=[];for(const u of e){const t=o(u);i.has(t)||(i.add(t),r.push(u))}if(0===r.length)return null;if(1===r.length){const t=r[0];return l=t.y-n,a=t.y+n,c=t.x-n,g=t.x+n,[{latitude:a,longitude:c},{latitude:a,longitude:g},{latitude:l,longitude:g},{latitude:l,longitude:c},{latitude:a,longitude:c}]}var l,a,c,g;if(2===r.length)return A(r[0],r[1],Math.max(n,.008));const f=function(t){const n=t.length;if(n<=1)return t.slice();if(2===n)return[t[0],t[1]];const e=[...t].sort((t,n)=>t.x===n.x?t.y-n.y:t.x-n.x),o=[];for(const r of e){for(;o.length>=2&&w(o[o.length-2],o[o.length-1],r)<=0;)o.pop();o.push(r)}const i=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;i.length>=2&&w(i[i.length-2],i[i.length-1],t)<=0;)i.pop();i.push(t)}return o.pop(),i.pop(),o.concat(i)}(r);if(f.length<2)return null;if(2===f.length)return A(f[0],f[1],Math.max(n,.008));const p=function(t){const n=t.length||1;return{x:t.reduce((t,n)=>t+n.x,0)/n,y:t.reduce((t,n)=>t+n.y,0)/n}}(r),h=function(t,n,e){return t.map(t=>({x:n.x+(t.x-n.x)*e,y:n.y+(t.y-n.y)*e}))}(f,p,1+Math.max(.03,8*n));return u(s(h.map(x)),130)}function P(t){let n=1/0,e=-1/0,o=1/0,i=-1/0;for(const r of t)for(const t of r)n=Math.min(n,t.latitude),e=Math.max(e,t.latitude),o=Math.min(o,t.longitude),i=Math.max(i,t.longitude);return Number.isFinite(n)?{latitude:(n+e)/2,longitude:(o+i)/2}:{latitude:0,longitude:0}}export{p as a,F as b,P as c,t as d,r as g,M as m,d as v,i as w}; diff --git a/public/h5/assets/suzhouDistrictPolygons.CpNycQAn.js b/public/h5/assets/suzhouDistrictPolygons.CpNycQAn.js deleted file mode 100644 index 8e66724..0000000 --- a/public/h5/assets/suzhouDistrictPolygons.CpNycQAn.js +++ /dev/null @@ -1 +0,0 @@ -import{w as t}from"./coordChina.DSiWE9WA.js";const e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAKCAYAAABSfLWiAAAAyklEQVQokY3SPUpDQRiF4cdLXEDAIm1a3YGkDWKWIohgkS1YpFBQIdlBFmGliAiKW3ADYjRR8T98MIHLJRPuC1PMmcPL/K1tXB5tYRNv+MIUP3jBH57xi1cZGnjEEJ1cqcQ3ZvjEexp7RdpBD9c1JOtoooU2znBVpMVpEt3UEAX/2McoJkVpIc68i9saggOcL4KiUojL3MHdCskhTstBVbIQdXGfEZxUw2WSYJJED6Wsj+Nl5XjiHPE/QnSBMQa54ipJ8IRtfGQbmANeKSt76556cgAAAABJRU5ErkJggg==";function n(t,e){if(t.length<=e)return o(t);const n=Math.ceil(t.length/e),i=[];for(let o=0;o=3&&e.push(n(o,130))}else if("MultiPolygon"===t.type&&Array.isArray(t.coordinates)){const o=t.coordinates;for(const t of o){const o=null==t?void 0:t[0];if(!(null==o?void 0:o.length))continue;const r=i(o);r.length>=3&&e.push(n(r,130))}}return e}const u=function(t){var e;const n={};for(const o of t.features||[]){const t=((null==(e=o.properties)?void 0:e.name)||"").trim();if(!t||!o.geometry)continue;const i=r(o.geometry);i.length&&(n[t]=i)}return n}({features:[{type:"Feature",properties:{id:"320507",name:"相城区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.826067,31.436966],[120.81984,31.437908],[120.788109,31.432948],[120.779446,31.431591],[120.768633,31.429255],[120.758424,31.419913],[120.745015,31.414115],[120.733164,31.40607],[120.726416,31.397852],[120.724162,31.391635],[120.718675,31.386841],[120.714536,31.386388],[120.703558,31.390792],[120.697516,31.385776],[120.697512,31.390757],[120.696586,31.393071],[120.690713,31.393169],[120.690953,31.385165],[120.685587,31.380706],[120.675529,31.372343],[120.666834,31.365114],[120.660013,31.360205],[120.651362,31.352881],[120.643983,31.346212],[120.644087,31.345662],[120.645489,31.338274],[120.641345,31.338152],[120.640661,31.338055],[120.639547,31.339079],[120.634247,31.337844],[120.632103,31.337699],[120.631938,31.337814],[120.631105,31.338784],[120.630767,31.339654],[120.630844,31.342046],[120.630594,31.343279],[120.629821,31.345066],[120.628658,31.347256],[120.628363,31.34881],[120.628207,31.349103],[120.627581,31.349331],[120.626201,31.349406],[120.625212,31.349286],[120.623962,31.34881],[120.623485,31.348739],[120.623025,31.348905],[120.622782,31.349159],[120.622591,31.349549],[120.622366,31.349922],[120.621949,31.35038],[120.621003,31.350436],[120.619796,31.35047],[120.618313,31.35053],[120.616793,31.350531],[120.616212,31.350748],[120.615874,31.351492],[120.615162,31.352022],[120.614616,31.352168],[120.613938,31.352244],[120.613105,31.352092],[120.612358,31.351771],[120.612098,31.351304],[120.612167,31.349367],[120.612195,31.349316],[120.612171,31.349295],[120.612173,31.34919],[120.612176,31.349101],[120.612064,31.348637],[120.611621,31.348451],[120.607897,31.348008],[120.607464,31.348126],[120.60736,31.348622],[120.605911,31.356077],[120.605355,31.35764],[120.605147,31.358301],[120.604565,31.358726],[120.602022,31.358832],[120.595948,31.358926],[120.593231,31.359033],[120.591069,31.359263],[120.588943,31.359436],[120.588249,31.359492],[120.586409,31.359549],[120.586574,31.361579],[120.585246,31.361643],[120.582495,31.361672],[120.582079,31.361293],[120.581462,31.360441],[120.580595,31.359506],[120.579692,31.359307],[120.57346,31.359176],[120.570762,31.364335],[120.568011,31.367471],[120.567082,31.367745],[120.566388,31.368726],[120.566179,31.369439],[120.566301,31.370236],[120.567325,31.371482],[120.567733,31.371982],[120.568384,31.372788],[120.568262,31.37338],[120.567698,31.373955],[120.566535,31.37445],[120.563889,31.374909],[120.560721,31.375684],[120.558073,31.376425],[120.556564,31.377377],[120.555114,31.378265],[120.554385,31.378543],[120.552406,31.378895],[120.551382,31.38077],[120.549881,31.381254],[120.548214,31.383446],[120.547815,31.385515],[120.54686,31.38834],[120.545342,31.390157],[120.54378,31.391014],[120.543276,31.391722],[120.54345,31.392477],[120.544083,31.39278],[120.54509,31.392351],[120.546132,31.392408],[120.547885,31.394437],[120.548639,31.39576],[120.546687,31.397526],[120.545993,31.398788],[120.545359,31.401593],[120.547259,31.402309],[120.550766,31.402978],[120.551773,31.403506],[120.55297,31.404509],[120.553413,31.405427],[120.553907,31.406796],[120.556025,31.407528],[120.558178,31.409797],[120.559254,31.413182],[120.559289,31.41476],[120.558638,31.415301],[120.554055,31.415839],[120.552137,31.416453],[120.550758,31.418186],[120.549577,31.420905],[120.548743,31.42272],[120.546262,31.422364],[120.544534,31.421812],[120.543467,31.421262],[120.542599,31.420034],[120.542364,31.418574],[120.540682,31.417128],[120.540004,31.416662],[120.539362,31.416371],[120.536671,31.416264],[120.531247,31.415496],[120.528253,31.413811],[120.526004,31.412462],[120.52459,31.410796],[120.521127,31.408378],[120.517785,31.407302],[120.515476,31.406879],[120.514009,31.406263],[120.512317,31.40507],[120.511189,31.405118],[120.510199,31.405256],[120.509114,31.405382],[120.508142,31.404881],[120.507595,31.404059],[120.506874,31.403516],[120.506146,31.403167],[120.505712,31.403223],[120.504601,31.403696],[120.50328,31.405378],[120.500008,31.409126],[120.49592,31.412045],[120.492005,31.413173],[120.486623,31.413048],[120.485199,31.412546],[120.483655,31.410918],[120.482656,31.41091],[120.481858,31.411306],[120.475901,31.416941],[120.475889,31.416954],[120.475823,31.417016],[120.475802,31.417035],[120.473845,31.418886],[120.466344,31.413337],[120.471813,31.408207],[120.472022,31.407664],[120.471249,31.407191],[120.470685,31.406929],[120.469409,31.406625],[120.467637,31.406615],[120.466909,31.406342],[120.465319,31.404307],[120.464494,31.404055],[120.46189,31.404105],[120.460796,31.404176],[120.46051,31.403985],[120.460493,31.403378],[120.460735,31.402099],[120.461049,31.400852],[120.46104,31.399994],[120.460996,31.397807],[120.460779,31.397032],[120.460527,31.396678],[120.460214,31.396507],[120.45952,31.396524],[120.458521,31.396776],[120.456299,31.398714],[120.455726,31.399036],[120.455275,31.399045],[120.454111,31.398401],[120.450977,31.396742],[120.449788,31.396366],[120.449041,31.396399],[120.44879,31.396867],[120.448434,31.397564],[120.447964,31.398197],[120.447114,31.39851],[120.445117,31.398781],[120.443823,31.3987],[120.442938,31.397776],[120.442816,31.396389],[120.442295,31.394666],[120.441375,31.393724],[120.439361,31.392767],[120.438293,31.392111],[120.43633,31.391234],[120.434767,31.391474],[120.433943,31.391546],[120.43238,31.392259],[120.430852,31.393397],[120.428742,31.395054],[120.426589,31.395833],[120.424514,31.395832],[120.42269,31.395053],[120.417264,31.392484],[120.41623,31.392065],[120.415666,31.392107],[120.415119,31.392419],[120.414528,31.394076],[120.414225,31.394958],[120.4132,31.395572],[120.410361,31.396357],[120.409136,31.397096],[120.407218,31.398311],[120.405342,31.398643],[120.403632,31.398642],[120.400706,31.400451],[120.387465,31.401703],[120.312979,31.400018],[120.330904,31.409224],[120.351156,31.418279],[120.358799,31.422156],[120.40155,31.443826],[120.414145,31.450166],[120.41797,31.450778],[120.418493,31.450759],[120.41903,31.450535],[120.419373,31.450207],[120.419611,31.449817],[120.420114,31.44809],[120.420303,31.447892],[120.421591,31.447332],[120.421924,31.447229],[120.423271,31.447287],[120.423248,31.448182],[120.424632,31.448184],[120.424725,31.447938],[120.425028,31.447973],[120.424995,31.448183],[120.425883,31.448185],[120.425958,31.447955],[120.426156,31.447874],[120.426419,31.447241],[120.427259,31.447038],[120.427328,31.446761],[120.427602,31.446494],[120.427766,31.446608],[120.428071,31.446467],[120.428857,31.445666],[120.430356,31.444407],[120.432841,31.444852],[120.427072,31.450439],[120.428231,31.450708],[120.429151,31.450799],[120.433532,31.45057],[120.440353,31.449499],[120.450177,31.448075],[120.455597,31.447334],[120.469908,31.448455],[120.470548,31.448655],[120.475168,31.450775],[120.476052,31.451038],[120.476403,31.451653],[120.476449,31.451856],[120.476906,31.451912],[120.477057,31.452201],[120.477263,31.451687],[120.477506,31.451445],[120.477913,31.451278],[120.48093,31.451816],[120.480929,31.450886],[120.480848,31.450756],[120.480649,31.450675],[120.480309,31.449395],[120.480518,31.449245],[120.480489,31.449085],[120.481419,31.448776],[120.481679,31.449505],[120.481799,31.449606],[120.481959,31.449976],[120.482549,31.450536],[120.485779,31.450126],[120.486989,31.450136],[120.48763,31.450266],[120.488059,31.450455],[120.488182,31.450289],[120.48839,31.449976],[120.488949,31.449546],[120.489379,31.449765],[120.48971,31.449786],[120.489599,31.450326],[120.489659,31.450346],[120.489888,31.450385],[120.49076,31.450016],[120.491309,31.449876],[120.491387,31.450112],[120.491659,31.451056],[120.491639,31.451245],[120.490929,31.451585],[120.49096,31.452528],[120.49098,31.453036],[120.491349,31.453136],[120.49178,31.453415],[120.492379,31.454036],[120.495369,31.457656],[120.4958,31.458295],[120.496979,31.459516],[120.49806,31.459936],[120.49987,31.459755],[120.499939,31.460065],[120.50063,31.459936],[120.50067,31.458756],[120.50219,31.458825],[120.502769,31.459026],[120.503499,31.458545],[120.504133,31.457628],[120.504775,31.457673],[120.506469,31.458875],[120.506798,31.458745],[120.507979,31.459076],[120.507899,31.458665],[120.508469,31.458555],[120.508499,31.458175],[120.509279,31.458126],[120.509479,31.458185],[120.509879,31.459125],[120.510119,31.459096],[120.510489,31.458655],[120.512049,31.459135],[120.512119,31.459714],[120.512999,31.459835],[120.513039,31.461945],[120.511609,31.462235],[120.511669,31.462606],[120.511627,31.46608],[120.511529,31.466165],[120.511638,31.466426],[120.512119,31.466765],[120.513109,31.467225],[120.514608,31.467625],[120.517249,31.469484],[120.518379,31.47005],[120.519508,31.470384],[120.521688,31.470364],[120.522848,31.470054],[120.524268,31.469263],[120.525037,31.469013],[120.526787,31.468653],[120.528347,31.468694],[120.529757,31.468984],[120.531337,31.468974],[120.531856,31.469153],[120.532226,31.469784],[120.532416,31.470022],[120.533016,31.470424],[120.536486,31.471013],[120.538235,31.471593],[120.539295,31.472342],[120.540032,31.473229],[120.542095,31.475212],[120.545144,31.477232],[120.546464,31.477991],[120.546673,31.477982],[120.549856,31.478335],[120.549189,31.47912],[120.550158,31.479127],[120.550991,31.479962],[120.551078,31.481297],[120.551,31.482387],[120.55034,31.484446],[120.549682,31.485584],[120.548753,31.488826],[120.546669,31.4901],[120.544821,31.491259],[120.5447,31.493228],[120.5447,31.494849],[120.54378,31.497164],[120.544239,31.49948],[120.545515,31.500868],[120.547364,31.502722],[120.548527,31.504805],[120.550957,31.509668],[120.552164,31.510525],[120.555618,31.511067],[120.559497,31.512441],[120.564331,31.514483],[120.568089,31.516613],[120.572714,31.519623],[120.581584,31.526654],[120.585637,31.529095],[120.587051,31.529633],[120.58857,31.52968],[120.589404,31.528802],[120.589794,31.527629],[120.590766,31.522256],[120.591451,31.519276],[120.592476,31.518394],[120.593699,31.518101],[120.594385,31.518296],[120.594775,31.518982],[120.595061,31.520104],[120.595843,31.52074],[120.597214,31.52074],[120.59816,31.521115],[120.601302,31.526149],[120.601571,31.527371],[120.60125,31.529181],[120.600451,31.532107],[120.600069,31.532999],[120.600008,31.534226],[120.600417,31.536403],[120.600798,31.537178],[120.600929,31.537812],[120.600642,31.538396],[120.599913,31.539146],[120.599115,31.539847],[120.598724,31.540394],[120.598594,31.541384],[120.59862,31.543307],[120.598994,31.54457],[120.599523,31.546522],[120.599583,31.5466],[120.599661,31.5467],[120.600833,31.5482],[120.608306,31.547944],[120.609208,31.547988],[120.609364,31.548361],[120.609425,31.54911],[120.608939,31.551507],[120.608939,31.552152],[120.609781,31.552244],[120.611283,31.551853],[120.612524,31.551763],[120.613999,31.552629],[120.615188,31.553111],[120.615769,31.552961],[120.616481,31.551671],[120.617123,31.550354],[120.617783,31.549199],[120.619935,31.548001],[120.621888,31.547821],[120.622773,31.54746],[120.622782,31.545871],[120.622773,31.544074],[120.623242,31.542751],[120.624761,31.540727],[120.624882,31.537689],[120.624509,31.534397],[120.623112,31.531105],[120.62247,31.528924],[120.622322,31.527906],[120.622999,31.527515],[120.627417,31.527432],[120.629821,31.527426],[120.631643,31.527349],[120.63285,31.527121],[120.633458,31.526327],[120.633197,31.525001],[120.631869,31.521209],[120.631869,31.519862],[120.632946,31.519323],[120.634474,31.518874],[120.637615,31.518874],[120.639142,31.518605],[120.639142,31.517617],[120.638874,31.515821],[120.63896,31.514653],[120.639637,31.513683],[120.641095,31.513533],[120.642128,31.513145],[120.642735,31.512498],[120.643178,31.510251],[120.64363,31.508815],[120.645244,31.507738],[120.648481,31.506749],[120.650452,31.506299],[120.651355,31.505581],[120.651085,31.504504],[120.650781,31.501685],[120.652005,31.500489],[120.652058,31.500086],[120.651971,31.49899],[120.652284,31.498486],[120.653586,31.498356],[120.654731,31.498168],[120.65566,31.497978],[120.656606,31.497933],[120.657543,31.498774],[120.658629,31.500283],[120.659106,31.500689],[120.660417,31.500719],[120.662673,31.500673],[120.664462,31.50032],[120.666744,31.500107],[120.668272,31.500244],[120.673402,31.499862],[120.674835,31.499862],[120.67579,31.501142],[120.67625,31.501695],[120.677074,31.501976],[120.677813,31.501975],[120.679323,31.50171],[120.680417,31.501463],[120.680468,31.500862],[120.680208,31.500209],[120.680903,31.499228],[120.682517,31.498935],[120.684853,31.498756],[120.686919,31.498575],[120.688186,31.498189],[120.689939,31.497351],[120.691103,31.497922],[120.692127,31.498923],[120.693638,31.500392],[120.692795,31.501494],[120.698422,31.511883],[120.699133,31.512379],[120.700687,31.513216],[120.70225,31.515252],[120.702858,31.517352],[120.703083,31.518724],[120.702806,31.520319],[120.703951,31.521406],[120.705089,31.521761],[120.707484,31.52168],[120.714048,31.521681],[120.717694,31.521959],[120.719839,31.521382],[120.722374,31.522253],[120.724041,31.523876],[120.724284,31.525912],[120.724406,31.527947],[120.724745,31.529002],[120.72635,31.52922],[120.729745,31.529246],[120.731273,31.529546],[120.731299,31.529845],[120.731108,31.537248],[120.73103,31.538177],[120.732323,31.538018],[120.734208,31.537882],[120.73538,31.537565],[120.736787,31.536615],[120.73821,31.535598],[120.741197,31.534172],[120.743055,31.533289],[120.743758,31.533107],[120.744938,31.533018],[120.747292,31.532066],[120.74928,31.531273],[120.751137,31.531094],[120.753334,31.530958],[120.753768,31.531274],[120.754602,31.531774],[120.755696,31.531707],[120.757137,31.531662],[120.758092,31.531955],[120.758647,31.532877],[120.758804,31.533641],[120.758544,31.534785],[120.758544,31.536326],[120.759795,31.540106],[120.760246,31.54169],[120.760602,31.542324],[120.761304,31.542595],[120.763545,31.541812],[120.770386,31.537595],[120.771471,31.536508],[120.77247,31.535716],[120.773781,31.535058],[120.775595,31.534266],[120.776299,31.533815],[120.776498,31.533136],[120.776584,31.531875],[120.777175,31.53099],[120.778104,31.530547],[120.779285,31.5304],[120.781161,31.530843],[120.782246,31.531433],[120.783626,31.531907],[120.784755,31.531943],[120.785119,31.531857],[120.785128,31.531557],[120.784443,31.529841],[120.784147,31.529168],[120.783782,31.527824],[120.784095,31.526978],[120.786013,31.526319],[120.78874,31.526169],[120.791049,31.52612],[120.79282,31.5259],[120.794044,31.524763],[120.794565,31.523715],[120.795164,31.523574],[120.798853,31.523622],[120.800286,31.523605],[120.80066,31.523764],[120.800798,31.524189],[120.800764,31.524736],[120.800745,31.526452],[120.801033,31.527619],[120.801476,31.528204],[120.802092,31.528753],[120.802795,31.529614],[120.803385,31.530808],[120.803967,31.531891],[120.80434,31.532974],[120.804427,31.533991],[120.80434,31.535075],[120.804366,31.538172],[120.805147,31.538171],[120.805356,31.538152],[120.806389,31.537813],[120.808915,31.536049],[120.809731,31.535023],[120.811086,31.534992],[120.812501,31.535351],[120.814071,31.5357],[120.814983,31.535615],[120.81586,31.53534],[120.81658,31.535413],[120.816746,31.535762],[120.816858,31.536471],[120.817362,31.53681],[120.81862,31.536838],[120.820113,31.536924],[120.821676,31.536658],[120.821997,31.53583],[120.822753,31.533701],[120.823481,31.530937],[120.82428,31.527999],[120.824896,31.524871],[120.825,31.523106],[120.825096,31.521994],[120.824479,31.521951],[120.820878,31.521824],[120.819167,31.521697],[120.811051,31.521666],[120.810833,31.521611],[120.809878,31.521091],[120.804601,31.516774],[120.80335,31.515724],[120.803403,31.514621],[120.803429,31.513067],[120.80355,31.511815],[120.803576,31.510762],[120.803428,31.509235],[120.803551,31.507531],[120.803551,31.505453],[120.803697,31.505127],[120.804002,31.504874],[120.81059,31.505678],[120.812796,31.506028],[120.813368,31.505854],[120.811474,31.499847],[120.811467,31.499816],[120.811441,31.499735],[120.811433,31.499713],[120.81119,31.49894],[120.810842,31.497812],[120.810217,31.49651],[120.809966,31.494806],[120.810365,31.493229],[120.812344,31.492275],[120.812692,31.491375],[120.814098,31.49105],[120.814949,31.490038],[120.81796,31.485624],[120.819983,31.477851],[120.81967,31.473302],[120.819827,31.470846],[120.821112,31.466705],[120.823212,31.446316],[120.82481,31.441084],[120.826067,31.436966]]]]}},{type:"Feature",properties:{id:"320508",name:"姑苏区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.585261,31.253367],[120.584914,31.258375],[120.584476,31.261061],[120.583789,31.26391],[120.583632,31.264963],[120.583945,31.266745],[120.582417,31.273628],[120.582062,31.275463],[120.580577,31.278014],[120.577627,31.282348],[120.576403,31.283977],[120.575682,31.285508],[120.571604,31.29489],[120.571126,31.295893],[120.568696,31.300737],[120.565329,31.307667],[120.5646,31.3088],[120.563663,31.309807],[120.56243,31.31104],[120.561996,31.311769],[120.561736,31.312863],[120.561858,31.314356],[120.561892,31.315467],[120.561806,31.316439],[120.561302,31.318087],[120.560226,31.320847],[120.55941,31.322792],[120.558976,31.32366],[120.55823,31.324581],[120.556285,31.326647],[120.530334,31.351967],[120.530148,31.352178],[120.53009,31.352207],[120.529554,31.352729],[120.52432,31.357593],[120.524052,31.35807],[120.524182,31.358547],[120.524729,31.358855],[120.535882,31.364071],[120.536151,31.364323],[120.536177,31.364755],[120.535821,31.365395],[120.535473,31.36595],[120.535352,31.366444],[120.535517,31.367083],[120.535821,31.367474],[120.535943,31.367989],[120.535804,31.368565],[120.535474,31.369616],[120.535491,31.370378],[120.535621,31.372127],[120.53609,31.373897],[120.536584,31.374804],[120.538191,31.375791],[120.539752,31.37641],[120.540395,31.376657],[120.540698,31.377131],[120.541072,31.377419],[120.541801,31.377541],[120.543094,31.377807],[120.544118,31.378265],[120.544934,31.378822],[120.545497,31.379421],[120.545741,31.380339],[120.546166,31.380621],[120.547433,31.380832],[120.549325,31.381187],[120.549881,31.381254],[120.551382,31.38077],[120.552406,31.378895],[120.554385,31.378543],[120.555114,31.378265],[120.556564,31.377377],[120.558073,31.376425],[120.560721,31.375684],[120.563889,31.374909],[120.566535,31.37445],[120.567698,31.373955],[120.568262,31.37338],[120.568384,31.372788],[120.567733,31.371982],[120.567325,31.371482],[120.566301,31.370236],[120.566179,31.369439],[120.566388,31.368726],[120.567082,31.367745],[120.568011,31.367471],[120.570762,31.364335],[120.57346,31.359176],[120.579692,31.359307],[120.580595,31.359506],[120.581462,31.360441],[120.582079,31.361293],[120.582495,31.361672],[120.585246,31.361643],[120.586574,31.361579],[120.586409,31.359549],[120.588249,31.359492],[120.588943,31.359436],[120.591069,31.359263],[120.593231,31.359033],[120.595948,31.358926],[120.602022,31.358832],[120.604565,31.358726],[120.605147,31.358301],[120.605355,31.35764],[120.605911,31.356077],[120.60736,31.348622],[120.607464,31.348126],[120.607897,31.348008],[120.611621,31.348451],[120.612064,31.348637],[120.612176,31.349101],[120.612173,31.34919],[120.612171,31.349295],[120.612195,31.349316],[120.612167,31.349367],[120.612098,31.351304],[120.612358,31.351771],[120.613105,31.352092],[120.613938,31.352244],[120.614616,31.352168],[120.615162,31.352022],[120.615874,31.351492],[120.616212,31.350748],[120.616793,31.350531],[120.618313,31.35053],[120.619796,31.35047],[120.621003,31.350436],[120.621949,31.35038],[120.622366,31.349922],[120.622591,31.349549],[120.622782,31.349159],[120.623025,31.348905],[120.623485,31.348739],[120.623962,31.34881],[120.625212,31.349286],[120.626201,31.349406],[120.627581,31.349331],[120.628207,31.349103],[120.628363,31.34881],[120.628658,31.347256],[120.629821,31.345066],[120.630594,31.343279],[120.630844,31.342046],[120.630767,31.339654],[120.631105,31.338784],[120.631938,31.337814],[120.632103,31.337699],[120.634247,31.337844],[120.639547,31.339079],[120.640661,31.338055],[120.636666,31.337489],[120.638213,31.332361],[120.639603,31.331114],[120.639742,31.330994],[120.64008,31.330708],[120.640626,31.330096],[120.640896,31.32974],[120.641078,31.329462],[120.641191,31.329261],[120.641312,31.329048],[120.641434,31.328815],[120.641625,31.328359],[120.641702,31.328123],[120.642059,31.326916],[120.64244,31.325543],[120.642797,31.324274],[120.642944,31.323753],[120.643091,31.323197],[120.643283,31.322546],[120.643474,31.321847],[120.643673,31.321116],[120.643855,31.320479],[120.644072,31.319759],[120.644307,31.31898],[120.644593,31.317956],[120.644732,31.317456],[120.644958,31.316688],[120.645035,31.316408],[120.64514,31.316024],[120.64534,31.315348],[120.645574,31.314564],[120.645634,31.314338],[120.645808,31.313729],[120.646433,31.31148],[120.646798,31.31016],[120.646868,31.309924],[120.647162,31.308878],[120.647371,31.30814],[120.647484,31.307765],[120.647822,31.306625],[120.64823,31.305137],[120.648517,31.304152],[120.648811,31.303126],[120.648976,31.302525],[120.649514,31.300609],[120.64994,31.299136],[120.650087,31.298609],[120.650339,31.297689],[120.650609,31.296675],[120.650764,31.295933],[120.650851,31.295464],[120.650921,31.294989],[120.650964,31.294414],[120.650999,31.293825],[120.651008,31.293259],[120.65099,31.292658],[120.650911,31.291788],[120.650869,31.291436],[120.650808,31.291079],[120.650704,31.290538],[120.65046,31.289431],[120.650287,31.288685],[120.650209,31.288266],[120.650122,31.287884],[120.650044,31.287521],[120.649784,31.286314],[120.649584,31.285304],[120.649498,31.284876],[120.649527,31.284811],[120.649545,31.284799],[120.649539,31.284746],[120.649546,31.284701],[120.649494,31.284427],[120.649475,31.284402],[120.649483,31.284379],[120.649484,31.284365],[120.649473,31.284282],[120.649454,31.284211],[120.649417,31.284197],[120.649341,31.284129],[120.649064,31.282895],[120.64902,31.282662],[120.648712,31.281576],[120.648358,31.280218],[120.647257,31.279812],[120.646659,31.279677],[120.645044,31.279484],[120.644567,31.279061],[120.644541,31.278255],[120.644984,31.276825],[120.645895,31.273177],[120.645722,31.272969],[120.643803,31.272765],[120.64264,31.272622],[120.641798,31.272776],[120.641087,31.27318],[120.640531,31.273738],[120.641009,31.274679],[120.641087,31.275467],[120.640549,31.276045],[120.638378,31.275602],[120.637337,31.275409],[120.636747,31.275494],[120.636026,31.27547],[120.632893,31.275304],[120.631322,31.275416],[120.630602,31.275668],[120.630247,31.276143],[120.630203,31.276673],[120.630351,31.276988],[120.630871,31.277604],[120.630967,31.277894],[120.630776,31.278187],[120.630489,31.278268],[120.629422,31.278111],[120.6291,31.278231],[120.628979,31.278771],[120.628528,31.280058],[120.623207,31.279404],[120.621888,31.279428],[120.617314,31.279085],[120.614364,31.278626],[120.610519,31.27829],[120.608575,31.277957],[120.608236,31.277603],[120.607958,31.277186],[120.607932,31.276793],[120.607967,31.276388],[120.608149,31.276066],[120.608566,31.275855],[120.609209,31.275636],[120.61025,31.274933],[120.610779,31.273581],[120.610814,31.272052],[120.61064,31.270662],[120.609564,31.269911],[120.607108,31.269055],[120.605494,31.268784],[120.605202,31.268589],[120.605184,31.268574],[120.605161,31.268562],[120.604765,31.268298],[120.6042,31.267809],[120.604079,31.267081],[120.604218,31.266208],[120.604365,31.265772],[120.60479,31.264599],[120.605658,31.263224],[120.605858,31.261743],[120.604094,31.26163],[120.604238,31.261208],[120.604389,31.260749],[120.604268,31.25896],[120.602061,31.258701],[120.600482,31.25842],[120.59899,31.258004],[120.598308,31.256834],[120.598123,31.254945],[120.597859,31.253067],[120.597429,31.25215],[120.594542,31.251858],[120.592432,31.253077],[120.592069,31.252983],[120.590682,31.253061]]]]}},{type:"Feature",properties:{id:"320505",name:"虎丘区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.590682,31.253061],[120.591286,31.249507],[120.588474,31.249507],[120.587348,31.249291],[120.587942,31.242838],[120.588222,31.240272],[120.588436,31.235529],[120.584082,31.23534],[120.583835,31.235852],[120.583637,31.236186],[120.577553,31.234765],[120.576285,31.234357],[120.577345,31.231852],[120.577896,31.228929],[120.577656,31.227869],[120.576996,31.226329],[120.576256,31.223468],[120.575756,31.222128],[120.574087,31.222504],[120.572573,31.223154],[120.572054,31.227314],[120.571884,31.229744],[120.57209,31.230715],[120.56873,31.235321],[120.56677,31.23703],[120.563758,31.237994],[120.563484,31.238793],[120.564311,31.245314],[120.564536,31.245924],[120.564758,31.247394],[120.56417,31.247688],[120.563604,31.248434],[120.565124,31.251352],[120.565007,31.251773],[120.562929,31.252871],[120.562348,31.25332],[120.562086,31.254031],[120.562039,31.254564],[120.561825,31.254883],[120.560982,31.255404],[120.5604,31.256385],[120.559257,31.256835],[120.558659,31.257966],[120.55793,31.25791],[120.557422,31.259363],[120.559889,31.259953],[120.559914,31.261208],[120.560113,31.261498],[120.561039,31.261668],[120.562454,31.261963],[120.562579,31.261998],[120.56273,31.26243],[120.562362,31.26308],[120.559549,31.262972],[120.559322,31.264883],[120.558081,31.264751],[120.557894,31.265832],[120.556962,31.271222],[120.556719,31.274],[120.55477,31.273573],[120.554648,31.273073],[120.549096,31.272815],[120.548969,31.273998],[120.546381,31.273919],[120.546514,31.272545],[120.545325,31.272546],[120.545273,31.271885],[120.542683,31.271754],[120.542589,31.271332],[120.542016,31.271288],[120.542126,31.269638],[120.539899,31.269431],[120.539744,31.270474],[120.53649,31.270223],[120.536181,31.272138],[120.5347,31.272053],[120.534315,31.2732],[120.532861,31.27315],[120.53272,31.274341],[120.530699,31.274281],[120.530672,31.274143],[120.529539,31.27416],[120.529283,31.273736],[120.528829,31.273796],[120.528726,31.274392],[120.527324,31.274501],[120.526754,31.274514],[120.526739,31.274801],[120.527015,31.277433],[120.526753,31.278032],[120.526562,31.278479],[120.525266,31.278504],[120.524929,31.285465],[120.524953,31.285584],[120.524809,31.288076],[120.521847,31.289251],[120.521153,31.290139],[120.520805,31.291606],[120.519834,31.292803],[120.519712,31.292872],[120.519687,31.292882],[120.519659,31.292902],[120.518922,31.293318],[120.518523,31.294231],[120.517828,31.29485],[120.516127,31.295043],[120.514435,31.294902],[120.512838,31.294479],[120.509122,31.294221],[120.505941,31.2931],[120.505921,31.29309],[120.5059,31.293081],[120.501805,31.290643],[120.500451,31.290024],[120.498333,31.289986],[120.495356,31.290257],[120.49296,31.290487],[120.491858,31.289971],[120.491224,31.288996],[120.490685,31.287438],[120.489792,31.286783],[120.488516,31.286806],[120.487621,31.287386],[120.487344,31.289349],[120.486997,31.289946],[120.486259,31.290967],[120.486345,31.292014],[120.4873,31.29264],[120.487665,31.295891],[120.487422,31.296852],[120.486501,31.297173],[120.479279,31.297134],[120.478073,31.297535],[120.477595,31.298576],[120.478194,31.300221],[120.479158,31.301866],[120.479357,31.302911],[120.479079,31.304475],[120.477629,31.307805],[120.477074,31.310503],[120.476571,31.311784],[120.475268,31.312498],[120.471292,31.31334],[120.469287,31.314062],[120.468887,31.314583],[120.468254,31.315516],[120.46775,31.315672],[120.467099,31.315719],[120.463201,31.315965],[120.45939,31.316074],[120.458131,31.316237],[120.45669,31.317435],[120.456169,31.318835],[120.454919,31.319917],[120.453112,31.320358],[120.451072,31.320357],[120.449067,31.319315],[120.446133,31.317349],[120.443884,31.315183],[120.442564,31.31438],[120.441123,31.313376],[120.440436,31.311892],[120.440281,31.310247],[120.440836,31.307799],[120.442165,31.305274],[120.442521,31.303308],[120.442044,31.301863],[120.44068,31.300859],[120.438796,31.300297],[120.436139,31.300739],[120.43093,31.301941],[120.428195,31.301901],[120.426068,31.30198],[120.424548,31.302621],[120.423784,31.303745],[120.424227,31.30531],[120.424869,31.306032],[120.425148,31.306794],[120.42467,31.307355],[120.422022,31.308158],[120.417081,31.310603],[120.415845,31.3105],[120.415489,31.3105],[120.416546,31.316576],[120.415976,31.316557],[120.415272,31.319188],[120.413467,31.319658],[120.413128,31.320177],[120.414159,31.321776],[120.413238,31.322365],[120.412653,31.322806],[120.412237,31.323247],[120.410403,31.321718],[120.408783,31.323188],[120.411078,31.324526],[120.410442,31.32601],[120.408804,31.325712],[120.408393,31.325706],[120.407895,31.32681],[120.403599,31.326664],[120.40217,31.326595],[120.399664,31.326606],[120.399064,31.326205],[120.398223,31.325323],[120.397302,31.325082],[120.396338,31.325483],[120.395775,31.326165],[120.394975,31.326566],[120.39112,31.326364],[120.386345,31.326684],[120.38065,31.327126],[120.378964,31.327807],[120.376638,31.328006],[120.374024,31.327765],[120.371698,31.326601],[120.369614,31.325399],[120.368164,31.325116],[120.367948,31.324858],[120.36787,31.324452],[120.369172,31.322534],[120.369502,31.321777],[120.369441,31.321197],[120.369111,31.320906],[120.3674,31.320672],[120.353284,31.320423],[120.350115,31.320312],[120.349603,31.319272],[120.349664,31.317861],[120.350575,31.316209],[120.35101,31.315168],[120.349664,31.313821],[120.343778,31.310452],[120.339984,31.307512],[120.336677,31.305737],[120.329958,31.301841],[120.313275,31.293738],[120.301669,31.291412],[120.290898,31.291008],[120.279103,31.291619],[120.266866,31.29373],[120.258543,31.297245],[120.251131,31.302452],[120.224852,31.324967],[120.201957,31.34453],[120.204977,31.347626],[120.248553,31.368082],[120.303553,31.395182],[120.312979,31.400018],[120.387465,31.401703],[120.400706,31.400451],[120.403632,31.398642],[120.405342,31.398643],[120.407218,31.398311],[120.409136,31.397096],[120.410361,31.396357],[120.4132,31.395572],[120.414225,31.394958],[120.414528,31.394076],[120.415119,31.392419],[120.415666,31.392107],[120.41623,31.392065],[120.417264,31.392484],[120.42269,31.395053],[120.424514,31.395832],[120.426589,31.395833],[120.428742,31.395054],[120.430852,31.393397],[120.43238,31.392259],[120.433943,31.391546],[120.434767,31.391474],[120.43633,31.391234],[120.438293,31.392111],[120.439361,31.392767],[120.441375,31.393724],[120.442295,31.394666],[120.442816,31.396389],[120.442938,31.397776],[120.443823,31.3987],[120.445117,31.398781],[120.447114,31.39851],[120.447964,31.398197],[120.448434,31.397564],[120.44879,31.396867],[120.449041,31.396399],[120.449788,31.396366],[120.450977,31.396742],[120.454111,31.398401],[120.455275,31.399045],[120.455726,31.399036],[120.456299,31.398714],[120.458521,31.396776],[120.45952,31.396524],[120.460214,31.396507],[120.460527,31.396678],[120.460779,31.397032],[120.460996,31.397807],[120.46104,31.399994],[120.461049,31.400852],[120.460735,31.402099],[120.460493,31.403378],[120.46051,31.403985],[120.460796,31.404176],[120.46189,31.404105],[120.464494,31.404055],[120.465319,31.404307],[120.466909,31.406342],[120.467637,31.406615],[120.469409,31.406625],[120.470685,31.406929],[120.471249,31.407191],[120.472022,31.407664],[120.471813,31.408207],[120.466344,31.413337],[120.473845,31.418886],[120.475802,31.417035],[120.475823,31.417016],[120.475889,31.416954],[120.475901,31.416941],[120.481858,31.411306],[120.482656,31.41091],[120.483655,31.410918],[120.485199,31.412546],[120.486623,31.413048],[120.492005,31.413173],[120.49592,31.412045],[120.500008,31.409126],[120.50328,31.405378],[120.504601,31.403696],[120.505712,31.403223],[120.506146,31.403167],[120.506874,31.403516],[120.507595,31.404059],[120.508142,31.404881],[120.509114,31.405382],[120.510199,31.405256],[120.511189,31.405118],[120.512317,31.40507],[120.514009,31.406263],[120.515476,31.406879],[120.517785,31.407302],[120.521127,31.408378],[120.52459,31.410796],[120.526004,31.412462],[120.528253,31.413811],[120.531247,31.415496],[120.536671,31.416264],[120.539362,31.416371],[120.540004,31.416662],[120.540682,31.417128],[120.542364,31.418574],[120.542599,31.420034],[120.543467,31.421262],[120.544534,31.421812],[120.546262,31.422364],[120.548743,31.42272],[120.549577,31.420905],[120.550758,31.418186],[120.552137,31.416453],[120.554055,31.415839],[120.558638,31.415301],[120.559289,31.41476],[120.559254,31.413182],[120.558178,31.409797],[120.556025,31.407528],[120.553907,31.406796],[120.553413,31.405427],[120.55297,31.404509],[120.551773,31.403506],[120.550766,31.402978],[120.547259,31.402309],[120.545359,31.401593],[120.545993,31.398788],[120.546687,31.397526],[120.548639,31.39576],[120.547885,31.394437],[120.546132,31.392408],[120.54509,31.392351],[120.544083,31.39278],[120.54345,31.392477],[120.543276,31.391722],[120.54378,31.391014],[120.545342,31.390157],[120.54686,31.38834],[120.547815,31.385515],[120.548214,31.383446],[120.549881,31.381254],[120.549325,31.381187],[120.547433,31.380832],[120.546166,31.380621],[120.545741,31.380339],[120.545497,31.379421],[120.544934,31.378822],[120.544118,31.378265],[120.543094,31.377807],[120.541801,31.377541],[120.541072,31.377419],[120.540698,31.377131],[120.540395,31.376657],[120.539752,31.37641],[120.538191,31.375791],[120.536584,31.374804],[120.53609,31.373897],[120.535621,31.372127],[120.535491,31.370378],[120.535474,31.369616],[120.535804,31.368565],[120.535943,31.367989],[120.535821,31.367474],[120.535517,31.367083],[120.535352,31.366444],[120.535473,31.36595],[120.535821,31.365395],[120.536177,31.364755],[120.536151,31.364323],[120.535882,31.364071],[120.524729,31.358855],[120.524182,31.358547],[120.524052,31.35807],[120.52432,31.357593],[120.529554,31.352729],[120.53009,31.352207],[120.530148,31.352178],[120.530334,31.351967],[120.556285,31.326647],[120.55823,31.324581],[120.558976,31.32366],[120.55941,31.322792],[120.560226,31.320847],[120.561302,31.318087],[120.561806,31.316439],[120.561892,31.315467],[120.561858,31.314356],[120.561736,31.312863],[120.561996,31.311769],[120.56243,31.31104],[120.563663,31.309807],[120.5646,31.3088],[120.565329,31.307667],[120.568696,31.300737],[120.571126,31.295893],[120.571604,31.29489],[120.575682,31.285508],[120.576403,31.283977],[120.577627,31.282348],[120.580577,31.278014],[120.582062,31.275463],[120.582417,31.273628],[120.583945,31.266745],[120.583632,31.264963],[120.583789,31.26391],[120.584476,31.261061],[120.584914,31.258375],[120.585261,31.253367],[120.590682,31.253061]]],[[[120.675529,31.372343],[120.676545,31.370751],[120.674991,31.368607],[120.677856,31.358582],[120.680123,31.35024],[120.682028,31.34306],[120.683875,31.33589],[120.649308,31.328842],[120.65247,31.312801],[120.652982,31.308158],[120.652841,31.30813],[120.652859,31.307991],[120.653004,31.307955],[120.654157,31.297502],[120.660031,31.297238],[120.663846,31.296745],[120.665005,31.295266],[120.669428,31.292409],[120.6711,31.292447],[120.671639,31.292616],[120.677116,31.292394],[120.677537,31.291444],[120.68691,31.28995],[120.689122,31.286254],[120.6946,31.285401],[120.700733,31.283162],[120.709352,31.282637],[120.713356,31.281788],[120.720419,31.281464],[120.719996,31.304356],[120.732544,31.304979],[120.75291,31.300547],[120.758166,31.299314],[120.765568,31.298262],[120.765588,31.30429],[120.776147,31.304258],[120.775991,31.301813],[120.775677,31.297332],[120.787179,31.297793],[120.790503,31.297787],[120.80368,31.295867],[120.798035,31.286086],[120.797055,31.284861],[120.79447,31.281631],[120.79678,31.279713],[120.800882,31.273453],[120.8007,31.269884],[120.797383,31.269728],[120.785597,31.270297],[120.779205,31.270472],[120.771239,31.268228],[120.76835,31.258723],[120.766357,31.248616],[120.765593,31.247574],[120.762638,31.243534],[120.758987,31.238541],[120.75555,31.236653],[120.750884,31.238066],[120.747797,31.239865],[120.745135,31.240243],[120.74136,31.24078],[120.736986,31.238323],[120.734265,31.237644],[120.732922,31.237835],[120.728631,31.238445],[120.724108,31.239768],[120.719649,31.243687],[120.716388,31.246239],[120.712642,31.250459],[120.712361,31.254508],[120.709492,31.254263],[120.706192,31.254228],[120.698283,31.259214],[120.696993,31.259856],[120.696881,31.261148],[120.694806,31.262499],[120.694469,31.265139],[120.693224,31.268542],[120.69217,31.269578],[120.689983,31.271716],[120.687123,31.272338],[120.682863,31.272009],[120.677593,31.282464],[120.676693,31.291995],[120.67366,31.292169],[120.672469,31.292237],[120.672276,31.291077],[120.6713,31.289114],[120.671468,31.28732],[120.67133,31.286509],[120.671007,31.2846],[120.670074,31.282099],[120.669923,31.281692],[120.66791,31.280756],[120.66657,31.278453],[120.666539,31.276954],[120.666713,31.276712],[120.667234,31.275985],[120.667565,31.274518],[120.66862,31.273341],[120.669056,31.272563],[120.668807,31.271893],[120.668147,31.270816],[120.667959,31.269627],[120.668279,31.267796],[120.668644,31.26591],[120.667505,31.262798],[120.667314,31.262078],[120.66183,31.262003],[120.661562,31.262517],[120.660752,31.264369],[120.659253,31.267978],[120.657622,31.272881],[120.656566,31.277088],[120.652738,31.276196],[120.651513,31.276857],[120.651426,31.277354],[120.650667,31.278084],[120.649874,31.27865],[120.649725,31.281577],[120.648712,31.281576],[120.64902,31.282662],[120.649064,31.282895],[120.649341,31.284129],[120.649417,31.284197],[120.649454,31.284211],[120.649473,31.284282],[120.649484,31.284365],[120.649483,31.284379],[120.649475,31.284402],[120.649494,31.284427],[120.649546,31.284701],[120.649539,31.284746],[120.649545,31.284799],[120.649527,31.284811],[120.649498,31.284876],[120.649584,31.285304],[120.649784,31.286314],[120.650044,31.287521],[120.650122,31.287884],[120.650209,31.288266],[120.650287,31.288685],[120.65046,31.289431],[120.650704,31.290538],[120.650808,31.291079],[120.650869,31.291436],[120.650911,31.291788],[120.65099,31.292658],[120.651008,31.293259],[120.650999,31.293825],[120.650964,31.294414],[120.650921,31.294989],[120.650851,31.295464],[120.650764,31.295933],[120.650609,31.296675],[120.650339,31.297689],[120.650087,31.298609],[120.64994,31.299136],[120.649514,31.300609],[120.648976,31.302525],[120.648811,31.303126],[120.648517,31.304152],[120.64823,31.305137],[120.647822,31.306625],[120.647484,31.307765],[120.647371,31.30814],[120.647162,31.308878],[120.646868,31.309924],[120.646798,31.31016],[120.646433,31.31148],[120.645808,31.313729],[120.645634,31.314338],[120.645574,31.314564],[120.64534,31.315348],[120.64514,31.316024],[120.645035,31.316408],[120.644958,31.316688],[120.644732,31.317456],[120.644593,31.317956],[120.644307,31.31898],[120.644072,31.319759],[120.643855,31.320479],[120.643673,31.321116],[120.643474,31.321847],[120.643283,31.322546],[120.643091,31.323197],[120.642944,31.323753],[120.642797,31.324274],[120.64244,31.325543],[120.642059,31.326916],[120.641702,31.328123],[120.641625,31.328359],[120.641434,31.328815],[120.641312,31.329048],[120.641191,31.329261],[120.641078,31.329462],[120.640896,31.32974],[120.640626,31.330096],[120.64008,31.330708],[120.639742,31.330994],[120.639603,31.331114],[120.638213,31.332361],[120.636666,31.337489],[120.640661,31.338055],[120.641345,31.338152],[120.645489,31.338274],[120.644087,31.345662],[120.643983,31.346212],[120.651362,31.352881],[120.660013,31.360205],[120.666834,31.365114],[120.675529,31.372343]]]]}},{type:"Feature",properties:{id:"320506",name:"吴中区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.648712,31.281576],[120.649725,31.281577],[120.649874,31.27865],[120.650667,31.278084],[120.651426,31.277354],[120.651513,31.276857],[120.652738,31.276196],[120.656566,31.277088],[120.657622,31.272881],[120.659253,31.267978],[120.660752,31.264369],[120.661562,31.262517],[120.66183,31.262003],[120.667314,31.262078],[120.667505,31.262798],[120.668644,31.26591],[120.668279,31.267796],[120.667959,31.269627],[120.668147,31.270816],[120.668807,31.271893],[120.669056,31.272563],[120.66862,31.273341],[120.667565,31.274518],[120.667234,31.275985],[120.666713,31.276712],[120.666539,31.276954],[120.66657,31.278453],[120.66791,31.280756],[120.669923,31.281692],[120.670074,31.282099],[120.671007,31.2846],[120.67133,31.286509],[120.671468,31.28732],[120.6713,31.289114],[120.672276,31.291077],[120.672469,31.292237],[120.67366,31.292169],[120.676693,31.291995],[120.677593,31.282464],[120.682863,31.272009],[120.687123,31.272338],[120.689983,31.271716],[120.69217,31.269578],[120.693224,31.268542],[120.694469,31.265139],[120.694806,31.262499],[120.696881,31.261148],[120.696993,31.259856],[120.698283,31.259214],[120.706192,31.254228],[120.709492,31.254263],[120.712361,31.254508],[120.712642,31.250459],[120.716388,31.246239],[120.719649,31.243687],[120.724108,31.239768],[120.728631,31.238445],[120.732922,31.237835],[120.734265,31.237644],[120.736986,31.238323],[120.74136,31.24078],[120.745135,31.240243],[120.747797,31.239865],[120.750884,31.238066],[120.75555,31.236653],[120.758987,31.238541],[120.762638,31.243534],[120.765593,31.247574],[120.766357,31.248616],[120.76835,31.258723],[120.771239,31.268228],[120.779205,31.270472],[120.785597,31.270297],[120.797383,31.269728],[120.8007,31.269884],[120.800882,31.273453],[120.79678,31.279713],[120.79447,31.281631],[120.797055,31.284861],[120.798035,31.286086],[120.80368,31.295867],[120.790503,31.297787],[120.787179,31.297793],[120.775677,31.297332],[120.775991,31.301813],[120.776147,31.304258],[120.765588,31.30429],[120.765568,31.298262],[120.758166,31.299314],[120.75291,31.300547],[120.732544,31.304979],[120.719996,31.304356],[120.720419,31.281464],[120.713356,31.281788],[120.709352,31.282637],[120.700733,31.283162],[120.6946,31.285401],[120.689122,31.286254],[120.68691,31.28995],[120.677537,31.291444],[120.677116,31.292394],[120.671639,31.292616],[120.6711,31.292447],[120.669428,31.292409],[120.665005,31.295266],[120.663846,31.296745],[120.660031,31.297238],[120.654157,31.297502],[120.653004,31.307955],[120.652859,31.307991],[120.652841,31.30813],[120.652982,31.308158],[120.65247,31.312801],[120.649308,31.328842],[120.683875,31.33589],[120.682028,31.34306],[120.680123,31.35024],[120.677856,31.358582],[120.674991,31.368607],[120.676545,31.370751],[120.675529,31.372343],[120.685587,31.380706],[120.690953,31.385165],[120.690713,31.393169],[120.696586,31.393071],[120.697512,31.390757],[120.697516,31.385776],[120.703558,31.390792],[120.714536,31.386388],[120.718675,31.386841],[120.724162,31.391635],[120.726416,31.397852],[120.733164,31.40607],[120.745015,31.414115],[120.758424,31.419913],[120.768633,31.429255],[120.779446,31.431591],[120.788109,31.432948],[120.81984,31.437908],[120.826067,31.436966],[120.821528,31.419666],[120.817647,31.391666],[120.81697,31.386775],[120.817475,31.382053],[120.818247,31.378029],[120.818594,31.377099],[120.815985,31.375501],[120.815147,31.371689],[120.82291,31.373737],[120.823625,31.372381],[120.825692,31.372679],[120.826304,31.371357],[120.826376,31.371093],[120.82882,31.371325],[120.828576,31.37191],[120.829346,31.372117],[120.82996,31.372291],[120.830705,31.372274],[120.836094,31.373038],[120.836984,31.370749],[120.83623,31.370553],[120.835921,31.370444],[120.833814,31.370167],[120.833897,31.369957],[120.835974,31.368092],[120.839185,31.368739],[120.840398,31.366073],[120.842191,31.366427],[120.845808,31.352721],[120.847572,31.346165],[120.849321,31.340655],[120.849556,31.339799],[120.850043,31.336372],[120.850077,31.335743],[120.850746,31.334345],[120.85361,31.328682],[120.855919,31.323333],[120.857455,31.319453],[120.858505,31.315434],[120.860603,31.311994],[120.862756,31.308545],[120.863608,31.307504],[120.863892,31.307034],[120.864852,31.304921],[120.865334,31.302967],[120.866823,31.301276],[120.866847,31.294711],[120.867001,31.294438],[120.867934,31.293788],[120.871757,31.293153],[120.87269,31.293171],[120.873472,31.292989],[120.873866,31.291326],[120.87425,31.290238],[120.874763,31.28911],[120.87497,31.288392],[120.875051,31.287973],[120.875063,31.286255],[120.877147,31.286313],[120.876852,31.284524],[120.879939,31.28479],[120.88004,31.283739],[120.88008,31.282887],[120.880165,31.282283],[120.878751,31.282394],[120.876464,31.282445],[120.876537,31.280447],[120.879677,31.28052],[120.879871,31.280399],[120.879951,31.280088],[120.878595,31.278023],[120.878094,31.277956],[120.876566,31.277966],[120.876795,31.275579],[120.876781,31.274756],[120.876625,31.273809],[120.87661,31.273623],[120.878775,31.273416],[120.87947,31.273507],[120.880358,31.273406],[120.880075,31.272571],[120.878427,31.272588],[120.878225,31.272503],[120.87748,31.271246],[120.877024,31.270601],[120.876914,31.270223],[120.876871,31.269823],[120.877174,31.267977],[120.877019,31.267207],[120.876997,31.266743],[120.877765,31.266051],[120.881305,31.257313],[120.882469,31.254969],[120.882703,31.25463],[120.883188,31.254375],[120.885905,31.254057],[120.886981,31.253056],[120.887545,31.252034],[120.88758,31.251048],[120.887259,31.250414],[120.886382,31.24992],[120.884369,31.249288],[120.883666,31.248513],[120.883492,31.247237],[120.884377,31.240555],[120.885081,31.240414],[120.886105,31.240554],[120.887234,31.241364],[120.888388,31.241576],[120.89054,31.239779],[120.891902,31.239012],[120.892874,31.238691],[120.893065,31.238453],[120.893569,31.23696],[120.894411,31.234918],[120.895495,31.233448],[120.896348,31.233196],[120.897035,31.232604],[120.897271,31.231655],[120.897358,31.230147],[120.897228,31.228724],[120.897049,31.228293],[120.896736,31.228294],[120.89572,31.227836],[120.895113,31.227197],[120.894714,31.226657],[120.894757,31.226276],[120.895114,31.225685],[120.895461,31.225079],[120.896806,31.223645],[120.897231,31.221863],[120.897136,31.221123],[120.896329,31.220525],[120.895929,31.22043],[120.894905,31.220132],[120.894462,31.219917],[120.894167,31.21969],[120.894115,31.219438],[120.894054,31.218865],[120.893837,31.217942],[120.89323,31.217192],[120.891876,31.216702],[120.887537,31.215891],[120.883519,31.214331],[120.879474,31.212827],[120.877712,31.212018],[120.875021,31.211469],[120.873165,31.211947],[120.870196,31.212936],[120.867705,31.213926],[120.865935,31.213995],[120.86242,31.213926],[120.859512,31.213863],[120.857221,31.214029],[120.856179,31.213646],[120.855007,31.2128],[120.854139,31.211709],[120.851518,31.209472],[120.850416,31.20886],[120.849131,31.208261],[120.847109,31.207768],[120.845633,31.20725],[120.844028,31.206486],[120.842638,31.204904],[120.841432,31.203676],[120.8398,31.201766],[120.83895,31.20051],[120.838508,31.199375],[120.838307,31.197157],[120.837865,31.194327],[120.837318,31.19303],[120.836398,31.192007],[120.835408,31.191393],[120.833838,31.191358],[120.832778,31.191699],[120.831241,31.192246],[120.829436,31.192502],[120.827222,31.192546],[120.825304,31.192333],[120.823212,31.192246],[120.821424,31.191608],[120.819072,31.190796],[120.817006,31.190042],[120.814167,31.188049],[120.813429,31.186658],[120.812769,31.184965],[120.812066,31.183001],[120.811623,31.179944],[120.811685,31.177172],[120.811641,31.175701],[120.804826,31.178358],[120.792551,31.183248],[120.790155,31.184317],[120.789442,31.184928],[120.789035,31.186101],[120.789495,31.188036],[120.789391,31.189462],[120.788627,31.190127],[120.78465,31.191653],[120.772626,31.195472],[120.770334,31.197153],[120.769466,31.199088],[120.769362,31.201584],[120.76977,31.203213],[120.770846,31.204642],[120.773234,31.206476],[120.774101,31.208158],[120.775682,31.211928],[120.775578,31.213201],[120.774258,31.214473],[120.771559,31.216461],[120.766158,31.21967],[120.762998,31.220895],[120.760957,31.221695],[120.758335,31.22342],[120.756043,31.224582],[120.753768,31.225013],[120.751181,31.225318],[120.750382,31.225197],[120.749766,31.224026],[120.748533,31.221259],[120.747309,31.217939],[120.744661,31.215171],[120.743125,31.211667],[120.739738,31.206377],[120.737037,31.203241],[120.734208,31.200165],[120.732115,31.197213],[120.729658,31.194014],[120.724492,31.189157],[120.719813,31.185404],[120.71871,31.185773],[120.717043,31.187311],[120.714525,31.191124],[120.713232,31.19432],[120.71305,31.198072],[120.71305,31.200223],[120.713023,31.201371],[120.713006,31.20202],[120.709777,31.202297],[120.707128,31.202751],[120.703604,31.203104],[120.701225,31.203356],[120.697041,31.203709],[120.693612,31.20396],[120.691163,31.203657],[120.689549,31.202977],[120.688038,31.20222],[120.687231,31.20164],[120.686015,31.200883],[120.684956,31.200377],[120.683646,31.199874],[120.681024,31.19899],[120.679565,31.198788],[120.677396,31.198639],[120.676962,31.19835],[120.675669,31.196607],[120.674548,31.195548],[120.673142,31.194563],[120.673072,31.192781],[120.673203,31.190874],[120.672708,31.190014],[120.671727,31.189276],[120.670373,31.189337],[120.669444,31.190136],[120.668646,31.192658],[120.667543,31.195196],[120.66664,31.19641],[120.666145,31.196993],[120.664713,31.197096],[120.663342,31.197116],[120.661988,31.197035],[120.661059,31.197217],[120.660373,31.197599],[120.660139,31.198246],[120.660156,31.200646],[120.660356,31.20202],[120.660434,31.202786],[120.660313,31.203632],[120.659714,31.205872],[120.659271,31.20789],[120.658862,31.208244],[120.658169,31.209196],[120.657031,31.211126],[120.656415,31.214973],[120.656363,31.218249],[120.656181,31.221384],[120.655122,31.222398],[120.653135,31.222582],[120.651754,31.222446],[120.650973,31.221753],[120.649957,31.2212],[120.647371,31.221336],[120.646911,31.221753],[120.646546,31.222906],[120.645895,31.223644],[120.644472,31.223874],[120.639828,31.223188],[120.639133,31.223093],[120.638153,31.223747],[120.637944,31.224745],[120.637598,31.226061],[120.62744,31.225604],[120.627469,31.225266],[120.628041,31.222774],[120.629152,31.217087],[120.629561,31.215963],[120.630142,31.214529],[120.630316,31.213775],[120.630351,31.213493],[120.630298,31.213118],[120.630098,31.212979],[120.629873,31.212903],[120.628276,31.212417],[120.625942,31.211967],[120.62188,31.21043],[120.620682,31.209337],[120.62023,31.208487],[120.619892,31.207536],[120.619215,31.205738],[120.618521,31.203517],[120.618382,31.201561],[120.618486,31.19932],[120.618738,31.196867],[120.620022,31.186946],[120.619996,31.184884],[120.620179,31.182857],[120.619935,31.180337],[120.61957,31.179107],[120.618789,31.178132],[120.617132,31.176662],[120.61504,31.175048],[120.612298,31.172808],[120.610215,31.170639],[120.608732,31.168623],[120.606778,31.165975],[120.60525,31.163942],[120.604313,31.162295],[120.602109,31.162152],[120.600078,31.162852],[120.597136,31.163062],[120.595391,31.163062],[120.594202,31.162714],[120.592805,31.161176],[120.591434,31.159754],[120.589811,31.159242],[120.585914,31.154615],[120.564903,31.118572],[120.557153,31.105846],[120.555948,31.105242],[120.554515,31.104084],[120.553864,31.102458],[120.553447,31.100187],[120.5512,31.096904],[120.536602,31.08806],[120.49553,31.064214],[120.487188,31.059779],[120.482222,31.056054],[120.480451,31.053571],[120.460718,31.029393],[120.457471,31.022329],[120.45339,31.016522],[120.442772,31.005741],[120.43811,31.000597],[120.432727,30.99337],[120.428386,30.986621],[120.424288,30.981026],[120.422473,30.97915],[120.418574,30.975626],[120.413843,30.973456],[120.408008,30.971958],[120.400601,30.969957],[120.395062,30.968002],[120.389818,30.964906],[120.381856,30.963357],[120.37083,30.957607],[120.368216,30.954366],[120.366457,30.950791],[120.365514,30.95021],[120.365292,30.950073],[120.363877,30.949824],[120.360809,30.949386],[120.359872,30.949166],[120.358786,30.948579],[120.35787,30.947861],[120.357407,30.947701],[120.356506,30.947618],[120.356046,30.947508],[120.354975,30.946839],[120.354631,30.946634],[120.354107,30.946479],[120.352989,30.946277],[120.349466,30.945184],[120.347726,30.944811],[120.346526,30.944625],[120.343392,30.943657],[120.342096,30.943043],[120.339583,30.942224],[120.339202,30.942133],[120.338906,30.942084],[120.338725,30.942053],[120.336294,30.942033],[120.331609,30.940818],[120.326384,30.939872],[120.317668,30.937322],[120.311473,30.936017],[120.303518,30.934418],[120.301864,30.93422],[120.300187,30.934082],[120.299019,30.934095],[120.295305,30.933811],[120.291559,30.932867],[120.289324,30.933151],[120.28539,30.932899],[120.28384,30.932428],[120.282068,30.932213],[120.280543,30.932081],[120.277993,30.93205],[120.276609,30.931578],[120.275067,30.931484],[120.272832,30.931232],[120.270126,30.930383],[120.266852,30.930856],[120.261627,30.930448],[120.251721,30.929197],[120.250139,30.928698],[120.249871,30.928672],[120.248926,30.928792],[120.248158,30.928734],[120.247423,30.928642],[120.246229,30.928434],[120.244879,30.928462],[120.244416,30.928518],[120.244151,30.92855],[120.24391,30.928579],[120.24257,30.928701],[120.2396,30.928754],[120.23678,30.928702],[120.232043,30.928337],[120.230947,30.927983],[120.23086,30.927954],[120.230678,30.928024],[120.229866,30.928337],[120.228421,30.928477],[120.225077,30.928666],[120.221614,30.928764],[120.219123,30.928887],[120.217218,30.929055],[120.217072,30.929103],[120.216204,30.929399],[120.214866,30.929556],[120.2136,30.929924],[120.207734,30.931196],[120.206608,30.931095],[120.206132,30.931136],[120.205961,30.931151],[120.205853,30.931191],[120.204917,30.931537],[120.203223,30.931793],[120.201507,30.931927],[120.200041,30.931893],[120.198002,30.931516],[120.195338,30.930501],[120.194179,30.930471],[120.192395,30.931397],[120.191918,30.931899],[120.190838,30.932752],[120.188348,30.933484],[120.183941,30.934408],[120.173846,30.935984],[120.171278,30.936179],[120.162657,30.937116],[120.157126,30.937812],[120.144879,30.939539],[120.144782,30.939553],[120.144576,30.939675],[120.142441,30.940939],[120.141805,30.941123],[120.14111,30.941781],[120.141038,30.942989],[120.14111,30.943292],[120.140842,30.943409],[120.138131,30.944068],[120.137863,30.944495],[120.13706,30.944992],[120.135562,30.945381],[120.13417,30.945361],[120.133136,30.945164],[120.130338,30.943937],[120.127705,30.945113],[120.127803,30.945703],[120.1274,30.946106],[120.125134,30.947009],[120.124896,30.947128],[120.124445,30.947406],[120.123509,30.948108],[120.121986,30.949067],[120.121517,30.949358],[120.116027,30.952802],[120.11414,30.954036],[120.112465,30.955206],[120.110266,30.956665],[120.108902,30.957133],[120.108009,30.957493],[120.106976,30.957798],[120.106174,30.957922],[120.104213,30.959297],[120.103976,30.959892],[120.10375,30.960437],[120.103459,30.960673],[120.102231,30.961713],[120.102115,30.961844],[120.102056,30.961965],[120.102056,30.962102],[120.102597,30.962629],[120.10265,30.962837],[120.102573,30.962998],[120.102436,30.963073],[120.102043,30.963134],[120.101885,30.963246],[120.101011,30.964171],[120.100905,30.964271],[120.099495,30.965453],[120.099429,30.965574],[120.099431,30.965714],[120.099509,30.965882],[120.100128,30.966383],[120.100324,30.966544],[120.100354,30.966686],[120.100296,30.966839],[120.100107,30.96704],[120.099873,30.96714],[120.099455,30.967224],[120.099192,30.967233],[120.099131,30.967227],[120.098904,30.967111],[120.098177,30.966499],[120.097515,30.96599],[120.097383,30.965929],[120.097289,30.965912],[120.097183,30.96593],[120.096772,30.966173],[120.094261,30.968345],[120.08953,30.975226],[120.082091,30.981674],[120.076364,30.985932],[120.069951,30.9899],[120.068294,30.990867],[120.068012,30.991041],[120.06563,30.992964],[120.064298,30.994027],[120.06194,30.995878],[120.059688,30.997632],[120.058152,30.998765],[120.056459,30.999992],[120.056394,31.00022],[120.056144,31.000522],[120.055262,31.001313],[120.053783,31.002944],[120.052041,31.004664],[120.050893,31.005545],[120.047584,31.007757],[120.040851,31.010216],[120.033399,31.012269],[120.03253,31.012509],[120.027698,31.01384],[120.012224,31.019905],[120.012111,31.019945],[120.011972,31.019946],[120.011109,31.020462],[120.010889,31.020676],[120.006216,31.023571],[120.000055,31.02697],[119.999932,31.027051],[119.999568,31.027322],[119.996977,31.029269],[119.996215,31.030544],[119.994691,31.033008],[119.992956,31.036432],[119.992869,31.036755],[119.993689,31.038331],[119.992479,31.040915],[119.991689,31.043394],[119.990833,31.045314],[119.989073,31.047924],[119.987722,31.050457],[119.986549,31.053731],[119.985324,31.057813],[119.985198,31.058147],[119.985047,31.05855],[119.984737,31.059377],[119.983797,31.061387],[119.981528,31.063964],[119.978075,31.067108],[119.973901,31.069944],[119.971298,31.071571],[119.970824,31.071867],[119.969777,31.072522],[119.967407,31.074222],[119.965088,31.076491],[119.960558,31.083322],[119.958025,31.087681],[119.956772,31.089616],[119.954187,31.092651],[119.949364,31.097785],[119.949183,31.098012],[119.949081,31.09814],[119.948378,31.099017],[119.942716,31.107161],[119.942348,31.107444],[119.941907,31.107592],[119.941609,31.108473],[119.942049,31.109255],[119.942256,31.109677],[119.942311,31.110416],[119.942389,31.111187],[119.942336,31.112185],[119.942205,31.113221],[119.941949,31.114253],[119.936824,31.127613],[119.936733,31.12785],[119.935572,31.130877],[119.935224,31.13307],[119.935143,31.13508],[119.935244,31.136844],[119.935736,31.140289],[119.935839,31.141827],[119.935634,31.14359],[119.935183,31.14519],[119.934383,31.146604],[119.933338,31.147753],[119.932128,31.148799],[119.923303,31.155199],[119.922257,31.156183],[119.919726,31.159136],[119.916445,31.163463],[119.915871,31.164591],[119.915625,31.16574],[119.915649,31.166664],[119.916406,31.168996],[119.916348,31.171147],[119.916633,31.171585],[119.916557,31.172271],[119.916329,31.172633],[119.915864,31.1727],[119.915389,31.173165],[120.105345,31.265847],[120.136185,31.287595],[120.16899,31.310728],[120.201957,31.34453],[120.224852,31.324967],[120.251131,31.302452],[120.258543,31.297245],[120.266866,31.29373],[120.279103,31.291619],[120.290898,31.291008],[120.301669,31.291412],[120.313275,31.293738],[120.329958,31.301841],[120.336677,31.305737],[120.339984,31.307512],[120.343778,31.310452],[120.349664,31.313821],[120.35101,31.315168],[120.350575,31.316209],[120.349664,31.317861],[120.349603,31.319272],[120.350115,31.320312],[120.353284,31.320423],[120.3674,31.320672],[120.369111,31.320906],[120.369441,31.321197],[120.369502,31.321777],[120.369172,31.322534],[120.36787,31.324452],[120.367948,31.324858],[120.368164,31.325116],[120.369614,31.325399],[120.371698,31.326601],[120.374024,31.327765],[120.376638,31.328006],[120.378964,31.327807],[120.38065,31.327126],[120.386345,31.326684],[120.39112,31.326364],[120.394975,31.326566],[120.395775,31.326165],[120.396338,31.325483],[120.397302,31.325082],[120.398223,31.325323],[120.399064,31.326205],[120.399664,31.326606],[120.40217,31.326595],[120.403599,31.326664],[120.407895,31.32681],[120.408393,31.325706],[120.408804,31.325712],[120.410442,31.32601],[120.411078,31.324526],[120.408783,31.323188],[120.410403,31.321718],[120.412237,31.323247],[120.412653,31.322806],[120.413238,31.322365],[120.414159,31.321776],[120.413128,31.320177],[120.413467,31.319658],[120.415272,31.319188],[120.415976,31.316557],[120.416546,31.316576],[120.415489,31.3105],[120.415845,31.3105],[120.417081,31.310603],[120.422022,31.308158],[120.42467,31.307355],[120.425148,31.306794],[120.424869,31.306032],[120.424227,31.30531],[120.423784,31.303745],[120.424548,31.302621],[120.426068,31.30198],[120.428195,31.301901],[120.43093,31.301941],[120.436139,31.300739],[120.438796,31.300297],[120.44068,31.300859],[120.442044,31.301863],[120.442521,31.303308],[120.442165,31.305274],[120.440836,31.307799],[120.440281,31.310247],[120.440436,31.311892],[120.441123,31.313376],[120.442564,31.31438],[120.443884,31.315183],[120.446133,31.317349],[120.449067,31.319315],[120.451072,31.320357],[120.453112,31.320358],[120.454919,31.319917],[120.456169,31.318835],[120.45669,31.317435],[120.458131,31.316237],[120.45939,31.316074],[120.463201,31.315965],[120.467099,31.315719],[120.46775,31.315672],[120.468254,31.315516],[120.468887,31.314583],[120.469287,31.314062],[120.471292,31.31334],[120.475268,31.312498],[120.476571,31.311784],[120.477074,31.310503],[120.477629,31.307805],[120.479079,31.304475],[120.479357,31.302911],[120.479158,31.301866],[120.478194,31.300221],[120.477595,31.298576],[120.478073,31.297535],[120.479279,31.297134],[120.486501,31.297173],[120.487422,31.296852],[120.487665,31.295891],[120.4873,31.29264],[120.486345,31.292014],[120.486259,31.290967],[120.486997,31.289946],[120.487344,31.289349],[120.487621,31.287386],[120.488516,31.286806],[120.489792,31.286783],[120.490685,31.287438],[120.491224,31.288996],[120.491858,31.289971],[120.49296,31.290487],[120.495356,31.290257],[120.498333,31.289986],[120.500451,31.290024],[120.501805,31.290643],[120.5059,31.293081],[120.505921,31.29309],[120.505941,31.2931],[120.509122,31.294221],[120.512838,31.294479],[120.514435,31.294902],[120.516127,31.295043],[120.517828,31.29485],[120.518523,31.294231],[120.518922,31.293318],[120.519659,31.292902],[120.519687,31.292882],[120.519712,31.292872],[120.519834,31.292803],[120.520805,31.291606],[120.521153,31.290139],[120.521847,31.289251],[120.524809,31.288076],[120.524953,31.285584],[120.524929,31.285465],[120.525266,31.278504],[120.526562,31.278479],[120.526753,31.278032],[120.527015,31.277433],[120.526739,31.274801],[120.526754,31.274514],[120.527324,31.274501],[120.528726,31.274392],[120.528829,31.273796],[120.529283,31.273736],[120.529539,31.27416],[120.530672,31.274143],[120.530699,31.274281],[120.53272,31.274341],[120.532861,31.27315],[120.534315,31.2732],[120.5347,31.272053],[120.536181,31.272138],[120.53649,31.270223],[120.539744,31.270474],[120.539899,31.269431],[120.542126,31.269638],[120.542016,31.271288],[120.542589,31.271332],[120.542683,31.271754],[120.545273,31.271885],[120.545325,31.272546],[120.546514,31.272545],[120.546381,31.273919],[120.548969,31.273998],[120.549096,31.272815],[120.554648,31.273073],[120.55477,31.273573],[120.556719,31.274],[120.556962,31.271222],[120.557894,31.265832],[120.558081,31.264751],[120.559322,31.264883],[120.559549,31.262972],[120.562362,31.26308],[120.56273,31.26243],[120.562579,31.261998],[120.562454,31.261963],[120.561039,31.261668],[120.560113,31.261498],[120.559914,31.261208],[120.559889,31.259953],[120.557422,31.259363],[120.55793,31.25791],[120.558659,31.257966],[120.559257,31.256835],[120.5604,31.256385],[120.560982,31.255404],[120.561825,31.254883],[120.562039,31.254564],[120.562086,31.254031],[120.562348,31.25332],[120.562929,31.252871],[120.565007,31.251773],[120.565124,31.251352],[120.563604,31.248434],[120.56417,31.247688],[120.564758,31.247394],[120.564536,31.245924],[120.564311,31.245314],[120.563484,31.238793],[120.563758,31.237994],[120.56677,31.23703],[120.56873,31.235321],[120.57209,31.230715],[120.571884,31.229744],[120.572054,31.227314],[120.572573,31.223154],[120.574087,31.222504],[120.575756,31.222128],[120.576256,31.223468],[120.576996,31.226329],[120.577656,31.227869],[120.577896,31.228929],[120.577345,31.231852],[120.576285,31.234357],[120.577553,31.234765],[120.583637,31.236186],[120.583835,31.235852],[120.584082,31.23534],[120.588436,31.235529],[120.588222,31.240272],[120.587942,31.242838],[120.587348,31.249291],[120.588474,31.249507],[120.591286,31.249507],[120.590682,31.253061],[120.592069,31.252983],[120.592432,31.253077],[120.594542,31.251858],[120.597429,31.25215],[120.597859,31.253067],[120.598123,31.254945],[120.598308,31.256834],[120.59899,31.258004],[120.600482,31.25842],[120.602061,31.258701],[120.604268,31.25896],[120.604389,31.260749],[120.604238,31.261208],[120.604094,31.26163],[120.605858,31.261743],[120.605658,31.263224],[120.60479,31.264599],[120.604365,31.265772],[120.604218,31.266208],[120.604079,31.267081],[120.6042,31.267809],[120.604765,31.268298],[120.605161,31.268562],[120.605184,31.268574],[120.605202,31.268589],[120.605494,31.268784],[120.607108,31.269055],[120.609564,31.269911],[120.61064,31.270662],[120.610814,31.272052],[120.610779,31.273581],[120.61025,31.274933],[120.609209,31.275636],[120.608566,31.275855],[120.608149,31.276066],[120.607967,31.276388],[120.607932,31.276793],[120.607958,31.277186],[120.608236,31.277603],[120.608575,31.277957],[120.610519,31.27829],[120.614364,31.278626],[120.617314,31.279085],[120.621888,31.279428],[120.623207,31.279404],[120.628528,31.280058],[120.628979,31.278771],[120.6291,31.278231],[120.629422,31.278111],[120.630489,31.278268],[120.630776,31.278187],[120.630967,31.277894],[120.630871,31.277604],[120.630351,31.276988],[120.630203,31.276673],[120.630247,31.276143],[120.630602,31.275668],[120.631322,31.275416],[120.632893,31.275304],[120.636026,31.27547],[120.636747,31.275494],[120.637337,31.275409],[120.638378,31.275602],[120.640549,31.276045],[120.641087,31.275467],[120.641009,31.274679],[120.640531,31.273738],[120.641087,31.27318],[120.641798,31.272776],[120.64264,31.272622],[120.643803,31.272765],[120.645722,31.272969],[120.645895,31.273177],[120.644984,31.276825],[120.644541,31.278255],[120.644567,31.279061],[120.645044,31.279484],[120.646659,31.279677],[120.647257,31.279812],[120.648358,31.280218],[120.648712,31.281576]]]]}},{type:"Feature",properties:{id:"320585",name:"太仓市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[121.101936,31.368631],[121.098572,31.379198],[121.099131,31.379536],[121.098603,31.381546],[121.098117,31.381677],[121.09472,31.392057],[121.094603,31.392143],[121.094232,31.393366],[121.092468,31.392833],[121.092609,31.391501],[121.092161,31.391341],[121.09225,31.390351],[121.090226,31.389855],[121.090252,31.388108],[121.089946,31.388087],[121.089303,31.388098],[121.08873,31.388131],[121.088365,31.388339],[121.088226,31.388844],[121.087965,31.389426],[121.087731,31.389738],[121.087115,31.390097],[121.086785,31.390292],[121.086594,31.390598],[121.085708,31.391782],[121.084892,31.392879],[121.084189,31.393638],[121.08365,31.393954],[121.083191,31.39423],[121.082878,31.3947],[121.082496,31.395566],[121.082157,31.395885],[121.081654,31.396137],[121.081081,31.396279],[121.081002,31.396466],[121.081124,31.396642],[121.08194,31.396708],[121.082739,31.396913],[121.083277,31.397311],[121.083711,31.397685],[121.083903,31.398111],[121.08392,31.398639],[121.083824,31.399231],[121.083555,31.399954],[121.083564,31.400514],[121.083703,31.401053],[121.083781,31.40182],[121.084076,31.403049],[121.084449,31.403829],[121.085413,31.404738],[121.085925,31.405298],[121.086177,31.406044],[121.086499,31.407162],[121.087445,31.408698],[121.088713,31.410497],[121.08952,31.411982],[121.09005,31.412706],[121.090223,31.413517],[121.090223,31.414678],[121.090319,31.41514],[121.090527,31.415694],[121.085239,31.417058],[121.084945,31.418108],[121.094114,31.424108],[121.093827,31.425837],[121.093574,31.426159],[121.092646,31.426738],[121.091726,31.427467],[121.091196,31.428666],[121.090215,31.430876],[121.089355,31.43216],[121.088348,31.433328],[121.087219,31.434211],[121.085162,31.435634],[121.084058,31.436551],[121.08339,31.437086],[121.082504,31.437799],[121.081888,31.437905],[121.080925,31.437719],[121.080064,31.437423],[121.079396,31.436915],[121.078571,31.436084],[121.07766,31.43485],[121.076696,31.433245],[121.075272,31.43153],[121.073857,31.43003],[121.071121,31.428155],[121.06777,31.426145],[121.066112,31.425261],[121.062543,31.425729],[121.060424,31.43419],[121.054946,31.433637],[121.048703,31.429926],[121.046629,31.428215],[121.045101,31.429743],[121.042531,31.42983],[121.039153,31.433131],[121.037278,31.43633],[121.033438,31.435748],[121.033138,31.435731],[121.026322,31.434745],[121.022997,31.435209],[121.022658,31.437529],[121.018725,31.438243],[121.018074,31.440298],[121.017119,31.442736],[121.016504,31.443375],[121.016478,31.444664],[121.015974,31.44737],[121.014871,31.449544],[121.018005,31.451018],[121.022128,31.454951],[121.018656,31.455545],[121.015488,31.456532],[121.012423,31.458288],[121.0106,31.459162],[121.00955,31.459145],[121.008916,31.460822],[121.008934,31.462823],[121.006321,31.469426],[121.008856,31.470369],[121.012336,31.469649],[121.011997,31.470562],[121.012214,31.471476],[121.013022,31.477079],[121.011511,31.479227],[121.01146,31.481508],[121.015679,31.484431],[121.015626,31.486252],[121.0133,31.489192],[121.010696,31.492],[121.010261,31.493706],[121.011928,31.497331],[121.011104,31.498229],[121.008968,31.498537],[121.007935,31.496701],[121.007301,31.495321],[121.006242,31.494961],[121.003031,31.495479],[120.999576,31.49463],[120.9977,31.496608],[120.995731,31.497606],[120.994532,31.499288],[120.994073,31.49965],[120.993743,31.499704],[120.993047,31.499538],[120.992189,31.49914],[120.988847,31.497848],[120.988551,31.49774],[120.988309,31.497765],[120.988126,31.497837],[120.98791,31.498183],[120.987718,31.498757],[120.987536,31.499303],[120.987171,31.499759],[120.985236,31.500732],[120.98482,31.500959],[120.984394,31.500998],[120.983855,31.500944],[120.983492,31.500694],[120.981972,31.499545],[120.979404,31.497694],[120.975922,31.496051],[120.973631,31.496191],[120.971392,31.495789],[120.971921,31.496191],[120.97423,31.497631],[120.974499,31.497723],[120.974786,31.497772],[120.97515,31.497854],[120.975419,31.497943],[120.976347,31.498467],[120.976616,31.498638],[120.97817,31.500005],[120.978517,31.500298],[120.979056,31.500495],[120.980124,31.500838],[120.980679,31.501151],[120.981816,31.502036],[120.982666,31.502511],[120.983274,31.502889],[120.985982,31.505777],[120.987527,31.507383],[120.988317,31.50804],[120.989862,31.509284],[120.990253,31.509648],[120.990592,31.510112],[120.990878,31.510483],[120.991164,31.510764],[120.99415,31.512632],[120.994879,31.513123],[120.99646,31.51434],[120.997692,31.515373],[120.998265,31.515995],[120.998751,31.516623],[120.999966,31.518392],[121.000008,31.518457],[121.001207,31.520228],[121.001651,31.520983],[121.001902,31.521555],[121.002049,31.521948],[121.002189,31.522434],[121.001346,31.52528],[120.998222,31.530648],[120.994966,31.5346],[120.993751,31.544393],[120.993638,31.544707],[120.99336,31.544857],[120.992883,31.544819],[120.992102,31.544581],[120.991199,31.544303],[120.988812,31.544013],[120.986355,31.543691],[120.984828,31.543546],[120.983257,31.543244],[120.982831,31.545365],[120.982276,31.547042],[120.980705,31.546902],[120.977606,31.545174],[120.975636,31.545478],[120.97383,31.547397],[120.974968,31.547459],[120.980166,31.549208],[120.979585,31.550363],[120.978109,31.556372],[120.99369,31.566608],[120.996798,31.568089],[120.99718,31.568424],[120.997267,31.568828],[120.99698,31.569197],[120.996425,31.570001],[120.995808,31.570941],[120.995132,31.571814],[120.994498,31.572519],[120.993743,31.573122],[120.992232,31.574481],[121.004957,31.582617],[120.997744,31.592807],[121.003629,31.595119],[121.01422,31.600837],[121.019698,31.605181],[121.024481,31.607192],[121.031209,31.610264],[121.034926,31.612395],[121.041724,31.619343],[121.04319,31.621556],[121.046472,31.623159],[121.050371,31.627296],[121.052237,31.631859],[121.056205,31.630533],[121.058453,31.635074],[121.054304,31.637264],[121.050197,31.638148],[121.04807,31.639845],[121.044276,31.640951],[121.043329,31.643253],[121.041602,31.646328],[121.038528,31.648732],[121.035499,31.649461],[121.031973,31.651993],[121.028301,31.654254],[121.021451,31.657249],[121.01244,31.661128],[121.014367,31.663322],[121.020913,31.668069],[121.025558,31.671801],[121.027824,31.670393],[121.030801,31.671145],[121.034228,31.675465],[121.034272,31.675468],[121.03426,31.675505],[121.035029,31.676474],[121.037304,31.67917],[121.038867,31.683216],[121.041263,31.685922],[121.042608,31.686108],[121.047011,31.683855],[121.048,31.684024],[121.051768,31.689161],[121.050545,31.691024],[121.048044,31.693087],[121.045544,31.695454],[121.04945,31.703252],[121.050856,31.708565],[121.054199,31.714425],[121.055675,31.716773],[121.056223,31.719369],[121.058827,31.724115],[121.06237,31.725459],[121.066146,31.729236],[121.081775,31.746134],[121.0919,31.757965],[121.096552,31.764275],[121.11384,31.760841],[121.137438,31.7571],[121.140711,31.755719],[121.175313,31.722628],[121.284611,31.618182],[121.340979,31.573488],[121.367554,31.554968],[121.338896,31.513867],[121.331248,31.510121],[121.324946,31.506092],[121.324087,31.505962],[121.323965,31.506415],[121.322646,31.506087],[121.322654,31.505414],[121.321101,31.505104],[121.320866,31.506127],[121.319954,31.506022],[121.319929,31.504714],[121.318965,31.504558],[121.318575,31.504143],[121.318757,31.502739],[121.319096,31.502349],[121.319148,31.5015],[121.317958,31.501216],[121.317949,31.501702],[121.317177,31.501681],[121.317099,31.501216],[121.315979,31.501163],[121.315953,31.501474],[121.315354,31.501578],[121.31525,31.502748],[121.315458,31.5035],[121.315459,31.504151],[121.315485,31.504853],[121.316135,31.505061],[121.317334,31.505258],[121.317177,31.506101],[121.316083,31.506048],[121.316066,31.506537],[121.315902,31.506801],[121.315485,31.507062],[121.315614,31.507736],[121.312108,31.507633],[121.312003,31.506827],[121.312081,31.505857],[121.312142,31.505352],[121.3113,31.503761],[121.310806,31.503138],[121.308888,31.502618],[121.308731,31.503397],[121.309305,31.503683],[121.309305,31.504074],[121.308472,31.504074],[121.308341,31.504488],[121.307898,31.504696],[121.307403,31.504775],[121.307169,31.505892],[121.307507,31.505971],[121.307221,31.506776],[121.30644,31.50688],[121.305824,31.50779],[121.303949,31.507141],[121.30421,31.50662],[121.30361,31.506542],[121.303063,31.507193],[121.302187,31.507063],[121.301797,31.507271],[121.301015,31.507219],[121.300598,31.506907],[121.300781,31.506438],[121.300728,31.505997],[121.301354,31.505322],[121.300694,31.504695],[121.300129,31.504698],[121.300026,31.504385],[121.299609,31.503901],[121.299054,31.503831],[121.298741,31.504213],[121.298325,31.504109],[121.298081,31.50449],[121.297595,31.504283],[121.297526,31.503624],[121.296953,31.503184],[121.297934,31.501444],[121.297622,31.501082],[121.297256,31.501496],[121.296432,31.502528],[121.295426,31.501651],[121.296449,31.500859],[121.297552,31.5008],[121.297986,31.500335],[121.296918,31.499815],[121.296476,31.500423],[121.295755,31.500266],[121.296354,31.498641],[121.295989,31.496425],[121.293047,31.496],[121.293047,31.495536],[121.294054,31.495613],[121.294097,31.493411],[121.292857,31.493255],[121.291502,31.492869],[121.290886,31.492368],[121.28961,31.491982],[121.288994,31.49171],[121.288491,31.49225],[121.287753,31.492136],[121.287796,31.492522],[121.287136,31.493218],[121.287023,31.493605],[121.28613,31.493606],[121.285939,31.492986],[121.285783,31.492715],[121.285244,31.492097],[121.285054,31.491789],[121.285245,31.491478],[121.285201,31.491246],[121.284897,31.490938],[121.284428,31.491014],[121.283891,31.491014],[121.283387,31.49086],[121.282849,31.4914],[121.28192,31.491634],[121.281382,31.491865],[121.280991,31.492291],[121.280879,31.492601],[121.279403,31.492602],[121.279212,31.491712],[121.278674,31.491944],[121.278058,31.491943],[121.277589,31.49179],[121.277207,31.491827],[121.276895,31.492678],[121.276157,31.492638],[121.275229,31.49233],[121.275853,31.49059],[121.275351,31.490282],[121.274187,31.490165],[121.273493,31.489779],[121.273259,31.489199],[121.272911,31.488698],[121.271982,31.488581],[121.271758,31.487305],[121.269787,31.487037],[121.268432,31.486611],[121.267582,31.486262],[121.267001,31.486919],[121.266342,31.487037],[121.265994,31.487191],[121.265994,31.488737],[121.265378,31.488814],[121.264762,31.489085],[121.264414,31.489394],[121.26379,31.489007],[121.263442,31.48866],[121.26352,31.488157],[121.26287,31.488157],[121.262939,31.486844],[121.262983,31.485296],[121.2607,31.485065],[121.260005,31.48437],[121.258921,31.483983],[121.258424,31.483716],[121.258346,31.483522],[121.258231,31.483393],[121.257568,31.483124],[121.257401,31.48295],[121.257279,31.482719],[121.257215,31.482339],[121.257158,31.481658],[121.2571,31.481021],[121.257009,31.48079],[121.256887,31.480713],[121.256607,31.480631],[121.256603,31.480622],[121.255831,31.480311],[121.254981,31.479885],[121.253201,31.479732],[121.252741,31.480042],[121.252741,31.480698],[121.253245,31.480698],[121.253358,31.481162],[121.252741,31.481316],[121.252316,31.481627],[121.251812,31.481666],[121.251608,31.481514],[121.251657,31.48093],[121.251925,31.480893],[121.251926,31.479849],[121.251926,31.4795],[121.251466,31.479811],[121.251197,31.480004],[121.250997,31.47954],[121.25065,31.479385],[121.250346,31.479579],[121.250303,31.480119],[121.250693,31.481008],[121.250806,31.482593],[121.251196,31.485571],[121.249979,31.485687],[121.249843,31.484991],[121.249183,31.485028],[121.249226,31.483791],[121.248454,31.483754],[121.24841,31.483135],[121.24907,31.483057],[121.248914,31.481745],[121.246779,31.481543],[121.246735,31.480614],[121.245764,31.480614],[121.24552,31.479927],[121.245242,31.479564],[121.243871,31.479],[121.24322,31.478837],[121.242622,31.479],[121.2425,31.479484],[121.242292,31.480211],[121.242049,31.480695],[121.241528,31.481019],[121.241363,31.481826],[121.24217,31.481865],[121.242257,31.482714],[121.243831,31.482722],[121.243726,31.483817],[121.241815,31.483924],[121.241728,31.483319],[121.240886,31.483117],[121.239957,31.483118],[121.239958,31.484572],[121.239628,31.485136],[121.239394,31.485822],[121.239628,31.486469],[121.239394,31.486993],[121.239028,31.487397],[121.239349,31.489255],[121.238864,31.490223],[121.238256,31.491071],[121.237857,31.491596],[121.237597,31.491979],[121.236955,31.492239],[121.236694,31.492849],[121.237041,31.493921],[121.237363,31.494562],[121.237449,31.495228],[121.237076,31.495574],[121.236433,31.495633],[121.235627,31.495169],[121.234351,31.494185],[121.233621,31.493834],[121.23278,31.493894],[121.232025,31.494504],[121.231478,31.494937],[121.230784,31.495055],[121.230289,31.494619],[121.230402,31.493894],[121.23081,31.491022],[121.230958,31.490036],[121.230549,31.48966],[121.229942,31.489688],[121.2293,31.490036],[121.228545,31.489833],[121.227937,31.48902],[121.226895,31.487658],[121.226314,31.486874],[121.225733,31.486063],[121.225186,31.485453],[121.224431,31.484873],[121.224223,31.484061],[121.22489,31.483656],[121.22562,31.48348],[121.226392,31.48304],[121.22627,31.48203],[121.225949,31.47993],[121.225906,31.479365],[121.225342,31.479285],[121.224292,31.479648],[121.223242,31.479971],[121.222314,31.479972],[121.221749,31.479609],[121.221385,31.478841],[121.220898,31.477954],[121.220542,31.477832],[121.21872,31.477874],[121.217106,31.478076],[121.216264,31.477993],[121.214606,31.477148],[121.213313,31.477551],[121.211985,31.477682],[121.210128,31.47774],[121.209173,31.477855],[121.209173,31.478233],[121.209642,31.478552],[121.20974,31.478939],[121.210561,31.479451],[121.209902,31.481047],[121.209329,31.480826],[121.208331,31.479946],[121.205345,31.479045],[121.204009,31.478205],[121.202994,31.477596],[121.201891,31.476906],[121.201084,31.475737],[121.198939,31.474241],[121.198541,31.473798],[121.198419,31.473232],[121.198862,31.472264],[121.198783,31.471617],[121.198419,31.471255],[121.197126,31.471174],[121.195833,31.471012],[121.194782,31.470285],[121.19341,31.469962],[121.191475,31.469802],[121.190546,31.469721],[121.189817,31.469398],[121.18849,31.467966],[121.18678,31.466603],[121.184896,31.465077],[121.184696,31.464635],[121.184939,31.464151],[121.181546,31.462697],[121.181666,31.461525],[121.181666,31.460679],[121.181225,31.459993],[121.180938,31.459346],[121.180938,31.458781],[121.181102,31.458055],[121.181667,31.457165],[121.181667,31.456762],[121.181545,31.456237],[121.179731,31.455429],[121.176294,31.453331],[121.17533,31.453087],[121.174236,31.452767],[121.173108,31.45212],[121.170443,31.451151],[121.169228,31.450909],[121.167778,31.450909],[121.166927,31.451313],[121.165842,31.451717],[121.165279,31.451877],[121.164836,31.451756],[121.164228,31.451031],[121.163785,31.450384],[121.163182,31.450164],[121.161498,31.452016],[121.16093,31.451717],[121.160912,31.451717],[121.159948,31.451232],[121.15849,31.450707],[121.157561,31.450708],[121.156354,31.451514],[121.142751,31.445741],[121.143072,31.445135],[121.143315,31.444611],[121.143194,31.444287],[121.142664,31.443682],[121.142299,31.443076],[121.142465,31.442672],[121.143272,31.44126],[121.141978,31.440815],[121.142829,31.439523],[121.142283,31.439074],[121.14269,31.438638],[121.143237,31.438],[121.144114,31.437421],[121.145242,31.436696],[121.147908,31.435421],[121.150408,31.434578],[121.153915,31.434086],[121.158151,31.434056],[121.158533,31.433548],[121.158577,31.432824],[121.158552,31.432209],[121.157951,31.431886],[121.157969,31.431411],[121.158611,31.431369],[121.158577,31.430844],[121.159054,31.430803],[121.159054,31.432622],[121.159098,31.432904],[121.159419,31.433144],[121.159783,31.432904],[121.159783,31.432218],[121.159749,31.429069],[121.158776,31.429229],[121.158368,31.429271],[121.157926,31.429835],[121.15744,31.429793],[121.157405,31.429149],[121.156476,31.428906],[121.156354,31.428583],[121.156797,31.427615],[121.155226,31.42709],[121.154818,31.427817],[121.153489,31.427413],[121.15316,31.427855],[121.151831,31.427452],[121.151146,31.427451],[121.150703,31.427574],[121.149166,31.427009],[121.149166,31.426],[121.148967,31.425715],[121.148159,31.425716],[121.148037,31.425273],[121.146866,31.425152],[121.146302,31.424908],[121.146059,31.424504],[121.14658,31.423616],[121.144522,31.423456],[121.143914,31.423334],[121.143679,31.42289],[121.141657,31.422889],[121.141614,31.421518],[121.143593,31.42172],[121.144079,31.420952],[121.144686,31.420952],[121.144244,31.418289],[121.144322,31.417681],[121.144687,31.417441],[121.145086,31.417399],[121.145894,31.417562],[121.146337,31.41732],[121.146544,31.416874],[121.147065,31.416269],[121.147716,31.41623],[121.148237,31.41639],[121.148645,31.416352],[121.148845,31.415906],[121.148924,31.415503],[121.149331,31.415422],[121.149974,31.415704],[121.150381,31.415826],[121.150946,31.415663],[121.151224,31.414898],[121.15131,31.414372],[121.150903,31.413968],[121.150173,31.413767],[121.14993,31.413405],[121.15046,31.412797],[121.150903,31.412233],[121.151267,31.412233],[121.152239,31.412999],[121.152561,31.413203],[121.153246,31.412919],[121.153889,31.412313],[121.154297,31.411951],[121.154175,31.411627],[121.153403,31.411063],[121.153403,31.410699],[121.153689,31.410253],[121.153933,31.409972],[121.153325,31.409731],[121.154818,31.40763],[121.154254,31.407508],[121.152761,31.409487],[121.15066,31.408236],[121.14993,31.408074],[121.149288,31.408116],[121.148525,31.407671],[121.14921,31.40662],[121.148767,31.406419],[121.149322,31.405518],[121.148411,31.405038],[121.14737,31.404843],[121.145911,31.404037],[121.146501,31.402827],[121.146258,31.402542],[121.145416,31.402705],[121.14493,31.402584],[121.144488,31.402139],[121.144522,31.401534],[121.145008,31.40121],[121.145893,31.40113],[121.147717,31.400889],[121.147994,31.400605],[121.14816,31.399999],[121.147994,31.399797],[121.14703,31.399676],[121.145772,31.399999],[121.145052,31.40004],[121.144157,31.399759],[121.143072,31.399152],[121.143194,31.398262],[121.143758,31.397578],[121.144322,31.396931],[121.144886,31.396325],[121.143436,31.395883],[121.141978,31.395196],[121.139964,31.394428],[121.139235,31.394146],[121.139113,31.393742],[121.139556,31.393258],[121.140043,31.392772],[121.140329,31.392733],[121.140329,31.393095],[121.140441,31.393418],[121.141092,31.393175],[121.141779,31.392451],[121.142508,31.391724],[121.142065,31.391078],[121.142065,31.390754],[121.142629,31.39019],[121.143472,31.389543],[121.144122,31.389301],[121.144401,31.388736],[121.143836,31.388454],[121.143854,31.387234],[121.13683,31.385363],[121.136448,31.386352],[121.134755,31.38599],[121.135076,31.385263],[121.134026,31.3849],[121.13334,31.385384],[121.132919,31.384601],[121.133391,31.384188],[121.133606,31.383534],[121.133812,31.382959],[121.132698,31.382761],[121.128374,31.381103],[121.127158,31.38062],[121.126637,31.381466],[121.12385,31.380457],[121.119653,31.378523],[121.118667,31.380271],[121.115681,31.378849],[121.113588,31.377632],[121.111418,31.376943],[121.109125,31.376238],[121.110601,31.372931],[121.112103,31.373109],[121.112304,31.372382],[121.114456,31.372352],[121.115706,31.371047],[121.115593,31.370467],[121.114691,31.370321],[121.114057,31.370118],[121.113762,31.369567],[121.112607,31.36945],[121.109733,31.369189],[121.109065,31.368985],[121.108543,31.368666],[121.108335,31.368115],[121.108596,31.367507],[121.108222,31.366925],[121.105817,31.366432],[121.104654,31.36649],[121.104507,31.366896],[121.104263,31.368303],[121.10362,31.36818],[121.103577,31.368504],[121.103419,31.368805],[121.101936,31.368631]]]]}},{type:"Feature",properties:{id:"320583",name:"昆山市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.971392,31.495789],[120.973631,31.496191],[120.975922,31.496051],[120.979404,31.497694],[120.981972,31.499545],[120.983492,31.500694],[120.983855,31.500944],[120.984394,31.500998],[120.98482,31.500959],[120.985236,31.500732],[120.987171,31.499759],[120.987536,31.499303],[120.987718,31.498757],[120.98791,31.498183],[120.988126,31.497837],[120.988309,31.497765],[120.988551,31.49774],[120.988847,31.497848],[120.992189,31.49914],[120.993047,31.499538],[120.993743,31.499704],[120.994073,31.49965],[120.994532,31.499288],[120.995731,31.497606],[120.9977,31.496608],[120.999576,31.49463],[121.003031,31.495479],[121.006242,31.494961],[121.007301,31.495321],[121.007935,31.496701],[121.008968,31.498537],[121.011104,31.498229],[121.011928,31.497331],[121.010261,31.493706],[121.010696,31.492],[121.0133,31.489192],[121.015626,31.486252],[121.015679,31.484431],[121.01146,31.481508],[121.011511,31.479227],[121.013022,31.477079],[121.012214,31.471476],[121.011997,31.470562],[121.012336,31.469649],[121.008856,31.470369],[121.006321,31.469426],[121.008934,31.462823],[121.008916,31.460822],[121.00955,31.459145],[121.0106,31.459162],[121.012423,31.458288],[121.015488,31.456532],[121.018656,31.455545],[121.022128,31.454951],[121.018005,31.451018],[121.014871,31.449544],[121.015974,31.44737],[121.016478,31.444664],[121.016504,31.443375],[121.017119,31.442736],[121.018074,31.440298],[121.018725,31.438243],[121.022658,31.437529],[121.022997,31.435209],[121.026322,31.434745],[121.033138,31.435731],[121.033438,31.435748],[121.037278,31.43633],[121.039153,31.433131],[121.042531,31.42983],[121.045101,31.429743],[121.046629,31.428215],[121.048703,31.429926],[121.054946,31.433637],[121.060424,31.43419],[121.062543,31.425729],[121.066112,31.425261],[121.06777,31.426145],[121.071121,31.428155],[121.073857,31.43003],[121.075272,31.43153],[121.076696,31.433245],[121.07766,31.43485],[121.078571,31.436084],[121.079396,31.436915],[121.080064,31.437423],[121.080925,31.437719],[121.081888,31.437905],[121.082504,31.437799],[121.08339,31.437086],[121.084058,31.436551],[121.085162,31.435634],[121.087219,31.434211],[121.088348,31.433328],[121.089355,31.43216],[121.090215,31.430876],[121.091196,31.428666],[121.091726,31.427467],[121.092646,31.426738],[121.093574,31.426159],[121.093827,31.425837],[121.094114,31.424108],[121.084945,31.418108],[121.085239,31.417058],[121.090527,31.415694],[121.090319,31.41514],[121.090223,31.414678],[121.090223,31.413517],[121.09005,31.412706],[121.08952,31.411982],[121.088713,31.410497],[121.087445,31.408698],[121.086499,31.407162],[121.086177,31.406044],[121.085925,31.405298],[121.085413,31.404738],[121.084449,31.403829],[121.084076,31.403049],[121.083781,31.40182],[121.083703,31.401053],[121.083564,31.400514],[121.083555,31.399954],[121.083824,31.399231],[121.08392,31.398639],[121.083903,31.398111],[121.083711,31.397685],[121.083277,31.397311],[121.082739,31.396913],[121.08194,31.396708],[121.081124,31.396642],[121.081002,31.396466],[121.081081,31.396279],[121.081654,31.396137],[121.082157,31.395885],[121.082496,31.395566],[121.082878,31.3947],[121.083191,31.39423],[121.08365,31.393954],[121.084189,31.393638],[121.084892,31.392879],[121.085708,31.391782],[121.086594,31.390598],[121.086785,31.390292],[121.087115,31.390097],[121.087731,31.389738],[121.087965,31.389426],[121.088226,31.388844],[121.088365,31.388339],[121.08873,31.388131],[121.089303,31.388098],[121.089946,31.388087],[121.090252,31.388108],[121.090226,31.389855],[121.09225,31.390351],[121.092161,31.391341],[121.092609,31.391501],[121.092468,31.392833],[121.094232,31.393366],[121.094603,31.392143],[121.09472,31.392057],[121.098117,31.381677],[121.098603,31.381546],[121.099131,31.379536],[121.098572,31.379198],[121.101936,31.368631],[121.101989,31.367981],[121.101914,31.367635],[121.102127,31.366323],[121.102613,31.365112],[121.103012,31.364064],[121.103335,31.363216],[121.103621,31.362245],[121.1033,31.361118],[121.103256,31.360228],[121.103334,31.359663],[121.103456,31.359097],[121.102649,31.358977],[121.102891,31.357927],[121.102648,31.35704],[121.102735,31.356553],[121.103334,31.356352],[121.103785,31.355828],[121.103577,31.355182],[121.103334,31.354698],[121.103699,31.352437],[121.104506,31.352558],[121.105878,31.353123],[121.10653,31.353325],[121.106894,31.353164],[121.107215,31.352316],[121.107902,31.352275],[121.109594,31.35264],[121.11133,31.353287],[121.112624,31.353489],[121.113353,31.353204],[121.113675,31.352074],[121.114682,31.350863],[121.11549,31.349815],[121.115576,31.34937],[121.115004,31.34929],[121.112703,31.348925],[121.113354,31.345251],[121.115776,31.345171],[121.116784,31.34505],[121.117912,31.344687],[121.119327,31.344567],[121.12175,31.344729],[121.123165,31.345173],[121.124944,31.345698],[121.12583,31.346021],[121.125917,31.345651],[121.125656,31.344954],[121.125743,31.344403],[121.126064,31.34391],[121.126203,31.343331],[121.125917,31.342808],[121.125248,31.342054],[121.125309,31.341472],[121.12557,31.340776],[121.125943,31.340429],[121.125769,31.339791],[121.125657,31.339212],[121.12583,31.338573],[121.125856,31.337963],[121.12531,31.337441],[121.125222,31.33692],[121.125509,31.336514],[121.126325,31.336165],[121.126238,31.335468],[121.126463,31.334569],[121.126541,31.333927],[121.12734,31.333932],[121.127974,31.333786],[121.128235,31.333439],[121.128123,31.332482],[121.128878,31.331987],[121.128939,31.331437],[121.128643,31.33051],[121.127254,31.330451],[121.12722,31.329841],[121.127627,31.329349],[121.128669,31.329145],[121.128964,31.328305],[121.128704,31.327404],[121.128183,31.327289],[121.127479,31.327462],[121.126932,31.327261],[121.126845,31.326302],[121.126846,31.325635],[121.127037,31.325068],[121.126472,31.324761],[121.126602,31.324218],[121.126212,31.323782],[121.12583,31.323614],[121.124684,31.323608],[121.12432,31.322977],[121.12438,31.322585],[121.124641,31.322128],[121.124006,31.321364],[121.123313,31.321392],[121.122644,31.321132],[121.122357,31.320407],[121.12247,31.319419],[121.12247,31.318753],[121.123252,31.318521],[121.123633,31.317883],[121.123598,31.317069],[121.123573,31.316461],[121.124033,31.316084],[121.123859,31.315329],[121.123486,31.314749],[121.123364,31.313705],[121.123894,31.313387],[121.124502,31.313126],[121.124267,31.312024],[121.124788,31.31156],[121.124849,31.310745],[121.125171,31.310138],[121.124528,31.309354],[121.124588,31.308252],[121.125109,31.306918],[121.125309,31.305757],[121.125023,31.305119],[121.125343,31.304421],[121.126707,31.304249],[121.127549,31.304016],[121.129173,31.303901],[121.135059,31.304831],[121.134737,31.306572],[121.134365,31.30747],[121.134886,31.308109],[121.13709,31.309729],[121.139191,31.311546],[121.142323,31.307782],[121.143569,31.305184],[121.142563,31.304683],[121.141863,31.304588],[121.142489,31.303165],[121.144543,31.303205],[121.146215,31.300879],[121.144357,31.300735],[121.144253,31.300342],[121.143211,31.300056],[121.143428,31.299304],[121.14474,31.299554],[121.144952,31.298712],[121.145694,31.298801],[121.14595,31.29807],[121.146893,31.29829],[121.146941,31.298232],[121.148151,31.295944],[121.146536,31.295765],[121.146718,31.293799],[121.147464,31.29387],[121.148003,31.293585],[121.148324,31.293263],[121.148576,31.291833],[121.150124,31.291923],[121.150163,31.29051],[121.150264,31.290417],[121.150503,31.290429],[121.151779,31.290453],[121.151835,31.289282],[121.153785,31.289143],[121.153967,31.289519],[121.154749,31.289544],[121.15638,31.286621],[121.156736,31.28587],[121.156146,31.285517],[121.155876,31.284955],[121.154454,31.284503],[121.154852,31.283457],[121.153758,31.283056],[121.152682,31.282975],[121.150981,31.282636],[121.15092,31.281476],[121.15092,31.280315],[121.149817,31.279502],[121.149653,31.278613],[121.149175,31.278518],[121.145824,31.277308],[121.143723,31.277243],[121.140633,31.277154],[121.138414,31.277326],[121.138298,31.279519],[121.136815,31.279628],[121.136571,31.278593],[121.136402,31.278528],[121.135112,31.278785],[121.133786,31.279158],[121.133009,31.279445],[121.133441,31.280598],[121.131266,31.281487],[121.130576,31.280208],[121.129091,31.280732],[121.129589,31.282102],[121.129291,31.282267],[121.127079,31.283205],[121.12645,31.281947],[121.122604,31.283042],[121.122536,31.283507],[121.121785,31.283991],[121.119718,31.284937],[121.120407,31.28624],[121.120345,31.28626],[121.116453,31.287602],[121.116487,31.287977],[121.115754,31.287977],[121.115576,31.287213],[121.1149,31.28738],[121.114674,31.286945],[121.113101,31.287513],[121.111738,31.287478],[121.110376,31.287093],[121.109325,31.286253],[121.107857,31.284751],[121.106495,31.283562],[121.104914,31.281604],[121.103412,31.279822],[121.102049,31.278528],[121.099201,31.277148],[121.099227,31.276572],[121.10119,31.276861],[121.100825,31.275473],[121.098558,31.275928],[121.096926,31.276962],[121.094183,31.278071],[121.093436,31.279199],[121.09374,31.280661],[121.093237,31.281491],[121.09275,31.282387],[121.091951,31.285054],[121.090779,31.288819],[121.089641,31.290132],[121.08847,31.290025],[121.088964,31.291693],[121.087575,31.291019],[121.087045,31.29205],[121.085518,31.293718],[121.084172,31.293896],[121.082287,31.293539],[121.082713,31.292474],[121.082357,31.291977],[121.080082,31.28942],[121.077807,31.282744],[121.076748,31.279084],[121.079935,31.277532],[121.078363,31.274682],[121.077538,31.273365],[121.07581,31.271986],[121.074569,31.271713],[121.072034,31.271554],[121.068135,31.270982],[121.065843,31.27037],[121.064106,31.26994],[121.0621,31.269792],[121.058662,31.269756],[121.057881,31.269303],[121.05769,31.268566],[121.058349,31.268515],[121.057794,31.26442],[121.057368,31.2598],[121.058072,31.259555],[121.057577,31.258975],[121.057507,31.257889],[121.056657,31.257558],[121.056726,31.256998],[121.057333,31.257015],[121.057317,31.254828],[121.056935,31.251642],[121.056236,31.25008],[121.056405,31.248352],[121.055111,31.248597],[121.054538,31.249105],[121.053574,31.248912],[121.053108,31.248623],[121.053733,31.248019],[121.0542,31.248265],[121.055233,31.247775],[121.05578,31.24728],[121.056251,31.247217],[121.056507,31.247226],[121.056601,31.247225],[121.056677,31.247215],[121.056758,31.247192],[121.056921,31.247129],[121.057074,31.247109],[121.05769,31.248233],[121.058576,31.248403],[121.059764,31.247994],[121.059565,31.24687],[121.059591,31.245443],[121.060477,31.245],[121.060138,31.244012],[121.058983,31.24408],[121.058983,31.242856],[121.05953,31.241324],[121.059322,31.240303],[121.057482,31.239962],[121.056665,31.239689],[121.057386,31.238022],[121.057421,31.237105],[121.058029,31.23656],[121.059149,31.237003],[121.059088,31.236016],[121.059973,31.236015],[121.059999,31.234824],[121.062795,31.23479],[121.062795,31.233802],[121.062587,31.232783],[121.061198,31.233054],[121.060069,31.232646],[121.060442,31.230501],[121.060138,31.22914],[121.058228,31.228834],[121.058311,31.227878],[121.05836,31.227784],[121.058207,31.227132],[121.058054,31.226536],[121.058202,31.226032],[121.058613,31.225769],[121.058603,31.225591],[121.058501,31.225193],[121.058717,31.224951],[121.058839,31.224819],[121.058801,31.22443],[121.0588,31.223777],[121.058857,31.223272],[121.059039,31.222523],[121.059185,31.221678],[121.059306,31.221158],[121.05956,31.220144],[121.059754,31.219269],[121.059879,31.218575],[121.059911,31.218151],[121.060173,31.217413],[121.06031,31.217066],[121.060402,31.216625],[121.060393,31.216189],[121.060565,31.215851],[121.060678,31.215268],[121.060816,31.214335],[121.061032,31.213745],[121.061194,31.212786],[121.061311,31.211997],[121.061454,31.211255],[121.061607,31.210383],[121.061985,31.209004],[121.062465,31.206668],[121.062692,31.205453],[121.06286,31.204636],[121.063224,31.202873],[121.063521,31.202355],[121.064024,31.201128],[121.064239,31.200483],[121.064627,31.198394],[121.063699,31.198575],[121.062228,31.19902],[121.062022,31.199065],[121.062213,31.196843],[121.065009,31.197184],[121.065522,31.195483],[121.067597,31.195041],[121.06797,31.193406],[121.067258,31.193305],[121.066025,31.19317],[121.066303,31.192285],[121.065756,31.19174],[121.065756,31.190615],[121.066876,31.19031],[121.066919,31.189578],[121.067146,31.188697],[121.067093,31.187836],[121.066268,31.187492],[121.064167,31.186776],[121.064888,31.184773],[121.070393,31.186259],[121.070992,31.184724],[121.066633,31.183346],[121.066815,31.181355],[121.069637,31.178103],[121.070836,31.175323],[121.067936,31.174581],[121.06817,31.173507],[121.067528,31.173138],[121.067328,31.172397],[121.067796,31.17149],[121.070874,31.172198],[121.072702,31.167898],[121.072772,31.16642],[121.068535,31.165143],[121.069108,31.163598],[121.072199,31.164505],[121.072537,31.163767],[121.072467,31.162592],[121.07146,31.162424],[121.072433,31.160341],[121.069246,31.158964],[121.069039,31.158359],[121.068439,31.158157],[121.06797,31.157486],[121.068439,31.15574],[121.067458,31.155403],[121.066824,31.157317],[121.065981,31.157015],[121.06632,31.155402],[121.063898,31.154864],[121.063195,31.154193],[121.064366,31.151396],[121.06454,31.1506],[121.063863,31.150163],[121.061145,31.1505],[121.060842,31.151305],[121.061519,31.151876],[121.061484,31.15285],[121.059565,31.152747],[121.059496,31.154059],[121.058125,31.154026],[121.057985,31.155032],[121.05584,31.15493],[121.052819,31.154695],[121.0511,31.153721],[121.051274,31.152579],[121.049285,31.152781],[121.047341,31.152411],[121.045726,31.152645],[121.045562,31.153922],[121.044589,31.15654],[121.04089,31.15597],[121.040725,31.153517],[121.038911,31.152577],[121.036957,31.151772],[121.037026,31.148883],[121.037869,31.148346],[121.039006,31.148413],[121.040247,31.147474],[121.038302,31.143039],[121.037295,31.140856],[121.036253,31.139545],[121.034136,31.138875],[121.033597,31.139813],[121.032729,31.139445],[121.031757,31.139342],[121.031618,31.142299],[121.029673,31.143138],[121.0291,31.143575],[121.028597,31.14418],[121.026678,31.143641],[121.0243,31.14324],[121.023996,31.143945],[121.024325,31.144449],[121.023891,31.145859],[121.022251,31.145757],[121.022719,31.14465],[121.022147,31.144616],[121.021773,31.144077],[121.021209,31.142768],[121.018448,31.142935],[121.017815,31.142467],[121.018353,31.140316],[121.014855,31.136588],[121.014046,31.136116],[121.012606,31.136017],[121.002866,31.135478],[120.986912,31.135279],[120.981374,31.133969],[120.979594,31.133834],[120.970185,31.135784],[120.948427,31.140455],[120.926166,31.143649],[120.91747,31.140258],[120.912766,31.138445],[120.908469,31.137673],[120.904235,31.136936],[120.902256,31.136533],[120.901249,31.136466],[120.89507,31.138313],[120.893864,31.138181],[120.877139,31.136973],[120.876203,31.136403],[120.874588,31.13563],[120.873529,31.134647],[120.872271,31.133738],[120.87063,31.131712],[120.869233,31.130279],[120.868183,31.129405],[120.867385,31.127938],[120.866854,31.126051],[120.866854,31.123778],[120.866429,31.121961],[120.864547,31.119511],[120.861795,31.116992],[120.860849,31.116387],[120.859842,31.116086],[120.859061,31.115506],[120.858071,31.114745],[120.857194,31.113137],[120.85604,31.111566],[120.854677,31.110936],[120.853732,31.110761],[120.853897,31.109893],[120.852725,31.107217],[120.852672,31.106134],[120.851579,31.10732],[120.845025,31.113073],[120.837578,31.118691],[120.833672,31.120619],[120.818576,31.124953],[120.815582,31.126778],[120.811172,31.133778],[120.808933,31.144741],[120.808941,31.149934],[120.810469,31.152819],[120.819011,31.15329],[120.81836,31.161809],[120.818082,31.161758],[120.817692,31.162183],[120.818864,31.167479],[120.817926,31.170581],[120.812683,31.175108],[120.811641,31.175701],[120.811685,31.177172],[120.811623,31.179944],[120.812066,31.183001],[120.812769,31.184965],[120.813429,31.186658],[120.814167,31.188049],[120.817006,31.190042],[120.819072,31.190796],[120.821424,31.191608],[120.823212,31.192246],[120.825304,31.192333],[120.827222,31.192546],[120.829436,31.192502],[120.831241,31.192246],[120.832778,31.191699],[120.833838,31.191358],[120.835408,31.191393],[120.836398,31.192007],[120.837318,31.19303],[120.837865,31.194327],[120.838307,31.197157],[120.838508,31.199375],[120.83895,31.20051],[120.8398,31.201766],[120.841432,31.203676],[120.842638,31.204904],[120.844028,31.206486],[120.845633,31.20725],[120.847109,31.207768],[120.849131,31.208261],[120.850416,31.20886],[120.851518,31.209472],[120.854139,31.211709],[120.855007,31.2128],[120.856179,31.213646],[120.857221,31.214029],[120.859512,31.213863],[120.86242,31.213926],[120.865935,31.213995],[120.867705,31.213926],[120.870196,31.212936],[120.873165,31.211947],[120.875021,31.211469],[120.877712,31.212018],[120.879474,31.212827],[120.883519,31.214331],[120.887537,31.215891],[120.891876,31.216702],[120.89323,31.217192],[120.893837,31.217942],[120.894054,31.218865],[120.894115,31.219438],[120.894167,31.21969],[120.894462,31.219917],[120.894905,31.220132],[120.895929,31.22043],[120.896329,31.220525],[120.897136,31.221123],[120.897231,31.221863],[120.896806,31.223645],[120.895461,31.225079],[120.895114,31.225685],[120.894757,31.226276],[120.894714,31.226657],[120.895113,31.227197],[120.89572,31.227836],[120.896736,31.228294],[120.897049,31.228293],[120.897228,31.228724],[120.897358,31.230147],[120.897271,31.231655],[120.897035,31.232604],[120.896348,31.233196],[120.895495,31.233448],[120.894411,31.234918],[120.893569,31.23696],[120.893065,31.238453],[120.892874,31.238691],[120.891902,31.239012],[120.89054,31.239779],[120.888388,31.241576],[120.887234,31.241364],[120.886105,31.240554],[120.885081,31.240414],[120.884377,31.240555],[120.883492,31.247237],[120.883666,31.248513],[120.884369,31.249288],[120.886382,31.24992],[120.887259,31.250414],[120.88758,31.251048],[120.887545,31.252034],[120.886981,31.253056],[120.885905,31.254057],[120.883188,31.254375],[120.882703,31.25463],[120.882469,31.254969],[120.881305,31.257313],[120.877765,31.266051],[120.876997,31.266743],[120.877019,31.267207],[120.877174,31.267977],[120.876871,31.269823],[120.876914,31.270223],[120.877024,31.270601],[120.87748,31.271246],[120.878225,31.272503],[120.878427,31.272588],[120.880075,31.272571],[120.880358,31.273406],[120.87947,31.273507],[120.878775,31.273416],[120.87661,31.273623],[120.876625,31.273809],[120.876781,31.274756],[120.876795,31.275579],[120.876566,31.277966],[120.878094,31.277956],[120.878595,31.278023],[120.879951,31.280088],[120.879871,31.280399],[120.879677,31.28052],[120.876537,31.280447],[120.876464,31.282445],[120.878751,31.282394],[120.880165,31.282283],[120.88008,31.282887],[120.88004,31.283739],[120.879939,31.28479],[120.876852,31.284524],[120.877147,31.286313],[120.875063,31.286255],[120.875051,31.287973],[120.87497,31.288392],[120.874763,31.28911],[120.87425,31.290238],[120.873866,31.291326],[120.873472,31.292989],[120.87269,31.293171],[120.871757,31.293153],[120.867934,31.293788],[120.867001,31.294438],[120.866847,31.294711],[120.866823,31.301276],[120.865334,31.302967],[120.864852,31.304921],[120.863892,31.307034],[120.863608,31.307504],[120.862756,31.308545],[120.860603,31.311994],[120.858505,31.315434],[120.857455,31.319453],[120.855919,31.323333],[120.85361,31.328682],[120.850746,31.334345],[120.850077,31.335743],[120.850043,31.336372],[120.849556,31.339799],[120.849321,31.340655],[120.847572,31.346165],[120.845808,31.352721],[120.842191,31.366427],[120.840398,31.366073],[120.839185,31.368739],[120.835974,31.368092],[120.833897,31.369957],[120.833814,31.370167],[120.835921,31.370444],[120.83623,31.370553],[120.836984,31.370749],[120.836094,31.373038],[120.830705,31.372274],[120.82996,31.372291],[120.829346,31.372117],[120.828576,31.37191],[120.82882,31.371325],[120.826376,31.371093],[120.826304,31.371357],[120.825692,31.372679],[120.823625,31.372381],[120.82291,31.373737],[120.815147,31.371689],[120.815985,31.375501],[120.818594,31.377099],[120.818247,31.378029],[120.817475,31.382053],[120.81697,31.386775],[120.817647,31.391666],[120.821528,31.419666],[120.826067,31.436966],[120.82481,31.441084],[120.823212,31.446316],[120.821112,31.466705],[120.819827,31.470846],[120.81967,31.473302],[120.819983,31.477851],[120.81796,31.485624],[120.814949,31.490038],[120.814098,31.49105],[120.812692,31.491375],[120.812344,31.492275],[120.810365,31.493229],[120.809966,31.494806],[120.810217,31.49651],[120.810842,31.497812],[120.81119,31.49894],[120.811433,31.499713],[120.811441,31.499735],[120.811467,31.499816],[120.811474,31.499847],[120.813368,31.505854],[120.812796,31.506028],[120.81059,31.505678],[120.804002,31.504874],[120.803697,31.505127],[120.803551,31.505453],[120.803551,31.507531],[120.803428,31.509235],[120.803576,31.510762],[120.80355,31.511815],[120.803429,31.513067],[120.803403,31.514621],[120.80335,31.515724],[120.804601,31.516774],[120.809878,31.521091],[120.810833,31.521611],[120.811051,31.521666],[120.819167,31.521697],[120.820878,31.521824],[120.824479,31.521951],[120.825096,31.521994],[120.830443,31.522013],[120.833846,31.52235],[120.835608,31.522562],[120.838498,31.522683],[120.842387,31.523226],[120.84473,31.522969],[120.844791,31.521961],[120.844539,31.519333],[120.842274,31.518556],[120.8423,31.517095],[120.845182,31.515313],[120.846206,31.513879],[120.846753,31.511769],[120.846614,31.509866],[120.84868,31.50989],[120.850416,31.508883],[120.85197,31.508188],[120.856214,31.508123],[120.859694,31.507144],[120.860927,31.513765],[120.865066,31.512525],[120.866421,31.513126],[120.867739,31.515202],[120.868148,31.518915],[120.870622,31.51892],[120.87043,31.51998],[120.870526,31.520809],[120.870891,31.521474],[120.871255,31.52257],[120.871688,31.523001],[120.872487,31.523398],[120.873086,31.523863],[120.873416,31.524362],[120.873468,31.525074],[120.873667,31.526102],[120.874128,31.527363],[120.874328,31.529188],[120.874328,31.530317],[120.874527,31.530716],[120.87451,31.531595],[120.874519,31.532687],[120.876567,31.532254],[120.879084,31.531566],[120.881096,31.531598],[120.882537,31.532442],[120.882104,31.534177],[120.881879,31.535903],[120.885081,31.5348],[120.887181,31.535989],[120.888709,31.536753],[120.891998,31.536647],[120.894974,31.536856],[120.895833,31.537537],[120.89533,31.53852],[120.894506,31.543052],[120.896008,31.541921],[120.897032,31.54165],[120.898073,31.541072],[120.900251,31.540297],[120.898637,31.537962],[120.891746,31.530474],[120.895955,31.52781],[120.904807,31.531345],[120.907637,31.529803],[120.91011,31.527112],[120.90879,31.525775],[120.908748,31.523789],[120.910223,31.522084],[120.913199,31.520162],[120.913304,31.521185],[120.913573,31.521998],[120.91451,31.523075],[120.915994,31.524025],[120.919396,31.525617],[120.921783,31.526274],[120.923405,31.526851],[120.924482,31.527821],[120.925922,31.529105],[120.927736,31.530286],[120.929542,31.531361],[120.931954,31.532645],[120.932588,31.532699],[120.933074,31.532142],[120.933759,31.528989],[120.934419,31.528116],[120.934853,31.528042],[120.93612,31.525475],[120.93704,31.5188],[120.942456,31.51976],[120.943297,31.515283],[120.948704,31.514431],[120.949537,31.511586],[120.950214,31.510048],[120.951135,31.509286],[120.95254,31.509201],[120.952861,31.505941],[120.954146,31.499777],[120.9603,31.500966],[120.962946,31.502982],[120.966645,31.49809],[120.967659,31.497936],[120.971392,31.495789]]]]}},{type:"Feature",properties:{id:"320581",name:"常熟市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.600833,31.5482],[120.598819,31.548986],[120.59508,31.550591],[120.594446,31.557265],[120.593352,31.565989],[120.592146,31.571814],[120.592139,31.571836],[120.592136,31.571859],[120.591773,31.573616],[120.590609,31.576941],[120.590375,31.578136],[120.5889,31.579517],[120.585559,31.582957],[120.582847,31.585515],[120.580049,31.58726],[120.575181,31.587661],[120.569621,31.588061],[120.566205,31.587772],[120.564244,31.586972],[120.56319,31.5861],[120.566727,31.581931],[120.568817,31.579582],[120.567065,31.578781],[120.564027,31.5784],[120.559391,31.581693],[120.557601,31.581205],[120.556415,31.580693],[120.554299,31.579275],[120.552809,31.5787],[120.552796,31.578694],[120.552783,31.57869],[120.548811,31.577159],[120.546997,31.57688],[120.54595,31.577089],[120.543727,31.578672],[120.542574,31.581752],[120.54351,31.585357],[120.540803,31.587785],[120.538798,31.603802],[120.539206,31.6048],[120.541974,31.606757],[120.548839,31.607691],[120.552806,31.602393],[120.55481,31.602709],[120.56224,31.604032],[120.562379,31.605766],[120.564114,31.608286],[120.563489,31.608797],[120.562899,31.611274],[120.565798,31.611555],[120.568896,31.613876],[120.57287,31.616276],[120.574693,31.61593],[120.577072,31.615745],[120.578208,31.615571],[120.580274,31.615556],[120.581237,31.615254],[120.582209,31.614984],[120.583684,31.614826],[120.585967,31.613921],[120.587295,31.613618],[120.588128,31.613732],[120.589473,31.614142],[120.590879,31.614914],[120.592068,31.615425],[120.592849,31.616044],[120.593927,31.617051],[120.594712,31.617545],[120.596407,31.619242],[120.595722,31.620158],[120.587902,31.627161],[120.589351,31.629856],[120.591373,31.633518],[120.586773,31.637497],[120.585384,31.638648],[120.586895,31.640474],[120.59166,31.645884],[120.590227,31.647533],[120.587928,31.652404],[120.582435,31.653941],[120.579224,31.654078],[120.567508,31.657887],[120.560616,31.657567],[120.556824,31.657785],[120.555903,31.658396],[120.555612,31.658193],[120.555473,31.658238],[120.555397,31.658414],[120.555274,31.658813],[120.554368,31.659415],[120.554333,31.660596],[120.562561,31.662031],[120.563003,31.663599],[120.564391,31.667281],[120.56399,31.668291],[120.564053,31.669068],[120.564203,31.669708],[120.564173,31.669798],[120.563533,31.669798],[120.563454,31.670417],[120.564033,31.670468],[120.564123,31.670068],[120.564372,31.670047],[120.564533,31.670698],[120.563043,31.670658],[120.562313,31.671628],[120.562853,31.671707],[120.562852,31.672197],[120.563663,31.672328],[120.562703,31.673848],[120.562743,31.673987],[120.562933,31.674098],[120.562923,31.674238],[120.563753,31.674648],[120.564933,31.674427],[120.565193,31.675228],[120.565153,31.675298],[120.564113,31.675507],[120.563433,31.675367],[120.563383,31.675497],[120.563493,31.676458],[120.562943,31.676638],[120.563103,31.677697],[120.562144,31.678248],[120.562704,31.679428],[120.562334,31.679598],[120.562374,31.679668],[120.562133,31.679788],[120.562143,31.680418],[120.562294,31.680478],[120.56239,31.680777],[120.560784,31.681118],[120.559683,31.680598],[120.559554,31.680748],[120.559924,31.681008],[120.559405,31.682408],[120.559134,31.682549],[120.558744,31.682528],[120.558615,31.682609],[120.558779,31.682777],[120.559084,31.683039],[120.559154,31.683289],[120.559284,31.683418],[120.559904,31.683398],[120.560084,31.683508],[120.560624,31.683939],[120.561853,31.685218],[120.561974,31.686248],[120.561994,31.687498],[120.562614,31.687368],[120.563813,31.687308],[120.563823,31.687898],[120.56347,31.688007],[120.563943,31.689238],[120.564083,31.689297],[120.564943,31.688897],[120.565403,31.689487],[120.566272,31.690357],[120.566163,31.690638],[120.565823,31.691017],[120.565882,31.691077],[120.566422,31.691397],[120.568182,31.691807],[120.572622,31.691576],[120.572652,31.692016],[120.572391,31.692106],[120.572342,31.691927],[120.572161,31.691936],[120.572161,31.692136],[120.571922,31.692166],[120.571902,31.692596],[120.571472,31.692646],[120.571472,31.693056],[120.571591,31.693066],[120.571601,31.693276],[120.571091,31.693366],[120.571031,31.693616],[120.571252,31.693627],[120.571371,31.693936],[120.572451,31.693206],[120.573311,31.692365],[120.57382,31.692146],[120.574151,31.692066],[120.574177,31.692125],[120.574495,31.693598],[120.573868,31.693823],[120.574154,31.694739],[120.573721,31.694836],[120.573751,31.695685],[120.573791,31.695816],[120.573897,31.695821],[120.576121,31.695405],[120.58071,31.694934],[120.580929,31.695714],[120.581299,31.695694],[120.582219,31.697494],[120.582439,31.697514],[120.582819,31.698293],[120.582999,31.698354],[120.583969,31.698054],[120.584109,31.698143],[120.584869,31.699513],[120.584859,31.699593],[120.584109,31.699873],[120.584222,31.700182],[120.585019,31.700013],[120.585168,31.700484],[120.583779,31.701083],[120.584019,31.701474],[120.585619,31.700993],[120.587178,31.702403],[120.587318,31.702453],[120.587606,31.702203],[120.588598,31.702943],[120.589697,31.704412],[120.589627,31.704782],[120.590958,31.706842],[120.591087,31.707172],[120.591527,31.707733],[120.591957,31.707833],[120.592017,31.707662],[120.591607,31.707473],[120.591527,31.707193],[120.592297,31.707352],[120.592277,31.707752],[120.593617,31.708132],[120.593806,31.708442],[120.593817,31.708692],[120.596032,31.709002],[120.596607,31.710974],[120.594879,31.712843],[120.592589,31.712951],[120.586626,31.715123],[120.585637,31.71624],[120.583468,31.716254],[120.580881,31.716556],[120.580369,31.720046],[120.578981,31.721217],[120.578234,31.723293],[120.577497,31.729753],[120.578017,31.730322],[120.578928,31.73281],[120.580143,31.736594],[120.581393,31.737532],[120.585229,31.737065],[120.589117,31.740304],[120.591087,31.73559],[120.595314,31.735893],[120.598794,31.733932],[120.604643,31.733129],[120.606761,31.732719],[120.609781,31.728259],[120.614068,31.726075],[120.617497,31.725328],[120.624422,31.724698],[120.62529,31.724434],[120.629083,31.723214],[120.636217,31.722545],[120.641416,31.725807],[120.645608,31.727245],[120.650652,31.726661],[120.654045,31.72875],[120.660217,31.735202],[120.664184,31.73505],[120.667144,31.733292],[120.667674,31.733078],[120.668029,31.733324],[120.668168,31.733527],[120.670312,31.736039],[120.671649,31.737479],[120.672673,31.738897],[120.674375,31.742216],[120.674487,31.743895],[120.674539,31.744275],[120.675043,31.744416],[120.675625,31.745031],[120.676189,31.745208],[120.67862,31.745773],[120.678836,31.746298],[120.67947,31.748782],[120.679696,31.74893],[120.681041,31.748732],[120.681224,31.748969],[120.68118,31.749642],[120.681363,31.75],[120.682092,31.750296],[120.682439,31.750755],[120.682734,31.751192],[120.683897,31.751932],[120.684392,31.752377],[120.686771,31.75242],[120.69198,31.751866],[120.692726,31.75188],[120.695921,31.753551],[120.703039,31.757693],[120.708335,31.757788],[120.71232,31.757174],[120.714083,31.760607],[120.715897,31.762443],[120.719031,31.76386],[120.718103,31.76927],[120.715324,31.774873],[120.712338,31.777759],[120.7118,31.778425],[120.717555,31.781017],[120.721176,31.784247],[120.723068,31.784036],[120.725048,31.788301],[120.726159,31.794414],[120.723789,31.796833],[120.724258,31.80127],[120.723928,31.805879],[120.721219,31.807995],[120.722721,31.812543],[120.723381,31.813937],[120.722878,31.815308],[120.720065,31.815781],[120.72424,31.820929],[120.72602,31.824136],[120.726272,31.824592],[120.729198,31.824419],[120.732011,31.828536],[120.737967,31.833844],[120.742638,31.838002],[120.742977,31.838669],[120.753178,31.832456],[120.758361,31.8293],[120.763189,31.826046],[120.781395,31.817775],[120.78643,31.814716],[120.792489,31.820702],[120.796684,31.823272],[120.798784,31.824436],[120.798984,31.824629],[120.799366,31.825013],[120.802491,31.820317],[120.852368,31.801463],[120.88561,31.829094],[120.891121,31.82191],[120.893447,31.819037],[120.912436,31.795789],[120.928674,31.788813],[120.955213,31.785103],[121.014211,31.785399],[121.030254,31.78519],[121.056022,31.78485],[121.072215,31.77877],[121.096552,31.764275],[121.0919,31.757965],[121.081775,31.746134],[121.066146,31.729236],[121.06237,31.725459],[121.058827,31.724115],[121.056223,31.719369],[121.055675,31.716773],[121.054199,31.714425],[121.050856,31.708565],[121.04945,31.703252],[121.045544,31.695454],[121.048044,31.693087],[121.050545,31.691024],[121.051768,31.689161],[121.048,31.684024],[121.047011,31.683855],[121.042608,31.686108],[121.041263,31.685922],[121.038867,31.683216],[121.037304,31.67917],[121.035029,31.676474],[121.03426,31.675505],[121.034272,31.675468],[121.034228,31.675465],[121.030801,31.671145],[121.027824,31.670393],[121.025558,31.671801],[121.020913,31.668069],[121.014367,31.663322],[121.01244,31.661128],[121.021451,31.657249],[121.028301,31.654254],[121.031973,31.651993],[121.035499,31.649461],[121.038528,31.648732],[121.041602,31.646328],[121.043329,31.643253],[121.044276,31.640951],[121.04807,31.639845],[121.050197,31.638148],[121.054304,31.637264],[121.058453,31.635074],[121.056205,31.630533],[121.052237,31.631859],[121.050371,31.627296],[121.046472,31.623159],[121.04319,31.621556],[121.041724,31.619343],[121.034926,31.612395],[121.031209,31.610264],[121.024481,31.607192],[121.019698,31.605181],[121.01422,31.600837],[121.003629,31.595119],[120.997744,31.592807],[121.004957,31.582617],[120.992232,31.574481],[120.993743,31.573122],[120.994498,31.572519],[120.995132,31.571814],[120.995808,31.570941],[120.996425,31.570001],[120.99698,31.569197],[120.997267,31.568828],[120.99718,31.568424],[120.996798,31.568089],[120.99369,31.566608],[120.978109,31.556372],[120.979585,31.550363],[120.980166,31.549208],[120.974968,31.547459],[120.97383,31.547397],[120.975636,31.545478],[120.977606,31.545174],[120.980705,31.546902],[120.982276,31.547042],[120.982831,31.545365],[120.983257,31.543244],[120.984828,31.543546],[120.986355,31.543691],[120.988812,31.544013],[120.991199,31.544303],[120.992102,31.544581],[120.992883,31.544819],[120.99336,31.544857],[120.993638,31.544707],[120.993751,31.544393],[120.994966,31.5346],[120.998222,31.530648],[121.001346,31.52528],[121.002189,31.522434],[121.002049,31.521948],[121.001902,31.521555],[121.001651,31.520983],[121.001207,31.520228],[121.000008,31.518457],[120.999966,31.518392],[120.998751,31.516623],[120.998265,31.515995],[120.997692,31.515373],[120.99646,31.51434],[120.994879,31.513123],[120.99415,31.512632],[120.991164,31.510764],[120.990878,31.510483],[120.990592,31.510112],[120.990253,31.509648],[120.989862,31.509284],[120.988317,31.50804],[120.987527,31.507383],[120.985982,31.505777],[120.983274,31.502889],[120.982666,31.502511],[120.981816,31.502036],[120.980679,31.501151],[120.980124,31.500838],[120.979056,31.500495],[120.978517,31.500298],[120.97817,31.500005],[120.976616,31.498638],[120.976347,31.498467],[120.975419,31.497943],[120.97515,31.497854],[120.974786,31.497772],[120.974499,31.497723],[120.97423,31.497631],[120.971921,31.496191],[120.971392,31.495789],[120.967659,31.497936],[120.966645,31.49809],[120.962946,31.502982],[120.9603,31.500966],[120.954146,31.499777],[120.952861,31.505941],[120.95254,31.509201],[120.951135,31.509286],[120.950214,31.510048],[120.949537,31.511586],[120.948704,31.514431],[120.943297,31.515283],[120.942456,31.51976],[120.93704,31.5188],[120.93612,31.525475],[120.934853,31.528042],[120.934419,31.528116],[120.933759,31.528989],[120.933074,31.532142],[120.932588,31.532699],[120.931954,31.532645],[120.929542,31.531361],[120.927736,31.530286],[120.925922,31.529105],[120.924482,31.527821],[120.923405,31.526851],[120.921783,31.526274],[120.919396,31.525617],[120.915994,31.524025],[120.91451,31.523075],[120.913573,31.521998],[120.913304,31.521185],[120.913199,31.520162],[120.910223,31.522084],[120.908748,31.523789],[120.90879,31.525775],[120.91011,31.527112],[120.907637,31.529803],[120.904807,31.531345],[120.895955,31.52781],[120.891746,31.530474],[120.898637,31.537962],[120.900251,31.540297],[120.898073,31.541072],[120.897032,31.54165],[120.896008,31.541921],[120.894506,31.543052],[120.89533,31.53852],[120.895833,31.537537],[120.894974,31.536856],[120.891998,31.536647],[120.888709,31.536753],[120.887181,31.535989],[120.885081,31.5348],[120.881879,31.535903],[120.882104,31.534177],[120.882537,31.532442],[120.881096,31.531598],[120.879084,31.531566],[120.876567,31.532254],[120.874519,31.532687],[120.87451,31.531595],[120.874527,31.530716],[120.874328,31.530317],[120.874328,31.529188],[120.874128,31.527363],[120.873667,31.526102],[120.873468,31.525074],[120.873416,31.524362],[120.873086,31.523863],[120.872487,31.523398],[120.871688,31.523001],[120.871255,31.52257],[120.870891,31.521474],[120.870526,31.520809],[120.87043,31.51998],[120.870622,31.51892],[120.868148,31.518915],[120.867739,31.515202],[120.866421,31.513126],[120.865066,31.512525],[120.860927,31.513765],[120.859694,31.507144],[120.856214,31.508123],[120.85197,31.508188],[120.850416,31.508883],[120.84868,31.50989],[120.846614,31.509866],[120.846753,31.511769],[120.846206,31.513879],[120.845182,31.515313],[120.8423,31.517095],[120.842274,31.518556],[120.844539,31.519333],[120.844791,31.521961],[120.84473,31.522969],[120.842387,31.523226],[120.838498,31.522683],[120.835608,31.522562],[120.833846,31.52235],[120.830443,31.522013],[120.825096,31.521994],[120.825,31.523106],[120.824896,31.524871],[120.82428,31.527999],[120.823481,31.530937],[120.822753,31.533701],[120.821997,31.53583],[120.821676,31.536658],[120.820113,31.536924],[120.81862,31.536838],[120.817362,31.53681],[120.816858,31.536471],[120.816746,31.535762],[120.81658,31.535413],[120.81586,31.53534],[120.814983,31.535615],[120.814071,31.5357],[120.812501,31.535351],[120.811086,31.534992],[120.809731,31.535023],[120.808915,31.536049],[120.806389,31.537813],[120.805356,31.538152],[120.805147,31.538171],[120.804366,31.538172],[120.80434,31.535075],[120.804427,31.533991],[120.80434,31.532974],[120.803967,31.531891],[120.803385,31.530808],[120.802795,31.529614],[120.802092,31.528753],[120.801476,31.528204],[120.801033,31.527619],[120.800745,31.526452],[120.800764,31.524736],[120.800798,31.524189],[120.80066,31.523764],[120.800286,31.523605],[120.798853,31.523622],[120.795164,31.523574],[120.794565,31.523715],[120.794044,31.524763],[120.79282,31.5259],[120.791049,31.52612],[120.78874,31.526169],[120.786013,31.526319],[120.784095,31.526978],[120.783782,31.527824],[120.784147,31.529168],[120.784443,31.529841],[120.785128,31.531557],[120.785119,31.531857],[120.784755,31.531943],[120.783626,31.531907],[120.782246,31.531433],[120.781161,31.530843],[120.779285,31.5304],[120.778104,31.530547],[120.777175,31.53099],[120.776584,31.531875],[120.776498,31.533136],[120.776299,31.533815],[120.775595,31.534266],[120.773781,31.535058],[120.77247,31.535716],[120.771471,31.536508],[120.770386,31.537595],[120.763545,31.541812],[120.761304,31.542595],[120.760602,31.542324],[120.760246,31.54169],[120.759795,31.540106],[120.758544,31.536326],[120.758544,31.534785],[120.758804,31.533641],[120.758647,31.532877],[120.758092,31.531955],[120.757137,31.531662],[120.755696,31.531707],[120.754602,31.531774],[120.753768,31.531274],[120.753334,31.530958],[120.751137,31.531094],[120.74928,31.531273],[120.747292,31.532066],[120.744938,31.533018],[120.743758,31.533107],[120.743055,31.533289],[120.741197,31.534172],[120.73821,31.535598],[120.736787,31.536615],[120.73538,31.537565],[120.734208,31.537882],[120.732323,31.538018],[120.73103,31.538177],[120.731108,31.537248],[120.731299,31.529845],[120.731273,31.529546],[120.729745,31.529246],[120.72635,31.52922],[120.724745,31.529002],[120.724406,31.527947],[120.724284,31.525912],[120.724041,31.523876],[120.722374,31.522253],[120.719839,31.521382],[120.717694,31.521959],[120.714048,31.521681],[120.707484,31.52168],[120.705089,31.521761],[120.703951,31.521406],[120.702806,31.520319],[120.703083,31.518724],[120.702858,31.517352],[120.70225,31.515252],[120.700687,31.513216],[120.699133,31.512379],[120.698422,31.511883],[120.692795,31.501494],[120.693638,31.500392],[120.692127,31.498923],[120.691103,31.497922],[120.689939,31.497351],[120.688186,31.498189],[120.686919,31.498575],[120.684853,31.498756],[120.682517,31.498935],[120.680903,31.499228],[120.680208,31.500209],[120.680468,31.500862],[120.680417,31.501463],[120.679323,31.50171],[120.677813,31.501975],[120.677074,31.501976],[120.67625,31.501695],[120.67579,31.501142],[120.674835,31.499862],[120.673402,31.499862],[120.668272,31.500244],[120.666744,31.500107],[120.664462,31.50032],[120.662673,31.500673],[120.660417,31.500719],[120.659106,31.500689],[120.658629,31.500283],[120.657543,31.498774],[120.656606,31.497933],[120.65566,31.497978],[120.654731,31.498168],[120.653586,31.498356],[120.652284,31.498486],[120.651971,31.49899],[120.652058,31.500086],[120.652005,31.500489],[120.650781,31.501685],[120.651085,31.504504],[120.651355,31.505581],[120.650452,31.506299],[120.648481,31.506749],[120.645244,31.507738],[120.64363,31.508815],[120.643178,31.510251],[120.642735,31.512498],[120.642128,31.513145],[120.641095,31.513533],[120.639637,31.513683],[120.63896,31.514653],[120.638874,31.515821],[120.639142,31.517617],[120.639142,31.518605],[120.637615,31.518874],[120.634474,31.518874],[120.632946,31.519323],[120.631869,31.519862],[120.631869,31.521209],[120.633197,31.525001],[120.633458,31.526327],[120.63285,31.527121],[120.631643,31.527349],[120.629821,31.527426],[120.627417,31.527432],[120.622999,31.527515],[120.622322,31.527906],[120.62247,31.528924],[120.623112,31.531105],[120.624509,31.534397],[120.624882,31.537689],[120.624761,31.540727],[120.623242,31.542751],[120.622773,31.544074],[120.622782,31.545871],[120.622773,31.54746],[120.621888,31.547821],[120.619935,31.548001],[120.617783,31.549199],[120.617123,31.550354],[120.616481,31.551671],[120.615769,31.552961],[120.615188,31.553111],[120.613999,31.552629],[120.612524,31.551763],[120.611283,31.551853],[120.609781,31.552244],[120.608939,31.552152],[120.608939,31.551507],[120.609425,31.54911],[120.609364,31.548361],[120.609208,31.547988],[120.608306,31.547944],[120.600833,31.5482]]]]}},{type:"Feature",properties:{id:"320582",name:"张家港市",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.5937,31.754857],[120.593456,31.757161],[120.592753,31.758303],[120.590627,31.762563],[120.584318,31.764689],[120.584491,31.764917],[120.585195,31.768317],[120.58483,31.77216],[120.584526,31.773734],[120.582261,31.779342],[120.580855,31.782717],[120.580022,31.784278],[120.576516,31.786926],[120.56677,31.79563],[120.566471,31.795896],[120.55412,31.787815],[120.55238,31.787657],[120.551582,31.788968],[120.551593,31.791095],[120.551593,31.791122],[120.551593,31.791159],[120.551595,31.791435],[120.551594,31.791455],[120.551595,31.791483],[120.551613,31.795045],[120.551595,31.795384],[120.551219,31.79617],[120.549936,31.795727],[120.54553,31.794388],[120.544638,31.794144],[120.542425,31.794245],[120.541937,31.794002],[120.541025,31.792804],[120.540203,31.791546],[120.54009,31.789212],[120.52722,31.789836],[120.526812,31.795254],[120.525953,31.795814],[120.523783,31.797115],[120.52216,31.797579],[120.519573,31.803314],[120.517883,31.805383],[120.517268,31.806441],[120.517506,31.807139],[120.516733,31.808695],[120.51712,31.812475],[120.519182,31.812048],[120.519322,31.812559],[120.520193,31.812827],[120.523949,31.815666],[120.525613,31.816722],[120.526491,31.81909],[120.524964,31.82337],[120.526968,31.829901],[120.52446,31.833395],[120.517603,31.836207],[120.513003,31.83996],[120.510016,31.843534],[120.503863,31.845677],[120.498828,31.843685],[120.498377,31.848121],[120.498322,31.848548],[120.497561,31.849172],[120.497501,31.849418],[120.497596,31.849654],[120.498106,31.850203],[120.497848,31.852197],[120.497727,31.852534],[120.497475,31.852886],[120.497235,31.853755],[120.496935,31.854366],[120.495845,31.855776],[120.495485,31.855665],[120.494685,31.856656],[120.494285,31.856416],[120.493925,31.856496],[120.493655,31.856476],[120.493386,31.856146],[120.493315,31.856136],[120.493225,31.856306],[120.493034,31.856386],[120.493135,31.856636],[120.492955,31.856776],[120.492925,31.856896],[120.493935,31.858276],[120.493045,31.858576],[120.492494,31.858626],[120.492245,31.858746],[120.491955,31.859926],[120.491074,31.860773],[120.491475,31.861436],[120.491455,31.861656],[120.491055,31.862035],[120.490424,31.863476],[120.490434,31.864136],[120.489925,31.864838],[120.487769,31.867418],[120.48638,31.873275],[120.482604,31.874735],[120.480069,31.876341],[120.466727,31.881089],[120.464234,31.881497],[120.461986,31.889664],[120.461908,31.891853],[120.450222,31.893221],[120.4449,31.893789],[120.442347,31.89432],[120.442299,31.894336],[120.442274,31.894342],[120.439326,31.895226],[120.432171,31.897424],[120.422195,31.899665],[120.420294,31.900204],[120.416916,31.901711],[120.416604,31.901837],[120.403006,31.907306],[120.398431,31.908795],[120.39776,31.909153],[120.39765,31.909173],[120.397404,31.908703],[120.396854,31.907563],[120.396579,31.907153],[120.39628,31.907263],[120.39571,31.907243],[120.393179,31.907952],[120.393139,31.908012],[120.393359,31.908432],[120.393259,31.908652],[120.392909,31.908793],[120.392758,31.909122],[120.392388,31.909313],[120.391678,31.909972],[120.391529,31.910302],[120.391289,31.910301],[120.391209,31.910231],[120.391159,31.910121],[120.391218,31.909762],[120.391188,31.909642],[120.391058,31.909552],[120.390408,31.909362],[120.389329,31.908822],[120.389129,31.908362],[120.389318,31.908021],[120.388928,31.907731],[120.388168,31.907561],[120.38733,31.907106],[120.387147,31.907291],[120.386988,31.907641],[120.386597,31.908791],[120.386327,31.909211],[120.386167,31.909721],[120.385817,31.91],[120.385367,31.910161],[120.384907,31.910051],[120.384636,31.910071],[120.384506,31.91042],[120.384107,31.91085],[120.383837,31.911011],[120.383631,31.910935],[120.383507,31.910991],[120.383376,31.910821],[120.383126,31.91092],[120.382816,31.91035],[120.380406,31.91133],[120.380357,31.91144],[120.380477,31.91352],[120.380086,31.91375],[120.379956,31.91401],[120.379846,31.914069],[120.378846,31.91402],[120.378816,31.9138],[120.378516,31.91382],[120.378196,31.91341],[120.377915,31.912749],[120.376666,31.912949],[120.376676,31.913449],[120.375947,31.91343],[120.375845,31.913999],[120.375025,31.913989],[120.375024,31.914849],[120.375745,31.914799],[120.375745,31.91522],[120.374811,31.915419],[120.374874,31.915898],[120.374615,31.915949],[120.375055,31.917989],[120.375205,31.918289],[120.375395,31.918349],[120.375526,31.918309],[120.375745,31.918589],[120.376215,31.919579],[120.375165,31.920359],[120.376334,31.920691],[120.385746,31.927655],[120.386518,31.930404],[120.385572,31.933992],[120.381257,31.937424],[120.370612,31.94354],[120.369914,31.945356],[120.369899,31.945377],[120.369896,31.945402],[120.368798,31.948253],[120.366862,31.956777],[120.364153,31.962912],[120.365967,31.992651],[120.375779,32.000106],[120.383116,32.008477],[120.399022,32.018035],[120.404639,32.020725],[120.416552,32.026431],[120.43535,32.035432],[120.458166,32.046354],[120.461057,32.047736],[120.464842,32.04727],[120.47611,32.045889],[120.490062,32.044175],[120.497873,32.043214],[120.499332,32.043035],[120.52025,32.032516],[120.548831,32.02328],[120.57491,32.014843],[120.584066,32.011881],[120.590211,32.010827],[120.604261,32.00842],[120.624144,32.003325],[120.637493,32.003131],[120.648377,32.004515],[120.648794,32.004612],[120.662309,32.00783],[120.669913,32.009637],[120.682127,32.012133],[120.698117,32.015398],[120.704021,32.016085],[120.728147,32.018883],[120.736578,32.019863],[120.743802,32.020769],[120.751155,32.021695],[120.756747,32.022397],[120.757155,32.022447],[120.766341,32.022611],[120.771732,32.020413],[120.777636,32.01801],[120.777705,32.017862],[120.783357,32.005302],[120.785684,32.000116],[120.798767,31.990481],[120.849209,31.890762],[120.853202,31.881961],[120.856092,31.875171],[120.859234,31.870064],[120.879648,31.836852],[120.88561,31.829094],[120.852368,31.801463],[120.802491,31.820317],[120.799366,31.825013],[120.798984,31.824629],[120.798784,31.824436],[120.796684,31.823272],[120.792489,31.820702],[120.78643,31.814716],[120.781395,31.817775],[120.763189,31.826046],[120.758361,31.8293],[120.753178,31.832456],[120.742977,31.838669],[120.742638,31.838002],[120.737967,31.833844],[120.732011,31.828536],[120.729198,31.824419],[120.726272,31.824592],[120.72602,31.824136],[120.72424,31.820929],[120.720065,31.815781],[120.722878,31.815308],[120.723381,31.813937],[120.722721,31.812543],[120.721219,31.807995],[120.723928,31.805879],[120.724258,31.80127],[120.723789,31.796833],[120.726159,31.794414],[120.725048,31.788301],[120.723068,31.784036],[120.721176,31.784247],[120.717555,31.781017],[120.7118,31.778425],[120.712338,31.777759],[120.715324,31.774873],[120.718103,31.76927],[120.719031,31.76386],[120.715897,31.762443],[120.714083,31.760607],[120.71232,31.757174],[120.708335,31.757788],[120.703039,31.757693],[120.695921,31.753551],[120.692726,31.75188],[120.69198,31.751866],[120.686771,31.75242],[120.684392,31.752377],[120.683897,31.751932],[120.682734,31.751192],[120.682439,31.750755],[120.682092,31.750296],[120.681363,31.75],[120.68118,31.749642],[120.681224,31.748969],[120.681041,31.748732],[120.679696,31.74893],[120.67947,31.748782],[120.678836,31.746298],[120.67862,31.745773],[120.676189,31.745208],[120.675625,31.745031],[120.675043,31.744416],[120.674539,31.744275],[120.674487,31.743895],[120.674375,31.742216],[120.672673,31.738897],[120.671649,31.737479],[120.670312,31.736039],[120.668168,31.733527],[120.668029,31.733324],[120.667674,31.733078],[120.667144,31.733292],[120.664184,31.73505],[120.660217,31.735202],[120.654045,31.72875],[120.650652,31.726661],[120.645608,31.727245],[120.641416,31.725807],[120.636217,31.722545],[120.629083,31.723214],[120.62529,31.724434],[120.624422,31.724698],[120.617497,31.725328],[120.614068,31.726075],[120.609781,31.728259],[120.606761,31.732719],[120.604643,31.733129],[120.598794,31.733932],[120.595314,31.735893],[120.591087,31.73559],[120.589117,31.740304],[120.590619,31.743271],[120.59455,31.74493],[120.595817,31.746758],[120.5937,31.754857]]]]}},{type:"Feature",properties:{id:"320509",name:"吴江区",site:"www.poi86.com"},geometry:{type:"MultiPolygon",coordinates:[[[[120.35377,30.893804],[120.354404,30.893928],[120.354352,30.894628],[120.355498,30.894866],[120.354838,30.898197],[120.354369,30.901747],[120.354742,30.905124],[120.354031,30.90704],[120.352937,30.909279],[120.352295,30.910952],[120.352199,30.913068],[120.352685,30.914954],[120.353162,30.920167],[120.353779,30.921424],[120.354786,30.92238],[120.35706,30.923104],[120.358068,30.92372],[120.358215,30.925094],[120.358041,30.92665],[120.355906,30.930282],[120.355532,30.932456],[120.354821,30.933959],[120.355037,30.93499],[120.356375,30.935892],[120.360359,30.939688],[120.362115,30.9418],[120.36264,30.941961],[120.362615,30.9424],[120.363807,30.943834],[120.365569,30.945475],[120.366654,30.947462],[120.36701,30.948497],[120.366523,30.94837],[120.36606,30.949472],[120.365917,30.949445],[120.365514,30.95021],[120.366457,30.950791],[120.368216,30.954366],[120.37083,30.957607],[120.381856,30.963357],[120.389818,30.964906],[120.395062,30.968002],[120.400601,30.969957],[120.408008,30.971958],[120.413843,30.973456],[120.418574,30.975626],[120.422473,30.97915],[120.424288,30.981026],[120.428386,30.986621],[120.432727,30.99337],[120.43811,31.000597],[120.442772,31.005741],[120.45339,31.016522],[120.457471,31.022329],[120.460718,31.029393],[120.480451,31.053571],[120.482222,31.056054],[120.487188,31.059779],[120.49553,31.064214],[120.536602,31.08806],[120.5512,31.096904],[120.553447,31.100187],[120.553864,31.102458],[120.554515,31.104084],[120.555948,31.105242],[120.557153,31.105846],[120.564903,31.118572],[120.585914,31.154615],[120.589811,31.159242],[120.591434,31.159754],[120.592805,31.161176],[120.594202,31.162714],[120.595391,31.163062],[120.597136,31.163062],[120.600078,31.162852],[120.602109,31.162152],[120.604313,31.162295],[120.60525,31.163942],[120.606778,31.165975],[120.608732,31.168623],[120.610215,31.170639],[120.612298,31.172808],[120.61504,31.175048],[120.617132,31.176662],[120.618789,31.178132],[120.61957,31.179107],[120.619935,31.180337],[120.620179,31.182857],[120.619996,31.184884],[120.620022,31.186946],[120.618738,31.196867],[120.618486,31.19932],[120.618382,31.201561],[120.618521,31.203517],[120.619215,31.205738],[120.619892,31.207536],[120.62023,31.208487],[120.620682,31.209337],[120.62188,31.21043],[120.625942,31.211967],[120.628276,31.212417],[120.629873,31.212903],[120.630098,31.212979],[120.630298,31.213118],[120.630351,31.213493],[120.630316,31.213775],[120.630142,31.214529],[120.629561,31.215963],[120.629152,31.217087],[120.628041,31.222774],[120.627469,31.225266],[120.62744,31.225604],[120.637598,31.226061],[120.637944,31.224745],[120.638153,31.223747],[120.639133,31.223093],[120.639828,31.223188],[120.644472,31.223874],[120.645895,31.223644],[120.646546,31.222906],[120.646911,31.221753],[120.647371,31.221336],[120.649957,31.2212],[120.650973,31.221753],[120.651754,31.222446],[120.653135,31.222582],[120.655122,31.222398],[120.656181,31.221384],[120.656363,31.218249],[120.656415,31.214973],[120.657031,31.211126],[120.658169,31.209196],[120.658862,31.208244],[120.659271,31.20789],[120.659714,31.205872],[120.660313,31.203632],[120.660434,31.202786],[120.660356,31.20202],[120.660156,31.200646],[120.660139,31.198246],[120.660373,31.197599],[120.661059,31.197217],[120.661988,31.197035],[120.663342,31.197116],[120.664713,31.197096],[120.666145,31.196993],[120.66664,31.19641],[120.667543,31.195196],[120.668646,31.192658],[120.669444,31.190136],[120.670373,31.189337],[120.671727,31.189276],[120.672708,31.190014],[120.673203,31.190874],[120.673072,31.192781],[120.673142,31.194563],[120.674548,31.195548],[120.675669,31.196607],[120.676962,31.19835],[120.677396,31.198639],[120.679565,31.198788],[120.681024,31.19899],[120.683646,31.199874],[120.684956,31.200377],[120.686015,31.200883],[120.687231,31.20164],[120.688038,31.20222],[120.689549,31.202977],[120.691163,31.203657],[120.693612,31.20396],[120.697041,31.203709],[120.701225,31.203356],[120.703604,31.203104],[120.707128,31.202751],[120.709777,31.202297],[120.713006,31.20202],[120.713023,31.201371],[120.71305,31.200223],[120.71305,31.198072],[120.713232,31.19432],[120.714525,31.191124],[120.717043,31.187311],[120.71871,31.185773],[120.719813,31.185404],[120.724492,31.189157],[120.729658,31.194014],[120.732115,31.197213],[120.734208,31.200165],[120.737037,31.203241],[120.739738,31.206377],[120.743125,31.211667],[120.744661,31.215171],[120.747309,31.217939],[120.748533,31.221259],[120.749766,31.224026],[120.750382,31.225197],[120.751181,31.225318],[120.753768,31.225013],[120.756043,31.224582],[120.758335,31.22342],[120.760957,31.221695],[120.762998,31.220895],[120.766158,31.21967],[120.771559,31.216461],[120.774258,31.214473],[120.775578,31.213201],[120.775682,31.211928],[120.774101,31.208158],[120.773234,31.206476],[120.770846,31.204642],[120.76977,31.203213],[120.769362,31.201584],[120.769466,31.199088],[120.770334,31.197153],[120.772626,31.195472],[120.78465,31.191653],[120.788627,31.190127],[120.789391,31.189462],[120.789495,31.188036],[120.789035,31.186101],[120.789442,31.184928],[120.790155,31.184317],[120.792551,31.183248],[120.804826,31.178358],[120.811641,31.175701],[120.812683,31.175108],[120.817926,31.170581],[120.818864,31.167479],[120.817692,31.162183],[120.818082,31.161758],[120.81836,31.161809],[120.819011,31.15329],[120.810469,31.152819],[120.808941,31.149934],[120.808933,31.144741],[120.811172,31.133778],[120.815582,31.126778],[120.818576,31.124953],[120.833672,31.120619],[120.837578,31.118691],[120.845025,31.113073],[120.851579,31.10732],[120.852672,31.106134],[120.85262,31.10507],[120.854373,31.103085],[120.855589,31.102529],[120.857889,31.103297],[120.858583,31.102369],[120.859824,31.102554],[120.860328,31.100621],[120.861578,31.099879],[120.865414,31.099481],[120.865649,31.101202],[120.867272,31.101574],[120.868382,31.10115],[120.869016,31.10258],[120.869728,31.102713],[120.872479,31.102209],[120.871854,31.100129],[120.874813,31.100654],[120.874085,31.098481],[120.873929,31.098029],[120.874475,31.097689],[120.878242,31.097457],[120.883336,31.096354],[120.886122,31.096266],[120.886877,31.096585],[120.886817,31.098064],[120.887077,31.099454],[120.888205,31.099773],[120.8887,31.098818],[120.888639,31.098121],[120.888032,31.09647],[120.888553,31.095107],[120.889715,31.093687],[120.891277,31.092991],[120.891946,31.091717],[120.89218,31.090007],[120.892553,31.088933],[120.893621,31.088963],[120.895157,31.089223],[120.89632,31.08899],[120.897969,31.087947],[120.897882,31.08728],[120.897535,31.086382],[120.897882,31.085687],[120.898689,31.085005],[120.900581,31.082787],[120.900884,31.081678],[120.900477,31.080815],[120.899262,31.080359],[120.897691,31.080407],[120.896467,31.080735],[120.895478,31.080653],[120.8952,31.079789],[120.89546,31.078921],[120.895435,31.077387],[120.894723,31.07281],[120.893473,31.069293],[120.891772,31.065376],[120.890479,31.060962],[120.890427,31.056197],[120.891303,31.052633],[120.892344,31.051333],[120.893074,31.050532],[120.892883,31.047889],[120.895599,31.041916],[120.897318,31.041068],[120.897838,31.039958],[120.89737,31.035805],[120.897274,31.029787],[120.897206,31.027827],[120.896849,31.024782],[120.896424,31.022753],[120.896918,31.020958],[120.897222,31.019826],[120.896233,31.019791],[120.896137,31.019251],[120.891009,31.019686],[120.890505,31.014041],[120.887484,31.012414],[120.887216,31.006071],[120.885307,31.004778],[120.876028,31.00122],[120.875967,31.000088],[120.875794,30.999853],[120.87405,30.999606],[120.872462,30.999541],[120.871438,30.999287],[120.870543,30.998656],[120.869884,30.998211],[120.869215,30.997761],[120.868963,30.997582],[120.86892,30.997571],[120.867557,30.997587],[120.866916,30.997602],[120.864936,30.997657],[120.864616,30.997665],[120.863878,30.997678],[120.863738,30.996732],[120.863652,30.996177],[120.863608,30.995968],[120.863556,30.995604],[120.863548,30.995523],[120.863314,30.994332],[120.863236,30.993709],[120.863175,30.993297],[120.863053,30.993286],[120.862819,30.993279],[120.862732,30.993288],[120.862255,30.993347],[120.861691,30.99341],[120.861438,30.993447],[120.861326,30.993466],[120.861308,30.993427],[120.861326,30.993335],[120.861369,30.993041],[120.861404,30.99282],[120.861474,30.992424],[120.8615,30.992307],[120.8615,30.992194],[120.861483,30.99212],[120.861457,30.992068],[120.861412,30.992023],[120.861335,30.991994],[120.861248,30.991971],[120.861187,30.991958],[120.861083,30.991949],[120.860701,30.991971],[120.860562,30.991975],[120.860415,30.991967],[120.860241,30.99195],[120.860137,30.991948],[120.859928,30.991964],[120.85985,30.992001],[120.859798,30.992041],[120.859772,30.992071],[120.859712,30.992188],[120.859651,30.992401],[120.859625,30.992542],[120.859608,30.992704],[120.859582,30.992776],[120.859547,30.992776],[120.859485,30.99277],[120.859321,30.99275],[120.858948,30.992675],[120.858644,30.992644],[120.858297,30.992594],[120.858201,30.992595],[120.858158,30.99259],[120.858106,30.992576],[120.858071,30.992566],[120.857958,30.992546],[120.85788,30.992501],[120.857793,30.992451],[120.85769,30.992414],[120.857594,30.992378],[120.857559,30.992397],[120.857455,30.992672],[120.857446,30.992787],[120.857082,30.993083],[120.856448,30.992894],[120.856405,30.992872],[120.856265,30.992812],[120.855884,30.992651],[120.855841,30.99264],[120.855156,30.992386],[120.85486,30.992287],[120.8546,30.992182],[120.854486,30.992138],[120.854451,30.992145],[120.854382,30.992173],[120.854313,30.992204],[120.854244,30.992241],[120.8542,30.99228],[120.854174,30.992319],[120.854088,30.992531],[120.854053,30.992572],[120.853913,30.992766],[120.853723,30.993048],[120.853445,30.993415],[120.853193,30.993703],[120.853081,30.993851],[120.85302,30.993908],[120.852933,30.994003],[120.852873,30.994064],[120.852638,30.994265],[120.852534,30.994337],[120.852352,30.994437],[120.852195,30.994545],[120.852134,30.994595],[120.851944,30.994709],[120.851709,30.994858],[120.851475,30.99498],[120.851241,30.995093],[120.851093,30.995156],[120.850997,30.995203],[120.850833,30.995266],[120.850789,30.995282],[120.850529,30.99541],[120.850364,30.995464],[120.85019,30.995517],[120.850112,30.995529],[120.850051,30.995535],[120.84986,30.995538],[120.849635,30.995525],[120.849495,30.995494],[120.849391,30.995435],[120.849157,30.995312],[120.84908,30.995256],[120.848845,30.995083],[120.848533,30.994778],[120.848367,30.994633],[120.848107,30.994418],[120.84789,30.99421],[120.847656,30.994014],[120.847387,30.993795],[120.846953,30.993383],[120.846744,30.993237],[120.84657,30.993094],[120.846067,30.992771],[120.845989,30.992706],[120.845902,30.992658],[120.84579,30.992608],[120.845615,30.992537],[120.845408,30.992465],[120.84533,30.992419],[120.845129,30.992372],[120.844713,30.99225],[120.844548,30.992211],[120.844453,30.992211],[120.844349,30.992168],[120.843932,30.992051],[120.843759,30.992001],[120.84362,30.99196],[120.843481,30.991935],[120.843385,30.991918],[120.843203,30.991884],[120.84316,30.991895],[120.843134,30.99191],[120.843082,30.991962],[120.843029,30.99203],[120.842977,30.992131],[120.842838,30.992374],[120.842743,30.99258],[120.842708,30.992667],[120.842656,30.992776],[120.842543,30.993051],[120.842491,30.993216],[120.842326,30.993721],[120.842283,30.993863],[120.84217,30.994178],[120.8421,30.994391],[120.842048,30.994485],[120.841953,30.994622],[120.841909,30.994655],[120.841823,30.994685],[120.84171,30.994753],[120.841667,30.994764],[120.841631,30.994762],[120.841519,30.994742],[120.841233,30.994653],[120.841076,30.994616],[120.840825,30.994549],[120.840616,30.994462],[120.840548,30.99444],[120.840334,30.99434],[120.840104,30.994265],[120.839962,30.994265],[120.839643,30.994345],[120.839339,30.99444],[120.839075,30.994602],[120.838788,30.994905],[120.838597,30.99516],[120.838342,30.995338],[120.837822,30.996259],[120.836979,30.997589],[120.835859,31.000094],[120.826616,31.004453],[120.818733,31.007936],[120.816641,31.00859],[120.810061,31.007973],[120.798627,31.007606],[120.776664,31.003115],[120.774562,31.001792],[120.773954,31.000092],[120.771767,30.997837],[120.770751,30.997223],[120.769622,30.99724],[120.768102,30.997548],[120.76766,30.998702],[120.76713,30.999162],[120.766332,30.999121],[120.765594,30.998785],[120.765515,30.998214],[120.765333,30.995696],[120.764839,30.994099],[120.764013,30.992905],[120.763736,30.991763],[120.763501,30.989704],[120.763709,30.987237],[120.764525,30.984302],[120.765368,30.982973],[120.765872,30.981415],[120.765846,30.980269],[120.765368,30.979475],[120.762286,30.978312],[120.758952,30.978128],[120.756348,30.977596],[120.754134,30.97671],[120.752449,30.97547],[120.751224,30.974222],[120.749376,30.971269],[120.747483,30.969632],[120.746398,30.968449],[120.745243,30.967203],[120.743689,30.965849],[120.742204,30.965236],[120.741604,30.964677],[120.738748,30.96492],[120.736753,30.965316],[120.735316,30.966267],[120.734713,30.967148],[120.734505,30.968562],[120.734041,30.969211],[120.731213,30.970324],[120.730053,30.971461],[120.729057,30.971902],[120.723259,30.97335],[120.721271,30.973721],[120.719005,30.973519],[120.71654,30.973267],[120.714335,30.97301],[120.712008,30.972762],[120.709933,30.9725],[120.707554,30.973278],[120.705774,30.974102],[120.705105,30.973883],[120.704308,30.973491],[120.703881,30.972464],[120.703526,30.971149],[120.703109,30.970122],[120.702302,30.969278],[120.701225,30.968664],[120.700019,30.968508],[120.698439,30.969156],[120.696998,30.970725],[120.695305,30.972472],[120.693915,30.973006],[120.693161,30.972101],[120.691875,30.970734],[120.69079,30.969722],[120.689783,30.969045],[120.689089,30.967562],[120.686511,30.964794],[120.685225,30.963609],[120.683811,30.962591],[120.681233,30.959415],[120.680191,30.957427],[120.683796,30.955687],[120.688312,30.954141],[120.692556,30.95298],[120.693273,30.952571],[120.694641,30.950332],[120.69481,30.950139],[120.696068,30.948429],[120.698269,30.946136],[120.699719,30.944417],[120.7012,30.942816],[120.703144,30.939706],[120.705148,30.9354],[120.706329,30.931274],[120.706868,30.928807],[120.707466,30.926219],[120.707899,30.923438],[120.708353,30.922475],[120.708379,30.921927],[120.708058,30.920108],[120.707741,30.917733],[120.707785,30.916731],[120.707569,30.914754],[120.707077,30.912978],[120.706312,30.911367],[120.705519,30.909783],[120.705437,30.908389],[120.705792,30.904892],[120.706393,30.901178],[120.707377,30.897544],[120.708306,30.893584],[120.708415,30.89088],[120.708603,30.88868],[120.708952,30.887295],[120.704073,30.886948],[120.701798,30.886583],[120.698274,30.886294],[120.696998,30.885622],[120.696442,30.884484],[120.696346,30.882932],[120.697249,30.881092],[120.698343,30.87964],[120.699116,30.878024],[120.699993,30.875207],[120.699628,30.873208],[120.697396,30.871231],[120.695652,30.870107],[120.694524,30.870125],[120.693212,30.871054],[120.692631,30.872038],[120.691372,30.872511],[120.690173,30.872364],[120.688855,30.872952],[120.688473,30.873928],[120.688369,30.87536],[120.689722,30.877008],[120.686241,30.878893],[120.683203,30.880074],[120.681884,30.880779],[120.681433,30.881475],[120.68138,30.882339],[120.681745,30.883995],[120.681224,30.884797],[120.680634,30.885212],[120.679766,30.885223],[120.678567,30.884841],[120.677543,30.883415],[120.676849,30.881996],[120.676571,30.880791],[120.675625,30.879891],[120.67335,30.879237],[120.671076,30.878691],[120.66941,30.878031],[120.668863,30.877228],[120.666102,30.87148],[120.665494,30.870647],[120.665577,30.870196],[120.665106,30.870114],[120.663577,30.868016],[120.661762,30.866551],[120.660529,30.864852],[120.659049,30.863659],[120.658898,30.863675],[120.658808,30.863766],[120.658593,30.864274],[120.65775,30.86617],[120.657592,30.866407],[120.657199,30.866772],[120.657037,30.866826],[120.656867,30.866848],[120.65671,30.866871],[120.656471,30.866951],[120.65628,30.867018],[120.656166,30.867131],[120.656019,30.867493],[120.655917,30.86764],[120.655748,30.867698],[120.655453,30.867708],[120.655262,30.867731],[120.655081,30.867776],[120.654842,30.867787],[120.654602,30.86774],[120.654489,30.867626],[120.654446,30.867315],[120.654404,30.866679],[120.654361,30.866325],[120.654278,30.866099],[120.653719,30.865456],[120.653563,30.865201],[120.653506,30.864904],[120.653563,30.864523],[120.653719,30.863971],[120.65386,30.863689],[120.653889,30.863406],[120.653818,30.863137],[120.65369,30.862896],[120.653676,30.862543],[120.653683,30.859976],[120.653626,30.859253],[120.653582,30.859049],[120.65348,30.858822],[120.653253,30.858676],[120.652869,30.858562],[120.651868,30.858375],[120.651143,30.858173],[120.65085,30.858036],[120.650669,30.857844],[120.650578,30.857516],[120.650578,30.856984],[120.650624,30.855615],[120.650663,30.854264],[120.65063,30.853619],[120.650663,30.853086],[120.650832,30.852126],[120.651002,30.851311],[120.651093,30.850644],[120.651149,30.850191],[120.651195,30.849874],[120.651149,30.849649],[120.651002,30.849501],[120.650686,30.849411],[120.650347,30.849376],[120.649804,30.849456],[120.649464,30.849547],[120.648571,30.849886],[120.648118,30.850022],[120.647632,30.850135],[120.647421,30.850161],[120.646068,30.850832],[120.643639,30.852464],[120.6412,30.85387],[120.640557,30.8544],[120.640296,30.854918],[120.640462,30.856978],[120.64053,30.857241],[120.640348,30.857504],[120.639984,30.857752],[120.639385,30.857843],[120.638278,30.857817],[120.63721,30.857714],[120.634359,30.856736],[120.632692,30.856346],[120.632041,30.856281],[120.630622,30.856789],[120.629659,30.857037],[120.628578,30.857128],[120.627705,30.857167],[120.62657,30.857799],[120.625644,30.857961],[120.624038,30.858224],[120.623527,30.858327],[120.622636,30.858441],[120.62206,30.858485],[120.621526,30.858301],[120.620417,30.857427],[120.618896,30.856029],[120.617865,30.85512],[120.61665,30.854396],[120.615628,30.854151],[120.614997,30.853756],[120.614424,30.853179],[120.613834,30.852878],[120.612745,30.852421],[120.611356,30.852027],[120.609163,30.851547],[120.606934,30.851181],[120.604488,30.850674],[120.604007,30.850796],[120.603527,30.851016],[120.602758,30.851111],[120.602006,30.85112],[120.601229,30.851129],[120.600268,30.85113],[120.599473,30.8512],[120.598861,30.851339],[120.597865,30.851628],[120.596284,30.852109],[120.594667,30.852538],[120.593375,30.852933],[120.590917,30.853903],[120.58997,30.854167],[120.58901,30.854609],[120.587271,30.854962],[120.586608,30.855179],[120.585404,30.856385],[120.58492,30.85672],[120.58482,30.856852],[120.584144,30.856232],[120.583206,30.85529],[120.582122,30.854394],[120.579449,30.852259],[120.578668,30.851155],[120.577792,30.849301],[120.57675,30.848099],[120.571812,30.845045],[120.570093,30.844005],[120.568045,30.843297],[120.565216,30.841211],[120.562552,30.839456],[120.559627,30.837929],[120.557743,30.836434],[120.555305,30.833932],[120.55442,30.831773],[120.554461,30.830753],[120.553996,30.829745],[120.553004,30.828624],[120.550394,30.826575],[120.548969,30.824701],[120.547575,30.822891],[120.545911,30.820537],[120.544598,30.81892],[120.543428,30.817543],[120.542068,30.815365],[120.540466,30.812498],[120.539074,30.810272],[120.537264,30.807966],[120.534862,30.804859],[120.532204,30.801048],[120.530138,30.798294],[120.52933,30.797057],[120.528873,30.796356],[120.526503,30.793186],[120.52583,30.792097],[120.524213,30.790063],[120.521858,30.787229],[120.521107,30.786155],[120.520274,30.784971],[120.519121,30.783176],[120.516191,30.778565],[120.513917,30.77557],[120.513132,30.774625],[120.511075,30.772351],[120.507148,30.767666],[120.506148,30.76664],[120.504868,30.765144],[120.503698,30.763901],[120.502311,30.762559],[120.501006,30.761099],[120.500079,30.760283],[120.499519,30.760149],[120.499106,30.760258],[120.498545,30.760648],[120.49796,30.761074],[120.496621,30.761684],[120.495183,30.76222],[120.493954,30.762427],[120.492625,30.762951],[120.490933,30.763596],[120.489787,30.763816],[120.488387,30.764034],[120.487265,30.764522],[120.485012,30.765678],[120.484671,30.765947],[120.484657,30.766107],[120.484646,30.766605],[120.484013,30.767068],[120.48372,30.768944],[120.482332,30.772021],[120.479883,30.775602],[120.476229,30.78062],[120.474414,30.78425],[120.474146,30.78525],[120.473245,30.786808],[120.472538,30.787807],[120.472099,30.789294],[120.471245,30.793757],[120.471201,30.794558],[120.472024,30.799756],[120.472024,30.800253],[120.472435,30.800816],[120.472691,30.801377],[120.472769,30.802224],[120.473062,30.803194],[120.472367,30.806142],[120.472344,30.80757],[120.472182,30.808376],[120.468664,30.809197],[120.468248,30.808873],[120.468248,30.80843],[120.468248,30.807998],[120.463804,30.807778],[120.463742,30.808928],[120.463712,30.809483],[120.462119,30.809493],[120.460732,30.809976],[120.46075,30.810853],[120.459949,30.811236],[120.459202,30.815611],[120.458373,30.817647],[120.453951,30.817664],[120.453094,30.822232],[120.452652,30.82325],[120.452465,30.826628],[120.45544,30.827845],[120.456273,30.829278],[120.45649,30.830417],[120.455874,30.841999],[120.454502,30.843108],[120.452731,30.844733],[120.45129,30.846697],[120.450846,30.847905],[120.449909,30.851753],[120.449128,30.85245],[120.448069,30.852807],[120.444014,30.852918],[120.441834,30.853856],[120.439473,30.855432],[120.437441,30.857402],[120.43672,30.858388],[120.436469,30.859591],[120.436534,30.860239],[120.43678,30.860732],[120.43739,30.862962],[120.439204,30.8642],[120.44338,30.867589],[120.445924,30.868651],[120.447809,30.870004],[120.448633,30.871825],[120.44793,30.873667],[120.445759,30.875355],[120.444171,30.875945],[120.44252,30.876886],[120.440107,30.879659],[120.43827,30.882157],[120.43686,30.884915],[120.434976,30.887285],[120.430669,30.88854],[120.429897,30.890039],[120.430235,30.894445],[120.430799,30.897017],[120.431746,30.898992],[120.433187,30.899789],[120.434507,30.900193],[120.435905,30.900824],[120.437164,30.901688],[120.437684,30.902664],[120.437016,30.905356],[120.434759,30.90695],[120.434081,30.907983],[120.433757,30.908708],[120.431309,30.908121],[120.430857,30.90977],[120.430364,30.909699],[120.430194,30.911197],[120.432729,30.911872],[120.432333,30.913727],[120.433058,30.914216],[120.43304,30.917049],[120.432336,30.919001],[120.431234,30.920908],[120.4304,30.922865],[120.420051,30.928653],[120.418801,30.929466],[120.416873,30.929896],[120.415475,30.929733],[120.413383,30.92758],[120.413157,30.926098],[120.414094,30.922079],[120.415796,30.916304],[120.41788,30.908505],[120.418871,30.905113],[120.419272,30.903725],[120.410491,30.902514],[120.40815,30.901504],[120.40502,30.90004],[120.402003,30.899414],[120.402216,30.898277],[120.400595,30.897922],[120.401159,30.895831],[120.400454,30.895695],[120.390052,30.892814],[120.388064,30.892898],[120.385825,30.893319],[120.383715,30.893546],[120.380041,30.89361],[120.374762,30.892823],[120.374042,30.890814],[120.372618,30.887682],[120.367704,30.887077],[120.36766,30.886354],[120.3678,30.884218],[120.361037,30.882525],[120.36003,30.882537],[120.357851,30.885122],[120.353396,30.889173],[120.352937,30.890423],[120.352902,30.890788],[120.354387,30.891619],[120.35377,30.893804]]]]}}]}),l={},s={"高新区":"虎丘区"};function c(t){const e=(t||"").trim();if(!e)return null;const n=function(t){const e=t.trim();return s[e]||e}(e),o=u[n]??l[n]??null;return o&&o.length?o:null}!function(){let t=1/0,e=-1/0,n=1/0,o=-1/0;const i=i=>{for(const r of i)for(const i of r)t=Math.min(t,i.latitude),e=Math.max(e,i.latitude),n=Math.min(n,i.longitude),o=Math.max(o,i.longitude)};for(const r of Object.values(u))i(r);for(const r of Object.values(l))i(r);!Number.isFinite(t)||e<=t||Number.isFinite(n)}();const a=new Set(["工业园区","苏州工业园区"]),g={"高新区":["虎丘区"],"虎丘区":["高新区"]};function p(t,e){const n=(t??"").trim(),o=(e??"").trim();if(!o)return!0;if(n===o)return!0;if(a.has(o)&&a.has(n))return!0;const i=g[o];return!(!i||!i.includes(n))}const y={"张家港市":10,"常熟市":10,"太仓市":10,"昆山市":10,"吴江区":10,"吴中区":9,"相城区":10,"姑苏区":11,"工业园区":11,"苏州工业园区":11,"虎丘区":10,"高新区":10};function d(t){const e=(t??"").trim();if(!e)return null;const n=y[e];return null!=n&&Number.isFinite(n)?n:null}function f(t){return{latitude:t.y,longitude:t.x}}function m(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)}function h(t,e,n){const o=e.x-t.x,i=e.y-t.y,r=Math.hypot(o,i)||1e-9,u=-i/r*n,l=o/r*n,s={x:t.x+u,y:t.y+l},c={x:e.x+u,y:e.y+l},a={x:e.x-u,y:e.y-l},g={x:t.x-u,y:t.y-l};return[f(s),f(c),f(a),f(g),f(s)]}function x(t,e=.012){const i=[];for(const n of t){const t=Number(n.lat),e=Number(n.lng);Number.isFinite(t)&&Number.isFinite(e)&&i.push({x:e,y:t})}if(0===i.length)return null;const r=t=>`${t.x.toFixed(5)},${t.y.toFixed(5)}`,u=new Set,l=[];for(const n of i){const t=r(n);u.has(t)||(u.add(t),l.push(n))}if(0===l.length)return null;if(1===l.length){const t=l[0];return s=t.y-e,c=t.y+e,a=t.x-e,g=t.x+e,[{latitude:c,longitude:a},{latitude:c,longitude:g},{latitude:s,longitude:g},{latitude:s,longitude:a},{latitude:c,longitude:a}]}var s,c,a,g;if(2===l.length)return h(l[0],l[1],Math.max(e,.008));const p=function(t){const e=t.length;if(e<=1)return t.slice();if(2===e)return[t[0],t[1]];const n=[...t].sort((t,e)=>t.x===e.x?t.y-e.y:t.x-e.x),o=[];for(const r of n){for(;o.length>=2&&m(o[o.length-2],o[o.length-1],r)<=0;)o.pop();o.push(r)}const i=[];for(let r=n.length-1;r>=0;r--){const t=n[r];for(;i.length>=2&&m(i[i.length-2],i[i.length-1],t)<=0;)i.pop();i.push(t)}return o.pop(),i.pop(),o.concat(i)}(l);if(p.length<2)return null;if(2===p.length)return h(p[0],p[1],Math.max(e,.008));const y=function(t){const e=t.length||1;return{x:t.reduce((t,e)=>t+e.x,0)/e,y:t.reduce((t,e)=>t+e.y,0)/e}}(l),d=function(t,e,n){return t.map(t=>({x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}))}(p,y,1+Math.max(.03,8*e));return n(o(d.map(f)),130)}function w(t){let e=1/0,n=-1/0,o=1/0,i=-1/0;for(const r of t)for(const t of r)e=Math.min(e,t.latitude),n=Math.max(n,t.latitude),o=Math.min(o,t.longitude),i=Math.max(i,t.longitude);return Number.isFinite(e)?{latitude:(e+n)/2,longitude:(o+i)/2}:{latitude:0,longitude:0}}export{x as a,w as b,e as d,c as g,d as m,p as v}; diff --git a/public/h5/index.html b/public/h5/index.html index 67822ad..818fb32 100644 --- a/public/h5/index.html +++ b/public/h5/index.html @@ -9,7 +9,7 @@ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> 苏州市科普场馆地图 - +