2023-11-15 15:57:04 +08:00

9 lines
107 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e}from"./u-icon.71776381.js";import{d as t,u as o,c as l,r,$ as n,aJ as a,aK as i,q as s,t as u,i as d,j as c,w as p,P as m,R as f,Q as h,D as g,n as v,y as b,k as x,m as y,G as _,H as w,p as C,e as k,x as R,I as S,W as D,aL as E,aM as T,a7 as N,J as I,aN as B,ax as O,aO as j,a2 as W,K as A,N as z,A as F,B as M,C as H,F as P,aP as L,aQ as X,aR as Y,o as G,aS as U,aG as $,aT as V}from"./index-faf5e276.js";import{_ as q}from"./u--image.90dc3990.js";import{_ as K}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as J}from"./app-link.vue_vue_type_script_setup_true_lang.8d02ecda.js";import{_ as Q}from"./u-avatar.9784460f.js";import"./u-transition.bcacef93.js";import"./u-image.44e221c2.js";import"./u-line.vue_vue_type_style_index_0_scoped_45e31c7a_lang.501f5819.js";import"./u-form.ab08229f.js";import"./u-loading-icon.a6d83e95.js";import{_ as Z}from"./u-button.9384f0e3.js";import{_ as ee}from"./u-popup.a69d5115.js";import"./u-safe-bottom.c1f1e254.js";import{_ as te}from"./tabbar.75ed1765.js";import{g as oe}from"./article.0849380d.js";import{g as le,a as re}from"./vipcard.5c43eb30.js";import{g as ne}from"./goods.79477506.js";import{h as ae,i as ie,j as se}from"./tourism.7006ebdc.js";const ue=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(t){const S=t,D=o(),E=l((()=>"decorate"==D.mode?D.value[S.index]:S.component)),T=l((()=>{var e="";return E.value.componentBgColor&&(e+="background-color:"+E.value.componentBgColor+";"),E.value.topRounded&&(e+="border-top-left-radius:"+2*E.value.topRounded+"rpx;"),E.value.topRounded&&(e+="border-top-right-radius:"+2*E.value.topRounded+"rpx;"),E.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*E.value.bottomRounded+"rpx;"),E.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*E.value.bottomRounded+"rpx;"),e})),N=r([]);n((()=>S.pullDownRefreshCount),((e,t)=>{})),a((()=>{I(),"decorate"==D.mode&&n((()=>E.value),((e,t)=>{e&&"AddonList"==e.componentName&&I()}))}));const I=()=>{"decorate"==D.mode&&E.value.list.forEach(((e,t)=>{""==e.icon&&(e.icon="static/resource/images/diy/figure.png"),""==e.title&&(e.title="应用名称")})),0==E.value.list.length?i({}).then((e=>{N.value=e.data})):N.value=E.value.list};return(t,o)=>{const l=s(u("u-icon"),e),r=s(u("u--image"),q),n=R;return d(),c(n,{style:C(v(T))},{default:p((()=>[(d(!0),m(f,null,h(N.value,((e,t)=>(d(),c(n,{key:e.id,class:g(["item flex align-center p-[20rpx] mb-[20rpx]",{"border-solid border-t-0 border-l-0 border-r-0 border-b border-gray-200":N.value.length-1!==t}]),onClick:t=>{return o=e.url,void k({url:o});var o}},{default:p((()=>[e.icon?(d(),c(r,{key:0,width:"120rpx",height:"120rpx",src:v(b)(e.icon),class:"rounded-md overflow-hidden",model:"aspectFill"},{error:p((()=>[x(l,{name:"photo",color:"#999",size:"60"})])),_:2},1032,["src"])):y("v-if",!0),x(n,{class:"flex-1 flex flex-col justify-center ml-[20rpx]"},{default:p((()=>[x(n,{class:"text-sm leading-[1.3] using-hidden"},{default:p((()=>[_(w(e.title),1)])),_:2},1024),x(n,{class:"text-xs text-[#999] mt-[8rpx] leading-[1.6] multi-hidden"},{default:p((()=>[_(w(e.desc),1)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1},8,["style"])}}}),[["__scopeId","data-v-a13755df"]]),de=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(t){const i=t,k=o(),I=l((()=>"decorate"==k.mode?k.value[i.index]:i.component)),B=l((()=>{var e="";return I.value.componentBgColor&&(e+="background-color:"+I.value.componentBgColor+";"),I.value.topRounded&&(e+="border-top-left-radius:"+2*I.value.topRounded+"rpx;"),I.value.topRounded&&(e+="border-top-right-radius:"+2*I.value.topRounded+"rpx;"),I.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*I.value.bottomRounded+"rpx;"),I.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*I.value.bottomRounded+"rpx;"),e}));n((()=>i.pullDownRefreshCount),((e,t)=>{}));const O=r(0),j=e=>{O.value=e.detail.current},W=(e,t)=>{let o=I.value.pageCount*I.value.rowCount,l=!0;return l=e>=[(t-1)*o]&&e<[t*o],l},A=r("");a((()=>{z(),"decorate"==k.mode&&n((()=>I.value),((e,t)=>{e&&"GraphicNav"==e.componentName&&z()}))}));const z=()=>{var e;"decorate"==k.mode&&I.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png")})),e=0,"graphic"==I.value.mode?e=(49+I.value.imageSize)*I.value.pageCount:"img"==I.value.mode?e=(22+I.value.imageSize)*I.value.pageCount:"text"==I.value.mode&&(e=43*I.value.pageCount),A.value=2*e+"rpx"};return(t,o)=>{const l=R,r=S,n=s(u("app-link"),J),a=D,i=s(u("u-icon"),e),k=E,O=T,z=N;return d(),c(l,{style:C(v(B))},{default:p((()=>[v(I).navTitle?(d(),c(l,{key:0,class:"flex items-center justify-between py-[30rpx] px-[32rpx]"},{default:p((()=>[x(l,{class:"text-[30rpx]",style:C({fontWeight:v(I).font.weight,color:v(I).font.color})},{default:p((()=>[_(w(v(I).navTitle),1)])),_:1},8,["style"]),v(I).subNavTitle?(d(),c(n,{key:0,data:v(I).subNavTitleLink,class:"flex items-baseline",style:C({color:v(I).subNavColor})},{default:p((()=>[x(r,{class:"text-[26rpx] mr-[4rpx]"},{default:p((()=>[_(w(v(I).subNavTitle),1)])),_:1}),x(r,{class:"text-sm iconfont iconxiangyoujiantou"})])),_:1},8,["data","style"])):y("v-if",!0)])),_:1})):y("v-if",!0),"vertical"==v(I).layout?(d(),c(l,{key:1,class:"graphic-nav"},{default:p((()=>[(d(!0),m(f,null,h(v(I).list,((e,t)=>(d(),c(l,{class:"graphic-nav-item",key:e.id},{default:p((()=>[x(n,{data:e.link,class:g([0==t?"border-t-0":"border-t"])},{default:p((()=>[x(l,{class:"flex items-center justify-between py-[30rpx] px-[32rpx]"},{default:p((()=>["text"!=v(I).mode?(d(),c(l,{key:0,class:"graphic-img relative flex items-center w-10 h-10 mr-[20rpx]",style:C({width:2*v(I).imageSize+"rpx",height:2*v(I).imageSize+"rpx"})},{default:p((()=>[x(a,{src:v(b)(e.imageUrl),mode:"aspectFill",style:C({maxWidth:2*v(I).imageSize+"rpx",maxHeight:2*v(I).imageSize+"rpx",borderRadius:2*v(I).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(d(),c(r,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:C({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:p((()=>[_(w(e.label.text),1)])),_:2},1032,["style"])):y("v-if",!0)])),_:2},1032,["style"])):y("v-if",!0),"img"!=v(I).mode?(d(),c(r,{key:1,class:"graphic-text w-full truncate leading-normal",style:C({fontSize:2*v(I).font.size+"rpx",fontWeight:v(I).font.weight,color:v(I).font.color})},{default:p((()=>[_(w(e.title),1)])),_:2},1032,["style"])):y("v-if",!0),x(l,null,{default:p((()=>[x(i,{name:"arrow-right",color:"#CACACA"})])),_:1})])),_:2},1024)])),_:2},1032,["data","class"])])),_:2},1024)))),128))])),_:1})):"horizontal"==v(I).layout&&"pageSlide"==v(I).showStyle?(d(),c(O,{key:2,class:"graphic-nav p-2 box-border relative",circular:"","indicator-dots":!1,style:C({height:A.value}),onChange:j},{default:p((()=>[(d(!0),m(f,null,h(Math.ceil(v(I).list.length/(v(I).pageCount*v(I).rowCount)),((e,t)=>(d(),c(k,{class:"graphic-nav-wrap flex flex-wrap"},{default:p((()=>[(d(!0),m(f,null,h(v(I).list,((t,o)=>(d(),m(f,null,[W(o,e)?(d(),c(l,{class:g(["graphic-nav-item",[v(I).mode]]),key:t.id,style:C({width:100/v(I).rowCount+"%"})},{default:p((()=>[x(n,{data:t.link,class:"flex flex-col items-center box-border py-2"},{default:p((()=>["text"!=v(I).mode?(d(),c(l,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:C({width:2*v(I).imageSize+"rpx",height:2*v(I).imageSize+"rpx"})},{default:p((()=>[x(a,{src:v(b)(t.imageUrl),mode:"aspectFill",style:C({maxWidth:2*v(I).imageSize+"rpx",maxHeight:2*v(I).imageSize+"rpx",borderRadius:2*v(I).aroundRadius+"rpx"})},null,8,["src","style"]),t.label.control?(d(),c(r,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:C({color:t.label.textColor,backgroundImage:"linear-gradient("+t.label.bgColorStart+","+t.label.bgColorEnd+")"})},{default:p((()=>[_(w(t.label.text),1)])),_:2},1032,["style"])):y("v-if",!0)])),_:2},1032,["style"])):y("v-if",!0),"img"!=v(I).mode?(d(),c(r,{key:1,class:g(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=v(I).mode}]),style:C({fontSize:2*v(I).font.size+"rpx",fontWeight:v(I).font.weight,color:v(I).font.color})},{default:p((()=>[_(w(t.title),1)])),_:2},1032,["class","style"])):y("v-if",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])):y("v-if",!0)],64)))),256))])),_:2},1024)))),256))])),_:1},8,["style"])):(d(),c(z,{key:3,"scroll-x":"singleSlide"==v(I).showStyle,class:g(["graphic-nav","graphic-nav-"+v(I).showStyle])},{default:p((()=>[(d(!0),m(f,null,h(v(I).list,((e,t)=>(d(),c(l,{class:g(["graphic-nav-item",{"flex-shrink-0":"singleSlide"==v(I).showStyle}]),key:e.id,style:C({width:100/v(I).rowCount+"%"})},{default:p((()=>[x(n,{data:e.link,class:"flex flex-col items-center box-border py-2"},{default:p((()=>["text"!=v(I).mode?(d(),c(l,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10 mx-[auto]",style:C({width:2*v(I).imageSize+"rpx",height:2*v(I).imageSize+"rpx"})},{default:p((()=>[x(a,{src:v(b)(e.imageUrl),mode:"aspectFill",style:C({maxWidth:2*v(I).imageSize+"rpx",maxHeight:2*v(I).imageSize+"rpx",borderRadius:2*v(I).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(d(),c(r,{key:0,class:g(["tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs"]),style:C({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:p((()=>[_(w(e.label.text),1)])),_:2},1032,["style"])):y("v-if",!0)])),_:2},1032,["style"])):y("v-if",!0),"img"!=v(I).mode?(d(),c(r,{key:1,class:g(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=v(I).mode}]),style:C({fontSize:2*v(I).font.size+"rpx",fontWeight:v(I).font.weight,color:v(I).font.color})},{default:p((()=>[_(w(e.title),1)])),_:2},1032,["class","style"])):y("v-if",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])))),128))])),_:1},8,["scroll-x","class"]))])),_:1},8,["style"])}}}),[["__scopeId","data-v-19dae25e"]]),ce=t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,r=o(),a=l((()=>"decorate"==r.mode?r.value[t.index]:t.component)),i=l((()=>{var e="";return e+="height:"+2*a.value.height+"rpx;",a.value.componentBgColor&&(e+="background-color:"+a.value.componentBgColor+";"),e}));return n((()=>t.pullDownRefreshCount),((e,t)=>{})),(e,t)=>{const o=R;return d(),c(o,{style:C(v(i))},null,8,["style"])}}}),pe=t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,r=o(),i=l((()=>"decorate"==r.mode?r.value[t.index]:t.component)),g=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e}));a((()=>{_(),n((()=>i.value),((e,t)=>{e&&"HotArea"==e.componentName&&_()}))}));const _=()=>{"decorate"==r.mode&&""==i.value.imageUrl&&(i.value.imageUrl="static/resource/images/diy/figure.png",i.value.imgWidth=690,i.value.imgHeight=330)};return n((()=>t.pullDownRefreshCount),((e,t)=>{})),(e,t)=>{const o=D,l=s(u("app-link"),J),n=R;return d(),c(n,{style:C(v(g))},{default:p((()=>[x(n,{class:"simple-graph-wrap overflow-hidden relative leading-0"},{default:p((()=>[x(o,{style:C({height:v(i).imgHeight}),src:v(b)(v(i).imageUrl),mode:"widthFix","show-menu-by-longpress":!0,class:"w-full"},null,8,["style","src"]),"decorate"!=v(r).mode?(d(),m(f,{key:0},[y(" 热区功能 "),(d(!0),m(f,null,h(v(i).heatMapData,((e,t)=>(d(),c(l,{data:e.link,class:"absolute",key:t,style:C({width:e.width+"%",height:e.height+"%",left:e.left+"%",top:e.top+"%"})},null,8,["data","style"])))),128))],64)):y("v-if",!0)])),_:1})])),_:1},8,["style"])}}}),me=t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,i=o(),g=l((()=>"decorate"==i.mode?i.value[t.index]:t.component)),y=l((()=>{var e="";return g.value.componentBgColor&&(e+="background-color:"+g.value.componentBgColor+";"),e})),_=l((()=>{var e="";return g.value.topRounded&&(e+="border-top-left-radius:"+2*g.value.topRounded+"rpx;"),g.value.topRounded&&(e+="border-top-right-radius:"+2*g.value.topRounded+"rpx;"),g.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*g.value.bottomRounded+"rpx;"),g.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*g.value.bottomRounded+"rpx;"),e}));n((()=>t.pullDownRefreshCount),((e,t)=>{}));const w=l((()=>2*g.value.imageHeight+"rpx")),k=r(0),S=e=>{k.value=e.detail.current};a((()=>{N(),"decorate"==i.mode&&n((()=>g.value),((e,t)=>{e&&"ImageAds"==e.componentName&&N()}))}));const N=()=>{"decorate"==i.mode&&g.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)}))};return(e,t)=>{const o=D,l=s(u("app-link"),J),r=R,n=E,a=T;return d(),c(r,{class:"image-ads",style:C(v(y))},{default:p((()=>[1==v(g).list.length?(d(),c(r,{key:0,class:"leading-0 overflow-hidden",style:C(v(_))},{default:p((()=>[x(l,{data:v(g).list[0].link},{default:p((()=>[x(o,{src:v(b)(v(g).list[0].imageUrl),style:C({height:v(w)}),mode:"heightFix",class:"w-full","show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data"])])),_:1},8,["style"])):(d(),c(a,{key:1,class:"swiper",style:C({height:v(w)}),autoplay:"true",circular:"true",onChange:S},{default:p((()=>[(d(!0),m(f,null,h(v(g).list,(e=>(d(),c(n,{class:"swiper-item",key:e.id,style:C(v(_))},{default:p((()=>[x(l,{data:e.link},{default:p((()=>[x(r,{class:"item",style:C({height:v(w)})},{default:p((()=>[x(o,{src:v(b)(e.imageUrl),mode:"scaleToFill",class:"w-full h-full","show-menu-by-longpress":!0},null,8,["src"])])),_:2},1032,["style"])])),_:2},1032,["data"])])),_:2},1032,["style"])))),128))])),_:1},8,["style"]))])),_:1},8,["style"])}}}),fe=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,a=o(),i=l((()=>"decorate"==a.mode?a.value[t.index]:t.component)),m=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.bgUrl&&(e+="background-image:url("+b(i.value.bgUrl)+");",e+="background-size: cover;",e+="background-repeat: no-repeat;"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e}));n((()=>t.pullDownRefreshCount),((e,t)=>{}));const f=I(),{query:h}=B(location.href);h.code&&O()&&j({code:h.code}).then((e=>{f.getMemberInfo()}));const g=l((()=>"decorate"==a.mode?{headimg:"",nickname:"昵称",balance:0,point:0,money:0,member_no:"NIU0000021"}:f.info)),D=l((()=>{if(g.value){let e=parseFloat(g.value.balance)+parseFloat(g.value.money);return W(e.toString())}return 0})),E=()=>{z().setLoginBack({url:"/app/pages/member/index"})};r(!1);const T=()=>{O()?z().getAuthCode("snsapi_userinfo"):k({url:"/app/pages/member/personal"})};return(e,t)=>{const o=s(u("u-avatar"),Q),l=R,r=S,n=s(u("app-link"),J);return d(),c(l,{style:C(v(m))},{default:p((()=>[x(l,{class:"pt-[34rpx] member-info"},{default:p((()=>[v(g)?(d(),c(l,{key:0,class:"flex ml-[32rpx] mr-[52rpx] items-center relative"},{default:p((()=>[y(" 唤起获取微信 "),x(o,{src:v(b)(v(g).headimg),size:"55",leftIcon:"none",onClick:T},null,8,["src"]),x(l,{class:"ml-[22rpx]"},{default:p((()=>[x(l,{class:"text-[#222222] truncate w-[430rpx] font-bold text-lg",style:C({color:v(i).textColor})},{default:p((()=>[_(w(v(g).nickname),1)])),_:1},8,["style"]),x(l,{class:"text-[#696B70] text-[24rpx] mt-[10rpx]",style:C({color:v(i).textColor})},{default:p((()=>[_(" UID"+w(v(g).member_no),1)])),_:1},8,["style"])])),_:1}),x(l,{class:"set-icon flex items-center absolute right-0 top-2"},{default:p((()=>[x(n,{url:"/app/pages/setting/index"},{default:p((()=>[x(r,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:C({color:v(i).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})):(d(),c(l,{key:1,class:"flex ml-[32rpx] mr-[52rpx] items-center relative",onClick:E},{default:p((()=>[x(o,{src:"",size:"55"}),x(l,{class:"ml-[22rpx]"},{default:p((()=>[x(l,{class:"text-[#222222] font-bold text-lg",style:C({color:v(i).textColor})},{default:p((()=>[_(w(v(A)("login"))+"/"+w(v(A)("register")),1)])),_:1},8,["style"])])),_:1}),x(l,{class:"set-icon flex items-center absolute right-0 top-2"},{default:p((()=>[x(n,{url:"/app/pages/setting/index"},{default:p((()=>[x(r,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:C({color:v(i).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})),x(l,{class:"flex m-[30rpx] mb-0 py-[30rpx] items-center"},{default:p((()=>[x(l,{class:"flex-1 text-center"},{default:p((()=>[x(l,{class:"font-bold"},{default:p((()=>[x(n,{url:v(g)?"/app/pages/member/balance":"",style:C({color:v(i).textColor})},{default:p((()=>[_(w(v(D)),1)])),_:1},8,["url","style"])])),_:1}),x(l,{class:"text-sm mt-[10rpx]"},{default:p((()=>[x(n,{url:v(g)?"/app/pages/member/balance":"",style:C({color:v(i).textColor})},{default:p((()=>[_(w(v(A)("balance")),1)])),_:1},8,["url","style"])])),_:1})])),_:1}),x(l,{class:"border-solid border-white border-l border-b-0 border-t-0 border-r-0 h-[60rpx]"}),x(l,{class:"flex-1 text-center"},{default:p((()=>[x(l,{class:"font-bold"},{default:p((()=>[x(n,{url:v(g)?"/app/pages/member/point":"",style:C({color:v(i).textColor})},{default:p((()=>{var e;return[_(w(parseInt(null==(e=v(g))?void 0:e.point)||0),1)]})),_:1},8,["url","style"])])),_:1}),x(l,{class:"text-sm mt-[10rpx]"},{default:p((()=>[x(n,{url:v(g)?"/app/pages/member/point":"",style:C({color:v(i).textColor})},{default:p((()=>[_(w(v(A)("point")),1)])),_:1},8,["url","style"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"])}}}),[["__scopeId","data-v-18699e19"]]);const he=K({mixins:[M,H,{props:{text:{type:[Array],default:F.columnNotice.text},icon:{type:String,default:F.columnNotice.icon},mode:{type:String,default:F.columnNotice.mode},color:{type:String,default:F.columnNotice.color},bgColor:{type:String,default:F.columnNotice.bgColor},fontSize:{type:[String,Number],default:F.columnNotice.fontSize},speed:{type:[String,Number],default:F.columnNotice.speed},step:{type:Boolean,default:F.columnNotice.step},duration:{type:[String,Number],default:F.columnNotice.duration},disableTouch:{type:Boolean,default:F.columnNotice.disableTouch}}}],watch:{text:{immediate:!0,handler(e,t){uni.$u.test.array(e)||uni.$u.error("noticebar组件direction为column时要求text参数为数组形式")}}},computed:{textStyle(){let e={};return e.color=this.color,e.fontSize=uni.$u.addUnit(this.fontSize),e},vertical(){return"horizontal"!=this.mode}},data:()=>({index:0}),methods:{noticeChange(e){this.index=e.detail.current},clickHandler(){this.$emit("click",this.index)},close(){this.$emit("close")}}},[["render",function(t,o,l,r,n,a){const i=s(u("u-icon"),e),g=R,v=S,b=E,k=T;return d(),c(g,{class:"u-notice",onClick:a.clickHandler},{default:p((()=>[P(t.$slots,"icon",{},(()=>[t.icon?(d(),c(g,{key:0,class:"u-notice__left-icon"},{default:p((()=>[x(i,{name:t.icon,color:t.color,size:"19"},null,8,["name","color"])])),_:1})):y("v-if",!0)]),!0),x(k,{"disable-touch":t.disableTouch,vertical:!t.step,circular:"",interval:t.duration,autoplay:!0,class:"u-notice__swiper",onChange:a.noticeChange},{default:p((()=>[(d(!0),m(f,null,h(t.text,((e,t)=>(d(),c(b,{key:t,class:"u-notice__swiper__item"},{default:p((()=>[x(v,{class:"u-notice__swiper__item__text u-line-1",style:C([a.textStyle])},{default:p((()=>[_(w(e),1)])),_:2},1032,["style"])])),_:2},1024)))),128))])),_:1},8,["disable-touch","vertical","interval","onChange"]),["link","closable"].includes(t.mode)?(d(),c(g,{key:0,class:"u-notice__right-icon"},{default:p((()=>["link"===t.mode?(d(),c(i,{key:0,name:"arrow-right",size:17,color:t.color},null,8,["color"])):y("v-if",!0),"closable"===t.mode?(d(),c(i,{key:1,name:"close",size:16,color:t.color,onClick:a.close},null,8,["color","onClick"])):y("v-if",!0)])),_:1})):y("v-if",!0)])),_:3},8,["onClick"])}],["__scopeId","data-v-7109316b"]]);const ge=K({name:"u-row-notice",mixins:[M,H,{props:{text:{type:String,default:F.rowNotice.text},icon:{type:String,default:F.rowNotice.icon},mode:{type:String,default:F.rowNotice.mode},color:{type:String,default:F.rowNotice.color},bgColor:{type:String,default:F.rowNotice.bgColor},fontSize:{type:[String,Number],default:F.rowNotice.fontSize},speed:{type:[String,Number],default:F.rowNotice.speed}}}],data:()=>({animationDuration:"0",animationPlayState:"paused",nvueInit:!0,show:!0}),watch:{text:{immediate:!0,handler(e,t){this.vue(),uni.$u.test.string(e)||uni.$u.error("noticebar组件direction为row时要求text参数为字符串形式")}},fontSize(){this.vue()},speed(){this.vue()}},computed:{textStyle(){let e={};return e.color=this.color,e.fontSize=uni.$u.addUnit(this.fontSize),e},animationStyle(){let e={};return e.animationDuration=this.animationDuration,e.animationPlayState=this.animationPlayState,e},innerText(){let e=[];const t=this.text.split("");for(let o=0;o<t.length;o+=20)e.push(t.slice(o,o+20).join(""));return e}},mounted(){this.init()},methods:{init(){this.vue(),uni.$u.test.string(this.text)||uni.$u.error("noticebar组件direction为row时要求text参数为字符串形式")},async vue(){let e=0;await uni.$u.sleep(),e=(await this.$uGetRect(".u-notice__content__text")).width,(await this.$uGetRect(".u-notice__content")).width,this.animationDuration=e/uni.$u.getPx(this.speed)+"s",this.animationPlayState="paused",setTimeout((()=>{this.animationPlayState="running"}),10)},async nvue(){},loopAnimation(e,t){},getNvueRect(e){},clickHandler(e){this.$emit("click")},close(){this.$emit("close")}}},[["render",function(t,o,l,r,n,a){const i=s(u("u-icon"),e),g=R,v=S;return d(),c(g,{class:"u-notice",onClick:a.clickHandler},{default:p((()=>[P(t.$slots,"icon",{},(()=>[t.icon?(d(),c(g,{key:0,class:"u-notice__left-icon"},{default:p((()=>[x(i,{name:t.icon,color:t.color,size:"19"},null,8,["name","color"])])),_:1})):y("v-if",!0)]),!0),x(g,{class:"u-notice__content",ref:"u-notice__content"},{default:p((()=>[x(g,{ref:"u-notice__content__text",class:"u-notice__content__text",style:C([a.animationStyle])},{default:p((()=>[(d(!0),m(f,null,h(a.innerText,((e,t)=>(d(),c(v,{key:t,style:C([a.textStyle])},{default:p((()=>[_(w(e),1)])),_:2},1032,["style"])))),128))])),_:1},8,["style"])])),_:1},512),["link","closable"].includes(t.mode)?(d(),c(g,{key:0,class:"u-notice__right-icon"},{default:p((()=>["link"===t.mode?(d(),c(i,{key:0,name:"arrow-right",size:17,color:t.color},null,8,["color"])):y("v-if",!0),"closable"===t.mode?(d(),c(i,{key:1,onClick:a.close,name:"close",size:16,color:t.color},null,8,["onClick","color"])):y("v-if",!0)])),_:1})):y("v-if",!0)])),_:3},8,["onClick"])}],["__scopeId","data-v-8086f62b"]]);const ve=K({name:"u-notice-bar",mixins:[M,H,{props:{text:{type:[Array,String],default:F.noticeBar.text},direction:{type:String,default:F.noticeBar.direction},step:{type:Boolean,default:F.noticeBar.step},icon:{type:String,default:F.noticeBar.icon},mode:{type:String,default:F.noticeBar.mode},color:{type:String,default:F.noticeBar.color},bgColor:{type:String,default:F.noticeBar.bgColor},speed:{type:[String,Number],default:F.noticeBar.speed},fontSize:{type:[String,Number],default:F.noticeBar.fontSize},duration:{type:[String,Number],default:F.noticeBar.duration},disableTouch:{type:Boolean,default:F.noticeBar.disableTouch},url:{type:String,default:F.noticeBar.url},linkType:{type:String,default:F.noticeBar.linkType}}}],data:()=>({show:!0}),methods:{click(e){this.$emit("click",e),this.url&&this.linkType&&this.openPage()},close(){this.show=!1,this.$emit("close")}}},[["render",function(e,t,o,l,r,n){const a=s(u("u-column-notice"),he),i=s(u("u-row-notice"),ge),m=R;return r.show?(d(),c(m,{key:0,class:"u-notice-bar",style:C([{backgroundColor:e.bgColor},e.$u.addStyle(e.customStyle)])},{default:p((()=>["column"===e.direction||"row"===e.direction&&e.step?(d(),c(a,{key:0,color:e.color,bgColor:e.bgColor,text:e.text,mode:e.mode,step:e.step,icon:e.icon,"disable-touch":e.disableTouch,fontSize:e.fontSize,duration:e.duration,onClose:n.close,onClick:n.click},null,8,["color","bgColor","text","mode","step","icon","disable-touch","fontSize","duration","onClose","onClick"])):(d(),c(i,{key:1,color:e.color,bgColor:e.bgColor,text:e.text,mode:e.mode,fontSize:e.fontSize,speed:e.speed,url:e.url,linkType:e.linkType,icon:e.icon,onClose:n.close,onClick:n.click},null,8,["color","bgColor","text","mode","fontSize","speed","url","linkType","icon","onClose","onClick"]))])),_:1},8,["style"])):y("v-if",!0)}],["__scopeId","data-v-7b451c96"]]),be=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,i=o(),m=r(!1),f=l((()=>"decorate"==i.mode?i.value[t.index]:t.component)),h=l((()=>{var e="";return f.value.componentBgColor&&(e+="background-color:"+f.value.componentBgColor+";"),f.value.topRounded&&(e+="border-top-left-radius:"+2*f.value.topRounded+"rpx;"),f.value.topRounded&&(e+="border-top-right-radius:"+2*f.value.topRounded+"rpx;"),f.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*f.value.bottomRounded+"rpx;"),f.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*f.value.bottomRounded+"rpx;"),e}));n((()=>t.pullDownRefreshCount),((e,t)=>{})),a((()=>{g(),"decorate"==i.mode&&n((()=>f.value),((e,t)=>{e&&"AddonList"==e.componentName&&g()}))}));const g=()=>{"decorate"==i.mode&&(f.value.list.title||(f.value.list.title="公告名称"))},y=()=>{if("decorate"==i.mode)return!1;"popup"==f.value.showType?m.value=!0:k({url:f.value.list.link.url})};return(e,t)=>{const o=D,l=s(u("u-notice-bar"),ve),r=S,n=R,a=N,i=L,g=s(u("u-popup"),ee);return d(),c(n,{style:C(v(h)),class:"overflow-hidden"},{default:p((()=>[x(n,{class:"flex items-center pl-[28rpx] pr-[22rpx]",onClick:y},{default:p((()=>["system"==v(f).iconType?(d(),c(o,{key:0,src:v(b)(`addon/shop/diy/notice/${v(f).systemIcon}.png`),class:"h-[44rpx] max-w-[130rpx] -mr-[8rpx]",mode:"heightFix"},null,8,["src"])):(d(),c(o,{key:1,src:v(b)(v(f).imageUrl||""),class:"w-[30rpx] h-[30rpx] -mr-[8rpx]",mode:"aspectFit"},null,8,["src"])),x(l,{text:v(f).list.text,color:v(f).textColor,bgColor:v(f).componentBgColor,fontSize:2*v(f).fontSize+"rpx",speed:"50",icon:"",style:C({fontWeight:v(f).fontWeight})},null,8,["text","color","bgColor","fontSize","style"]),x(r,{class:"iconfont iconxiangyoujiantou -ml-[8rpx]",style:C({color:v(f).textColor,fontSize:2*v(f).fontSize+"rpx",fontWeight:v(f).fontWeight})},null,8,["style"])])),_:1}),x(g,{show:m.value,onClose:t[1]||(t[1]=e=>m.value=!1),closeable:!0,mode:"center",round:5},{default:p((()=>[x(n,{class:"py-[30rpx] text-sm leading-none border-0 border-solid border-b-[2rpx] border-[#eee]"},{default:p((()=>[x(r,{class:"ml-[30rpx]"},{default:p((()=>[_("公告内容")])),_:1})])),_:1}),x(a,{"scroll-y":"true",class:"px-6 py-3 w-[600rpx] h-[500rpx] text-sm"},{default:p((()=>[_(w(v(f).list.text),1)])),_:1}),x(i,{onClick:t[0]||(t[0]=e=>m.value=!1),class:"!mx-[30rpx] !mb-[40rpx] !w-auto !h-[80rpx] text-sm leading-[80rpx] rounded-full text-white !bg-[#ff4500]"},{default:p((()=>[_("我知道了")])),_:1})])),_:1},8,["show"])])),_:1},8,["style"])}}}),[["__scopeId","data-v-6b39fcd0"]]),xe=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,r=o(),i=l((()=>"decorate"==r.mode?r.value[t.index]:t.component)),_=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e}));n((()=>t.pullDownRefreshCount),((e,t)=>{})),a((()=>{w(),n((()=>i.value),((e,t)=>{e&&"RubikCube"==e.componentName&&w()}))}));const w=()=>{"decorate"==r.mode&&i.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)})),k()},k=()=>{var e={"row1-of2":{ratio:2,width:"calc((100% - "+X(2*i.value.imageGap)+"px) / 2)"},"row1-of3":{ratio:3,width:"calc((100% - "+X(4*i.value.imageGap)+"px) / 3)"},"row1-of4":{ratio:4,width:"calc((100% - "+X(6*i.value.imageGap)+"px) / 4)"}};i.value.list.forEach(((e,t)=>{e.pageItemStyle=((e,t)=>{var o="";return"right"==i.value.elementAngle||{"row1-lt-of2-rt":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-lt-of1-tp-of2-bm":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-tp-of2-bm":[["border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row2-lt-of2-rt":[["border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-of4":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of3":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of2":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius"]]}[e][t].forEach(((e,t)=>{o+="border-top-left-radius:"+2*i.value.topElementRounded+"rpx;",o+="border-top-right-radius:"+2*i.value.topElementRounded+"rpx;",o+="border-bottom-left-radius:"+2*i.value.bottomElementRounded+"rpx;",o+="border-bottom-right-radius:"+2*i.value.bottomElementRounded+"rpx;"})),o})(i.value.mode,t)})),e[i.value.mode]?S(e[i.value.mode]):"row2-lt-of2-rt"==i.value.mode?E():"row1-lt-of2-rt"==i.value.mode?T():"row1-tp-of2-bm"==i.value.mode?N():"row1-lt-of1-tp-of2-bm"==i.value.mode&&I()},S=e=>{Y({success:t=>{let o=0;i.value.list.forEach(((l,r)=>{var n=l.imgHeight/l.imgWidth;let a=t.windowWidth-X(2*i.value.margin.both);i.value.imageGap>0&&(a-=X(e.ratio*i.value.imageGap*2)),l.imgWidth=a/e.ratio,l.imgHeight=l.imgWidth*n,(0==o||o<l.imgHeight)&&(o=l.imgHeight)})),i.value.list.forEach(((t,l)=>{t.widthStyle=e.width,t.imgHeight=o}))}})},E=()=>{Y({success:e=>{let t=0,o=0;i.value.list.forEach(((l,r)=>{var n=l.imgHeight/l.imgWidth;l.imgWidth=e.windowWidth,l.imgWidth-=X(4*i.value.margin.both),i.value.imageGap>0&&(l.imgWidth-=X(2*i.value.imageGap)),l.imgWidth=l.imgWidth/2,l.imgHeight=l.imgWidth*n,r<=1?(0==t||t<l.imgHeight)&&(t=l.imgHeight):r>1&&(0==o||o<l.imgHeight)&&(o=l.imgHeight)})),i.value.list.forEach(((e,l)=>{e.imgWidth="calc((100% - "+X(2*i.value.imageGap)+"px) / 2)",e.widthStyle=e.imgWidth,l<=1?e.imgHeight=t:l>1&&(e.imgHeight=o)}))}})},T=()=>{let e=0;i.value.list[1].imgWidth,i.value.list[2].imgWidth,Y({success:t=>{i.value.list.forEach(((o,l)=>{if(0==l){var r=o.imgHeight/o.imgWidth;o.imgWidth=t.windowWidth-X(4*i.value.margin.both)-X(2*i.value.imageGap),o.imgWidth=o.imgWidth/2,o.imgHeight=o.imgWidth*r,e=(o.imgHeight-X(2*i.value.imageGap))/2,o.imgWidth+="px"}else o.imgWidth=i.value.list[0].imgWidth,o.imgHeight=e}))}})},N=()=>{var e=0;Y({success:t=>{i.value.list.forEach(((o,l)=>{var r=o.imgHeight/o.imgWidth;0==l?o.imgWidth=t.windowWidth-X(4*i.value.margin.both):l>0&&(o.imgWidth=t.windowWidth-X(4*i.value.margin.both)-X(2*i.value.imageGap),o.imgWidth=o.imgWidth/2),o.imgHeight=o.imgWidth*r,l>0&&(0==e||e<o.imgHeight)&&(e=o.imgHeight)})),i.value.list.forEach(((t,o)=>{t.imgWidth+="px",t.widthStyle=t.imgWidth,o>0&&(t.imgHeight=e)}))}})},I=()=>{Y({success:e=>{i.value.list.forEach(((t,o)=>{if(0==o){var l=t.imgHeight/t.imgWidth;t.imgWidth=e.windowWidth-X(4*i.value.margin.both)-X(2*i.value.imageGap),t.imgWidth=t.imgWidth/2,t.imgHeight=t.imgWidth*l}else 1==o?(t.imgWidth=i.value.list[0].imgWidth,t.imgHeight=(i.value.list[0].imgHeight-X(2*i.value.imageGap))/2):o>1&&(t.imgWidth=(i.value.list[0].imgWidth-X(2*i.value.imageGap))/2,t.imgHeight=i.value.list[1].imgHeight)})),i.value.list.forEach(((e,t)=>{e.imgWidth+="px"}))}})};return(e,t)=>{const o=D,l=s(u("app-link"),J),n=R;return d(),c(n,{class:g(["rubik-cube",v(r).mode]),style:C(v(_))},{default:p((()=>[y(" 1左2右 "),"row1-lt-of2-rt"==v(i).mode?(d(),m(f,{key:0},[x(n,{class:"template-left"},{default:p((()=>[x(l,{data:v(i).list[0].link,class:g(["item",v(i).mode]),style:C({width:v(i).list[0].imgWidth,height:v(i).list[0].imgHeight+"px"})},{default:p((()=>[x(o,{src:v(b)(v(i).list[0].imageUrl),mode:"scaleToFill",style:C(v(i).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),x(n,{class:"template-right"},{default:p((()=>[(d(!0),m(f,null,h(v(i).list,((e,t)=>(d(),m(f,{key:t},[t>0?(d(),c(l,{key:0,data:e.link,class:g(["item",v(i).mode]),style:C({marginBottom:2*v(i).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:p((()=>[x(o,{src:v(b)(e.imageUrl),mode:"scaleToFill",style:C(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):y("v-if",!0)],64)))),128))])),_:1})],64)):"row1-lt-of1-tp-of2-bm"==v(i).mode?(d(),m(f,{key:1},[y(" 1左3右 "),x(n,{class:"template-left"},{default:p((()=>[x(l,{data:v(i).list[0].link,class:g(["item",v(i).mode]),style:C({marginRight:2*v(i).imageGap+"rpx",width:v(i).list[0].imgWidth,height:v(i).list[0].imgHeight+"px"})},{default:p((()=>[x(o,{src:v(b)(v(i).list[0].imageUrl),mode:"scaleToFill",style:C(v(i).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),x(n,{class:"template-right"},{default:p((()=>[x(l,{data:v(i).list[1].link,class:g(["item",v(i).mode]),style:C({marginBottom:2*v(i).imageGap+"rpx",width:v(i).list[1].imgWidth,height:v(i).list[1].imgHeight+"px"})},{default:p((()=>[x(o,{src:v(b)(v(i).list[1].imageUrl),mode:"scaleToFill",style:C(v(i).list[1].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"]),x(n,{class:"template-bottom"},{default:p((()=>[(d(!0),m(f,null,h(v(i).list,((e,t)=>(d(),m(f,{key:t},[t>1?(d(),c(l,{key:0,data:e.link,class:g(["item",v(i).mode]),style:C({marginRight:2*v(i).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:p((()=>[x(o,{src:v(b)(e.imageUrl),mode:"scaleToFill",style:C(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):y("v-if",!0)],64)))),128))])),_:1})])),_:1})],64)):(d(!0),m(f,{key:2},h(v(i).list,((e,t)=>(d(),c(l,{class:g(["item",v(i).mode]),key:t,data:e.link,style:C({marginRight:2*v(i).imageGap+"rpx",marginBottom:2*v(i).imageGap+"rpx",width:e.widthStyle,height:e.imgHeight+"px"})},{default:p((()=>[x(o,{src:v(b)(e.imageUrl),mode:"scaleToFill",style:C(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["class","data","style"])))),128))])),_:1},8,["class","style"])}}}),[["__scopeId","data-v-234f927d"]]),ye=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(t){const r=t,a=o(),i=l((()=>"decorate"==a.mode?a.value[r.index]:r.component)),m=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e}));return n((()=>r.pullDownRefreshCount),((e,t)=>{})),(t,o)=>{const l=R,r=s(u("app-link"),J),n=S,a=s(u("u-icon"),e);return d(),c(l,{class:"diy-text",style:C(v(m))},{default:p((()=>["style-1"==v(i).style?(d(),c(l,{key:0,class:"p-[20rpx]"},{default:p((()=>[x(r,{data:v(i).link},{default:p((()=>[x(l,{style:C({fontSize:2*v(i).fontSize+"rpx",color:v(i).textColor,fontWeight:v(i).fontWeight,textAlign:v(i).textAlign})},{default:p((()=>[_(w(v(i).text),1)])),_:1},8,["style"])])),_:1},8,["data"])])),_:1})):y("v-if",!0),"style-2"==v(i).style?(d(),c(l,{key:1,class:"p-[20rpx] flex items-center"},{default:p((()=>[x(r,{data:v(i).link},{default:p((()=>[x(l,{class:"max-w-[200rpx] truncate",style:C({fontSize:2*v(i).fontSize+"rpx",color:v(i).textColor,fontWeight:v(i).fontWeight})},{default:p((()=>[_(w(v(i).text),1)])),_:1},8,["style"])])),_:1},8,["data"]),x(n,{class:"ml-[16rpx] max-w-[300rpx] truncate",style:C({color:v(i).subTitle.color,fontSize:2*v(i).subTitle.fontSize+"rpx"})},{default:p((()=>[_(w(v(i).subTitle.text),1)])),_:1},8,["style"]),v(i).more.isShow?(d(),c(l,{key:0,class:"ml-auto text-right",style:C({color:v(i).more.color})},{default:p((()=>[x(r,{data:v(i).more.link,class:"flex items-center"},{default:p((()=>[x(n,{class:"max-w-[200rpx] truncate text-[24rpx] mr-[8rpx]"},{default:p((()=>[_(w(v(i).more.text),1)])),_:1}),x(a,{name:"arrow-right",size:"12",style:C({color:v(i).more.color})},null,8,["style"])])),_:1},8,["data"])])),_:1},8,["style"])):y("v-if",!0)])),_:1})):y("v-if",!0)])),_:1},8,["style"])}}}),[["__scopeId","data-v-0fd57f27"]]),_e=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(t){const a=t,i=o(),D=r([]),E=l((()=>"decorate"==i.mode?i.value[a.index]:a.component)),T=l((()=>{var e="";return E.value.componentBgColor&&(e+="background-color:"+E.value.componentBgColor+";"),E.value.topRounded&&(e+="border-top-left-radius:"+2*E.value.topRounded+"rpx;"),E.value.topRounded&&(e+="border-top-right-radius:"+2*E.value.topRounded+"rpx;"),E.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*E.value.bottomRounded+"rpx;"),E.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*E.value.bottomRounded+"rpx;"),e})),N=l((()=>{var e="";return E.value.elementBgColor&&(e+="background-color:"+E.value.elementBgColor+";"),E.value.topElementRounded&&(e+="border-top-left-radius:"+2*E.value.topElementRounded+"rpx;"),E.value.topElementRounded&&(e+="border-top-right-radius:"+2*E.value.topElementRounded+"rpx;"),E.value.bottomElementRounded&&(e+="border-bottom-left-radius:"+2*E.value.bottomElementRounded+"rpx;"),E.value.bottomElementRounded&&(e+="border-bottom-right-radius:"+2*E.value.bottomElementRounded+"rpx;"),e}));n((()=>a.pullDownRefreshCount),((e,t)=>{}));(()=>{if("decorate"==i.mode){let e={image:"",summary:"文章摘要",title:"文章标题",create_time:"2023-03-28 09:00:00"};D.value.push(e),D.value.push(e)}else(()=>{let e={};"diy"==E.value.sources?e.ids=E.value.articleIds:e.limit=E.value.count,oe(e).then((e=>{D.value=e.data}))})()})();return(t,o)=>{const l=s(u("u-icon"),e),r=s(u("u--image"),q),n=R,a=S;return d(),c(n,{style:C(v(T))},{default:p((()=>[(d(!0),m(f,null,h(D.value,((e,t)=>(d(),c(n,{key:e.id,class:g(["item flex align-center p-[20rpx]",{"border-solid border-t-0 border-l-0 border-r-0 border-b border-gray-200 mb-[20rpx]":D.value.length-1!==t}]),onClick:t=>{return o=e.id,void k({url:"/cms/pages/detail",param:{id:o}});var o},style:C(v(N))},{default:p((()=>[e.image?(d(),c(r,{key:0,width:"260rpx",height:"200rpx",src:v(b)(e.image),model:"aspectFill"},{error:p((()=>[x(l,{name:"photo",color:"#999",size:"50"})])),_:2},1032,["src"])):y("v-if",!0),x(n,{class:"flex-1 flex flex-col justify-between ml-[20rpx]"},{default:p((()=>[x(n,{class:"text-[32rpx] leading-[1.3] multi-hidden mt-[4rpx]"},{default:p((()=>[_(w(e.title),1)])),_:2},1024),x(n,{class:"text-[28rpx] using-hidden mb-[auto] mt-[20rpx] text-gray-500"},{default:p((()=>[_(w(e.summary),1)])),_:2},1024),x(n,{class:"text-[24rpx] text-gray-400 flex justify-between mt-[10rpx]"},{default:p((()=>[x(a,null,{default:p((()=>[_(w(e.create_time),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick","style"])))),128))])),_:1},8,["style"])}}}),[["__scopeId","data-v-f7d3e968"]]),we=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,a=o(),i=l((()=>"decorate"==a.mode?a.value[t.index]:t.component)),E=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e}));let T=r([]),N=r(!1);const I=()=>{if("decorate"==a.mode){let e={cover_thumb_big:b("static/resource/images/diy/block_placeholder.png"),scenic_name:"卡项项目名称",price:100,sale_num:100};T.value.push(e),T.value.push(e),N.value=!0}else(()=>{let e={limit:i.value.count};N.value=!1,le(e).then((e=>{T.value=e.data,N.value=!0})).catch((()=>{N.value=!0}))})()};return n((()=>t.pullDownRefreshCount),((e,t)=>{})),G((()=>{I()})),(e,t)=>{var o;const l=S,r=R,n=D,a=s(u("u-button"),Z);return v(N)&&(null==(o=v(T))?void 0:o.length)?(d(),c(r,{key:0,class:"diy-text goods-wrap py-[30rpx] px-[32rpx]",style:C(v(E))},{default:p((()=>[x(r,{class:"flex justify-between items-center w-full mb-4"},{default:p((()=>[x(l,{class:"font-bold"},{default:p((()=>[_(w(v(A)("card")),1)])),_:1}),x(r,{class:"flex items-center",onClick:t[0]||(t[0]=e=>v(k)({url:"/vipcard/pages/card/list"}))},{default:p((()=>[x(l,{class:"text-xs text-[#666]"},{default:p((()=>[_(w(v(A)("seeMore")),1)])),_:1}),x(l,{class:"iconfont iconanniu-jiantouxiangyou_o font-bold text-[#666]"})])),_:1})])),_:1}),x(r,{class:"content"},{default:p((()=>[(d(!0),m(f,null,h(v(T),((e,t)=>(d(),c(r,{class:g(["flex",{"mb-3":v(T).length-1!=t}]),key:e.way_id,onClick:t=>{k({url:"/vipcard/pages/card/detail",param:{id:e.goods_id}})}},{default:p((()=>[x(n,{src:v(b)(e.cover_thumb_small),class:"w-[240rpx] h-[180rpx] mr-[20rpx] rounded-md",mode:"aspectFill"},null,8,["src"]),x(r,{class:"flex flex-col flex-1 py-[20rpx]"},{default:p((()=>[x(r,{class:"text-sm font-bold multi-hidden"},{default:p((()=>[_(w(e.goods_name),1)])),_:2},1024),x(r,{class:"flex items-center mt-2 text-[#F55246] font-bold text-xs"},{default:p((()=>[_(" ¥"),x(l,{class:"text-base"},{default:p((()=>[_(w(e.price),1)])),_:2},1024)])),_:2},1024),x(r,{class:"flex items-center mt-auto justify-between"},{default:p((()=>[U("span",{class:"text-xs text-[#666]"},w(v(A)("soldOut"))+" "+w(e.sale_num),1),x(a,{type:"primary",class:"text-sm !w-[140rpx] flex items-center justify-center !h-[62rpx] !rounded-2xl mx-0"},{default:p((()=>[_(w(v(A)("cardBtn")),1)])),_:1})])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1},8,["style"])):y("v-if",!0)}}}),[["__scopeId","data-v-13250632"]]),Ce=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,a=o(),i=l((()=>"decorate"==a.mode?a.value[t.index]:t.component)),E=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e}));let T=r([]),N=r(!1);const I=()=>{if("decorate"==a.mode){let e={cover_thumb_big:b("static/resource/images/diy/block_placeholder.png"),scenic_name:"项目预约名称",price:100,sale_num:100};T.value.push(e),T.value.push(e),N.value=!0}else(()=>{let e={limit:i.value.count};N.value=!1,re(e).then((e=>{T.value=e.data,N.value=!0})).catch((()=>{N.value=!0}))})()};return n((()=>t.pullDownRefreshCount),((e,t)=>{})),G((()=>{I()})),(e,t)=>{var o;const l=S,r=R,n=D,a=s(u("u-button"),Z);return v(N)&&(null==(o=v(T))?void 0:o.length)?(d(),c(r,{key:0,class:"diy-text goods-wrap py-[30rpx] px-[32rpx]",style:C(v(E))},{default:p((()=>[x(r,{class:"flex justify-between items-center w-full mb-4"},{default:p((()=>[x(l,{class:"font-bold"},{default:p((()=>[_(w(v(A)("cardReserve")),1)])),_:1}),x(r,{class:"flex items-center",onClick:t[0]||(t[0]=e=>v(k)({url:"/vipcard/pages/service/list"}))},{default:p((()=>[x(l,{class:"text-xs text-[#666]"},{default:p((()=>[_(w(v(A)("seeMore")),1)])),_:1}),x(l,{class:"iconfont iconanniu-jiantouxiangyou_o font-bold text-[#666]"})])),_:1})])),_:1}),x(r,{class:"content"},{default:p((()=>[(d(!0),m(f,null,h(v(T),((e,t)=>(d(),c(r,{class:g(["flex",{"mb-3":v(T).length-1!=t}]),key:e.way_id,onClick:t=>{k({url:"/vipcard/pages/service/detail",param:{id:e.goods_id}})}},{default:p((()=>[x(n,{src:v(b)(e.cover_thumb_small),class:"w-[240rpx] h-[180rpx] mr-[20rpx] rounded-md",mode:"aspectFill"},null,8,["src"]),x(r,{class:"flex flex-col flex-1 py-[20rpx]"},{default:p((()=>[x(r,{class:"text-sm font-bold multi-hidden"},{default:p((()=>[_(w(e.goods_name),1)])),_:2},1024),x(r,{class:"flex items-center mt-2 text-[#F55246] font-bold text-xs"},{default:p((()=>[_(" ¥"),x(l,{class:"text-base"},{default:p((()=>[_(w(e.price),1)])),_:2},1024)])),_:2},1024),x(r,{class:"flex items-center mt-auto justify-between"},{default:p((()=>[U("span",{class:"text-xs text-[#666]"},w(v(A)("soldOut"))+" "+w(e.sale_num),1),x(a,{type:"primary",class:"text-sm !w-[140rpx] flex items-center justify-center !h-[62rpx] !rounded-2xl mx-0"},{default:p((()=>[_(w(v(A)("reserveBtn")),1)])),_:1})])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1},8,["style"])):y("v-if",!0)}}}),[["__scopeId","data-v-5aa71c70"]]),ke=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,a=o(),i=l((()=>"decorate"==a.mode?a.value[t.index]:t.component)),s=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e})),u=(e,t={})=>{k({url:e,param:t})},h=()=>{z().setLoginBack({url:"/app/pages/member/index"})};let g=r(!1);const E=I();I().getMemberInfo((()=>{g.value=!0}));const T=l((()=>"decorate"==a.mode?{headimg:"addon/vipcard/vipcard/index/head.png",nickname:"昵称",balance:0,point:0,money:0,member_no:"NIU0000021"}:E.info));return n((()=>t.pullDownRefreshCount),((e,t)=>{})),(e,t)=>{const o=D,l=R,r=S;return v(g)?(d(),c(l,{key:0,class:"diy-text",style:C(v(s))},{default:p((()=>[x(l,{class:"flex items-center p-[32rpx] pb-0"},{default:p((()=>[v(T)?(d(),m(f,{key:0},[x(o,{class:"w-[96rpx] h-[96rpx]",src:v(b)(v(T).headimg),onError:t[0]||(t[0]=e=>v(T).headimg="addon/vipcard/vipcard/index/head.png"),mode:"aspectFill"},null,8,["src"]),x(l,{class:"ml-[22rpx] mr-[60rpx] w-[56%]"},{default:p((()=>[x(l,{class:"flex-1 multi-hidden font-bold"},{default:p((()=>[_(w(v(T).nickname),1)])),_:1}),x(l,{class:"text-[#696B70] text-[24rpx] mt-[10rpx]"},{default:p((()=>[_(" UID"+w(v(T).member_no),1)])),_:1})])),_:1})],64)):(d(),m(f,{key:1},[x(o,{class:"w-[96rpx] h-[96rpx]",src:v(b)("addon/vipcard/vipcard/index/head.png"),mode:"aspectFill"},null,8,["src"]),x(l,{class:"flex-1 ml-[20rpx] mr-[60rpx] w-[56%] multi-hidden font-bold",onClick:h},{default:p((()=>[_(w(v(A)("login"))+"/"+w(v(A)("register")),1)])),_:1})],64)),x(l,{class:"flex flex-col items-center justify-center",onClick:t[1]||(t[1]=e=>(()=>{if(!$())return z().setLoginBack({url:"/vipcard/pages/index"}),!1;k({url:"/app/pages/member/code"})})())},{default:p((()=>[x(o,{class:"w-[36rpx] h-[36rpx]",src:v(b)("addon/vipcard/vipcard/index/code.png"),mode:"aspectFill"},null,8,["src"]),x(r,{class:"text-xs mt-1"},{default:p((()=>[_(w(v(A)("memberCode")),1)])),_:1})])),_:1})])),_:1}),x(l,{class:"card-list pb-[32rpx]"},{default:p((()=>[x(l,{class:"card-item",onClick:t[2]||(t[2]=e=>u("/vipcard/pages/order/my_reserved"))},{default:p((()=>[x(o,{class:"w-[42rpx] h-[42rpx]",src:v(b)("addon/vipcard/vipcard/index/reserve.png"),mode:"aspectFill"},null,8,["src"]),x(r,{class:"text-xs"},{default:p((()=>[_(w(v(A)("reserve")),1)])),_:1})])),_:1}),x(l,{class:"card-item",onClick:t[3]||(t[3]=e=>u("/vipcard/pages/order/my_card"))},{default:p((()=>[x(o,{class:"w-[42rpx] h-[42rpx]",src:v(b)("addon/vipcard/vipcard/index/card.png"),mode:"aspectFill"},null,8,["src"]),x(r,{class:"text-xs"},{default:p((()=>[_(w(v(A)("cardLink")),1)])),_:1})])),_:1}),x(l,{class:"card-item",onClick:t[4]||(t[4]=e=>u("/app/pages/member/index"))},{default:p((()=>[x(o,{class:"w-[42rpx] h-[42rpx]",src:v(b)("addon/vipcard/vipcard/index/my.png"),mode:"aspectFill"},null,8,["src"]),x(r,{class:"text-xs"},{default:p((()=>[_(w(v(A)("myLink")),1)])),_:1})])),_:1})])),_:1})])),_:1},8,["style"])):y("v-if",!0)}}}),[["__scopeId","data-v-4aa0c5a3"]]),Re=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(t){const i=t,D=o(),E=r([]),T=l((()=>"decorate"==D.mode?D.value[i.index]:i.component)),N=l((()=>{var e="";return T.value.componentBgColor&&(e+="background-color:"+T.value.componentBgColor+";"),T.value.topRounded&&(e+="border-top-left-radius:"+2*T.value.topRounded+"rpx;"),T.value.topRounded&&(e+="border-top-right-radius:"+2*T.value.topRounded+"rpx;"),T.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*T.value.bottomRounded+"rpx;"),T.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*T.value.bottomRounded+"rpx;"),e}));n((()=>i.pullDownRefreshCount),((e,t)=>{}));a((()=>{I(),"decorate"==D.mode&&n((()=>T.value),((e,t)=>{e&&"AddonList"==e.componentName&&I()}))}));const I=()=>{if("decorate"==D.mode){let e={goods_cover:"",goods_name:"商品名称",sale_num:"100",unit:"件",goodsSku:{price:100}};E.value.push(e),E.value.push(e)}else(()=>{let e={num:"all"==T.value.source?T.value.num:"",goods_ids:"custom"==T.value.source?T.value.goods_ids:"",goods_category:"category"==T.value.source?T.value.goods_category:""};ne(e).then((e=>{E.value=e.data}))})()},B=e=>{if("decorate"==D.mode)return!1;k({url:"/shop/pages/goods/detail",param:{goods_id:e.goods_id}})};return(t,o)=>{const l=s(u("u-icon"),e),r=s(u("u--image"),q),n=R,a=S;return d(),c(n,{style:C(v(N))},{default:p((()=>[U("div",{class:"flex flex-wrap justify-between"},["style1"==v(T).style?(d(!0),m(f,{key:0},h(E.value,((e,t)=>(d(),c(n,{class:g(["w-[332rpx] bg-[#fff] box-border rounded-[12rpx] overflow-hidden",{"mt-[24rpx]":t>1}]),key:e.goods_id,onClick:t=>B(e)},{default:p((()=>[x(r,{width:"332rpx",height:"332rpx",src:v(b)(e.goods_cover_thumb_small||""),model:"aspectFill"},{error:p((()=>[x(l,{name:"photo",color:"#999",size:"50"})])),_:2},1032,["src"]),x(n,{class:"px-[16rpx] mt-[18rpx] h-[80rpx] leading-[40rpx] text-[28rpx] multi-hidden"},{default:p((()=>[_(w(e.goods_name),1)])),_:2},1024),x(n,{class:"px-[16rpx] pb-[20rpx] flex justify-between items-end mt-[12rpx]"},{default:p((()=>[x(a,{class:"text-[28rpx] text-[var(--price-text-color)] price-font"},{default:p((()=>[_("¥"+w(e.goodsSku.price),1)])),_:2},1024),x(a,{class:"text-[22rpx] text-[#888] leading-[31rpx]"},{default:p((()=>[_("已售"+w(e.sale_num)+w(e.unit||"件"),1)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128)):y("v-if",!0),"style2"==v(T).style?(d(!0),m(f,{key:1},h(E.value,((e,t)=>(d(),c(n,{class:g(["bg-white w-full flex p-[20rpx] rounded-[16rpx]",{"mt-[20rpx]":t>0}]),key:e.goods_id,onClick:t=>B(e)},{default:p((()=>[x(r,{class:"rounded-[10rpx] overflow-hidden",width:"200rpx",height:"200rpx",src:v(b)(e.goods_cover_thumb_small||""),model:"aspectFill"},{error:p((()=>[x(l,{name:"photo",color:"#999",size:"50"})])),_:2},1032,["src"]),x(n,{class:"flex-1 flex flex-col ml-[20rpx]"},{default:p((()=>[x(n,{class:"text-[26rpx] h-[80rpx] leading-[40rpx] multi-hidden mb-[10rpx]"},{default:p((()=>[_(w(e.goods_name),1)])),_:2},1024),x(n,{class:"mt-auto flex justify-between items-end"},{default:p((()=>[x(a,{class:"text-[28rpx] text-[var(--price-text-color)] price-font"},{default:p((()=>[_("¥"+w(e.goodsSku.price),1)])),_:2},1024),x(a,{class:"text--[24rpx] text-[#666]"},{default:p((()=>[_("已售"+w(e.sale_num)+w(e.unit||"件"),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128)):y("v-if",!0)])])),_:1},8,["style"])}}}),[["__scopeId","data-v-47bafc58"]]),Se=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,i=o();r(!1);const s=l((()=>"decorate"==i.mode?i.value[t.index]:t.component)),u=l((()=>{var e="";return s.value.componentBgColor&&(e+="background-color:"+s.value.componentBgColor+";"),s.value.topRounded&&(e+="border-top-left-radius:"+2*s.value.topRounded+"rpx;"),s.value.topRounded&&(e+="border-top-right-radius:"+2*s.value.topRounded+"rpx;"),s.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*s.value.bottomRounded+"rpx;"),s.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*s.value.bottomRounded+"rpx;"),e}));n((()=>t.pullDownRefreshCount),((e,t)=>{})),a((()=>{m(),"decorate"==i.mode&&n((()=>s.value),((e,t)=>{e&&"AddonList"==e.componentName&&m()}))}));const m=()=>{i.mode},f=e=>{if("decorate"==i.mode)return!1;k({url:e})};return(e,t)=>{const o=D,l=S,r=R;return d(),c(r,{style:C(v(u)),class:"overflow-hidden flex items-center pl-[24rpx]"},{default:p((()=>[x(o,{src:v(b)("addon/shop/diy/search_01.png"),class:"w-[40rpx] h-[40rpx]",mode:"widthFix",onClick:t[0]||(t[0]=e=>f("/shop/pages/goods/category"))},null,8,["src"]),x(r,{class:"flex-1 ml-[24rpx] rounded-[32rpx] flex items-center bg-[#F7F8FD] opacity-90 py-[18rpx] pl-[38rpx] pr-[32rpx] justify-between",onClick:t[1]||(t[1]=e=>f("/shop/pages/goods/list"))},{default:p((()=>[x(l,{class:"text-[#6D7278] text-[26rpx]"},{default:p((()=>[_("请输入搜索关键词")])),_:1}),x(l,{class:"iconfont iconxiazai17"})])),_:1})])),_:1},8,["style"])}}}),[["__scopeId","data-v-49107c73"]]),De=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,a=o(),i=l((()=>"decorate"==a.mode?a.value[t.index]:t.component)),s=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e})),u=e=>{k({url:"/tourism/pages/hotel/detail",param:{id:e}})};let E=r([]),T=r(!1);const N=()=>{if("decorate"==a.mode){let e={cover_thumb_big:b("static/resource/images/diy/block_placeholder.png"),cover_thumb_mid:b("static/resource/images/diy/block_placeholder.png"),hotel_name:"酒店名称",hotel_attribute:["标签","标签","标签"],hotel_star:5,goods:{price:100}};E.value.push(e),E.value.push(e),T.value=!0}else(()=>{let e={limit:i.value.count};T.value=!1,ae(e).then((e=>{E.value=e.data,E.value.forEach(((e,t)=>{e.hotel_attribute&&(e.hotel_attribute=e.hotel_attribute.split(",").filter((e=>e&&e.trim())))})),T.value=!0})).catch((()=>{T.value=!0}))})()};return n((()=>t.pullDownRefreshCount),((e,t)=>{})),G((()=>{N()})),(e,t)=>{var o;const l=R,r=D,n=S;return v(T)&&(null==(o=v(E))?void 0:o.length)?(d(),c(l,{key:0,class:"diy-text py-[30rpx] goods-wrap px-[32rpx]",style:C(v(s))},{default:p((()=>[x(l,{class:"head"},{default:p((()=>[_(w(v(A)("hotel")),1)])),_:1}),x(l,{class:"content w-full"},{default:p((()=>["oneLines"==v(i).layout?(d(!0),m(f,{key:0},h(v(E),((e,t)=>(d(),c(l,{class:"flex mt-[30rpx]",key:e.hotel_id,onClick:t=>u(e.hotel_id)},{default:p((()=>[x(r,{class:"w-[238rpx] h-[238rpx] mr-[20rpx] rounded-md",src:v(b)(e.cover_thumb_big),mode:"aspectFill"},null,8,["src"]),x(l,{class:"flex flex-col flex-1 py-[10rpx]"},{default:p((()=>[x(l,{class:"text-sm font-bold multi-hidden"},{default:p((()=>[_(w(e.hotel_name),1)])),_:2},1024),x(l,{class:"flex mt-1 justify-between text-[#646464]"},{default:p((()=>[x(l,{class:"flex flex-wrap text-xs"},{default:p((()=>[(d(!0),m(f,null,h(e.hotel_attribute,((e,t)=>(d(),m(f,{key:t},[t<3?(d(),c(n,{key:0,class:g(["break-all",{"class-select":2!=t}])},{default:p((()=>[_(w(e),1)])),_:2},1032,["class"])):y("v-if",!0)],64)))),128))])),_:2},1024),x(n,{class:"text-xs text-right w-[120rpx]"},{default:p((()=>[_(w(v(A)("starLevel"))+":"+w(e.hotel_star)+w(v(A)("star")),1)])),_:2},1024)])),_:2},1024),x(l,{class:"flex items-center mt-auto text-[#F55246] text-xs"},{default:p((()=>[x(l,null,{default:p((()=>[x(n,{class:"price-font"},{default:p((()=>[_("¥")])),_:1}),x(n,{class:"text-base price-font"},{default:p((()=>[_(w(e.goods.price),1)])),_:2},1024),_(" "+w(v(A)("rise")),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128)):y("v-if",!0),"twoLines"==v(i).layout?(d(),c(l,{key:1,class:"flex flex-wrap justify-between"},{default:p((()=>[(d(!0),m(f,null,h(v(E),((e,t)=>(d(),c(l,{class:"flex flex-col mt-[30rpx] w-[330rpx]",key:e.hotel_id,onClick:t=>u(e.hotel_id)},{default:p((()=>[x(r,{class:"w-[330rpx] h-[330rpx] rounded-md",src:v(b)(e.cover_thumb_mid),mode:"aspectFill"},null,8,["src"]),x(l,{class:"flex flex-col flex-1 py-[10rpx]"},{default:p((()=>[x(l,{class:"text-sm font-bold truncate"},{default:p((()=>[_(w(e.hotel_name),1)])),_:2},1024),x(l,{class:"flex mt-1 flex-col text-[#646464]"},{default:p((()=>[x(l,{class:"flex flex-wrap text-xs"},{default:p((()=>[(d(!0),m(f,null,h(e.hotel_attribute,((e,t)=>(d(),m(f,{key:t},[t<3?(d(),c(n,{key:0,class:g(["break-all",{"class-select":2!=t}])},{default:p((()=>[_(w(e),1)])),_:2},1032,["class"])):y("v-if",!0)],64)))),128))])),_:2},1024),x(n,{class:"text-xs"},{default:p((()=>[_(w(v(A)("starLevel"))+":"+w(e.hotel_star)+w(v(A)("star")),1)])),_:2},1024)])),_:2},1024),x(l,{class:"flex items-center mt-auto text-[#F55246] text-xs"},{default:p((()=>[x(l,null,{default:p((()=>[x(n,{class:"price-font"},{default:p((()=>[_("¥")])),_:1}),x(n,{class:"text-base price-font"},{default:p((()=>[_(w(e.goods.price),1)])),_:2},1024),_(" "+w(v(A)("rise")),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})):y("v-if",!0)])),_:1})])),_:1},8,["style"])):y("v-if",!0)}}}),[["__scopeId","data-v-16f61a87"]]),Ee=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(t){const a=t,i=o(),g=l((()=>"decorate"==i.mode?i.value[a.index]:a.component)),E=l((()=>{var e="";return g.value.componentBgColor&&(e+="background-color:"+g.value.componentBgColor+";"),g.value.topRounded&&(e+="border-top-left-radius:"+2*g.value.topRounded+"rpx;"),g.value.topRounded&&(e+="border-top-right-radius:"+2*g.value.topRounded+"rpx;"),g.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*g.value.bottomRounded+"rpx;"),g.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*g.value.bottomRounded+"rpx;"),e})),T=e=>{k({url:"/tourism/pages/scenic/detail",param:{scenic_id:e.scenic_id}})};let N=r([]),I=r(!1);const B=()=>{if("decorate"==i.mode){let e={cover_thumb_big:b("static/resource/images/diy/block_placeholder.png"),cover_thumb_mid:b("static/resource/images/diy/block_placeholder.png"),scenic_name:"景点名称",price:100};N.value.push(e),N.value.push(e),I.value=!0}else(()=>{let e={limit:g.value.count};I.value=!1,ie(e).then((e=>{N.value=e.data,I.value=!0})).catch((()=>{I.value=!0}))})()};return n((()=>a.pullDownRefreshCount),((e,t)=>{})),G((()=>{B()})),(t,o)=>{var l;const r=R,n=D,a=S,i=s(u("u-icon"),e);return v(I)&&(null==(l=v(N))?void 0:l.length)?(d(),c(r,{key:0,class:"diy-text goods-wrap spec py-[30rpx] px-[32rpx]",style:C(v(E))},{default:p((()=>[x(r,{class:"head"},{default:p((()=>[_(w(v(A)("scenic")),1)])),_:1}),x(r,{class:"content"},{default:p((()=>["oneLines"==v(g).layout?(d(),c(r,{key:0,class:"flex-1"},{default:p((()=>[(d(!0),m(f,null,h(v(N),((e,t)=>(d(),c(r,{class:"flex mb-3",key:e.way_id,onClick:t=>T(e)},{default:p((()=>[x(n,{src:v(b)(e.cover_thumb_mid),class:"w-[240rpx] h-[240rpx] mr-[20rpx] rounded-md",mode:"aspectFill"},null,8,["src"]),x(r,{class:"flex flex-col flex-1 py-[10rpx]"},{default:p((()=>[x(r,{class:"text-sm font-bold multi-hidden"},{default:p((()=>[_(w(e.scenic_name),1)])),_:2},1024),x(r,{class:"flex items-center mt-auto text-[#F55246] text-xs price-font"},{default:p((()=>[x(r,null,{default:p((()=>[x(a,{class:"price-font"},{default:p((()=>[_("¥")])),_:1}),x(a,{class:"text-base price-font"},{default:p((()=>[_(w(e.price),1)])),_:2},1024),_(" "+w(v(A)("rise")),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})):y("v-if",!0),"twoLines"==v(g).layout?(d(!0),m(f,{key:1},h(v(N),((e,t)=>(d(),c(r,{class:"goods-item",key:e.way_id,onClick:t=>T(e)},{default:p((()=>[x(n,{src:v(b)(e.cover_thumb_mid),class:"w-[336rpx] h-[240rpx]",mode:"aspectFill"},null,8,["src"]),x(r,{class:"name truncate"},{default:p((()=>[_(w(e.scenic_name),1)])),_:2},1024),x(r,{class:"price"},{default:p((()=>[x(a,{class:"price-font"},{default:p((()=>[_("¥")])),_:1}),x(a,{class:"price-font"},{default:p((()=>[_(w(e.price),1)])),_:2},1024),x(a,null,{default:p((()=>[_(w(v(A)("rise")),1)])),_:1})])),_:2},1024)])),_:2},1032,["onClick"])))),128)):y("v-if",!0)])),_:1}),x(r,{class:"pt-1 w-screen justify-center flex items-center",onClick:o[0]||(o[0]=e=>{k({url:"/tourism/pages/scenic/list"})})},{default:p((()=>[x(a,{class:"text-xs mr-1 text-[#666]"},{default:p((()=>[_(w(v(A)("seeMore")),1)])),_:1}),x(i,{name:"arrow-right",color:"#666",size:"14"})])),_:1})])),_:1},8,["style"])):y("v-if",!0)}}}),[["__scopeId","data-v-032e95d9"]]),Te=K(t({__name:"index",props:["component","index","pullDownRefreshCount"],setup(e){const t=e,a=o(),i=l((()=>"decorate"==a.mode?a.value[t.index]:t.component)),s=l((()=>{var e="";return i.value.componentBgColor&&(e+="background-color:"+i.value.componentBgColor+";"),i.value.topRounded&&(e+="border-top-left-radius:"+2*i.value.topRounded+"rpx;"),i.value.topRounded&&(e+="border-top-right-radius:"+2*i.value.topRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*i.value.bottomRounded+"rpx;"),i.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*i.value.bottomRounded+"rpx;"),e})),u=e=>{k({url:"/tourism/pages/way/detail",param:{way_id:e.way_id,goods_id:e.goods.goods_id}})};let g=r([]),E=r(!1);const T=()=>{if("decorate"==a.mode){let e={goods:{cover_thumb_big:b("static/resource/images/diy/block_placeholder.png"),cover_thumb_mid:b("static/resource/images/diy/block_placeholder.png"),goods_name:"线路名称",price:100}};g.value.push(e),g.value.push(e),E.value=!0}else(()=>{let e={limit:i.value.count};E.value=!1,se(e).then((e=>{E.value=!0,g.value=e.data})).catch((()=>{E.value=!0}))})()};return n((()=>t.pullDownRefreshCount),((e,t)=>{})),G((()=>{T()})),(e,t)=>{var o;const l=R,r=D,n=S;return v(E)&&(null==(o=v(g))?void 0:o.length)?(d(),c(l,{key:0,class:"diy-text goods-wrap py-[30rpx] px-[32rpx]",style:C(v(s))},{default:p((()=>[x(l,{class:"head"},{default:p((()=>[_(w(v(A)("way")),1)])),_:1}),x(l,{class:"content"},{default:p((()=>["oneLines"==v(i).layout?(d(!0),m(f,{key:0},h(v(g),((e,t)=>(d(),c(l,{class:"goods-item",key:e.way_id,onClick:t=>u(e)},{default:p((()=>[x(l,{class:"img-wrap"},{default:p((()=>[e.goods.cover_thumb_big?(d(),c(r,{key:0,src:v(b)(e.goods.cover_thumb_big),mode:"aspectFill"},null,8,["src"])):y("v-if",!0),x(l,{class:"price"},{default:p((()=>[x(n,{class:"price-font"},{default:p((()=>[_("¥")])),_:1}),x(n,{class:"price-font"},{default:p((()=>[_(w(e.goods.price),1)])),_:2},1024),x(n,{class:"ml-[2px]"},{default:p((()=>[_(w(v(A)("rise")),1)])),_:1})])),_:2},1024)])),_:2},1024),x(l,{class:"name truncate"},{default:p((()=>[_(w(e.goods.goods_name),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128)):y("v-if",!0),"twoLines"==v(i).layout?(d(),c(l,{key:1,class:"flex flex-wrap justify-between"},{default:p((()=>[(d(!0),m(f,null,h(v(g),((e,t)=>(d(),c(l,{class:"flex flex-col mt-[30rpx] w-[330rpx]",key:e.way_id,onClick:t=>u(e)},{default:p((()=>[x(r,{class:"w-[330rpx] h-[330rpx] rounded-md",src:v(b)(e.goods.cover_thumb_mid),mode:"aspectFill"},null,8,["src"]),x(l,{class:"flex flex-col flex-1 py-[10rpx]"},{default:p((()=>[x(l,{class:"text-sm font-bold truncate"},{default:p((()=>[_(w(e.goods.goods_name),1)])),_:2},1024),x(l,{class:"flex items-center mt-auto text-[#F55246] text-xs"},{default:p((()=>[x(l,null,{default:p((()=>[x(n,{class:"price-font"},{default:p((()=>[_("¥")])),_:1}),x(n,{class:"text-base price-font"},{default:p((()=>[_(w(e.goods.price),1)])),_:2},1024),_(" "+w(v(A)("rise")),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})):y("v-if",!0)])),_:1})])),_:1},8,["style"])):y("v-if",!0)}}}),[["__scopeId","data-v-9d6b86b3"]]);
/**!
* Sortable 1.15.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function Ne(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,l)}return o}function Ie(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(o),!0).forEach((function(t){Oe(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ne(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Be(e){return(Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function je(){return je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(e[l]=o[l])}return e},je.apply(this,arguments)}function We(e,t){if(null==e)return{};var o,l,r=function(e,t){if(null==e)return{};var o,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)o=n[l],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)o=n[l],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function Ae(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var ze=Ae(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Fe=Ae(/Edge/i),Me=Ae(/firefox/i),He=Ae(/safari/i)&&!Ae(/chrome/i)&&!Ae(/android/i),Pe=Ae(/iP(ad|od|hone)/i),Le=Ae(/chrome/i)&&Ae(/android/i),Xe={capture:!1,passive:!1};function Ye(e,t,o){e.addEventListener(t,o,!ze&&Xe)}function Ge(e,t,o){e.removeEventListener(t,o,!ze&&Xe)}function Ue(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(o){return!1}return!1}}function $e(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ve(e,t,o,l){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&Ue(e,t):Ue(e,t))||l&&e===o)return e;if(e===o)break}while(e=$e(e))}return null}var qe,Ke=/\s+/g;function Je(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var l=(" "+e.className+" ").replace(Ke," ").replace(" "+t+" "," ");e.className=(l+(o?" "+t:"")).replace(Ke," ")}}function Qe(e,t,o){var l=e&&e.style;if(l){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in l||-1!==t.indexOf("webkit")||(t="-webkit-"+t),l[t]=o+("string"==typeof o?"":"px")}}function Ze(e,t){var o="";if("string"==typeof e)o=e;else do{var l=Qe(e,"transform");l&&"none"!==l&&(o=l+" "+o)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(o)}function et(e,t,o){if(e){var l=e.getElementsByTagName(t),r=0,n=l.length;if(o)for(;r<n;r++)o(l[r],r);return l}return[]}function tt(){var e=document.scrollingElement;return e||document.documentElement}function ot(e,t,o,l,r){if(e.getBoundingClientRect||e===window){var n,a,i,s,u,d,c;if(e!==window&&e.parentNode&&e!==tt()?(a=(n=e.getBoundingClientRect()).top,i=n.left,s=n.bottom,u=n.right,d=n.height,c=n.width):(a=0,i=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,c=window.innerWidth),(t||o)&&e!==window&&(r=r||e.parentNode,!ze))do{if(r&&r.getBoundingClientRect&&("none"!==Qe(r,"transform")||o&&"static"!==Qe(r,"position"))){var p=r.getBoundingClientRect();a-=p.top+parseInt(Qe(r,"border-top-width")),i-=p.left+parseInt(Qe(r,"border-left-width")),s=a+n.height,u=i+n.width;break}}while(r=r.parentNode);if(l&&e!==window){var m=Ze(r||e),f=m&&m.a,h=m&&m.d;m&&(s=(a/=h)+(d/=h),u=(i/=f)+(c/=f))}return{top:a,left:i,bottom:s,right:u,width:c,height:d}}}function lt(e,t,o){for(var l=st(e,!0),r=ot(e)[t];l;){var n=ot(l)[o];if(!("top"===o||"left"===o?r>=n:r<=n))return l;if(l===tt())break;l=st(l,!1)}return!1}function rt(e,t,o,l){for(var r=0,n=0,a=e.children;n<a.length;){if("none"!==a[n].style.display&&a[n]!==po.ghost&&(l||a[n]!==po.dragged)&&Ve(a[n],o.draggable,e,!1)){if(r===t)return a[n];r++}n++}return null}function nt(e,t){for(var o=e.lastElementChild;o&&(o===po.ghost||"none"===Qe(o,"display")||t&&!Ue(o,t));)o=o.previousElementSibling;return o||null}function at(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===po.clone||t&&!Ue(e,t)||o++;return o}function it(e){var t=0,o=0,l=tt();if(e)do{var r=Ze(e),n=r.a,a=r.d;t+=e.scrollLeft*n,o+=e.scrollTop*a}while(e!==l&&(e=e.parentNode));return[t,o]}function st(e,t){if(!e||!e.getBoundingClientRect)return tt();var o=e,l=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var r=Qe(o);if(o.clientWidth<o.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||o.clientHeight<o.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!o.getBoundingClientRect||o===document.body)return tt();if(l||t)return o;l=!0}}}while(o=o.parentNode);return tt()}function ut(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function dt(e,t){return function(){if(!qe){var o=arguments;1===o.length?e.call(this,o[0]):e.apply(this,o),qe=setTimeout((function(){qe=void 0}),t)}}}function ct(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function pt(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var mt="Sortable"+(new Date).getTime();function ft(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==Qe(e,"display")&&e!==po.ghost){t.push({target:e,rect:ot(e)});var o=Ie({},t[t.length-1].rect);if(e.thisAnimationDuration){var l=Ze(e,!0);l&&(o.top-=l.f,o.left-=l.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var l in t)if(t.hasOwnProperty(l)&&t[l]===e[o][l])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var l=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof o&&o());var r=!1,n=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,i=ot(o),s=o.prevFromRect,u=o.prevToRect,d=e.rect,c=Ze(o,!0);c&&(i.top-=c.f,i.left-=c.e),o.toRect=i,o.thisAnimationDuration&&ut(s,i)&&!ut(a,i)&&(d.top-i.top)/(d.left-i.left)==(a.top-i.top)/(a.left-i.left)&&(t=function(e,t,o,l){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*l.animation}(d,s,u,l.options)),ut(i,a)||(o.prevFromRect=a,o.prevToRect=i,t||(t=l.options.animation),l.animate(o,d,i,t)),t&&(r=!0,n=Math.max(n,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),r?e=setTimeout((function(){"function"==typeof o&&o()}),n):"function"==typeof o&&o(),t=[]},animate:function(e,t,o,l){if(l){Qe(e,"transition",""),Qe(e,"transform","");var r=Ze(this.el),n=r&&r.a,a=r&&r.d,i=(t.left-o.left)/(n||1),s=(t.top-o.top)/(a||1);e.animatingX=!!i,e.animatingY=!!s,Qe(e,"transform","translate3d("+i+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),Qe(e,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),Qe(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){Qe(e,"transition",""),Qe(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),l)}}}}var ht=[],gt={initializeByDefault:!0},vt={mount:function(e){for(var t in gt)gt.hasOwnProperty(t)&&!(t in e)&&(e[t]=gt[t]);ht.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),ht.push(e)},pluginEvent:function(e,t,o){var l=this;this.eventCanceled=!1,o.cancel=function(){l.eventCanceled=!0};var r=e+"Global";ht.forEach((function(l){t[l.pluginName]&&(t[l.pluginName][r]&&t[l.pluginName][r](Ie({sortable:t},o)),t.options[l.pluginName]&&t[l.pluginName][e]&&t[l.pluginName][e](Ie({sortable:t},o)))}))},initializePlugins:function(e,t,o,l){for(var r in ht.forEach((function(l){var r=l.pluginName;if(e.options[r]||l.initializeByDefault){var n=new l(e,t,e.options);n.sortable=e,n.options=e.options,e[r]=n,je(o,n.defaults)}})),e.options)if(e.options.hasOwnProperty(r)){var n=this.modifyOption(e,r,e.options[r]);void 0!==n&&(e.options[r]=n)}},getEventProperties:function(e,t){var o={};return ht.forEach((function(l){"function"==typeof l.eventProperties&&je(o,l.eventProperties.call(t[l.pluginName],e))})),o},modifyOption:function(e,t,o){var l;return ht.forEach((function(r){e[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[t]&&(l=r.optionListeners[t].call(e[r.pluginName],o))})),l}};var bt=["evt"],xt=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=o.evt,r=We(o,bt);vt.pluginEvent.bind(po)(e,t,Ie({dragEl:_t,parentEl:wt,ghostEl:Ct,rootEl:kt,nextEl:Rt,lastDownEl:St,cloneEl:Dt,cloneHidden:Et,dragStarted:Pt,putSortable:jt,activeSortable:po.active,originalEvent:l,oldIndex:Tt,oldDraggableIndex:It,newIndex:Nt,newDraggableIndex:Bt,hideGhostForTarget:io,unhideGhostForTarget:so,cloneNowHidden:function(){Et=!0},cloneNowShown:function(){Et=!1},dispatchSortableEvent:function(e){yt({sortable:t,name:e,originalEvent:l})}},r))};function yt(e){!function(e){var t=e.sortable,o=e.rootEl,l=e.name,r=e.targetEl,n=e.cloneEl,a=e.toEl,i=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,c=e.newDraggableIndex,p=e.originalEvent,m=e.putSortable,f=e.extraEventProperties;if(t=t||o&&o[mt]){var h,g=t.options,v="on"+l.charAt(0).toUpperCase()+l.substr(1);!window.CustomEvent||ze||Fe?(h=document.createEvent("Event")).initEvent(l,!0,!0):h=new CustomEvent(l,{bubbles:!0,cancelable:!0}),h.to=a||o,h.from=i||o,h.item=r||o,h.clone=n,h.oldIndex=s,h.newIndex=u,h.oldDraggableIndex=d,h.newDraggableIndex=c,h.originalEvent=p,h.pullMode=m?m.lastPutMode:void 0;var b=Ie(Ie({},f),vt.getEventProperties(l,t));for(var x in b)h[x]=b[x];o&&o.dispatchEvent(h),g[v]&&g[v].call(t,h)}}(Ie({putSortable:jt,cloneEl:Dt,targetEl:_t,rootEl:kt,oldIndex:Tt,oldDraggableIndex:It,newIndex:Nt,newDraggableIndex:Bt},e))}var _t,wt,Ct,kt,Rt,St,Dt,Et,Tt,Nt,It,Bt,Ot,jt,Wt,At,zt,Ft,Mt,Ht,Pt,Lt,Xt,Yt,Gt,Ut=!1,$t=!1,Vt=[],qt=!1,Kt=!1,Jt=[],Qt=!1,Zt=[],eo="undefined"!=typeof document,to=Pe,oo=Fe||ze?"cssFloat":"float",lo=eo&&!Le&&!Pe&&"draggable"in document.createElement("div"),ro=function(){if(eo){if(ze)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),no=function(e,t){var o=Qe(e),l=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=rt(e,0,t),n=rt(e,1,t),a=r&&Qe(r),i=n&&Qe(n),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ot(r).width,u=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+ot(n).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&"none"!==a.float){var d="left"===a.float?"left":"right";return!n||"both"!==i.clear&&i.clear!==d?"horizontal":"vertical"}return r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||s>=l&&"none"===o[oo]||n&&"none"===o[oo]&&s+u>l)?"vertical":"horizontal"},ao=function(e){function t(e,o){return function(l,r,n,a){var i=l.options.group.name&&r.options.group.name&&l.options.group.name===r.options.group.name;if(null==e&&(o||i))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(l,r,n,a),o)(l,r,n,a);var s=(o?l:r).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var o={},l=e.group;l&&"object"==Be(l)||(l={name:l}),o.name=l.name,o.checkPull=t(l.pull,!0),o.checkPut=t(l.put),o.revertClone=l.revertClone,e.group=o},io=function(){!ro&&Ct&&Qe(Ct,"display","none")},so=function(){!ro&&Ct&&Qe(Ct,"display","")};eo&&!Le&&document.addEventListener("click",(function(e){if($t)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),$t=!1,!1}),!0);var uo=function(e){if(_t){e=e.touches?e.touches[0]:e;var t=(r=e.clientX,n=e.clientY,Vt.some((function(e){var t=e[mt].options.emptyInsertThreshold;if(t&&!nt(e)){var o=ot(e),l=r>=o.left-t&&r<=o.right+t,i=n>=o.top-t&&n<=o.bottom+t;return l&&i?a=e:void 0}})),a);if(t){var o={};for(var l in e)e.hasOwnProperty(l)&&(o[l]=e[l]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[mt]._onDragOver(o)}}var r,n,a},co=function(e){_t&&_t.parentNode[mt]._isOutsideThisEl(e.target)};function po(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=je({},t),e[mt]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return no(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==po.supportPointer&&"PointerEvent"in window&&!He,emptyInsertThreshold:5};for(var l in vt.initializePlugins(this,e,o),o)!(l in t)&&(t[l]=o[l]);for(var r in ao(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&lo,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ye(e,"pointerdown",this._onTapStart):(Ye(e,"mousedown",this._onTapStart),Ye(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ye(e,"dragover",this),Ye(e,"dragenter",this)),Vt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),je(this,ft())}function mo(e,t,o,l,r,n,a,i){var s,u,d=e[mt],c=d.options.onMove;return!window.CustomEvent||ze||Fe?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=o,s.draggedRect=l,s.related=r||t,s.relatedRect=n||ot(t),s.willInsertAfter=i,s.originalEvent=a,e.dispatchEvent(s),c&&(u=c.call(d,s,a)),u}function fo(e){e.draggable=!1}function ho(){Qt=!1}function go(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,l=0;o--;)l+=t.charCodeAt(o);return l.toString(36)}function vo(e){return setTimeout(e,0)}function bo(e){return clearTimeout(e)}po.prototype={constructor:po,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Lt=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,_t):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,l=this.options,r=l.preventOnFilter,n=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,i=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||i,u=l.filter;if(function(e){Zt.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var l=t[o];l.checked&&Zt.push(l)}}(o),!_t&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||l.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!He||!i||"SELECT"!==i.tagName.toUpperCase())&&!((i=Ve(i,l.draggable,o,!1))&&i.animated||St===i)){if(Tt=at(i),It=at(i,l.draggable),"function"==typeof u){if(u.call(this,e,i,this))return yt({sortable:t,rootEl:s,name:"filter",targetEl:i,toEl:o,fromEl:o}),xt("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(l){if(l=Ve(s,l.trim(),o,!1))return yt({sortable:t,rootEl:l,name:"filter",targetEl:i,fromEl:o,toEl:o}),xt("filter",t,{evt:e}),!0}))))return void(r&&e.cancelable&&e.preventDefault());l.handle&&!Ve(s,l.handle,o,!1)||this._prepareDragStart(e,a,i)}}},_prepareDragStart:function(e,t,o){var l,r=this,n=r.el,a=r.options,i=n.ownerDocument;if(o&&!_t&&o.parentNode===n){var s=ot(o);if(kt=n,wt=(_t=o).parentNode,Rt=_t.nextSibling,St=o,Ot=a.group,po.dragged=_t,Wt={target:_t,clientX:(t||e).clientX,clientY:(t||e).clientY},Mt=Wt.clientX-s.left,Ht=Wt.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,_t.style["will-change"]="all",l=function(){xt("delayEnded",r,{evt:e}),po.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!Me&&r.nativeDraggable&&(_t.draggable=!0),r._triggerDragStart(e,t),yt({sortable:r,name:"choose",originalEvent:e}),Je(_t,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){et(_t,e.trim(),fo)})),Ye(i,"dragover",uo),Ye(i,"mousemove",uo),Ye(i,"touchmove",uo),Ye(i,"mouseup",r._onDrop),Ye(i,"touchend",r._onDrop),Ye(i,"touchcancel",r._onDrop),Me&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_t.draggable=!0),xt("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Fe||ze))l();else{if(po.eventCanceled)return void this._onDrop();Ye(i,"mouseup",r._disableDelayedDrag),Ye(i,"touchend",r._disableDelayedDrag),Ye(i,"touchcancel",r._disableDelayedDrag),Ye(i,"mousemove",r._delayedDragTouchMoveHandler),Ye(i,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&Ye(i,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(l,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_t&&fo(_t),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Ge(e,"mouseup",this._disableDelayedDrag),Ge(e,"touchend",this._disableDelayedDrag),Ge(e,"touchcancel",this._disableDelayedDrag),Ge(e,"mousemove",this._delayedDragTouchMoveHandler),Ge(e,"touchmove",this._delayedDragTouchMoveHandler),Ge(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Ye(document,"pointermove",this._onTouchMove):Ye(document,t?"touchmove":"mousemove",this._onTouchMove):(Ye(_t,"dragend",this),Ye(kt,"dragstart",this._onDragStart));try{document.selection?vo((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(o){}},_dragStarted:function(e,t){if(Ut=!1,kt&&_t){xt("dragStarted",this,{evt:t}),this.nativeDraggable&&Ye(document,"dragover",co);var o=this.options;!e&&Je(_t,o.dragClass,!1),Je(_t,o.ghostClass,!0),po.active=this,e&&this._appendGhost(),yt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(At){this._lastX=At.clientX,this._lastY=At.clientY,io();for(var e=document.elementFromPoint(At.clientX,At.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(At.clientX,At.clientY))!==t;)t=e;if(_t.parentNode[mt]._isOutsideThisEl(e),t)do{if(t[mt]){if(t[mt]._onDragOver({clientX:At.clientX,clientY:At.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);so()}},_onTouchMove:function(e){if(Wt){var t=this.options,o=t.fallbackTolerance,l=t.fallbackOffset,r=e.touches?e.touches[0]:e,n=Ct&&Ze(Ct,!0),a=Ct&&n&&n.a,i=Ct&&n&&n.d,s=to&&Gt&&it(Gt),u=(r.clientX-Wt.clientX+l.x)/(a||1)+(s?s[0]-Jt[0]:0)/(a||1),d=(r.clientY-Wt.clientY+l.y)/(i||1)+(s?s[1]-Jt[1]:0)/(i||1);if(!po.active&&!Ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(Ct){n?(n.e+=u-(zt||0),n.f+=d-(Ft||0)):n={a:1,b:0,c:0,d:1,e:u,f:d};var c="matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.e,",").concat(n.f,")");Qe(Ct,"webkitTransform",c),Qe(Ct,"mozTransform",c),Qe(Ct,"msTransform",c),Qe(Ct,"transform",c),zt=u,Ft=d,At=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ct){var e=this.options.fallbackOnBody?document.body:kt,t=ot(_t,!0,to,!0,e),o=this.options;if(to){for(Gt=e;"static"===Qe(Gt,"position")&&"none"===Qe(Gt,"transform")&&Gt!==document;)Gt=Gt.parentNode;Gt!==document.body&&Gt!==document.documentElement?(Gt===document&&(Gt=tt()),t.top+=Gt.scrollTop,t.left+=Gt.scrollLeft):Gt=tt(),Jt=it(Gt)}Je(Ct=_t.cloneNode(!0),o.ghostClass,!1),Je(Ct,o.fallbackClass,!0),Je(Ct,o.dragClass,!0),Qe(Ct,"transition",""),Qe(Ct,"transform",""),Qe(Ct,"box-sizing","border-box"),Qe(Ct,"margin",0),Qe(Ct,"top",t.top),Qe(Ct,"left",t.left),Qe(Ct,"width",t.width),Qe(Ct,"height",t.height),Qe(Ct,"opacity","0.8"),Qe(Ct,"position",to?"absolute":"fixed"),Qe(Ct,"zIndex","100000"),Qe(Ct,"pointerEvents","none"),po.ghost=Ct,e.appendChild(Ct),Qe(Ct,"transform-origin",Mt/parseInt(Ct.style.width)*100+"% "+Ht/parseInt(Ct.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,l=e.dataTransfer,r=o.options;xt("dragStart",this,{evt:e}),po.eventCanceled?this._onDrop():(xt("setupClone",this),po.eventCanceled||((Dt=pt(_t)).removeAttribute("id"),Dt.draggable=!1,Dt.style["will-change"]="",this._hideClone(),Je(Dt,this.options.chosenClass,!1),po.clone=Dt),o.cloneId=vo((function(){xt("clone",o),po.eventCanceled||(o.options.removeCloneOnHide||kt.insertBefore(Dt,_t),o._hideClone(),yt({sortable:o,name:"clone"}))})),!t&&Je(_t,r.dragClass,!0),t?($t=!0,o._loopId=setInterval(o._emulateDragOver,50)):(Ge(document,"mouseup",o._onDrop),Ge(document,"touchend",o._onDrop),Ge(document,"touchcancel",o._onDrop),l&&(l.effectAllowed="move",r.setData&&r.setData.call(o,l,_t)),Ye(document,"drop",o),Qe(_t,"transform","translateZ(0)")),Ut=!0,o._dragStartId=vo(o._dragStarted.bind(o,t,e)),Ye(document,"selectstart",o),Pt=!0,He&&Qe(document.body,"user-select","none"))},_onDragOver:function(e){var t,o,l,r,n=this.el,a=e.target,i=this.options,s=i.group,u=po.active,d=Ot===s,c=i.sort,p=jt||u,m=this,f=!1;if(!Qt){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Ve(a,i.draggable,n,!0),T("dragOver"),po.eventCanceled)return f;if(_t.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||m._ignoreWhileAnimating===a)return I(!1);if($t=!1,u&&!i.disabled&&(d?c||(l=wt!==kt):jt===this||(this.lastPutMode=Ot.checkPull(this,u,_t,e))&&s.checkPut(this,u,_t,e))){if(r="vertical"===this._getDirection(e,a),t=ot(_t),T("dragOverValid"),po.eventCanceled)return f;if(l)return wt=kt,N(),this._hideClone(),T("revert"),po.eventCanceled||(Rt?kt.insertBefore(_t,Rt):kt.appendChild(_t)),I(!0);var h=nt(n,i.draggable);if(!h||function(e,t,o){var l=ot(nt(o.el,o.options.draggable)),r=10;return t?e.clientX>l.right+r||e.clientX<=l.right&&e.clientY>l.bottom&&e.clientX>=l.left:e.clientX>l.right&&e.clientY>l.top||e.clientX<=l.right&&e.clientY>l.bottom+r}(e,r,this)&&!h.animated){if(h===_t)return I(!1);if(h&&n===e.target&&(a=h),a&&(o=ot(a)),!1!==mo(kt,n,_t,t,a,o,e,!!a))return N(),h&&h.nextSibling?n.insertBefore(_t,h.nextSibling):n.appendChild(_t),wt=n,B(),I(!0)}else if(h&&function(e,t,o){var l=ot(rt(o.el,0,o.options,!0)),r=10;return t?e.clientX<l.left-r||e.clientY<l.top&&e.clientX<l.right:e.clientY<l.top-r||e.clientY<l.bottom&&e.clientX<l.left}(e,r,this)){var g=rt(n,0,i,!0);if(g===_t)return I(!1);if(o=ot(a=g),!1!==mo(kt,n,_t,t,a,o,e,!1))return N(),n.insertBefore(_t,g),wt=n,B(),I(!0)}else if(a.parentNode===n){o=ot(a);var v,b,x,y=_t.parentNode!==n,_=!function(e,t,o){var l=o?e.left:e.top,r=o?e.right:e.bottom,n=o?e.width:e.height,a=o?t.left:t.top,i=o?t.right:t.bottom,s=o?t.width:t.height;return l===a||r===i||l+n/2===a+s/2}(_t.animated&&_t.toRect||t,a.animated&&a.toRect||o,r),w=r?"top":"left",C=lt(a,"top","top")||lt(_t,"top","top"),k=C?C.scrollTop:void 0;if(Lt!==a&&(b=o[w],qt=!1,Kt=!_&&i.invertSwap||y),v=function(e,t,o,l,r,n,a,i){var s=l?e.clientY:e.clientX,u=l?o.height:o.width,d=l?o.top:o.left,c=l?o.bottom:o.right,p=!1;if(!a)if(i&&Yt<u*r){if(!qt&&(1===Xt?s>d+u*n/2:s<c-u*n/2)&&(qt=!0),qt)p=!0;else if(1===Xt?s<d+Yt:s>c-Yt)return-Xt}else if(s>d+u*(1-r)/2&&s<c-u*(1-r)/2)return function(e){return at(_t)<at(e)?1:-1}(t);if((p=p||a)&&(s<d+u*n/2||s>c-u*n/2))return s>d+u/2?1:-1;return 0}(e,a,o,r,_?1:i.swapThreshold,null==i.invertedSwapThreshold?i.swapThreshold:i.invertedSwapThreshold,Kt,Lt===a),0!==v){var R=at(_t);do{R-=v,x=wt.children[R]}while(x&&("none"===Qe(x,"display")||x===Ct))}if(0===v||x===a)return I(!1);Lt=a,Xt=v;var S=a.nextElementSibling,D=!1,E=mo(kt,n,_t,t,a,o,e,D=1===v);if(!1!==E)return 1!==E&&-1!==E||(D=1===E),Qt=!0,setTimeout(ho,30),N(),D&&!S?n.appendChild(_t):a.parentNode.insertBefore(_t,D?S:a),C&&ct(C,0,k-C.scrollTop),wt=_t.parentNode,void 0===b||Kt||(Yt=Math.abs(b-ot(a)[w])),B(),I(!0)}if(n.contains(_t))return I(!1)}return!1}function T(i,s){xt(i,m,Ie({evt:e,isOwner:d,axis:r?"vertical":"horizontal",revert:l,dragRect:t,targetRect:o,canSort:c,fromSortable:p,target:a,completed:I,onMove:function(o,l){return mo(kt,n,_t,t,o,ot(o),e,l)},changed:B},s))}function N(){T("dragOverAnimationCapture"),m.captureAnimationState(),m!==p&&p.captureAnimationState()}function I(t){return T("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(m),m!==p&&(Je(_t,jt?jt.options.ghostClass:u.options.ghostClass,!1),Je(_t,i.ghostClass,!0)),jt!==m&&m!==po.active?jt=m:m===po.active&&jt&&(jt=null),p===m&&(m._ignoreWhileAnimating=a),m.animateAll((function(){T("dragOverAnimationComplete"),m._ignoreWhileAnimating=null})),m!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(a===_t&&!_t.animated||a===n&&!a.animated)&&(Lt=null),i.dragoverBubble||e.rootEl||a===document||(_t.parentNode[mt]._isOutsideThisEl(e.target),!t&&uo(e)),!i.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),f=!0}function B(){Nt=at(_t),Bt=at(_t,i.draggable),yt({sortable:m,name:"change",toEl:n,newIndex:Nt,newDraggableIndex:Bt,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ge(document,"mousemove",this._onTouchMove),Ge(document,"touchmove",this._onTouchMove),Ge(document,"pointermove",this._onTouchMove),Ge(document,"dragover",uo),Ge(document,"mousemove",uo),Ge(document,"touchmove",uo)},_offUpEvents:function(){var e=this.el.ownerDocument;Ge(e,"mouseup",this._onDrop),Ge(e,"touchend",this._onDrop),Ge(e,"pointerup",this._onDrop),Ge(e,"touchcancel",this._onDrop),Ge(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;Nt=at(_t),Bt=at(_t,o.draggable),xt("drop",this,{evt:e}),wt=_t&&_t.parentNode,Nt=at(_t),Bt=at(_t,o.draggable),po.eventCanceled||(Ut=!1,Kt=!1,qt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),bo(this.cloneId),bo(this._dragStartId),this.nativeDraggable&&(Ge(document,"drop",this),Ge(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),He&&Qe(document.body,"user-select",""),Qe(_t,"transform",""),e&&(Pt&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),Ct&&Ct.parentNode&&Ct.parentNode.removeChild(Ct),(kt===wt||jt&&"clone"!==jt.lastPutMode)&&Dt&&Dt.parentNode&&Dt.parentNode.removeChild(Dt),_t&&(this.nativeDraggable&&Ge(_t,"dragend",this),fo(_t),_t.style["will-change"]="",Pt&&!Ut&&Je(_t,jt?jt.options.ghostClass:this.options.ghostClass,!1),Je(_t,this.options.chosenClass,!1),yt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),kt!==wt?(Nt>=0&&(yt({rootEl:wt,name:"add",toEl:wt,fromEl:kt,originalEvent:e}),yt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),yt({rootEl:wt,name:"sort",toEl:wt,fromEl:kt,originalEvent:e}),yt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),jt&&jt.save()):Nt!==Tt&&Nt>=0&&(yt({sortable:this,name:"update",toEl:wt,originalEvent:e}),yt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),po.active&&(null!=Nt&&-1!==Nt||(Nt=Tt,Bt=It),yt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){xt("nulling",this),kt=_t=wt=Ct=Rt=Dt=St=Et=Wt=At=Pt=Nt=Bt=Tt=It=Lt=Xt=jt=Ot=po.dragged=po.ghost=po.clone=po.active=null,Zt.forEach((function(e){e.checked=!0})),Zt.length=zt=Ft=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":_t&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,l=0,r=o.length,n=this.options;l<r;l++)Ve(e=o[l],n.draggable,this.el,!1)&&t.push(e.getAttribute(n.dataIdAttr)||go(e));return t},sort:function(e,t){var o={},l=this.el;this.toArray().forEach((function(e,t){var r=l.children[t];Ve(r,this.options.draggable,l,!1)&&(o[e]=r)}),this),t&&this.captureAnimationState(),e.forEach((function(e){o[e]&&(l.removeChild(o[e]),l.appendChild(o[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Ve(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var l=vt.modifyOption(this,e,t);o[e]=void 0!==l?l:t,"group"===e&&ao(o)},destroy:function(){xt("destroy",this);var e=this.el;e[mt]=null,Ge(e,"mousedown",this._onTapStart),Ge(e,"touchstart",this._onTapStart),Ge(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ge(e,"dragover",this),Ge(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Vt.splice(Vt.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Et){if(xt("hideClone",this),po.eventCanceled)return;Qe(Dt,"display","none"),this.options.removeCloneOnHide&&Dt.parentNode&&Dt.parentNode.removeChild(Dt),Et=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Et){if(xt("showClone",this),po.eventCanceled)return;_t.parentNode!=kt||this.options.group.revertClone?Rt?kt.insertBefore(Dt,Rt):kt.appendChild(Dt):kt.insertBefore(Dt,_t),this.options.group.revertClone&&this.animate(_t,Dt),Qe(Dt,"display",""),Et=!1}}else this._hideClone()}},eo&&Ye(document,"touchmove",(function(e){(po.active||Ut)&&e.cancelable&&e.preventDefault()})),po.utils={on:Ye,off:Ge,css:Qe,find:et,is:function(e,t){return!!Ve(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:dt,closest:Ve,toggleClass:Je,clone:pt,index:at,nextTick:vo,cancelNextTick:bo,detectDirection:no,getChild:rt},po.get=function(e){return e[mt]},po.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(po.utils=Ie(Ie({},po.utils),e.utils)),vt.mount(e)}))},po.create=function(e,t){return new po(e,t)},po.version="1.15.0";var xo,yo,_o,wo,Co,ko,Ro=[],So=!1;function Do(){Ro.forEach((function(e){clearInterval(e.pid)})),Ro=[]}function Eo(){clearInterval(ko)}var To=dt((function(e,t,o,l){if(t.scroll){var r,n=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,s=t.scrollSpeed,u=tt(),d=!1;yo!==o&&(yo=o,Do(),xo=t.scroll,r=t.scrollFn,!0===xo&&(xo=st(o,!0)));var c=0,p=xo;do{var m=p,f=ot(m),h=f.top,g=f.bottom,v=f.left,b=f.right,x=f.width,y=f.height,_=void 0,w=void 0,C=m.scrollWidth,k=m.scrollHeight,R=Qe(m),S=m.scrollLeft,D=m.scrollTop;m===u?(_=x<C&&("auto"===R.overflowX||"scroll"===R.overflowX||"visible"===R.overflowX),w=y<k&&("auto"===R.overflowY||"scroll"===R.overflowY||"visible"===R.overflowY)):(_=x<C&&("auto"===R.overflowX||"scroll"===R.overflowX),w=y<k&&("auto"===R.overflowY||"scroll"===R.overflowY));var E=_&&(Math.abs(b-n)<=i&&S+x<C)-(Math.abs(v-n)<=i&&!!S),T=w&&(Math.abs(g-a)<=i&&D+y<k)-(Math.abs(h-a)<=i&&!!D);if(!Ro[c])for(var N=0;N<=c;N++)Ro[N]||(Ro[N]={});Ro[c].vx==E&&Ro[c].vy==T&&Ro[c].el===m||(Ro[c].el=m,Ro[c].vx=E,Ro[c].vy=T,clearInterval(Ro[c].pid),0==E&&0==T||(d=!0,Ro[c].pid=setInterval(function(){l&&0===this.layer&&po.active._onTouchMove(Co);var t=Ro[this.layer].vy?Ro[this.layer].vy*s:0,o=Ro[this.layer].vx?Ro[this.layer].vx*s:0;"function"==typeof r&&"continue"!==r.call(po.dragged.parentNode[mt],o,t,e,Co,Ro[this.layer].el)||ct(Ro[this.layer].el,o,t)}.bind({layer:c}),24))),c++}while(t.bubbleScroll&&p!==u&&(p=st(p,!1)));So=d}}),30),No=function(e){var t=e.originalEvent,o=e.putSortable,l=e.dragEl,r=e.activeSortable,n=e.dispatchSortableEvent,a=e.hideGhostForTarget,i=e.unhideGhostForTarget;if(t){var s=o||r;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(u.clientX,u.clientY);i(),s&&!s.el.contains(d)&&(n("spill"),this.onSpill({dragEl:l,putSortable:o}))}};function Io(){}function Bo(){}Io.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var l=rt(this.sortable.el,this.startIndex,this.options);l?this.sortable.el.insertBefore(t,l):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:No},je(Io,{pluginName:"revertOnSpill"}),Bo.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:No},je(Bo,{pluginName:"removeOnSpill"}),po.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?Ye(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ye(document,"pointermove",this._handleFallbackAutoScroll):t.touches?Ye(document,"touchmove",this._handleFallbackAutoScroll):Ye(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?Ge(document,"dragover",this._handleAutoScroll):(Ge(document,"pointermove",this._handleFallbackAutoScroll),Ge(document,"touchmove",this._handleFallbackAutoScroll),Ge(document,"mousemove",this._handleFallbackAutoScroll)),Eo(),Do(),clearTimeout(qe),qe=void 0},nulling:function(){Co=yo=xo=So=ko=_o=wo=null,Ro.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,l=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,n=document.elementFromPoint(l,r);if(Co=e,t||this.options.forceAutoScrollFallback||Fe||ze||He){To(e,this.options,n,t);var a=st(n,!0);!So||ko&&l===_o&&r===wo||(ko&&Eo(),ko=setInterval((function(){var n=st(document.elementFromPoint(l,r),!0);n!==a&&(a=n,Do()),To(e,o.options,n,t)}),10),_o=l,wo=r)}else{if(!this.options.bubbleScroll||st(n,!0)===tt())return void Do();To(e,this.options,st(n,!1),!1)}}},je(e,{pluginName:"scroll",initializeByDefault:!0})}),po.mount(Bo,Io);const Oo="object"==typeof global&&global&&global.Object===Object&&global;var jo="object"==typeof self&&self&&self.Object===Object&&self;const Wo=(Oo||jo||Function("return this")()).Symbol;var Ao=Object.prototype,zo=Ao.hasOwnProperty,Fo=Ao.toString,Mo=Wo?Wo.toStringTag:void 0;var Ho=Object.prototype.toString;var Po="[object Null]",Lo="[object Undefined]",Xo=Wo?Wo.toStringTag:void 0;function Yo(e){return null==e?void 0===e?Lo:Po:Xo&&Xo in Object(e)?function(e){var t=zo.call(e,Mo),o=e[Mo];try{e[Mo]=void 0;var l=!0}catch(n){}var r=Fo.call(e);return l&&(t?e[Mo]=o:delete e[Mo]),r}(e):function(e){return Ho.call(e)}(e)}var Go="[object Symbol]";var Uo=/\s/;var $o=/^\s+/;function Vo(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Uo.test(e.charAt(t)););return t}(e)+1).replace($o,""):e}function qo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Ko=NaN,Jo=/^[-+]0x[0-9a-f]+$/i,Qo=/^0b[01]+$/i,Zo=/^0o[0-7]+$/i,el=parseInt;function tl(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&Yo(e)==Go}(e))return Ko;if(qo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=qo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Vo(e);var o=Qo.test(e);return o||Zo.test(e)?el(e.slice(2),o?2:8):Jo.test(e)?Ko:+e}var ol=1/0,ll=17976931348623157e292;function rl(e){return e?(e=tl(e))===ol||e===-ol?(e<0?-1:1)*ll:e==e?e:0:0===e?e:0}var nl="[object AsyncFunction]",al="[object Function]",il="[object GeneratorFunction]",sl="[object Proxy]";var ul=9007199254740991,dl=/^(?:0|[1-9]\d*)$/;var cl=9007199254740991;function pl(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=cl}(e.length)&&!function(e){if(!qo(e))return!1;var t=Yo(e);return t==al||t==il||t==nl||t==sl}(e)}function ml(e,t,o){if(!qo(o))return!1;var l=typeof t;return!!("number"==l?pl(o)&&function(e,t){var o=typeof e;return!!(t=null==t?ul:t)&&("number"==o||"symbol"!=o&&dl.test(e))&&e>-1&&e%1==0&&e<t}(t,o.length):"string"==l&&t in o)&&function(e,t){return e===t||e!=e&&t!=t}(o[t],e)}var fl=Math.ceil,hl=Math.max;var gl,vl=function(e,t,o){return o&&"number"!=typeof o&&ml(e,t,o)&&(t=o=void 0),e=rl(e),void 0===t?(t=e,e=0):t=rl(t),function(e,t,o,l){for(var r=-1,n=hl(fl((t-e)/(o||1)),0),a=Array(n);n--;)a[l?n:++r]=e,e+=o;return a}(e,t,o=void 0===o?e<t?1:-1:rl(o),gl)};const bl=vl,xl=K(t({__name:"index",props:["data","pullDownRefreshCount"],setup(e){const t=e,r=o(),n=l((()=>"decorate"==r.mode?r:t.data));return a((()=>{if("decorate"==r.mode){var e=document.getElementById("componentList");const t=po.create(e,{group:"draggable-element",animation:200,onEnd:e=>{let o=r.value[e.oldIndex];r.value.splice(e.oldIndex,1),r.value.splice(e.newIndex,0,o),V((()=>{t.sort(bl(r.value.length).map((e=>e.toString()))),r.postMessage(e.newIndex,r.value[e.newIndex])}))}})}})),(e,o)=>{const l=s(u("diy-addon-list"),ue),a=s(u("diy-graphic-nav"),de),i=s(u("diy-horz-blank"),ce),b=s(u("diy-hot-area"),pe),_=s(u("diy-image-ads"),me),w=s(u("diy-member-info"),fe),k=s(u("diy-notice"),be),S=s(u("diy-rubik-cube"),xe),D=s(u("diy-text"),ye),E=R,T=s(u("tabbar"),te);return d(),c(E,{class:"diy-group",id:"componentList"},{default:p((()=>[(d(!0),m(f,null,h(v(n).value,((e,o)=>(d(),c(E,{key:e.id,onClick:t=>v(r).changeCurrentIndex(o,e),class:g(["draggable-element relative cursor-move",{selected:v(r).currentIndex==o,decorate:"decorate"==v(r).mode}]),style:C(e.pageStyle)},{default:p((()=>["AddonList"==e.componentName?(d(),c(l,{key:0,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"GraphicNav"==e.componentName?(d(),c(a,{key:1,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"HorzBlank"==e.componentName?(d(),c(i,{key:2,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"HotArea"==e.componentName?(d(),c(b,{key:3,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"ImageAds"==e.componentName?(d(),c(_,{key:4,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"MemberInfo"==e.componentName?(d(),c(w,{key:5,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"Notice"==e.componentName?(d(),c(k,{key:6,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"RubikCube"==e.componentName?(d(),c(S,{key:7,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"Text"==e.componentName?(d(),c(D,{key:8,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"Article"==e.componentName?(d(),c(_e,{key:9,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"VipcardCard"==e.componentName?(d(),c(we,{key:10,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"VipcardReserve"==e.componentName?(d(),c(Ce,{key:11,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"VipcardStore"==e.componentName?(d(),c(ke,{key:12,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"GoodsList"==e.componentName?(d(),c(Re,{key:13,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"ShopSearch"==e.componentName?(d(),c(Se,{key:14,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"TourismHotel"==e.componentName?(d(),c(De,{key:15,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"TourismTickets"==e.componentName?(d(),c(Ee,{key:16,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0),"TourismTravel"==e.componentName?(d(),c(Te,{key:17,component:e,index:o,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["component","index","pullDownRefreshCount"])):y("v-if",!0)])),_:2},1032,["onClick","class","style"])))),128)),""==v(r).mode&&v(n).global.bottomTabBarSwitch?(d(),m(f,{key:0},[x(E,{class:"pt-[20rpx]"}),x(T)],64)):y("v-if",!0)])),_:1})}}}),[["__scopeId","data-v-45f8a238"]]),yl=t({__name:"index",props:["data","pullDownRefreshCount"],setup(e){const t=e;return(e,o)=>{const l=s(u("diy-group"),xl),r=R;return d(),c(r,null,{default:p((()=>[_(" 固定模板示例,我也可以装修 "),y(" 自定义模板渲染 "),x(l,{data:t.data,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["data","pullDownRefreshCount"])])),_:1})}}}),_l=K(t({__name:"index",props:["data","pullDownRefreshCount"],setup(e){const t=e;return(e,o)=>{const l=s(u("fixed-demo-index"),yl),r=R;return d(),c(r,{class:"fixed-group"},{default:p((()=>["demo-index"==t.data.global.component?(d(),c(l,{key:0,data:t.data,pullDownRefreshCount:t.pullDownRefreshCount},null,8,["data","pullDownRefreshCount"])):y("v-if",!0)])),_:1})}}}),[["__scopeId","data-v-e2d0896a"]]);export{xl as _,_l as a};