pb-sxp-ui 1.0.31 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +2 -2
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +16 -16
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +2 -2
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/WaterFall/index.js +1 -1
- package/es/core/components/SxpPageRender/index.js +7 -7
- package/es/core/context/SxpDataSourceProvider.js +1 -1
- package/es/core/hooks/useEventReport.js +4 -4
- package/lib/core/components/SxpPageRender/WaterFall/index.js +1 -1
- package/lib/core/components/SxpPageRender/index.js +7 -7
- package/lib/core/context/SxpDataSourceProvider.js +1 -1
- package/lib/core/hooks/useEventReport.js +4 -4
- package/package.json +1 -1
package/dist/index.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import{isEmpty as mt,isEqual as ai,cloneDeep as rt,debounce as At,throttle as ht,get as ri}from"lodash";import{v4 as tn}from"uuid";import nn from"pako";import v,{useContext as dt,useMemo as se,createContext as ct,memo as re,useState as G,useRef as Q,useEffect as K,useCallback as pe,forwardRef as gt,useImperativeHandle as di,useLayoutEffect as on}from"react";import ci from"qs";import{css as $}from"@emotion/css";import{BetaSchemaForm as ln}from"@ant-design/pro-components";import*as ui from"react-dom";import pi from"hls.js";import sn from"eventemitter3";function ge(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function Te(t,e,i,n){function o(l){return l instanceof i?l:new i(function(s){s(l)})}return new(i||(i=Promise))(function(l,s){function r(c){try{d(n.next(c))}catch(p){s(p)}}function a(c){try{d(n.throw(c))}catch(p){s(p)}}function d(c){c.done?l(c.value):o(c.value).then(r,a)}d((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const an=/:\w+/g;var fi=(t,e)=>Te(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:s,url:r,urlParams:a,name:d,queryString:c,headers:p,body:m}=e[o];let f=r;a&&Object.entries(a).forEach(([y,g])=>{f=f.replace(an,C=>C===y?g:C)}),c&&(f+=c),n[l]=d;try{const y=yield fetch(f,{method:s,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(g=>g.json());i[l]=y}catch(y){console.error("DataSource request error: ",y),i[l]={}}}return{$store:i,idMapName:n}});const vi="SXP_TOKEN_INFO",rn=(t,e)=>Te(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),s=window.localStorage.getItem(vi);let r=JSON.parse(s||"{}");if(Date.now()>((i=r?.expireTime)!==null&&i!==void 0?i:0)){const d=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(d.success){const c=d.data;r=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(vi,JSON.stringify(r))}}return r});function bt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const dn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},cn=()=>{const t=tn();return t?.replaceAll?t.replaceAll("-",""):dn(32)};function mi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=nn.inflate(n,{to:"string"});return JSON.parse(o)}let kt=null;const un={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class pn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,kt)return kt;kt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?un[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let be=null;const fn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{be||(be=new pn),n&&be.setApiUrl(n),be.setAppId(t),be.setTenantId(e),be.setEnv(i)},getDetail:t=>{if(!be)return;const e=be.getTenantId(),i=be.getAppId(),n=be.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Te(void 0,void 0,void 0,function*(){var l,s;const r=yield o.json(),a=mi((l=r?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:d}=yield fi(n,(s=a?.dataSource)!==null&&s!==void 0?s:[]);r.data.data=a,Object.assign(r.data.data,{__STORE__:d})}return r}))},getSxpDetailByPageId:t=>Te(void 0,void 0,void 0,function*(){if(!be)return;const e=be.getTenantId(),i=be.getAppId(),n=be.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Te(void 0,void 0,void 0,function*(){var l;const s=yield o.json();if(!s.success)return;const r=mi((l=s?.data)===null||l===void 0?void 0:l.data);return s.data.data=r,s.data}))}),getSxpRecommendVideoData:t=>Te(void 0,void 0,void 0,function*(){if(!be)return;const e=yield rn(be,t),i=bt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");mt(n)&&(n=bt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function je(){return dt(xi)}function vn(){return dt(Si)}const Pt="feRealSessionIdKey",hi=()=>{const t=cn();return`${Date.now()}${t}`},mn=()=>{let t=gn();return t||(t=hi(),window.sessionStorage.setItem(Pt,t)),t},hn=()=>{const t=hi();window.sessionStorage.setItem(Pt,t)},gn=()=>window.sessionStorage.getItem(Pt),gi="SXP_FAKE_USER_ID",bi="FAKE_USER_STATE",bn=()=>{let t=window.localStorage.getItem(gi);return mt(t)&&(t=bt(36,62),window.localStorage.setItem(gi,t)),t},yn=()=>{const t=window.localStorage.getItem(bi);return mt(t)&&window.localStorage.setItem(bi,"true"),mt(t)};function Xe(t,e){const{appDomain:i}=ce();return se(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const yi=ct({rtcList:[]});var _t;(function(t){t[t.BFF=5]="BFF"})(_t||(_t={}));const wn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Tn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:s=!1,sxpParameter:r,appDomain:a,hashTagSize:d,loadingImage:c,isOpenHashTag:p=!1})=>{const[m,f]=G([]),[y,g]=G(!1),[C,u]=G({rtc:"",requestId:""}),b=Q(null),h=Q(!1),[T,w]=G(),[P,M]=G(),[I,S]=G(p),[x,A]=G([]),[E,k]=G(0),[L,N]=G(!1);K(()=>{S(p)},[p]);const F=se(()=>e?.find(z=>z.type===_t.BFF),[e]),U=pe((z,V)=>{if(!F)return;const H=F.url,ne=bn();if(V?.query){const Z=ci.stringify(V.query);z=`${z}?${Z}`}return V.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${H}/api/v1${z}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},F.headers),{"x-user-id":ne}),V.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${H}/api/v1${z}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ne},F.headers),method:V.method,body:JSON.stringify(V.body)}).then(Z=>Z.json()).catch(Z=>Promise.reject(Z))},[F]),R=pe(z=>Te(void 0,void 0,void 0,function*(){var V,H,ne,Z;if(z={maxSize:o,defaultSize:(V=z?.defaultSize)!==null&&V!==void 0?V:l,"itemFilter.itemId":z?.["itemFilter.itemId"],"itemFilter.itemType":z?.["itemFilter.itemType"],hashTag:z?.hashTag,traceInfo:z?.traceInfo},i){const le=(Z=(ne=(H=i?.split("&"))===null||H===void 0?void 0:H.filter(he=>{const me=he.split("=")[0];return wn.includes(me)}))===null||ne===void 0?void 0:ne.join("&"))!==null&&Z!==void 0?Z:"";z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(le)})}const te=yield U?.("/recommend/list",{method:"GET",query:z});if(te?.success)return z?.hashTag||u({rtc:te.data.rtc,requestId:te.data.requestId}),te?.data}),[U,i,o,l]),_=pe(()=>Te(void 0,void 0,void 0,function*(){var z,V;if(m.length<=0)return;const H=yield R({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType});f(m.concat((z=H?.recList)!==null&&z!==void 0?z:[])),A(x.concat((V=H?.recList)!==null&&V!==void 0?V:[]))}),[R,m,P,x]),D=pe(({userInfo:z,eventInfo:V})=>{if(!n)return;z||(z={});const H=mn(),ne=Object.assign({sessionID:H,rtc:C.rtc,requestId:C.requestId},V),Z=Object.entries(z).map(([le,he])=>({name:le,value:he})),te=Object.entries(ne).map(([le,he])=>he&&{name:le,value:he}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",ne),console.log("========= \u7ED3\u675F ========="),U?.("/event/report",{method:"POST",body:{userInfo:Z,eventInfo:te},type:"beacon"})},[U,C,n]),O=pe(z=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/recommend/like",{method:"POST",body:z});return V?.success}),[U]),B=pe(z=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/recommend/unlike",{method:"POST",body:z});return V?.success}),[U]),Y=pe(z=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/customform",{method:"POST",body:z});return V?.success}),[U]),de=pe((z,V,H,ne)=>{var Z,te,le,he,me,Oe,Ke,Qe,lt,Ze,st,ze;const we=H?.bindCta,at=((Z=V?.video)===null||Z===void 0?void 0:Z.bindProduct)||((te=V?.video)===null||te===void 0?void 0:te.bindProducts)&&((he=(le=V?.video)===null||le===void 0?void 0:le.bindProducts)===null||he===void 0?void 0:he.length)>0;let Ge="";L?Ge="hashTagPage":!((me=V?.video)===null||me===void 0)&&me.url?Ge="videoPage":!((Ke=(Oe=V?.video)===null||Oe===void 0?void 0:Oe.imgUrls)===null||Ke===void 0)&&Ke.length&&(Ge="imagePage"),D?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(Qe=we?.itemId)!==null&&Qe!==void 0?Qe:"",ctaName:(lt=we?.title)!==null&<!==void 0?lt:"",contentTags:JSON.stringify(we?.tags),position:ne+"",relatedContentId:(st=(Ze=V?.video)===null||Ze===void 0?void 0:Ze.itemId)!==null&&st!==void 0?st:"",relatedProductId:at?H?.itemId:"",traceInfo:(ze=we?.traceInfo)!==null&&ze!==void 0?ze:"",fromKName:Ge})})},[D,L]);K(()=>{g(!0),R().then(z=>{var V,H;f((V=z?.recList)!==null&&V!==void 0?V:[]),A((H=z?.recList)!==null&&H!==void 0?H:[])}).finally(()=>{g(!1),h.current=!0})},[]),K(()=>{h.current&&(g(!0),R().then(z=>{var V,H;f((V=z?.recList)!==null&&V!==void 0?V:[]),A((H=z?.recList)!==null&&H!==void 0?H:[])}).finally(()=>{g(!1)}))},[R]);const ie=Xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(yi.Provider,{value:{rtcList:m,setRtcList:f,mutateLike:O,mutateUnlike:B,submitForm:Y,popupDetailData:T,loadVideos:_,setPopupDetailData:w,getRecommendVideos:R,bffEventReport:D,utmVal:i,isPreview:s,loading:y,sxpParameter:r,waterFallData:P,setWaterFallData:M,ctaEvent:de,swiperRef:b,openHashtag:I,setOpenHashtag:S,cacheRtcList:x,setCacheRtcList:A,cacheActiveIndex:E,setCacheActiveIndex:k,isFromHashtag:L,setIsFromHashtag:N,appDomain:a,hashTagSize:d,loadingImage:c??ie,isOpenHashTag:p}},t({rtcList:m,mutateLike:O,mutateUnlike:B,submitForm:Y}))};var wi=re(Tn);function ce(){return dt(yi)}var Ti;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(Ti||(Ti={}));const Si=ct({$store:{},options:[],configs:[]}),Sn=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=je(),[s,r]=G(l.__STORE__||{}),[a,d]=G([]);K(()=>{var m;e||ai(a,l?.dataSource)||d((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=pe(()=>Te(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield fi("",a);r(m),p(m,f)}),[a]),p=(m,f)=>{const y=[];Object.entries(m).forEach(([g,C])=>{Object.keys(C).forEach(u=>{const b={label:`${f[g]} - ${u}`,value:`{{ ${g}.${u} }}`};y.push(b)})}),o(y)};return K(()=>{e||c()},[c,e,l]),i?v.createElement(Si.Provider,{value:{$store:l.__STORE__||s,options:n,configs:a}},t):t};var xn=re(Sn);const yt={id:bt(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},Ot={id:"",duration:0,name:"none"},xi=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[yt],redoStack:[],popup:Ot,setPopup:()=>{}}),Ei=gt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},s)=>{const[r,a]=G(null),[d,c]=G(n||{pointData:[yt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=G([yt]),[f,y]=G([[yt]]),[g,C]=G([]),[u,b]=G(Ot);typeof window<"u"&&(window.sxpPopup=(M,I)=>{b(Object.assign(Object.assign(Object.assign({},Ot),{id:M}),I))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),K(()=>{y([d.pointData]),C([])},[d.type]);const h=pe(M=>{const I=rt(d);I&&(I.dataSource=M,c?.(I))},[d]),[T,w]=G();di(s,()=>({loadSchema(M){M&&(y([M.pointData]),c(M))},exportSchema(){return rt(d)},getPageInfoData(){return T},initPageInfoData(M){M&&w(M)}}));const P=se(()=>{if(d)return d.type==="PC"?d.pcPageConf:d.mobilePageConf},[d]);return v.createElement(xi.Provider,{value:{resolver:e,currentNode:r,schema:d,setCurrentNode:a,setSchema:c,saveDataSource:h,prePiontData:p,setPrePiontData:m,pageInfoData:T,setPageInfoData:M=>w(Object.assign(Object.assign({},T),M)),undoStack:f,redoStack:g,setRedoStack:C,setUndoStack:y,getCurPageConf:P,popup:u,setPopup:b}},v.createElement(xn,{isSsr:i,enable:o},t))});var En=Object.freeze({__proto__:null,EditorCore:Ei}),Cn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ee=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var In={fontOptions:ee},Mt,Dn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ee,initialValue:(Mt=ee?.[0])===null||Mt===void 0?void 0:Mt.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const An=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:s,submitText:r,layoutType:a,onClick:d}=t,c=ge(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:p}=ce(),m=Q(),[f,y]=G(!1),g=se(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),C=se(()=>{if(a===void 0){const b=rt(e)||g;return b?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return rt(e)||g},[a,e,g]),u=At(()=>Te(void 0,void 0,void 0,function*(){var b,h,T;y(!0);const w=yield(b=m?.current)===null||b===void 0?void 0:b.getFieldsValue(),P=(T=(h=Object.keys(w))===null||h===void 0?void 0:h.map(I=>({name:I,value:w[I]})))===null||T===void 0?void 0:T.filter(I=>I?.value);if(!P||!P?.length)return;const M=yield p?.({attributes:P});y(!1),M&&(window?.sxpPopup(""),M&&d?.())}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${$(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:$(Object.assign({},i))},c),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement(ln,{columns:C,submitter:!1,layout:a,autoFocusFirstInput:!1,size:"large",formRef:m,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:u,className:"pb-appoint-form-btn",style:{color:s,background:l}},f?v.createElement(v.Fragment,null,"loading..."):r)))};var kn=re(An);function Se(t,e){return t.extend=e,t}const Pn=Se(kn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Dn,bindableProps:[],interactionRender:Cn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Lt,jt,_n=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Lt=ee?.[0])===null||Lt===void 0?void 0:Lt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(jt=ee?.[0])===null||jt===void 0?void 0:jt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Ci(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Nt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ci(e[i])&&Ci(t[i])&&Object.keys(e[i]).length>0&&Nt(t[i],e[i])})}const Ii={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ae(){const t=typeof document<"u"?document:{};return Nt(t,Ii),t}const On={document:Ii,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ye(){const t=typeof window<"u"?window:{};return Nt(t,On),t}function Fe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Mn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function et(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ee(){return Date.now()}function Ln(t){const e=ye();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function jn(t,e){e===void 0&&(e="x");const i=ye();let n,o,l;const s=Ln(t);return i.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(r=>r.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function wt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Nn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function xe(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Nn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,s=o.length;l<s;l+=1){const r=o[l],a=Object.getOwnPropertyDescriptor(n,r);a!==void 0&&a.enumerable&&(wt(t[r])&&wt(n[r])?n[r].__swiper__?t[r]=n[r]:xe(t[r],n[r]):!wt(t[r])&&wt(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:xe(t[r],n[r])):t[r]=n[r])}}}return t}function Tt(t,e,i){t.style.setProperty(e,i)}function Di(t){let{swiper:e,targetPosition:i,side:n}=t;const o=ye(),l=-e.translate;let s=null,r;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const d=i>l?"next":"prev",c=(m,f)=>d==="next"&&m>=f||d==="prev"&&m<=f,p=()=>{r=new Date().getTime(),s===null&&(s=r);const m=Math.max(Math.min((r-s)/a,1),0),f=.5-Math.cos(m*Math.PI)/2;let y=l+f*(i-l);if(c(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),c(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function Pe(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function St(t){try{console.warn(t);return}catch{}}function ut(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Fe(e)),i}function Rn(t){const e=ye(),i=Ae(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,s=t.clientLeft||o.clientLeft||0,r=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+r-l,left:n.left+a-s}}function Bn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function zn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function He(t,e){return ye().getComputedStyle(t,null).getPropertyValue(e)}function xt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ai(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Rt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Bt(t,e,i){const n=ye();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function _e(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ye();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,r=Ee(),a;const d=[];function c(h){let M=0,I=0,S=0,x=0;return"detail"in h&&(I=h.detail),"wheelDelta"in h&&(I=-h.wheelDelta/120),"wheelDeltaY"in h&&(I=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=I,I=0),S=M*10,x=I*10,"deltaY"in h&&(x=h.deltaY),"deltaX"in h&&(S=h.deltaX),h.shiftKey&&!S&&(S=x,x=0),(S||x)&&h.deltaMode&&(h.deltaMode===1?(S*=40,x*=40):(S*=800,x*=800)),S&&!M&&(M=S<1?-1:1),x&&!I&&(I=x<1?-1:1),{spinX:M,spinY:I,pixelX:S,pixelY:x}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ee()-r<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ee()-r<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),r=new l.Date().getTime(),!1)}function y(h){const T=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&T.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&T.releaseOnEdges)return!0;return!1}function g(h){let T=h,w=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&T.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const I=M&&M.contains(T.target);if(!e.mouseEntered&&!I&&!P.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let S=0;const x=e.rtlTranslate?-1:1,A=c(T);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*x;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*x:-A.pixelY;if(S===0)return!0;P.invert&&(S=-S);let E=e.getTranslate()+S*P.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),w=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),w&&e.params.nested&&T.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const k={time:Ee(),delta:Math.abs(S),direction:Math.sign(S),raw:h};d.length>=2&&d.shift();const L=d.length?d[d.length-1]:void 0;if(d.push(k),L?(k.direction!==L.direction||k.delta>L.delta||k.time>L.time+150)&&f(k):f(k),y(k))return!0}else{const k={time:Ee(),delta:Math.abs(S),direction:Math.sign(S)},L=a&&k.time<a.time+500&&k.delta<=a.delta&&k.direction===a.direction;if(!L){a=void 0;let N=e.getTranslate()+S*P.sensitivity;const F=e.isBeginning,U=e.isEnd;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!U&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:k.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,d.length>=15&&d.shift();const R=d.length?d[d.length-1]:void 0,_=d[0];if(d.push(k),R&&(k.delta>R.delta||k.direction!==R.direction))d.splice(0);else if(d.length>=15&&k.time-_.time<500&&_.delta-k.delta>=1&&k.delta<=6){const D=S>0?.8:.2;a=k,d.splice(0),s=et(()=>{e.slideToClosest(e.params.speed,!0,void 0,D)},0)}s||(s=et(()=>{a=k,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(L||o("scroll",T),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function C(h){let T=e.el;e.params.mousewheel.eventsTarget!=="container"&&(T=document.querySelector(e.params.mousewheel.eventsTarget)),T[h]("mouseenter",p),T[h]("mouseleave",m),T[h]("wheel",g)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:u,disable:b})}function ki(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Pe(t.el,`.${n[o]}`)[0];l||(l=ut("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function tt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function zt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let s,r=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(u,b){const{bulletActiveClass:h}=e.params.pagination;u&&(u=u[`${b==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${h}-${b}`),u=u[`${b==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${h}-${b}-${b}`)))}function c(u){const b=u.target.closest(tt(e.params.pagination.bulletClass));if(!b)return;u.preventDefault();const h=xt(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function p(){const u=e.rtl,b=e.params.pagination;if(a())return;let h=e.pagination.el;h=_e(h);let T,w;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,T=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let S,x,A;if(b.dynamicBullets&&(s=Bt(I[0],e.isHorizontal()?"width":"height",!0),h.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${s*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&w!==void 0&&(r+=T-(w||0),r>b.dynamicMainBullets-1?r=b.dynamicMainBullets-1:r<0&&(r=0)),S=Math.max(T-r,0),x=S+(Math.min(I.length,b.dynamicMainBullets)-1),A=(x+S)/2),I.forEach(E=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${b.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();E.classList.remove(...k)}),h.length>1)I.forEach(E=>{const k=xt(E);k===T?E.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),b.dynamicBullets&&(k>=S&&k<=x&&E.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),k===S&&d(E,"prev"),k===x&&d(E,"next"))});else{const E=I[T];if(E&&E.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&I.forEach((k,L)=>{k.setAttribute("part",L===T?"bullet-active":"bullet")}),b.dynamicBullets){const k=I[S],L=I[x];for(let N=S;N<=x;N+=1)I[N]&&I[N].classList.add(...`${b.bulletActiveClass}-main`.split(" "));d(k,"prev"),d(L,"next")}}if(b.dynamicBullets){const E=Math.min(I.length,b.dynamicMainBullets+4),k=(s*E-s)/2-A*s,L=u?"right":"left";I.forEach(N=>{N.style[e.isHorizontal()?L:"top"]=`${k}px`})}}h.forEach((I,S)=>{if(b.type==="fraction"&&(I.querySelectorAll(tt(b.currentClass)).forEach(x=>{x.textContent=b.formatFractionCurrent(T+1)}),I.querySelectorAll(tt(b.totalClass)).forEach(x=>{x.textContent=b.formatFractionTotal(M)})),b.type==="progressbar"){let x;b.progressbarOpposite?x=e.isHorizontal()?"vertical":"horizontal":x=e.isHorizontal()?"horizontal":"vertical";const A=(T+1)/M;let E=1,k=1;x==="horizontal"?E=A:k=A,I.querySelectorAll(tt(b.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${k})`,L.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(I.innerHTML=b.renderCustom(e,T+1,M),S===0&&o("paginationRender",I)):(S===0&&o("paginationRender",I),o("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](b.lockClass)})}function m(){const u=e.params.pagination;if(a())return;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=_e(h);let T="";if(u.type==="bullets"){let w=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>b&&(w=b);for(let P=0;P<w;P+=1)u.renderBullet?T+=u.renderBullet.call(e,P,u.bulletClass):T+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?T=u.renderFraction.call(e,u.currentClass,u.totalClass):T=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?T=u.renderProgressbar.call(e,u.progressbarFillClass):T=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(w=>{u.type!=="custom"&&(w.innerHTML=T||""),u.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(tt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",h[0])}function f(){e.params.pagination=ki(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let b;typeof u.el=="string"&&e.isElement&&(b=e.el.querySelector(u.el)),!b&&typeof u.el=="string"&&(b=[...document.querySelectorAll(u.el)]),b||(b=u.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(u.el)],b.length>1&&(b=b.filter(h=>Ai(h,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=_e(b),b.forEach(h=>{u.type==="bullets"&&u.clickable&&h.classList.add(...(u.clickableClass||"").split(" ")),h.classList.add(u.modifierClass+u.type),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(h.classList.add(`${u.modifierClass}${u.type}-dynamic`),r=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&h.classList.add(u.progressbarOppositeClass),u.clickable&&h.addEventListener("click",c),e.enabled||h.classList.add(u.lockClass)}))}function y(){const u=e.params.pagination;if(a())return;let b=e.pagination.el;b&&(b=_e(b),b.forEach(h=>{h.classList.remove(u.hiddenClass),h.classList.remove(u.modifierClass+u.type),h.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(h.classList.remove(...(u.clickableClass||"").split(" ")),h.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:b}=e.pagination;b=_e(b),b.forEach(h=>{h.classList.remove(u.horizontalClass,u.verticalClass),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(f(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=_e(u),u.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,b)=>{const h=b.target,T=_e(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const w=T[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),T.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=_e(u),u.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),p()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=_e(u),u.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:g,disable:C,render:m,update:p,init:f,destroy:y})}function Fn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ae();let s=!1,r=null,a=null,d,c,p,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E,rtlTranslate:k}=e,{dragEl:L,el:N}=E,F=e.params.scrollbar,U=e.params.loop?e.progressLoop:e.progress;let R=c,_=(p-c)*U;k?(_=-_,_>0?(R=c-_,_=0):-_+c>p&&(R=p+_)):_<0?(R=c+_,_=0):_+c>p&&(R=p-_),e.isHorizontal()?(L.style.transform=`translate3d(${_}px, 0, 0)`,L.style.width=`${R}px`):(L.style.transform=`translate3d(0px, ${_}px, 0)`,L.style.height=`${R}px`),F.hide&&(clearTimeout(r),N.style.opacity=1,r=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function y(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E}=e,{dragEl:k,el:L}=E;k.style.width="",k.style.height="",p=e.isHorizontal()?L.offsetWidth:L.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=p*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?k.style.width=`${c}px`:k.style.height=`${c}px`,m>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&E.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(E){return e.isHorizontal()?E.clientX:E.clientY}function u(E){const{scrollbar:k,rtlTranslate:L}=e,{el:N}=k;let F;F=(C(E)-Rn(N)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(p-c),F=Math.max(Math.min(F,1),0),L&&(F=1-F);const U=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(U),e.setTranslate(U),e.updateActiveIndex(),e.updateSlidesClasses()}function b(E){const k=e.params.scrollbar,{scrollbar:L,wrapperEl:N}=e,{el:F,dragEl:U}=L;s=!0,d=E.target===U?C(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),N.style.transitionDuration="100ms",U.style.transitionDuration="100ms",u(E),clearTimeout(a),F.style.transitionDuration="0ms",k.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function h(E){const{scrollbar:k,wrapperEl:L}=e,{el:N,dragEl:F}=k;s&&(E.preventDefault?E.preventDefault():E.returnValue=!1,u(E),L.style.transitionDuration="0ms",N.style.transitionDuration="0ms",F.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function T(E){const k=e.params.scrollbar,{scrollbar:L,wrapperEl:N}=e,{el:F}=L;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),k.hide&&(clearTimeout(a),a=et(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),k.snapOnRelease&&e.slideToClosest())}function w(E){const{scrollbar:k,params:L}=e,N=k.el;if(!N)return;const F=N,U=L.passiveListeners?{passive:!1,capture:!1}:!1,R=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const _=E==="on"?"addEventListener":"removeEventListener";F[_]("pointerdown",b,U),l[_]("pointermove",h,U),l[_]("pointerup",T,R)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function I(){const{scrollbar:E,el:k}=e;e.params.scrollbar=ki(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let N;if(typeof L.el=="string"&&e.isElement&&(N=e.el.querySelector(L.el)),!N&&typeof L.el=="string"){if(N=l.querySelectorAll(L.el),!N.length)return}else N||(N=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&N.length>1&&k.querySelectorAll(L.el).length===1&&(N=k.querySelector(L.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let F;N&&(F=N.querySelector(tt(e.params.scrollbar.dragClass)),F||(F=ut("div",e.params.scrollbar.dragClass),N.append(F))),Object.assign(E,{el:N,dragEl:F}),L.draggable&&P(),N&&N.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}function S(){const E=e.params.scrollbar,k=e.scrollbar.el;k&&k.classList.remove(...Fe(e.isHorizontal()?E.horizontalClass:E.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:k}=e.scrollbar;k=_e(k),k.forEach(L=>{L.classList.remove(E.horizontalClass,E.verticalClass),L.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(I(),g(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{g()}),n("setTranslate",()=>{f()}),n("setTransition",(E,k)=>{y(k)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const x=()=>{e.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),I(),g(),f()},A=()=>{e.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:x,disable:A,updateSize:g,setTranslate:f,init:I,destroy:S})}function Vt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,r,a=l&&l.autoplay?l.autoplay.delay:3e3,d=l&&l.autoplay?l.autoplay.delay:3e3,c,p=new Date().getTime(),m,f,y,g,C,u,b;function h(R){!e||e.destroyed||!e.wrapperEl||R.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!b&&x())}const T=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(d=c,m=!1);const R=e.autoplay.paused?c:p+d-new Date().getTime();e.autoplay.timeLeft=R,o("autoplayTimeLeft",R,R/a),r=requestAnimationFrame(()=>{T()})},w=()=>{let R;return e.virtual&&e.params.virtual.enabled?R=e.slides.filter(D=>D.classList.contains("swiper-slide-active"))[0]:R=e.slides[e.activeIndex],R?parseInt(R.getAttribute("data-swiper-autoplay"),10):void 0},P=R=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(r),T();let _=typeof R>"u"?e.params.autoplay.delay:R;a=e.params.autoplay.delay,d=e.params.autoplay.delay;const D=w();!Number.isNaN(D)&&D>0&&typeof R>"u"&&(_=D,a=D,d=D),c=_;const O=e.params.speed,B=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,O,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,O,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return _>0?(clearTimeout(s),s=setTimeout(()=>{B()},_)):requestAnimationFrame(()=>{B()}),_},M=()=>{p=new Date().getTime(),e.autoplay.running=!0,P(),o("autoplayStart")},I=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(r),o("autoplayStop")},S=(R,_)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),R||(u=!0);const D=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):x()};if(e.autoplay.paused=!0,_){C&&(c=e.params.autoplay.delay),C=!1,D();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),D())},x=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,P(c)):P(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const R=Ae();R.visibilityState==="hidden"&&(u=!0,S(!0)),R.visibilityState==="visible"&&x()},E=R=>{R.pointerType==="mouse"&&(u=!0,b=!0,!(e.animating||e.autoplay.paused)&&S(!0))},k=R=>{R.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&x())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",k))},N=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",k)},F=()=>{Ae().addEventListener("visibilitychange",A)},U=()=>{Ae().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(L(),F(),M())}),n("destroy",()=>{N(),U(),e.autoplay.running&&I()}),n("_freeModeStaticRelease",()=>{(y||u)&&x()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?I():S(!0,!0)}),n("beforeTransitionStart",(R,_,D)=>{e.destroyed||!e.autoplay.running||(D||!e.params.autoplay.disableOnInteraction?S(!0,!0):I())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){I();return}f=!0,y=!1,u=!1,g=setTimeout(()=>{u=!0,y=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(g),clearTimeout(s),e.params.autoplay.disableOnInteraction){y=!1,f=!1;return}y&&e.params.cssMode&&x(),y=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:I,pause:S,resume:x})}function Hn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function s(){if(e.params.cssMode)return;const{touchEventsData:a,touches:d}=e;a.velocities.length===0&&a.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:Ee()})}function r(a){let{currentPos:d}=a;if(e.params.cssMode)return;const{params:c,wrapperEl:p,rtlTranslate:m,snapGrid:f,touchEventsData:y}=e,C=Ee()-y.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(y.velocities.length>1){const I=y.velocities.pop(),S=y.velocities.pop(),x=I.position-S.position,A=I.time-S.time;e.velocity=x/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Ee()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,y.velocities.length=0;let u=1e3*c.freeMode.momentumRatio;const b=e.velocity*u;let h=e.translate+b;m&&(h=-h);let T=!1,w;const P=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-P&&(h=e.maxTranslate()-P),w=e.maxTranslate(),T=!0,y.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>P&&(h=e.minTranslate()+P),w=e.minTranslate(),T=!0,y.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let I;for(let S=0;S<f.length;S+=1)if(f[S]>-h){I=S;break}Math.abs(f[I]-h)<Math.abs(f[I-1]-h)||e.swipeDirection==="next"?h=f[I]:h=f[I-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-h-e.translate)/e.velocity):u=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const I=Math.abs((m?-h:h)-e.translate),S=e.slidesSizesGrid[e.activeIndex];I<S?u=c.speed:I<2*S?u=c.speed*1.5:u=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&T?(e.updateProgress(w),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Rt(p,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(w),Rt(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Rt(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:s,onTouchEnd:r}})}let Ft;function Un(){const t=ye(),e=Ae();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Pi(){return Ft||(Ft=Un()),Ft}let Ht;function Gn(t){let{userAgent:e}=t===void 0?{}:t;const i=Pi(),n=ye(),o=n.navigator.platform,l=e||n.navigator.userAgent,s={ios:!1,android:!1},r=n.screen.width,a=n.screen.height,d=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let y=o==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&i.touch&&g.indexOf(`${r}x${a}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),d&&!f&&(s.os="android",s.android=!0),(c||m||p)&&(s.os="ios",s.ios=!0),s}function _i(t){return t===void 0&&(t={}),Ht||(Ht=Gn(t)),Ht}let Ut;function Wn(){const t=ye(),e=_i();let i=!1;function n(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[a,d]=r.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=a<16||a===16&&d<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),s=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:s,isWebView:o}}function $n(){return Ut||(Ut=Wn()),Ut}function qn(t){let{swiper:e,on:i,emit:n}=t;const o=ye();let l=null,s=null;const r=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{s=o.requestAnimationFrame(()=>{const{width:m,height:f}=e;let y=m,g=f;p.forEach(C=>{let{contentBoxSize:u,contentRect:b,target:h}=C;h&&h!==e.el||(y=b?b.width:(u[0]||u).inlineSize,g=b?b.height:(u[0]||u).blockSize)}),(y!==m||g!==f)&&r()})}),l.observe(e.el))},d=()=>{s&&o.cancelAnimationFrame(s),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",r),o.addEventListener("orientationchange",c)}),i("destroy",()=>{d(),o.removeEventListener("resize",r),o.removeEventListener("orientationchange",c)})}function Yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],s=ye(),r=function(c,p){p===void 0&&(p={});const m=s.MutationObserver||s.WebkitMutationObserver,f=new m(y=>{if(e.__preventObserver__)return;if(y.length===1){o("observerUpdate",y[0]);return}const g=function(){o("observerUpdate",y[0])};s.requestAnimationFrame?s.requestAnimationFrame(g):s.setTimeout(g,0)});f.observe(c,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ai(e.hostEl);for(let p=0;p<c.length;p+=1)r(c[p])}r(e.hostEl,{childList:e.params.observeSlideChildren}),r(e.wrapperEl,{attributes:!1})}},d=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",d)}var Xn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,s=new Array(l),r=0;r<l;r++)s[r]=arguments[r];e.apply(n,s)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(d=>{d.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(d=>{d.apply(n,i)})}),t}};function Jn(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(He(n,"padding-left")||0,10)-parseInt(He(n,"padding-right")||0,10),i=i-parseInt(He(n,"padding-top")||0,10)-parseInt(He(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Kn(){const t=this;function e(x,A){return parseFloat(x.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:s,wrongRTL:r}=t,a=t.virtual&&i.virtual.enabled,d=a?t.virtual.slides.length:t.slides.length,c=Pe(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:c.length;let m=[];const f=[],y=[];let g=i.slidesOffsetBefore;typeof g=="function"&&(g=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,b=t.slidesGrid.length;let h=i.spaceBetween,T=-g,w=0,P=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,c.forEach(x=>{s?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Tt(n,"--swiper-centered-offset-before",""),Tt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let I;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(x=>typeof i.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<p;x+=1){I=0;let A;if(c[x]&&(A=c[x]),M&&t.grid.updateSlide(x,A,c),!(c[x]&&He(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[x].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(A),k=A.style.transform,L=A.style.webkitTransform;if(k&&(A.style.transform="none"),L&&(A.style.webkitTransform="none"),i.roundLengths)I=t.isHorizontal()?Bt(A,"width",!0):Bt(A,"height",!0);else{const N=e(E,"width"),F=e(E,"padding-left"),U=e(E,"padding-right"),R=e(E,"margin-left"),_=e(E,"margin-right"),D=E.getPropertyValue("box-sizing");if(D&&D==="border-box")I=N+R+_;else{const{clientWidth:O,offsetWidth:B}=A;I=N+F+U+R+_+(B-O)}}k&&(A.style.transform=k),L&&(A.style.webkitTransform=L),i.roundLengths&&(I=Math.floor(I))}else I=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(I=Math.floor(I)),c[x]&&(c[x].style[t.getDirectionLabel("width")]=`${I}px`);c[x]&&(c[x].swiperSlideSize=I),y.push(I),i.centeredSlides?(T=T+I/2+w/2+h,w===0&&x!==0&&(T=T-l/2-h),x===0&&(T=T-l/2-h),Math.abs(T)<1/1e3&&(T=0),i.roundLengths&&(T=Math.floor(T)),P%i.slidesPerGroup===0&&m.push(T),f.push(T)):(i.roundLengths&&(T=Math.floor(T)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&m.push(T),f.push(T),T=T+I+h),t.virtualSize+=I+h,w=I,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,s&&r&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(I,m),!i.centeredSlides){const x=[];for(let A=0;A<m.length;A+=1){let E=m[A];i.roundLengths&&(E=Math.floor(E)),m[A]<=t.virtualSize-l&&x.push(E)}m=x,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const x=y[0]+h;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=x*i.slidesPerGroup;for(let k=0;k<A;k+=1)m.push(m[m.length-1]+E)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+x),f.push(f[f.length-1]+x),t.virtualSize+=x}if(m.length===0&&(m=[0]),h!==0){const x=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,E)=>!i.cssMode||i.loop?!0:E!==c.length-1).forEach(A=>{A.style[x]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let x=0;y.forEach(E=>{x+=E+(h||0)}),x-=h;const A=x-l;m=m.map(E=>E<=0?-g:E>A?A+C:E)}if(i.centerInsufficientSlides){let x=0;if(y.forEach(A=>{x+=A+(h||0)}),x-=h,x<l){const A=(l-x)/2;m.forEach((E,k)=>{m[k]=E-A}),f.forEach((E,k)=>{f[k]=E+A})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Tt(n,"--swiper-centered-offset-before",`${-m[0]}px`),Tt(n,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const x=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+x),t.slidesGrid=t.slidesGrid.map(E=>E+A)}if(p!==d&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==b&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const x=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(x);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(x):A&&t.el.classList.remove(x)}}function Qn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const s=r=>n?e.slides[e.getSlideIndexByData(r)]:e.slides[r];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(r=>{i.push(r)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const r=e.activeIndex+l;if(r>e.slides.length&&!n)break;i.push(s(r))}else i.push(s(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const r=i[l].offsetHeight;o=r>o?r:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Zn(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function eo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let s=-t;o&&(s=t),n.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let r=i.spaceBetween;typeof r=="string"&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*e.size:typeof r=="string"&&(r=parseFloat(r));for(let a=0;a<n.length;a+=1){const d=n[a];let c=d.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const p=(s+(i.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+r),m=(s-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+r),f=-(s-c),y=f+e.slidesSizesGrid[a],g=f>=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f<e.size-1||y>1&&y<=e.size||f<=0&&y>=e.size)&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a),n[a].classList.add(i.slideVisibleClass)),g&&n[a].classList.add(i.slideFullyVisibleClass),d.progress=o?-p:p,d.originalProgress=o?-m:m}}function to(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:s,progressLoop:r}=e;const a=l,d=s;if(n===0)o=0,l=!0,s=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,s=p||o>=1,c&&(o=0),p&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],f=e.slidesGrid[p],y=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(t);g>=m?r=(g-m)/y:r=(g+y-f)/y,r>1&&(r-=1)}Object.assign(e,{progress:o,progressLoop:r,isBeginning:l,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),s&&!d&&e.emit("reachEnd toEdge"),(a&&!l||d&&!s)&&e.emit("fromEdge"),e.emit("progress",o)}function io(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,s=t.grid&&i.grid&&i.grid.rows>1,r=p=>Pe(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let a,d,c;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=r(`[data-swiper-slide-index="${p}"]`)}else a=r(`[data-swiper-slide-index="${o}"]`);else s?(a=e.filter(p=>p.column===o)[0],c=e.filter(p=>p.column===o+1)[0],d=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(a.classList.add(i.slideActiveClass),s?(c&&c.classList.add(i.slideNextClass),d&&d.classList.add(i.slidePrevClass)):(c=zn(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),d=Bn(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d===0&&(d=e[e.length-1]),d&&d.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Et=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Gt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Wt=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const s=o,r=[s-e];r.push(...Array.from({length:e}).map((a,d)=>s+n+d)),t.slides.forEach((a,d)=>{r.includes(a.column)&&Gt(t,d)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let s=o-e;s<=l+e;s+=1){const r=(s%i+i)%i;(r<o||r>l)&&Gt(t,r)}else for(let s=Math.max(o-e,0);s<=Math.min(l+e,i-1);s+=1)s!==o&&(s>l||s<o)&&Gt(t,s)};function no(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function oo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:s,snapIndex:r}=e;let a=t,d;const c=f=>{let y=f-e.virtual.slidesBefore;return y<0&&(y=e.virtual.slides.length+y),y>=e.virtual.slides.length&&(y-=e.virtual.slides.length),y};if(typeof a>"u"&&(a=no(e)),n.indexOf(i)>=0)d=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,a);d=f+Math.floor((a-f)/o.slidesPerGroup)}if(d>=n.length&&(d=n.length-1),a===l&&!e.params.loop){d!==r&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(a);else if(p){const f=e.slides.filter(g=>g.column===a)[0];let y=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(f),0)),m=Math.floor(y/o.grid.rows)}else if(e.slides[a]){const f=e.slides[a].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:r,snapIndex:d,previousRealIndex:s,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&Wt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function lo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(r=>{!o&&r.matches&&r.matches(`.${n.slideClass}, swiper-slide`)&&(o=r)});let l=!1,s;if(o){for(let r=0;r<i.slides.length;r+=1)if(i.slides[r]===o){l=!0,s=r;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=s;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var so={updateSize:Jn,updateSlides:Kn,updateAutoHeight:Qn,updateSlidesOffset:Zn,updateSlidesProgress:eo,updateProgress:to,updateSlidesClasses:io,updateActiveIndex:oo,updateClickedSlide:lo};function ao(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let s=jn(l,t);return s+=e.cssOverflowAdjustment(),n&&(s=-s),s||0}function ro(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:s}=i;let r=0,a=0;const d=0;i.isHorizontal()?r=n?-t:t:a=t,o.roundLengths&&(r=Math.floor(r),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?r:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-a:o.virtualTranslate||(i.isHorizontal()?r-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${r}px, ${a}px, ${d}px)`);let c;const p=i.maxTranslate()-i.minTranslate();p===0?c=0:c=(t-i.minTranslate())/p,c!==s&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function co(){return-this.snapGrid[0]}function uo(){return-this.snapGrid[this.snapGrid.length-1]}function po(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:s,wrapperEl:r}=l;if(l.animating&&s.preventInteractionOnTransition)return!1;const a=l.minTranslate(),d=l.maxTranslate();let c;if(n&&t>a?c=a:n&&t<d?c=d:c=t,l.updateProgress(c),s.cssMode){const p=l.isHorizontal();if(e===0)r[p?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Di({swiper:l,targetPosition:-c,side:p?"left":"top"}),!0;r.scrollTo({[p?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var fo={getTranslate:ao,setTranslate:ro,minTranslate:co,maxTranslate:uo,translateTo:po};function vo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Oi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:s}=e;let r=n;if(r||(l>s?r="next":l<s?r="prev":r="reset"),e.emit(`transition${o}`),i&&l!==s){if(r==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),r==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function mo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Oi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function ho(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Oi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var go={setTransition:vo,transitionStart:mo,transitionEnd:ho};function bo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let s=t;s<0&&(s=0);const{params:r,snapGrid:a,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:m,wrapperEl:f,enabled:y}=l;if(l.animating&&r.preventInteractionOnTransition||!y&&!n&&!o||l.destroyed)return!1;const g=Math.min(l.params.slidesPerGroupSkip,s);let C=g+Math.floor((s-g)/l.params.slidesPerGroup);C>=a.length&&(C=a.length-1);const u=-a[C];if(r.normalizeSlideIndex)for(let h=0;h<d.length;h+=1){const T=-Math.floor(u*100),w=Math.floor(d[h]*100),P=Math.floor(d[h+1]*100);typeof d[h+1]<"u"?T>=w&&T<P-(P-w)/2?s=h:T>=w&&T<P&&(s=h+1):T>=w&&(s=h)}if(l.initialized&&s!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==s))return!1;s!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let b;if(s>p?b="next":s<p?b="prev":b="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(s),r.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),r.effect!=="slide"&&l.setTranslate(u),b!=="reset"&&(l.transitionStart(i,b),l.transitionEnd(i,b)),!1;if(r.cssMode){const h=l.isHorizontal(),T=m?u:-u;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[h?"scrollLeft":"scrollTop"]=T})):f[h?"scrollLeft":"scrollTop"]=T,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Di({swiper:l,targetPosition:T,side:h?"left":"top"}),!0;f.scrollTo({[h?"left":"top"]:T,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(s),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,b),e===0?l.transitionEnd(i,b):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(T){!l||l.destroyed||T.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,b))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function yo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s=s+o.virtual.slidesBefore;else{let r;if(l){const m=s*o.params.grid.rows;r=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(s);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:d}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),d&&c%2===0&&(c=c+1));let p=a-r<c;if(d&&(p=p||r<Math.ceil(c/2)),p){const m=d?r<o.activeIndex?"prev":"next":r-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?r+1:r-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=s*o.params.grid.rows;s=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,e,i,n)}),o}function wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:s}=n;if(!o||n.destroyed)return n;let r=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(r=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:r,d=n.virtual&&l.virtual.enabled;if(l.loop){if(s&&!d&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function To(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:s,rtlTranslate:r,enabled:a,animating:d}=n;if(!a||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(d&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=r?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const f=m(p),y=l.map(u=>m(u));let g=l[y.indexOf(f)-1];if(typeof g>"u"&&o.cssMode){let u;l.forEach((b,h)=>{f>=b&&(u=h)}),typeof u<"u"&&(g=l[u>0?u-1:u])}let C=0;if(typeof g<"u"&&(C=s.indexOf(g),C<0&&(C=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(C=C-n.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(C,t,e,i)}),!0;return n.slideTo(C,t,e,i)}function So(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function xo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,l),r=s+Math.floor((l-s)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[r]){const d=o.snapGrid[r],c=o.snapGrid[r+1];a-d>(c-d)*n&&(l+=o.params.slidesPerGroup)}else{const d=o.snapGrid[r-1],c=o.snapGrid[r];a-d<=(c-d)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Eo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const s=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Pe(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Pe(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Co={slideTo:bo,slideToLoop:yo,slideNext:wo,slidePrev:To,slideReset:So,slideToClosest:xo,slideToClickedSlide:Eo};function Io(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Pe(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,s=i.slidesPerGroup*(l?i.grid.rows:1),r=e.slides.length%s!==0,a=l&&e.slides.length%i.grid.rows!==0,d=c=>{for(let p=0;p<c;p+=1){const m=e.isElement?ut("swiper-slide",[i.slideBlankClass]):ut("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(r){if(i.loopAddBlankSlides){const c=s-e.slides.length%s;d(c),e.recalcSlides(),e.updateSlides()}else St("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(a){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;d(c),e.recalcSlides(),e.updateSlides()}else St("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Do(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:s,byMousewheel:r}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:p,slidesEl:m,params:f}=a,{centeredSlides:y}=f;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):f.centeredSlides&&a.snapIndex<f.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=c,a.allowSlideNext=p,a.emit("loopFix");return}let g=f.slidesPerView;g==="auto"?g=a.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),y&&g%2===0&&(g=g+1));const C=f.slidesPerGroupAuto?g:f.slidesPerGroup;let u=C;u%C!==0&&(u+=C-u%C),u+=f.loopAdditionalSlides,a.loopedSlides=u;const b=a.grid&&f.grid&&f.grid.rows>1;d.length<g+u?St("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&f.grid.fill==="row"&&St("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],T=[];let w=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(d.filter(k=>k.classList.contains(f.slideActiveClass))[0]):w=l;const P=n==="next"||!n,M=n==="prev"||!n;let I=0,S=0;const x=b?Math.ceil(d.length/f.grid.rows):d.length,E=(b?d[l].column:l)+(y&&typeof o>"u"?-g/2+.5:0);if(E<u){I=Math.max(u-E,C);for(let k=0;k<u-E;k+=1){const L=k-Math.floor(k/x)*x;if(b){const N=x-L-1;for(let F=d.length-1;F>=0;F-=1)d[F].column===N&&h.push(F)}else h.push(x-L-1)}}else if(E+g>x-u){S=Math.max(E-(x-u*2),C);for(let k=0;k<S;k+=1){const L=k-Math.floor(k/x)*x;b?d.forEach((N,F)=>{N.column===L&&T.push(F)}):T.push(L)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),M&&h.forEach(k=>{d[k].swiperLoopMoveDOM=!0,m.prepend(d[k]),d[k].swiperLoopMoveDOM=!1}),P&&T.forEach(k=>{d[k].swiperLoopMoveDOM=!0,m.append(d[k]),d[k].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():b&&(h.length>0&&M||T.length>0&&P)&&a.slides.forEach((k,L)=>{a.grid.updateSlide(L,k,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const k=a.slidesGrid[w],N=a.slidesGrid[w+I]-k;r?a.setTranslate(a.translate-N):(a.slideTo(w+Math.ceil(I),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else if(o){const k=b?h.length/f.grid.rows:h.length;a.slideTo(a.activeIndex+k,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(T.length>0&&P)if(typeof e>"u"){const k=a.slidesGrid[w],N=a.slidesGrid[w-S]-k;r?a.setTranslate(a.translate-N):(a.slideTo(w-S,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else{const k=b?T.length/f.grid.rows:T.length;a.slideTo(a.activeIndex-k,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=p,a.controller&&a.controller.control&&!s){const k={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...k,slideTo:L.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...k,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Ao(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var ko={loopCreate:Io,loopFix:Do,loopDestroy:Ao};function Po(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function _o(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Oo={setGrabCursor:Po,unsetGrabCursor:_o};function Mo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ae()||n===ye())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function Mi(t,e,i){const n=ye(),{params:o}=t,l=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return l&&(i<=s||i>=n.innerWidth-s)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Lo(t){const e=this,i=Ae();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Mi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:s,enabled:r}=e;if(!r||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const d=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&c&&(a=c[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?Mo(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;const f=s.currentX,y=s.currentY;if(!Mi(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=y,o.touchStartTime=Ee(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let g=!0;a.matches(o.focusableElements)&&(g=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const C=g&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function jo(t){const e=Ae(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:s,enabled:r}=i;if(!r||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].filter(P=>P.identifier===n.touchId)[0],!d||d.identifier!==n.touchId)return}else d=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const c=d.pageX,p=d.pageY;if(a.preventedByNestedSwiper){l.startX=c,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:p,currentX:c,currentY:p}),n.touchStartTime=Ee());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=p;const m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let P;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(P=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?P>o.touchAngle:90-P>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let y=i.isHorizontal()?m:f,g=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(y=Math.abs(y)*(s?1:-1),g=Math.abs(g)*(s?1:-1)),l.diff=y,y*=o.touchRatio,s&&(y=-y,g=-g);const C=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const u=i.params.loop&&!o.cssMode,b=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(P)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&u&&b&&Math.abs(y)>=1){Object.assign(l,{startX:c,startY:p,currentX:c,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let T=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),y>0?(u&&b&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(T=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**w))):y<0&&(u&&b&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(T=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**w))),T&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(y)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function No(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(w=>w.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:s,touches:r,rtlTranslate:a,slidesGrid:d,enabled:c}=e;if(!c||!s.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&s.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}s.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const p=Ee(),m=p-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ee(),et(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||r.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(s.followFinger?f=a?e.translate:-e.translate:f=-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const y=f>=-e.maxTranslate()&&!e.params.loop;let g=0,C=e.slidesSizesGrid[0];for(let w=0;w<d.length;w+=w<s.slidesPerGroupSkip?1:s.slidesPerGroup){const P=w<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof d[w+P]<"u"?(y||f>=d[w]&&f<d[w+P])&&(g=w,C=d[w+P]-d[w]):(y||f>=d[w])&&(g=w,C=d[d.length-1]-d[d.length-2])}let u=null,b=null;s.rewind&&(e.isBeginning?b=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const h=(f-d[g])/C,T=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(m>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?u:g+T):e.slideTo(g)),e.swipeDirection==="prev"&&(h>1-s.longSwipesRatio?e.slideTo(g+T):b!==null&&h<0&&Math.abs(h)>s.longSwipesRatio?e.slideTo(b):e.slideTo(g))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(g+T):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:g+T),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:g))}}function Li(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const r=s&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!r?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!s?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Ro(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Bo(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function zo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Vo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ji=(t,e)=>{const i=Ae(),{params:n,el:o,wrapperEl:l,device:s}=t,r=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",d=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:r}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:r}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:r}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Li,!0):t[d]("observerUpdate",Li,!0),o[a]("load",t.onLoad,{capture:!0})};function Fo(){const t=this,{params:e}=t;t.onTouchStart=Lo.bind(t),t.onTouchMove=jo.bind(t),t.onTouchEnd=No.bind(t),t.onDocumentTouchStart=Vo.bind(t),e.cssMode&&(t.onScroll=Bo.bind(t)),t.onClick=Ro.bind(t),t.onLoad=zo.bind(t),ji(t,"on")}function Ho(){ji(this,"off")}var Uo={attachEvents:Fo,detachEvents:Ho};const Ni=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Go(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const s=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const a=(s in l?l[s]:void 0)||t.originalParams,d=Ni(t,n),c=Ni(t,a),p=n.enabled;d&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!d&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof a[u]>"u")return;const b=n[u]&&n[u].enabled,h=a[u]&&a[u].enabled;b&&!h&&t[u].disable(),!b&&h&&t[u].enable()});const m=a.direction&&a.direction!==n.direction,f=n.loop&&(a.slidesPerView!==n.slidesPerView||m),y=n.loop;m&&i&&t.changeDirection(),xe(t.params,a);const g=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!g?t.disable():!p&&g&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",a),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&C?(t.loopCreate(e),t.updateSlides()):y&&!C&&t.loopDestroy()),t.emit("breakpoint",a)}function Wo(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=ye(),l=e==="window"?o.innerHeight:i.clientHeight,s=Object.keys(t).map(r=>{if(typeof r=="string"&&r.indexOf("@")===0){const a=parseFloat(r.substr(1));return{value:l*a,point:r}}return{value:r,point:r}});s.sort((r,a)=>parseInt(r.value,10)-parseInt(a.value,10));for(let r=0;r<s.length;r+=1){const{point:a,value:d}=s[r];e==="window"?o.matchMedia(`(min-width: ${d}px)`).matches&&(n=a):d<=i.clientWidth&&(n=a)}return n||"max"}var $o={setBreakpoint:Go,getBreakpoint:Wo};function qo(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function Yo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,s=qo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...s),o.classList.add(...e),t.emitContainerClasses()}function Xo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Jo={addClasses:Yo,removeClasses:Xo};function Ko(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Qo={checkOverflow:Ko},$t={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Zo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){xe(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){xe(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),xe(e,n)}}const qt={eventsEmitter:Xn,update:so,translate:fo,transition:go,slide:Co,loop:ko,grabCursor:Oo,events:Uo,breakpoints:$o,checkOverflow:Qo,classes:Jo},Yt={};let Xt=class Be{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=xe({},i),e&&!i.el&&(i.el=e);const s=Ae();if(i.el&&typeof i.el=="string"&&s.querySelectorAll(i.el).length>1){const c=[];return s.querySelectorAll(i.el).forEach(p=>{const m=xe({},i,{el:p});c.push(new Be(m))}),c}const r=this;r.__swiper__=!0,r.support=Pi(),r.device=_i({userAgent:i.userAgent}),r.browser=$n(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&r.modules.push(...i.modules);const a={};r.modules.forEach(c=>{c({params:i,swiper:r,extendParams:Zo(i,a),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const d=xe({},$t,a);return r.params=xe({},d,Yt,i),r.originalParams=xe({},r.params),r.passedParams=xe({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(c=>{r.on(c,r.params.on[c])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=Pe(i,`.${n.slideClass}, swiper-slide`),l=xt(o[0]);return xt(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Pe(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),s=(n.maxTranslate()-o)*e+o;n.translateTo(s,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:s,slidesSizesGrid:r,size:a,activeIndex:d}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[d]?Math.ceil(l[d].swiperSlideSize):0,m;for(let f=d+1;f<l.length;f+=1)l[f]&&!m&&(p+=Math.ceil(l[f].swiperSlideSize),c+=1,p>a&&(m=!0));for(let f=d-1;f>=0;f-=1)l[f]&&!m&&(p+=l[f].swiperSlideSize,c+=1,p>a&&(m=!0))}else if(e==="current")for(let p=d+1;p<l.length;p+=1)(i?s[p]+r[p]-s[d]<a:s[p]-s[d]<a)&&(c+=1);else for(let p=d-1;p>=0;p-=1)s[d]-s[p]<a&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(s=>{s.complete&&Et(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const s=e.rtlTranslate?e.translate*-1:e.translate,r=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const s=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(s.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Pe(n,o())[0];return!s&&i.params.createElements&&(s=ut("div",i.params.wrapperClass),n.append(s),Pe(n,`.${i.params.slideClass}`).forEach(r=>{s.append(r)})),Object.assign(i,{el:n,wrapperEl:s,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:s,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl"),wrongRTL:He(s,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Et(i,l):l.addEventListener("load",s=>{Et(i,s.target)})}),Wt(i),i.initialized=!0,Wt(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:s,slides:r}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),s.removeAttribute("style"),r&&r.length&&r.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el.swiper=null,Mn(n)),n.destroyed=!0),null}static extendDefaults(e){xe(Yt,e)}static get extendedDefaults(){return Yt}static get defaults(){return $t}static installModule(e){Be.prototype.__modules__||(Be.prototype.__modules__=[]);const i=Be.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Be.installModule(i)),Be):(Be.installModule(e),Be)}};Object.keys(qt).forEach(t=>{Object.keys(qt[t]).forEach(e=>{Xt.prototype[e]=qt[t][e]})}),Xt.use([qn,Yn]);const Ri=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Je(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function it(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Je(e[n])&&Je(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:it(t[n],e[n]):t[n]=e[n]})}function Bi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function zi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Vi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Fi(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function el(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function tl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:s,scrollbarEl:r,paginationEl:a}=t;const d=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:p,navigation:m,scrollbar:f,virtual:y,thumbs:g}=e;let C,u,b,h,T,w,P,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(c.pagination||c.pagination===!1)&&p&&!p.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||r)&&(c.scrollbar||c.scrollbar===!1)&&f&&!f.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||s)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(T=!0);const I=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),c[S].prevEl=void 0,c[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),c[S].el=void 0,e[S].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?w=!0:!c.loop&&n.loop?P=!0:M=!0),d.forEach(S=>{if(Je(c[S])&&Je(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&I(S);else{const x=n[S];(x===!0||x===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?x===!1&&I(S):c[S]=n[S]}}),d.includes("controller")&&!u&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&y&&c.virtual.enabled?(y.slides=i,y.update(!0)):o.includes("virtual")&&y&&c.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),C&&g.init()&&g.update(!0),u&&(e.controller.control=c.controller.control),b&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(c.pagination.el=a),p.init(),p.render(),p.update()),h&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-scrollbar"),r.part.add("scrollbar"),e.el.appendChild(r)),r&&(c.scrollbar.el=r),f.init(),f.updateSize(),f.setTranslate()),T&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=e.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),e.el.appendChild(s))),l&&(c.navigation.nextEl=l),s&&(c.navigation.prevEl=s),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||M)&&e.loopDestroy(),(P||M)&&e.loopCreate(),e.update()}function il(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};it(i,$t),i._emitClasses=!0,i.init=!1;const l={},s=Ri.map(a=>a.replace(/_/,"")),r=Object.assign({},t);return Object.keys(r).forEach(a=>{typeof t[a]>"u"||(s.indexOf(a)>=0?Je(t[a])?(i[a]={},o[a]={},it(i[a],t[a]),it(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function nl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:s,swiper:r}=t;Bi(e)&&n&&o&&(r.params.navigation.nextEl=n,r.originalParams.navigation.nextEl=n,r.params.navigation.prevEl=o,r.originalParams.navigation.prevEl=o),zi(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),Vi(e)&&s&&(r.params.scrollbar.el=s,r.originalParams.scrollbar.el=s),r.init(i)}function ol(t,e,i,n,o){const l=[];if(!e)return l;const s=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),d=i.map(o);a.join("")!==d.join("")&&s("children"),n.length!==i.length&&s("children")}return Ri.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(Je(t[a])&&Je(e[a])){const d=Object.keys(t[a]),c=Object.keys(e[a]);d.length!==c.length?s(a):(d.forEach(p=>{t[a][p]!==e[a][p]&&s(a)}),c.forEach(p=>{t[a][p]!==e[a][p]&&s(a)}))}else t[a]!==e[a]&&s(a)}),l}const ll=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Ct(){return Ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Ct.apply(this,arguments)}function Hi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Ui(t){const e=[];return v.Children.toArray(t).forEach(i=>{Hi(i)?e.push(i):i.props&&i.props.children&&Ui(i.props.children).forEach(n=>e.push(n))}),e}function sl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(Hi(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=Ui(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function al(t,e,i){if(!i)return null;const n=c=>{let p=c;return c<0?p=e.length+c:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:s}=i,r=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,d=[];for(let c=r;c<a;c+=1)c>=l&&c<=s&&d.push(e[n(c)]);return d.map((c,p)=>v.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${p}`}))}function pt(t,e){return typeof window>"u"?K(t,e):on(t,e)}const Jt=ct(null),Gi=()=>dt(Jt),rl=ct(null),nt=gt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:s,...r}=t===void 0?{}:t,a=!1;const[d,c]=G("swiper"),[p,m]=G(null),[f,y]=G(!1),g=Q(!1),C=Q(null),u=Q(null),b=Q(null),h=Q(null),T=Q(null),w=Q(null),P=Q(null),M=Q(null),{params:I,passedParams:S,rest:x,events:A}=il(r),{slides:E,slots:k}=sl(l),L=()=>{y(!f)};Object.assign(I.on,{_containerClasses(_,D){c(D)}});const N=()=>{Object.assign(I.on,A),a=!0;const _={...I};if(delete _.wrapperClass,u.current=new Xt(_),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=E;const D={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};it(u.current.params.virtual,D),it(u.current.originalParams.virtual,D)}};C.current||N(),u.current&&u.current.on("_beforeBreakpoint",L);const F=()=>{a||!A||!u.current||Object.keys(A).forEach(_=>{u.current.on(_,A[_])})},U=()=>{!A||!u.current||Object.keys(A).forEach(_=>{u.current.off(_,A[_])})};K(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",L)}),K(()=>{!g.current&&u.current&&(u.current.emitSlidesClasses(),g.current=!0)}),pt(()=>{if(e&&(e.current=C.current),!!C.current)return u.current.destroyed&&N(),nl({el:C.current,nextEl:T.current,prevEl:w.current,paginationEl:P.current,scrollbarEl:M.current,swiper:u.current},I),s&&!u.current.destroyed&&s(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),pt(()=>{F();const _=ol(S,b.current,E,h.current,D=>D.key);return b.current=S,h.current=E,_.length&&u.current&&!u.current.destroyed&&tl({swiper:u.current,slides:E,passedParams:S,changedParams:_,nextEl:T.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:P.current}),()=>{U()}}),pt(()=>{ll(u.current)},[p]);function R(){return I.virtual?al(u.current,E,p):E.map((_,D)=>v.cloneElement(_,{swiper:u.current,swiperSlideIndex:D}))}return v.createElement(n,Ct({ref:C,className:Fi(`${d}${i?` ${i}`:""}`)},x),v.createElement(rl.Provider,{value:u.current},k["container-start"],v.createElement(o,{className:el(I.wrapperClass)},k["wrapper-start"],R(),k["wrapper-end"]),Bi(I)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:w,className:"swiper-button-prev"}),v.createElement("div",{ref:T,className:"swiper-button-next"})),Vi(I)&&v.createElement("div",{ref:M,className:"swiper-scrollbar"}),zi(I)&&v.createElement("div",{ref:P,className:"swiper-pagination"}),k["container-end"]))});nt.displayName="Swiper";const Ne=gt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:s,lazy:r,virtualIndex:a,swiperSlideIndex:d,...c}=t===void 0?{}:t;const p=Q(null),[m,f]=G("swiper-slide"),[y,g]=G(!1);function C(T,w,P){w===p.current&&f(P)}pt(()=>{if(typeof d<"u"&&(p.current.swiperSlideIndex=d),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),pt(()=>{l&&p.current&&!l.destroyed&&f(l.getSlideClasses(p.current))},[l]);const u={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},b=()=>typeof n=="function"?n(u):n,h=()=>{g(!0)};return v.createElement(i,Ct({ref:p,className:Fi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:h},c),s&&v.createElement(Jt.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},b(),r&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&v.createElement(Jt.Provider,{value:u},b(),r&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"})))});Ne.displayName="SwiperSlide";function Re(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=ce(),o=pe((s,r,a,d)=>{var c,p,m,f,y,g,C,u,b,h,T,w,P,M;let I="";e&&(!((p=(c=s?.video)===null||c===void 0?void 0:c.bindProducts)===null||p===void 0)&&p.length||!((m=s?.video)===null||m===void 0)&&m.bindProduct)?I="pdpPage":n?I="hashTagPage":!((f=s?.video)===null||f===void 0)&&f.url?I="videoPage":!((y=s?.video)===null||y===void 0)&&y.imgUrls&&(!((C=(g=s?.video)===null||g===void 0?void 0:g.imgUrls)===null||C===void 0)&&C.length)?I="imagePage":s?.product&&(I="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=r?.itemId)!==null&&u!==void 0?u:"",productName:(b=r?.title)!==null&&b!==void 0?b:"",price:r?.price?r?.price+"":"0",productCollection:(h=r?.collection)!==null&&h!==void 0?h:"",fromKName:I,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:d+"",relatedContentId:(w=(T=s?.video)===null||T===void 0?void 0:T.itemId)!==null&&w!==void 0?w:"",relatedCtatId:(P=a?.itemId)!==null&&P!==void 0?P:"",traceInfo:(M=r?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=pe((s,r,a,d,c)=>{var p,m,f,y;let g="";e&&(!((m=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((f=s?.video)===null||f===void 0)&&f.bindProduct)?g="pdpPage":s?.product&&(g="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price?r?.price+"":"0",productCollection:r?.collection,fromKName:g,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:c+"",relatedContentId:(y=s?.video)===null||y===void 0?void 0:y.itemId,relatedCtatId:a?.itemId,traceInfo:r?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const dl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",cl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var s;const[r,a]=G(!1),d=Q(null);K(()=>{const m=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?d.current=f:(d.current=document.createElement("div"),d.current.setAttribute("id","pb-modal"),m?.appendChild(d.current))},[]);const c=se(()=>l?.id&&l?.id!==""||t,[t,l]);if(K(()=>{c?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[c,l]),!d.current)return null;const p=At(()=>{e?.()},300);return ui.createPortal(v.createElement(v.Fragment,null,r&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((s=l?.duration)!==null&&s!==void 0?s:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:dl,alt:"close",className:"modal-icon"})),i))),d.current)};var It=re(cl);const ul=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let s=0;s<n.length&&(o.push(n[s]),!(o.join(" ").length>=e));s++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},pl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:s,isPost:r,onChange:a})=>{const[d,c]=G(!1),[p,m]=G(!1),f=Number(i?.lineClamp||2),y=Q(null),g=Q(null),C=pe(()=>{c(!d)},[d,a]);return se(()=>!d&&t.length>e?ul(t,e)+"...":t,[t,e,d]),K(()=>{var u,b;((u=g?.current)===null||u===void 0?void 0:u.offsetHeight)>((b=y?.current)===null||b===void 0?void 0:b.offsetHeight)&&r?m(!0):m(!1),g.current.style.display="none"},[r]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!r||d?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:g,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&r&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},d?s||"show less":l||"show more"))};var Kt=re(pl);const fl=gt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:s}=t,[r,a]=G();return di(e,()=>({setSrc:d=>{a(d)}})),K(()=>{a(i)},[i]),v.createElement(v.Fragment,null,r?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:r}),v.createElement("source",{type:"image/webp",srcSet:`${r}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${r}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:r,style:o,loading:s,onLoad:d=>{n?.(d.target)}})):v.createElement("img",{className:l,src:r,style:o,loading:s,onLoad:d=>{n?.(d.target)}}))});var ke=re(fl);const vl=t=>{var e,i,n,o,l,s,r,a,{content:d,style:c,bgImg:p,onClick:m,schema:f,isDefault:y,bottom_image:g,tipText:C,isPost:u,viewTime:b,rec:h,swiper:T,commodityStyles:w,buttonStyle:P,index:M}=t,I=ge(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=ce(),{popupDetailData:x,bffEventReport:A,isPreview:E,waterFallData:k}=ce(),{jumpToWeb:L,productView:N}=Re(),F=Q(null),[U,R]=G(!1),_=u?h:x,D=u?_?.product:(e=_?.video)===null||e===void 0?void 0:e.bindProduct,O=u?(i=_?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=_?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,B=u?M:x?.index,Y=()=>{D?.link&&(L(x,D,O,B),u||N(_,D,O,b||F.current,B),window.location.href=window.getJointUtmLink(D.link))};K(()=>{const H=()=>{F.current=new Date};return H(),window.addEventListener("pageshow",H),()=>{window.removeEventListener("pageshow",H)}},[]);const de=se(()=>{var H,ne,Z,te,le;return D?.currency&&D?.price?`${(Z=(ne=(H=D?.currency)===null||H===void 0?void 0:H.split("-")[1])===null||ne===void 0?void 0:ne.toUpperCase())!==null&&Z!==void 0?Z:""}${(le=(te=D?.price)===null||te===void 0?void 0:te.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&le!==void 0?le:""}`:"$7,000"},[D?.price,D?.currency]),ie=E?375:window.innerWidth,z=({isPost:H})=>{var ne,Z,te;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:w?.collection,hidden:!!D&&(!D?.collection||D?.collection==="")},(ne=D?.collection)!==null&&ne!==void 0?ne:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:w?.title,hidden:!!D&&!D?.title},(Z=D?.title)!==null&&Z!==void 0?Z:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:w?.price,hidden:!!D&&!D?.price},de),v.createElement("div",{hidden:!!D&&(!D?.info||D?.info==="")},v.createElement(Kt,{foldText:C?.foldText,unfoldText:C?.unfoldText,onClick:()=>R(!0),isPost:H,text:(te=D?.info)!==null&&te!==void 0?te:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
import{isEmpty as mt,isEqual as ai,cloneDeep as rt,debounce as At,throttle as ht,get as ri}from"lodash";import{v4 as tn}from"uuid";import nn from"pako";import v,{useContext as dt,useMemo as se,createContext as ct,memo as re,useState as G,useRef as Q,useEffect as K,useCallback as pe,forwardRef as gt,useImperativeHandle as di,useLayoutEffect as on}from"react";import ci from"qs";import{css as $}from"@emotion/css";import{BetaSchemaForm as ln}from"@ant-design/pro-components";import*as ui from"react-dom";import pi from"hls.js";import sn from"eventemitter3";function ge(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function Te(t,e,i,n){function o(l){return l instanceof i?l:new i(function(s){s(l)})}return new(i||(i=Promise))(function(l,s){function r(c){try{d(n.next(c))}catch(p){s(p)}}function a(c){try{d(n.throw(c))}catch(p){s(p)}}function d(c){c.done?l(c.value):o(c.value).then(r,a)}d((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const an=/:\w+/g;var fi=(t,e)=>Te(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:s,url:r,urlParams:a,name:d,queryString:c,headers:p,body:m}=e[o];let f=r;a&&Object.entries(a).forEach(([y,g])=>{f=f.replace(an,C=>C===y?g:C)}),c&&(f+=c),n[l]=d;try{const y=yield fetch(f,{method:s,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(g=>g.json());i[l]=y}catch(y){console.error("DataSource request error: ",y),i[l]={}}}return{$store:i,idMapName:n}});const vi="SXP_TOKEN_INFO",rn=(t,e)=>Te(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),s=window.localStorage.getItem(vi);let r=JSON.parse(s||"{}");if(Date.now()>((i=r?.expireTime)!==null&&i!==void 0?i:0)){const d=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(d.success){const c=d.data;r=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(vi,JSON.stringify(r))}}return r});function bt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const dn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},cn=()=>{const t=tn();return t?.replaceAll?t.replaceAll("-",""):dn(32)};function mi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=nn.inflate(n,{to:"string"});return JSON.parse(o)}let kt=null;const un={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class pn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,kt)return kt;kt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?un[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let be=null;const fn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{be||(be=new pn),n&&be.setApiUrl(n),be.setAppId(t),be.setTenantId(e),be.setEnv(i)},getDetail:t=>{if(!be)return;const e=be.getTenantId(),i=be.getAppId(),n=be.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Te(void 0,void 0,void 0,function*(){var l,s;const r=yield o.json(),a=mi((l=r?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:d}=yield fi(n,(s=a?.dataSource)!==null&&s!==void 0?s:[]);r.data.data=a,Object.assign(r.data.data,{__STORE__:d})}return r}))},getSxpDetailByPageId:t=>Te(void 0,void 0,void 0,function*(){if(!be)return;const e=be.getTenantId(),i=be.getAppId(),n=be.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Te(void 0,void 0,void 0,function*(){var l;const s=yield o.json();if(!s.success)return;const r=mi((l=s?.data)===null||l===void 0?void 0:l.data);return s.data.data=r,s.data}))}),getSxpRecommendVideoData:t=>Te(void 0,void 0,void 0,function*(){if(!be)return;const e=yield rn(be,t),i=bt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");mt(n)&&(n=bt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function je(){return dt(xi)}function vn(){return dt(Si)}const Pt="feRealSessionIdKey",hi=()=>{const t=cn();return`${Date.now()}${t}`},mn=()=>{let t=gn();return t||(t=hi(),window.sessionStorage.setItem(Pt,t)),t},hn=()=>{const t=hi();window.sessionStorage.setItem(Pt,t)},gn=()=>window.sessionStorage.getItem(Pt),gi="SXP_FAKE_USER_ID",bi="FAKE_USER_STATE",bn=()=>{let t=window.localStorage.getItem(gi);return mt(t)&&(t=bt(36,62),window.localStorage.setItem(gi,t)),t},yn=()=>{const t=window.localStorage.getItem(bi);return mt(t)&&window.localStorage.setItem(bi,"true"),mt(t)};function Xe(t,e){const{appDomain:i}=ce();return se(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const yi=ct({rtcList:[]});var _t;(function(t){t[t.BFF=5]="BFF"})(_t||(_t={}));const wn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Tn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:s=!1,sxpParameter:r,appDomain:a,hashTagSize:d,loadingImage:c,isOpenHashTag:p=!1})=>{const[m,f]=G([]),[y,g]=G(!1),[C,u]=G({rtc:"",requestId:""}),b=Q(null),h=Q(!1),[T,w]=G(),[P,M]=G(),[I,S]=G(p),[x,A]=G([]),[E,k]=G(0),[L,N]=G(!1);K(()=>{S(p)},[p]);const F=se(()=>e?.find(z=>z.type===_t.BFF),[e]),U=pe((z,V)=>{if(!F)return;const H=F.url,ne=bn();if(V?.query){const Z=ci.stringify(V.query);z=`${z}?${Z}`}return V.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${H}/api/v1${z}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},F.headers),{"x-user-id":ne}),V.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${H}/api/v1${z}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ne},F.headers),method:V.method,body:JSON.stringify(V.body)}).then(Z=>Z.json()).catch(Z=>Promise.reject(Z))},[F]),R=pe(z=>Te(void 0,void 0,void 0,function*(){var V,H,ne,Z;if(z={maxSize:o,defaultSize:(V=z?.defaultSize)!==null&&V!==void 0?V:l,"itemFilter.itemId":z?.["itemFilter.itemId"],"itemFilter.itemType":z?.["itemFilter.itemType"],hashTag:z?.hashTag,traceInfo:z?.traceInfo},i){const le=(Z=(ne=(H=i?.split("&"))===null||H===void 0?void 0:H.filter(he=>{const me=he.split("=")[0];return wn.includes(me)}))===null||ne===void 0?void 0:ne.join("&"))!==null&&Z!==void 0?Z:"";z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(le)})}const te=yield U?.("/recommend/list",{method:"GET",query:z});if(te?.success)return z?.hashTag||u({rtc:te.data.rtc,requestId:te.data.requestId}),te?.data}),[U,i,o,l]),_=pe(()=>Te(void 0,void 0,void 0,function*(){var z,V;if(m.length<=0)return;const H=yield R({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType});f(m.concat((z=H?.recList)!==null&&z!==void 0?z:[])),A(x.concat((V=H?.recList)!==null&&V!==void 0?V:[]))}),[R,m,P,x]),D=pe(({userInfo:z,eventInfo:V})=>{if(!n)return;z||(z={});const H=mn(),ne=Object.assign({sessionID:H,rtc:C.rtc,requestId:C.requestId},V),Z=Object.entries(z).map(([le,he])=>({name:le,value:he})),te=Object.entries(ne).map(([le,he])=>he&&{name:le,value:he}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",ne),console.log("========= \u7ED3\u675F ========="),U?.("/event/report",{method:"POST",body:{userInfo:Z,eventInfo:te},type:"beacon"})},[U,C,n]),O=pe(z=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/recommend/like",{method:"POST",body:z});return V?.success}),[U]),B=pe(z=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/recommend/unlike",{method:"POST",body:z});return V?.success}),[U]),Y=pe(z=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/customform",{method:"POST",body:z});return V?.success}),[U]),de=pe((z,V,H,ne)=>{var Z,te,le,he,me,Oe,Ke,Qe,lt,Ze,st,ze;const we=H?.bindCta,at=((Z=V?.video)===null||Z===void 0?void 0:Z.bindProduct)||((te=V?.video)===null||te===void 0?void 0:te.bindProducts)&&((he=(le=V?.video)===null||le===void 0?void 0:le.bindProducts)===null||he===void 0?void 0:he.length)>0;let Ge="";L?Ge="hashTagPage":!((me=V?.video)===null||me===void 0)&&me.url?Ge="videoPage":!((Ke=(Oe=V?.video)===null||Oe===void 0?void 0:Oe.imgUrls)===null||Ke===void 0)&&Ke.length&&(Ge="imagePage"),D?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(Qe=we?.itemId)!==null&&Qe!==void 0?Qe:"",ctaName:(lt=we?.title)!==null&<!==void 0?lt:"",contentTags:JSON.stringify(we?.tags),position:ne+"",contentId:(st=(Ze=V?.video)===null||Ze===void 0?void 0:Ze.itemId)!==null&&st!==void 0?st:"",productId:at?H?.itemId:"",traceInfo:(ze=we?.traceInfo)!==null&&ze!==void 0?ze:"",fromKName:Ge})})},[D,L]);K(()=>{g(!0),R().then(z=>{var V,H;f((V=z?.recList)!==null&&V!==void 0?V:[]),A((H=z?.recList)!==null&&H!==void 0?H:[])}).finally(()=>{g(!1),h.current=!0})},[]),K(()=>{h.current&&(g(!0),R().then(z=>{var V,H;f((V=z?.recList)!==null&&V!==void 0?V:[]),A((H=z?.recList)!==null&&H!==void 0?H:[])}).finally(()=>{g(!1)}))},[R]);const ie=Xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(yi.Provider,{value:{rtcList:m,setRtcList:f,mutateLike:O,mutateUnlike:B,submitForm:Y,popupDetailData:T,loadVideos:_,setPopupDetailData:w,getRecommendVideos:R,bffEventReport:D,utmVal:i,isPreview:s,loading:y,sxpParameter:r,waterFallData:P,setWaterFallData:M,ctaEvent:de,swiperRef:b,openHashtag:I,setOpenHashtag:S,cacheRtcList:x,setCacheRtcList:A,cacheActiveIndex:E,setCacheActiveIndex:k,isFromHashtag:L,setIsFromHashtag:N,appDomain:a,hashTagSize:d,loadingImage:c??ie,isOpenHashTag:p}},t({rtcList:m,mutateLike:O,mutateUnlike:B,submitForm:Y}))};var wi=re(Tn);function ce(){return dt(yi)}var Ti;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(Ti||(Ti={}));const Si=ct({$store:{},options:[],configs:[]}),Sn=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=je(),[s,r]=G(l.__STORE__||{}),[a,d]=G([]);K(()=>{var m;e||ai(a,l?.dataSource)||d((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=pe(()=>Te(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield fi("",a);r(m),p(m,f)}),[a]),p=(m,f)=>{const y=[];Object.entries(m).forEach(([g,C])=>{Object.keys(C).forEach(u=>{const b={label:`${f[g]} - ${u}`,value:`{{ ${g}.${u} }}`};y.push(b)})}),o(y)};return K(()=>{e||c()},[c,e,l]),i?v.createElement(Si.Provider,{value:{$store:l.__STORE__||s,options:n,configs:a}},t):t};var xn=re(Sn);const yt={id:bt(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},Ot={id:"",duration:0,name:"none"},xi=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[yt],redoStack:[],popup:Ot,setPopup:()=>{}}),Ei=gt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},s)=>{const[r,a]=G(null),[d,c]=G(n||{pointData:[yt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=G([yt]),[f,y]=G([[yt]]),[g,C]=G([]),[u,b]=G(Ot);typeof window<"u"&&(window.sxpPopup=(M,I)=>{b(Object.assign(Object.assign(Object.assign({},Ot),{id:M}),I))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),K(()=>{y([d.pointData]),C([])},[d.type]);const h=pe(M=>{const I=rt(d);I&&(I.dataSource=M,c?.(I))},[d]),[T,w]=G();di(s,()=>({loadSchema(M){M&&(y([M.pointData]),c(M))},exportSchema(){return rt(d)},getPageInfoData(){return T},initPageInfoData(M){M&&w(M)}}));const P=se(()=>{if(d)return d.type==="PC"?d.pcPageConf:d.mobilePageConf},[d]);return v.createElement(xi.Provider,{value:{resolver:e,currentNode:r,schema:d,setCurrentNode:a,setSchema:c,saveDataSource:h,prePiontData:p,setPrePiontData:m,pageInfoData:T,setPageInfoData:M=>w(Object.assign(Object.assign({},T),M)),undoStack:f,redoStack:g,setRedoStack:C,setUndoStack:y,getCurPageConf:P,popup:u,setPopup:b}},v.createElement(xn,{isSsr:i,enable:o},t))});var En=Object.freeze({__proto__:null,EditorCore:Ei}),Cn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ee=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var In={fontOptions:ee},Mt,Dn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ee,initialValue:(Mt=ee?.[0])===null||Mt===void 0?void 0:Mt.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const An=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:s,submitText:r,layoutType:a,onClick:d}=t,c=ge(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:p}=ce(),m=Q(),[f,y]=G(!1),g=se(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),C=se(()=>{if(a===void 0){const b=rt(e)||g;return b?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return rt(e)||g},[a,e,g]),u=At(()=>Te(void 0,void 0,void 0,function*(){var b,h,T;y(!0);const w=yield(b=m?.current)===null||b===void 0?void 0:b.getFieldsValue(),P=(T=(h=Object.keys(w))===null||h===void 0?void 0:h.map(I=>({name:I,value:w[I]})))===null||T===void 0?void 0:T.filter(I=>I?.value);if(!P||!P?.length)return;const M=yield p?.({attributes:P});y(!1),M&&(window?.sxpPopup(""),M&&d?.())}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${$(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:$(Object.assign({},i))},c),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement(ln,{columns:C,submitter:!1,layout:a,autoFocusFirstInput:!1,size:"large",formRef:m,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:u,className:"pb-appoint-form-btn",style:{color:s,background:l}},f?v.createElement(v.Fragment,null,"loading..."):r)))};var kn=re(An);function Se(t,e){return t.extend=e,t}const Pn=Se(kn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Dn,bindableProps:[],interactionRender:Cn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Lt,jt,_n=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Lt=ee?.[0])===null||Lt===void 0?void 0:Lt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(jt=ee?.[0])===null||jt===void 0?void 0:jt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Ci(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Nt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ci(e[i])&&Ci(t[i])&&Object.keys(e[i]).length>0&&Nt(t[i],e[i])})}const Ii={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ae(){const t=typeof document<"u"?document:{};return Nt(t,Ii),t}const On={document:Ii,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ye(){const t=typeof window<"u"?window:{};return Nt(t,On),t}function Fe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Mn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function et(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ee(){return Date.now()}function Ln(t){const e=ye();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function jn(t,e){e===void 0&&(e="x");const i=ye();let n,o,l;const s=Ln(t);return i.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(r=>r.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function wt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Nn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function xe(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Nn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,s=o.length;l<s;l+=1){const r=o[l],a=Object.getOwnPropertyDescriptor(n,r);a!==void 0&&a.enumerable&&(wt(t[r])&&wt(n[r])?n[r].__swiper__?t[r]=n[r]:xe(t[r],n[r]):!wt(t[r])&&wt(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:xe(t[r],n[r])):t[r]=n[r])}}}return t}function Tt(t,e,i){t.style.setProperty(e,i)}function Di(t){let{swiper:e,targetPosition:i,side:n}=t;const o=ye(),l=-e.translate;let s=null,r;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const d=i>l?"next":"prev",c=(m,f)=>d==="next"&&m>=f||d==="prev"&&m<=f,p=()=>{r=new Date().getTime(),s===null&&(s=r);const m=Math.max(Math.min((r-s)/a,1),0),f=.5-Math.cos(m*Math.PI)/2;let y=l+f*(i-l);if(c(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),c(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function Pe(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function St(t){try{console.warn(t);return}catch{}}function ut(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Fe(e)),i}function Rn(t){const e=ye(),i=Ae(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,s=t.clientLeft||o.clientLeft||0,r=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+r-l,left:n.left+a-s}}function Bn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function zn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function He(t,e){return ye().getComputedStyle(t,null).getPropertyValue(e)}function xt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ai(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Rt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Bt(t,e,i){const n=ye();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function _e(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ye();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,r=Ee(),a;const d=[];function c(h){let M=0,I=0,S=0,x=0;return"detail"in h&&(I=h.detail),"wheelDelta"in h&&(I=-h.wheelDelta/120),"wheelDeltaY"in h&&(I=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=I,I=0),S=M*10,x=I*10,"deltaY"in h&&(x=h.deltaY),"deltaX"in h&&(S=h.deltaX),h.shiftKey&&!S&&(S=x,x=0),(S||x)&&h.deltaMode&&(h.deltaMode===1?(S*=40,x*=40):(S*=800,x*=800)),S&&!M&&(M=S<1?-1:1),x&&!I&&(I=x<1?-1:1),{spinX:M,spinY:I,pixelX:S,pixelY:x}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ee()-r<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ee()-r<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),r=new l.Date().getTime(),!1)}function y(h){const T=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&T.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&T.releaseOnEdges)return!0;return!1}function g(h){let T=h,w=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&T.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const I=M&&M.contains(T.target);if(!e.mouseEntered&&!I&&!P.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let S=0;const x=e.rtlTranslate?-1:1,A=c(T);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*x;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*x:-A.pixelY;if(S===0)return!0;P.invert&&(S=-S);let E=e.getTranslate()+S*P.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),w=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),w&&e.params.nested&&T.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const k={time:Ee(),delta:Math.abs(S),direction:Math.sign(S),raw:h};d.length>=2&&d.shift();const L=d.length?d[d.length-1]:void 0;if(d.push(k),L?(k.direction!==L.direction||k.delta>L.delta||k.time>L.time+150)&&f(k):f(k),y(k))return!0}else{const k={time:Ee(),delta:Math.abs(S),direction:Math.sign(S)},L=a&&k.time<a.time+500&&k.delta<=a.delta&&k.direction===a.direction;if(!L){a=void 0;let N=e.getTranslate()+S*P.sensitivity;const F=e.isBeginning,U=e.isEnd;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!U&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:k.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,d.length>=15&&d.shift();const R=d.length?d[d.length-1]:void 0,_=d[0];if(d.push(k),R&&(k.delta>R.delta||k.direction!==R.direction))d.splice(0);else if(d.length>=15&&k.time-_.time<500&&_.delta-k.delta>=1&&k.delta<=6){const D=S>0?.8:.2;a=k,d.splice(0),s=et(()=>{e.slideToClosest(e.params.speed,!0,void 0,D)},0)}s||(s=et(()=>{a=k,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(L||o("scroll",T),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function C(h){let T=e.el;e.params.mousewheel.eventsTarget!=="container"&&(T=document.querySelector(e.params.mousewheel.eventsTarget)),T[h]("mouseenter",p),T[h]("mouseleave",m),T[h]("wheel",g)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:u,disable:b})}function ki(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Pe(t.el,`.${n[o]}`)[0];l||(l=ut("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function tt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function zt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let s,r=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(u,b){const{bulletActiveClass:h}=e.params.pagination;u&&(u=u[`${b==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${h}-${b}`),u=u[`${b==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${h}-${b}-${b}`)))}function c(u){const b=u.target.closest(tt(e.params.pagination.bulletClass));if(!b)return;u.preventDefault();const h=xt(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function p(){const u=e.rtl,b=e.params.pagination;if(a())return;let h=e.pagination.el;h=_e(h);let T,w;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,T=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let S,x,A;if(b.dynamicBullets&&(s=Bt(I[0],e.isHorizontal()?"width":"height",!0),h.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${s*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&w!==void 0&&(r+=T-(w||0),r>b.dynamicMainBullets-1?r=b.dynamicMainBullets-1:r<0&&(r=0)),S=Math.max(T-r,0),x=S+(Math.min(I.length,b.dynamicMainBullets)-1),A=(x+S)/2),I.forEach(E=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${b.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();E.classList.remove(...k)}),h.length>1)I.forEach(E=>{const k=xt(E);k===T?E.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),b.dynamicBullets&&(k>=S&&k<=x&&E.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),k===S&&d(E,"prev"),k===x&&d(E,"next"))});else{const E=I[T];if(E&&E.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&I.forEach((k,L)=>{k.setAttribute("part",L===T?"bullet-active":"bullet")}),b.dynamicBullets){const k=I[S],L=I[x];for(let N=S;N<=x;N+=1)I[N]&&I[N].classList.add(...`${b.bulletActiveClass}-main`.split(" "));d(k,"prev"),d(L,"next")}}if(b.dynamicBullets){const E=Math.min(I.length,b.dynamicMainBullets+4),k=(s*E-s)/2-A*s,L=u?"right":"left";I.forEach(N=>{N.style[e.isHorizontal()?L:"top"]=`${k}px`})}}h.forEach((I,S)=>{if(b.type==="fraction"&&(I.querySelectorAll(tt(b.currentClass)).forEach(x=>{x.textContent=b.formatFractionCurrent(T+1)}),I.querySelectorAll(tt(b.totalClass)).forEach(x=>{x.textContent=b.formatFractionTotal(M)})),b.type==="progressbar"){let x;b.progressbarOpposite?x=e.isHorizontal()?"vertical":"horizontal":x=e.isHorizontal()?"horizontal":"vertical";const A=(T+1)/M;let E=1,k=1;x==="horizontal"?E=A:k=A,I.querySelectorAll(tt(b.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${k})`,L.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(I.innerHTML=b.renderCustom(e,T+1,M),S===0&&o("paginationRender",I)):(S===0&&o("paginationRender",I),o("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](b.lockClass)})}function m(){const u=e.params.pagination;if(a())return;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=_e(h);let T="";if(u.type==="bullets"){let w=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>b&&(w=b);for(let P=0;P<w;P+=1)u.renderBullet?T+=u.renderBullet.call(e,P,u.bulletClass):T+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?T=u.renderFraction.call(e,u.currentClass,u.totalClass):T=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?T=u.renderProgressbar.call(e,u.progressbarFillClass):T=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(w=>{u.type!=="custom"&&(w.innerHTML=T||""),u.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(tt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",h[0])}function f(){e.params.pagination=ki(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let b;typeof u.el=="string"&&e.isElement&&(b=e.el.querySelector(u.el)),!b&&typeof u.el=="string"&&(b=[...document.querySelectorAll(u.el)]),b||(b=u.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(u.el)],b.length>1&&(b=b.filter(h=>Ai(h,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=_e(b),b.forEach(h=>{u.type==="bullets"&&u.clickable&&h.classList.add(...(u.clickableClass||"").split(" ")),h.classList.add(u.modifierClass+u.type),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(h.classList.add(`${u.modifierClass}${u.type}-dynamic`),r=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&h.classList.add(u.progressbarOppositeClass),u.clickable&&h.addEventListener("click",c),e.enabled||h.classList.add(u.lockClass)}))}function y(){const u=e.params.pagination;if(a())return;let b=e.pagination.el;b&&(b=_e(b),b.forEach(h=>{h.classList.remove(u.hiddenClass),h.classList.remove(u.modifierClass+u.type),h.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(h.classList.remove(...(u.clickableClass||"").split(" ")),h.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:b}=e.pagination;b=_e(b),b.forEach(h=>{h.classList.remove(u.horizontalClass,u.verticalClass),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(f(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=_e(u),u.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,b)=>{const h=b.target,T=_e(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const w=T[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),T.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=_e(u),u.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),p()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=_e(u),u.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:g,disable:C,render:m,update:p,init:f,destroy:y})}function Fn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ae();let s=!1,r=null,a=null,d,c,p,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E,rtlTranslate:k}=e,{dragEl:L,el:N}=E,F=e.params.scrollbar,U=e.params.loop?e.progressLoop:e.progress;let R=c,_=(p-c)*U;k?(_=-_,_>0?(R=c-_,_=0):-_+c>p&&(R=p+_)):_<0?(R=c+_,_=0):_+c>p&&(R=p-_),e.isHorizontal()?(L.style.transform=`translate3d(${_}px, 0, 0)`,L.style.width=`${R}px`):(L.style.transform=`translate3d(0px, ${_}px, 0)`,L.style.height=`${R}px`),F.hide&&(clearTimeout(r),N.style.opacity=1,r=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function y(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E}=e,{dragEl:k,el:L}=E;k.style.width="",k.style.height="",p=e.isHorizontal()?L.offsetWidth:L.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=p*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?k.style.width=`${c}px`:k.style.height=`${c}px`,m>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&E.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(E){return e.isHorizontal()?E.clientX:E.clientY}function u(E){const{scrollbar:k,rtlTranslate:L}=e,{el:N}=k;let F;F=(C(E)-Rn(N)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(p-c),F=Math.max(Math.min(F,1),0),L&&(F=1-F);const U=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(U),e.setTranslate(U),e.updateActiveIndex(),e.updateSlidesClasses()}function b(E){const k=e.params.scrollbar,{scrollbar:L,wrapperEl:N}=e,{el:F,dragEl:U}=L;s=!0,d=E.target===U?C(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),N.style.transitionDuration="100ms",U.style.transitionDuration="100ms",u(E),clearTimeout(a),F.style.transitionDuration="0ms",k.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function h(E){const{scrollbar:k,wrapperEl:L}=e,{el:N,dragEl:F}=k;s&&(E.preventDefault?E.preventDefault():E.returnValue=!1,u(E),L.style.transitionDuration="0ms",N.style.transitionDuration="0ms",F.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function T(E){const k=e.params.scrollbar,{scrollbar:L,wrapperEl:N}=e,{el:F}=L;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),k.hide&&(clearTimeout(a),a=et(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),k.snapOnRelease&&e.slideToClosest())}function w(E){const{scrollbar:k,params:L}=e,N=k.el;if(!N)return;const F=N,U=L.passiveListeners?{passive:!1,capture:!1}:!1,R=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const _=E==="on"?"addEventListener":"removeEventListener";F[_]("pointerdown",b,U),l[_]("pointermove",h,U),l[_]("pointerup",T,R)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function I(){const{scrollbar:E,el:k}=e;e.params.scrollbar=ki(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let N;if(typeof L.el=="string"&&e.isElement&&(N=e.el.querySelector(L.el)),!N&&typeof L.el=="string"){if(N=l.querySelectorAll(L.el),!N.length)return}else N||(N=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&N.length>1&&k.querySelectorAll(L.el).length===1&&(N=k.querySelector(L.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let F;N&&(F=N.querySelector(tt(e.params.scrollbar.dragClass)),F||(F=ut("div",e.params.scrollbar.dragClass),N.append(F))),Object.assign(E,{el:N,dragEl:F}),L.draggable&&P(),N&&N.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}function S(){const E=e.params.scrollbar,k=e.scrollbar.el;k&&k.classList.remove(...Fe(e.isHorizontal()?E.horizontalClass:E.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:k}=e.scrollbar;k=_e(k),k.forEach(L=>{L.classList.remove(E.horizontalClass,E.verticalClass),L.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(I(),g(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{g()}),n("setTranslate",()=>{f()}),n("setTransition",(E,k)=>{y(k)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const x=()=>{e.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),I(),g(),f()},A=()=>{e.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:x,disable:A,updateSize:g,setTranslate:f,init:I,destroy:S})}function Vt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,r,a=l&&l.autoplay?l.autoplay.delay:3e3,d=l&&l.autoplay?l.autoplay.delay:3e3,c,p=new Date().getTime(),m,f,y,g,C,u,b;function h(R){!e||e.destroyed||!e.wrapperEl||R.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!b&&x())}const T=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(d=c,m=!1);const R=e.autoplay.paused?c:p+d-new Date().getTime();e.autoplay.timeLeft=R,o("autoplayTimeLeft",R,R/a),r=requestAnimationFrame(()=>{T()})},w=()=>{let R;return e.virtual&&e.params.virtual.enabled?R=e.slides.filter(D=>D.classList.contains("swiper-slide-active"))[0]:R=e.slides[e.activeIndex],R?parseInt(R.getAttribute("data-swiper-autoplay"),10):void 0},P=R=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(r),T();let _=typeof R>"u"?e.params.autoplay.delay:R;a=e.params.autoplay.delay,d=e.params.autoplay.delay;const D=w();!Number.isNaN(D)&&D>0&&typeof R>"u"&&(_=D,a=D,d=D),c=_;const O=e.params.speed,B=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,O,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,O,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return _>0?(clearTimeout(s),s=setTimeout(()=>{B()},_)):requestAnimationFrame(()=>{B()}),_},M=()=>{p=new Date().getTime(),e.autoplay.running=!0,P(),o("autoplayStart")},I=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(r),o("autoplayStop")},S=(R,_)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),R||(u=!0);const D=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):x()};if(e.autoplay.paused=!0,_){C&&(c=e.params.autoplay.delay),C=!1,D();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),D())},x=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,P(c)):P(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const R=Ae();R.visibilityState==="hidden"&&(u=!0,S(!0)),R.visibilityState==="visible"&&x()},E=R=>{R.pointerType==="mouse"&&(u=!0,b=!0,!(e.animating||e.autoplay.paused)&&S(!0))},k=R=>{R.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&x())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",k))},N=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",k)},F=()=>{Ae().addEventListener("visibilitychange",A)},U=()=>{Ae().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(L(),F(),M())}),n("destroy",()=>{N(),U(),e.autoplay.running&&I()}),n("_freeModeStaticRelease",()=>{(y||u)&&x()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?I():S(!0,!0)}),n("beforeTransitionStart",(R,_,D)=>{e.destroyed||!e.autoplay.running||(D||!e.params.autoplay.disableOnInteraction?S(!0,!0):I())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){I();return}f=!0,y=!1,u=!1,g=setTimeout(()=>{u=!0,y=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(g),clearTimeout(s),e.params.autoplay.disableOnInteraction){y=!1,f=!1;return}y&&e.params.cssMode&&x(),y=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:I,pause:S,resume:x})}function Hn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function s(){if(e.params.cssMode)return;const{touchEventsData:a,touches:d}=e;a.velocities.length===0&&a.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:Ee()})}function r(a){let{currentPos:d}=a;if(e.params.cssMode)return;const{params:c,wrapperEl:p,rtlTranslate:m,snapGrid:f,touchEventsData:y}=e,C=Ee()-y.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(y.velocities.length>1){const I=y.velocities.pop(),S=y.velocities.pop(),x=I.position-S.position,A=I.time-S.time;e.velocity=x/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Ee()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,y.velocities.length=0;let u=1e3*c.freeMode.momentumRatio;const b=e.velocity*u;let h=e.translate+b;m&&(h=-h);let T=!1,w;const P=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-P&&(h=e.maxTranslate()-P),w=e.maxTranslate(),T=!0,y.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>P&&(h=e.minTranslate()+P),w=e.minTranslate(),T=!0,y.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let I;for(let S=0;S<f.length;S+=1)if(f[S]>-h){I=S;break}Math.abs(f[I]-h)<Math.abs(f[I-1]-h)||e.swipeDirection==="next"?h=f[I]:h=f[I-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-h-e.translate)/e.velocity):u=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const I=Math.abs((m?-h:h)-e.translate),S=e.slidesSizesGrid[e.activeIndex];I<S?u=c.speed:I<2*S?u=c.speed*1.5:u=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&T?(e.updateProgress(w),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Rt(p,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(w),Rt(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Rt(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:s,onTouchEnd:r}})}let Ft;function Un(){const t=ye(),e=Ae();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Pi(){return Ft||(Ft=Un()),Ft}let Ht;function Gn(t){let{userAgent:e}=t===void 0?{}:t;const i=Pi(),n=ye(),o=n.navigator.platform,l=e||n.navigator.userAgent,s={ios:!1,android:!1},r=n.screen.width,a=n.screen.height,d=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let y=o==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&i.touch&&g.indexOf(`${r}x${a}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),d&&!f&&(s.os="android",s.android=!0),(c||m||p)&&(s.os="ios",s.ios=!0),s}function _i(t){return t===void 0&&(t={}),Ht||(Ht=Gn(t)),Ht}let Ut;function Wn(){const t=ye(),e=_i();let i=!1;function n(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[a,d]=r.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=a<16||a===16&&d<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),s=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:s,isWebView:o}}function $n(){return Ut||(Ut=Wn()),Ut}function qn(t){let{swiper:e,on:i,emit:n}=t;const o=ye();let l=null,s=null;const r=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{s=o.requestAnimationFrame(()=>{const{width:m,height:f}=e;let y=m,g=f;p.forEach(C=>{let{contentBoxSize:u,contentRect:b,target:h}=C;h&&h!==e.el||(y=b?b.width:(u[0]||u).inlineSize,g=b?b.height:(u[0]||u).blockSize)}),(y!==m||g!==f)&&r()})}),l.observe(e.el))},d=()=>{s&&o.cancelAnimationFrame(s),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",r),o.addEventListener("orientationchange",c)}),i("destroy",()=>{d(),o.removeEventListener("resize",r),o.removeEventListener("orientationchange",c)})}function Yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],s=ye(),r=function(c,p){p===void 0&&(p={});const m=s.MutationObserver||s.WebkitMutationObserver,f=new m(y=>{if(e.__preventObserver__)return;if(y.length===1){o("observerUpdate",y[0]);return}const g=function(){o("observerUpdate",y[0])};s.requestAnimationFrame?s.requestAnimationFrame(g):s.setTimeout(g,0)});f.observe(c,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ai(e.hostEl);for(let p=0;p<c.length;p+=1)r(c[p])}r(e.hostEl,{childList:e.params.observeSlideChildren}),r(e.wrapperEl,{attributes:!1})}},d=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",d)}var Xn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,s=new Array(l),r=0;r<l;r++)s[r]=arguments[r];e.apply(n,s)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(d=>{d.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(d=>{d.apply(n,i)})}),t}};function Jn(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(He(n,"padding-left")||0,10)-parseInt(He(n,"padding-right")||0,10),i=i-parseInt(He(n,"padding-top")||0,10)-parseInt(He(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Kn(){const t=this;function e(x,A){return parseFloat(x.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:s,wrongRTL:r}=t,a=t.virtual&&i.virtual.enabled,d=a?t.virtual.slides.length:t.slides.length,c=Pe(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:c.length;let m=[];const f=[],y=[];let g=i.slidesOffsetBefore;typeof g=="function"&&(g=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,b=t.slidesGrid.length;let h=i.spaceBetween,T=-g,w=0,P=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,c.forEach(x=>{s?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Tt(n,"--swiper-centered-offset-before",""),Tt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let I;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(x=>typeof i.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<p;x+=1){I=0;let A;if(c[x]&&(A=c[x]),M&&t.grid.updateSlide(x,A,c),!(c[x]&&He(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[x].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(A),k=A.style.transform,L=A.style.webkitTransform;if(k&&(A.style.transform="none"),L&&(A.style.webkitTransform="none"),i.roundLengths)I=t.isHorizontal()?Bt(A,"width",!0):Bt(A,"height",!0);else{const N=e(E,"width"),F=e(E,"padding-left"),U=e(E,"padding-right"),R=e(E,"margin-left"),_=e(E,"margin-right"),D=E.getPropertyValue("box-sizing");if(D&&D==="border-box")I=N+R+_;else{const{clientWidth:O,offsetWidth:B}=A;I=N+F+U+R+_+(B-O)}}k&&(A.style.transform=k),L&&(A.style.webkitTransform=L),i.roundLengths&&(I=Math.floor(I))}else I=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(I=Math.floor(I)),c[x]&&(c[x].style[t.getDirectionLabel("width")]=`${I}px`);c[x]&&(c[x].swiperSlideSize=I),y.push(I),i.centeredSlides?(T=T+I/2+w/2+h,w===0&&x!==0&&(T=T-l/2-h),x===0&&(T=T-l/2-h),Math.abs(T)<1/1e3&&(T=0),i.roundLengths&&(T=Math.floor(T)),P%i.slidesPerGroup===0&&m.push(T),f.push(T)):(i.roundLengths&&(T=Math.floor(T)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&m.push(T),f.push(T),T=T+I+h),t.virtualSize+=I+h,w=I,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,s&&r&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(I,m),!i.centeredSlides){const x=[];for(let A=0;A<m.length;A+=1){let E=m[A];i.roundLengths&&(E=Math.floor(E)),m[A]<=t.virtualSize-l&&x.push(E)}m=x,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const x=y[0]+h;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=x*i.slidesPerGroup;for(let k=0;k<A;k+=1)m.push(m[m.length-1]+E)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+x),f.push(f[f.length-1]+x),t.virtualSize+=x}if(m.length===0&&(m=[0]),h!==0){const x=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,E)=>!i.cssMode||i.loop?!0:E!==c.length-1).forEach(A=>{A.style[x]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let x=0;y.forEach(E=>{x+=E+(h||0)}),x-=h;const A=x-l;m=m.map(E=>E<=0?-g:E>A?A+C:E)}if(i.centerInsufficientSlides){let x=0;if(y.forEach(A=>{x+=A+(h||0)}),x-=h,x<l){const A=(l-x)/2;m.forEach((E,k)=>{m[k]=E-A}),f.forEach((E,k)=>{f[k]=E+A})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Tt(n,"--swiper-centered-offset-before",`${-m[0]}px`),Tt(n,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const x=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+x),t.slidesGrid=t.slidesGrid.map(E=>E+A)}if(p!==d&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==b&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const x=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(x);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(x):A&&t.el.classList.remove(x)}}function Qn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const s=r=>n?e.slides[e.getSlideIndexByData(r)]:e.slides[r];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(r=>{i.push(r)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const r=e.activeIndex+l;if(r>e.slides.length&&!n)break;i.push(s(r))}else i.push(s(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const r=i[l].offsetHeight;o=r>o?r:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Zn(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function eo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let s=-t;o&&(s=t),n.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let r=i.spaceBetween;typeof r=="string"&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*e.size:typeof r=="string"&&(r=parseFloat(r));for(let a=0;a<n.length;a+=1){const d=n[a];let c=d.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const p=(s+(i.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+r),m=(s-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+r),f=-(s-c),y=f+e.slidesSizesGrid[a],g=f>=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f<e.size-1||y>1&&y<=e.size||f<=0&&y>=e.size)&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a),n[a].classList.add(i.slideVisibleClass)),g&&n[a].classList.add(i.slideFullyVisibleClass),d.progress=o?-p:p,d.originalProgress=o?-m:m}}function to(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:s,progressLoop:r}=e;const a=l,d=s;if(n===0)o=0,l=!0,s=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,s=p||o>=1,c&&(o=0),p&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],f=e.slidesGrid[p],y=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(t);g>=m?r=(g-m)/y:r=(g+y-f)/y,r>1&&(r-=1)}Object.assign(e,{progress:o,progressLoop:r,isBeginning:l,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),s&&!d&&e.emit("reachEnd toEdge"),(a&&!l||d&&!s)&&e.emit("fromEdge"),e.emit("progress",o)}function io(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,s=t.grid&&i.grid&&i.grid.rows>1,r=p=>Pe(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let a,d,c;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=r(`[data-swiper-slide-index="${p}"]`)}else a=r(`[data-swiper-slide-index="${o}"]`);else s?(a=e.filter(p=>p.column===o)[0],c=e.filter(p=>p.column===o+1)[0],d=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(a.classList.add(i.slideActiveClass),s?(c&&c.classList.add(i.slideNextClass),d&&d.classList.add(i.slidePrevClass)):(c=zn(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),d=Bn(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d===0&&(d=e[e.length-1]),d&&d.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Et=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Gt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Wt=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const s=o,r=[s-e];r.push(...Array.from({length:e}).map((a,d)=>s+n+d)),t.slides.forEach((a,d)=>{r.includes(a.column)&&Gt(t,d)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let s=o-e;s<=l+e;s+=1){const r=(s%i+i)%i;(r<o||r>l)&&Gt(t,r)}else for(let s=Math.max(o-e,0);s<=Math.min(l+e,i-1);s+=1)s!==o&&(s>l||s<o)&&Gt(t,s)};function no(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function oo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:s,snapIndex:r}=e;let a=t,d;const c=f=>{let y=f-e.virtual.slidesBefore;return y<0&&(y=e.virtual.slides.length+y),y>=e.virtual.slides.length&&(y-=e.virtual.slides.length),y};if(typeof a>"u"&&(a=no(e)),n.indexOf(i)>=0)d=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,a);d=f+Math.floor((a-f)/o.slidesPerGroup)}if(d>=n.length&&(d=n.length-1),a===l&&!e.params.loop){d!==r&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(a);else if(p){const f=e.slides.filter(g=>g.column===a)[0];let y=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(f),0)),m=Math.floor(y/o.grid.rows)}else if(e.slides[a]){const f=e.slides[a].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:r,snapIndex:d,previousRealIndex:s,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&Wt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function lo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(r=>{!o&&r.matches&&r.matches(`.${n.slideClass}, swiper-slide`)&&(o=r)});let l=!1,s;if(o){for(let r=0;r<i.slides.length;r+=1)if(i.slides[r]===o){l=!0,s=r;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=s;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var so={updateSize:Jn,updateSlides:Kn,updateAutoHeight:Qn,updateSlidesOffset:Zn,updateSlidesProgress:eo,updateProgress:to,updateSlidesClasses:io,updateActiveIndex:oo,updateClickedSlide:lo};function ao(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let s=jn(l,t);return s+=e.cssOverflowAdjustment(),n&&(s=-s),s||0}function ro(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:s}=i;let r=0,a=0;const d=0;i.isHorizontal()?r=n?-t:t:a=t,o.roundLengths&&(r=Math.floor(r),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?r:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-a:o.virtualTranslate||(i.isHorizontal()?r-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${r}px, ${a}px, ${d}px)`);let c;const p=i.maxTranslate()-i.minTranslate();p===0?c=0:c=(t-i.minTranslate())/p,c!==s&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function co(){return-this.snapGrid[0]}function uo(){return-this.snapGrid[this.snapGrid.length-1]}function po(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:s,wrapperEl:r}=l;if(l.animating&&s.preventInteractionOnTransition)return!1;const a=l.minTranslate(),d=l.maxTranslate();let c;if(n&&t>a?c=a:n&&t<d?c=d:c=t,l.updateProgress(c),s.cssMode){const p=l.isHorizontal();if(e===0)r[p?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Di({swiper:l,targetPosition:-c,side:p?"left":"top"}),!0;r.scrollTo({[p?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var fo={getTranslate:ao,setTranslate:ro,minTranslate:co,maxTranslate:uo,translateTo:po};function vo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Oi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:s}=e;let r=n;if(r||(l>s?r="next":l<s?r="prev":r="reset"),e.emit(`transition${o}`),i&&l!==s){if(r==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),r==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function mo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Oi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function ho(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Oi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var go={setTransition:vo,transitionStart:mo,transitionEnd:ho};function bo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let s=t;s<0&&(s=0);const{params:r,snapGrid:a,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:m,wrapperEl:f,enabled:y}=l;if(l.animating&&r.preventInteractionOnTransition||!y&&!n&&!o||l.destroyed)return!1;const g=Math.min(l.params.slidesPerGroupSkip,s);let C=g+Math.floor((s-g)/l.params.slidesPerGroup);C>=a.length&&(C=a.length-1);const u=-a[C];if(r.normalizeSlideIndex)for(let h=0;h<d.length;h+=1){const T=-Math.floor(u*100),w=Math.floor(d[h]*100),P=Math.floor(d[h+1]*100);typeof d[h+1]<"u"?T>=w&&T<P-(P-w)/2?s=h:T>=w&&T<P&&(s=h+1):T>=w&&(s=h)}if(l.initialized&&s!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==s))return!1;s!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let b;if(s>p?b="next":s<p?b="prev":b="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(s),r.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),r.effect!=="slide"&&l.setTranslate(u),b!=="reset"&&(l.transitionStart(i,b),l.transitionEnd(i,b)),!1;if(r.cssMode){const h=l.isHorizontal(),T=m?u:-u;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[h?"scrollLeft":"scrollTop"]=T})):f[h?"scrollLeft":"scrollTop"]=T,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Di({swiper:l,targetPosition:T,side:h?"left":"top"}),!0;f.scrollTo({[h?"left":"top"]:T,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(s),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,b),e===0?l.transitionEnd(i,b):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(T){!l||l.destroyed||T.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,b))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function yo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s=s+o.virtual.slidesBefore;else{let r;if(l){const m=s*o.params.grid.rows;r=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(s);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:d}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),d&&c%2===0&&(c=c+1));let p=a-r<c;if(d&&(p=p||r<Math.ceil(c/2)),p){const m=d?r<o.activeIndex?"prev":"next":r-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?r+1:r-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=s*o.params.grid.rows;s=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,e,i,n)}),o}function wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:s}=n;if(!o||n.destroyed)return n;let r=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(r=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:r,d=n.virtual&&l.virtual.enabled;if(l.loop){if(s&&!d&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function To(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:s,rtlTranslate:r,enabled:a,animating:d}=n;if(!a||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(d&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=r?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const f=m(p),y=l.map(u=>m(u));let g=l[y.indexOf(f)-1];if(typeof g>"u"&&o.cssMode){let u;l.forEach((b,h)=>{f>=b&&(u=h)}),typeof u<"u"&&(g=l[u>0?u-1:u])}let C=0;if(typeof g<"u"&&(C=s.indexOf(g),C<0&&(C=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(C=C-n.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(C,t,e,i)}),!0;return n.slideTo(C,t,e,i)}function So(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function xo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,l),r=s+Math.floor((l-s)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[r]){const d=o.snapGrid[r],c=o.snapGrid[r+1];a-d>(c-d)*n&&(l+=o.params.slidesPerGroup)}else{const d=o.snapGrid[r-1],c=o.snapGrid[r];a-d<=(c-d)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Eo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const s=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Pe(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Pe(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Co={slideTo:bo,slideToLoop:yo,slideNext:wo,slidePrev:To,slideReset:So,slideToClosest:xo,slideToClickedSlide:Eo};function Io(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Pe(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,s=i.slidesPerGroup*(l?i.grid.rows:1),r=e.slides.length%s!==0,a=l&&e.slides.length%i.grid.rows!==0,d=c=>{for(let p=0;p<c;p+=1){const m=e.isElement?ut("swiper-slide",[i.slideBlankClass]):ut("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(r){if(i.loopAddBlankSlides){const c=s-e.slides.length%s;d(c),e.recalcSlides(),e.updateSlides()}else St("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(a){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;d(c),e.recalcSlides(),e.updateSlides()}else St("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Do(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:s,byMousewheel:r}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:p,slidesEl:m,params:f}=a,{centeredSlides:y}=f;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):f.centeredSlides&&a.snapIndex<f.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=c,a.allowSlideNext=p,a.emit("loopFix");return}let g=f.slidesPerView;g==="auto"?g=a.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),y&&g%2===0&&(g=g+1));const C=f.slidesPerGroupAuto?g:f.slidesPerGroup;let u=C;u%C!==0&&(u+=C-u%C),u+=f.loopAdditionalSlides,a.loopedSlides=u;const b=a.grid&&f.grid&&f.grid.rows>1;d.length<g+u?St("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&f.grid.fill==="row"&&St("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],T=[];let w=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(d.filter(k=>k.classList.contains(f.slideActiveClass))[0]):w=l;const P=n==="next"||!n,M=n==="prev"||!n;let I=0,S=0;const x=b?Math.ceil(d.length/f.grid.rows):d.length,E=(b?d[l].column:l)+(y&&typeof o>"u"?-g/2+.5:0);if(E<u){I=Math.max(u-E,C);for(let k=0;k<u-E;k+=1){const L=k-Math.floor(k/x)*x;if(b){const N=x-L-1;for(let F=d.length-1;F>=0;F-=1)d[F].column===N&&h.push(F)}else h.push(x-L-1)}}else if(E+g>x-u){S=Math.max(E-(x-u*2),C);for(let k=0;k<S;k+=1){const L=k-Math.floor(k/x)*x;b?d.forEach((N,F)=>{N.column===L&&T.push(F)}):T.push(L)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),M&&h.forEach(k=>{d[k].swiperLoopMoveDOM=!0,m.prepend(d[k]),d[k].swiperLoopMoveDOM=!1}),P&&T.forEach(k=>{d[k].swiperLoopMoveDOM=!0,m.append(d[k]),d[k].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():b&&(h.length>0&&M||T.length>0&&P)&&a.slides.forEach((k,L)=>{a.grid.updateSlide(L,k,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const k=a.slidesGrid[w],N=a.slidesGrid[w+I]-k;r?a.setTranslate(a.translate-N):(a.slideTo(w+Math.ceil(I),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else if(o){const k=b?h.length/f.grid.rows:h.length;a.slideTo(a.activeIndex+k,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(T.length>0&&P)if(typeof e>"u"){const k=a.slidesGrid[w],N=a.slidesGrid[w-S]-k;r?a.setTranslate(a.translate-N):(a.slideTo(w-S,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else{const k=b?T.length/f.grid.rows:T.length;a.slideTo(a.activeIndex-k,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=p,a.controller&&a.controller.control&&!s){const k={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...k,slideTo:L.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...k,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Ao(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var ko={loopCreate:Io,loopFix:Do,loopDestroy:Ao};function Po(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function _o(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Oo={setGrabCursor:Po,unsetGrabCursor:_o};function Mo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ae()||n===ye())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function Mi(t,e,i){const n=ye(),{params:o}=t,l=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return l&&(i<=s||i>=n.innerWidth-s)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Lo(t){const e=this,i=Ae();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Mi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:s,enabled:r}=e;if(!r||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const d=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&c&&(a=c[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?Mo(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;const f=s.currentX,y=s.currentY;if(!Mi(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=y,o.touchStartTime=Ee(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let g=!0;a.matches(o.focusableElements)&&(g=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const C=g&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function jo(t){const e=Ae(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:s,enabled:r}=i;if(!r||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].filter(P=>P.identifier===n.touchId)[0],!d||d.identifier!==n.touchId)return}else d=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const c=d.pageX,p=d.pageY;if(a.preventedByNestedSwiper){l.startX=c,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:p,currentX:c,currentY:p}),n.touchStartTime=Ee());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=p;const m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let P;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(P=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?P>o.touchAngle:90-P>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let y=i.isHorizontal()?m:f,g=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(y=Math.abs(y)*(s?1:-1),g=Math.abs(g)*(s?1:-1)),l.diff=y,y*=o.touchRatio,s&&(y=-y,g=-g);const C=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const u=i.params.loop&&!o.cssMode,b=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(P)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&u&&b&&Math.abs(y)>=1){Object.assign(l,{startX:c,startY:p,currentX:c,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let T=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),y>0?(u&&b&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(T=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**w))):y<0&&(u&&b&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(T=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**w))),T&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(y)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function No(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(w=>w.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:s,touches:r,rtlTranslate:a,slidesGrid:d,enabled:c}=e;if(!c||!s.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&s.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}s.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const p=Ee(),m=p-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ee(),et(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||r.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(s.followFinger?f=a?e.translate:-e.translate:f=-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const y=f>=-e.maxTranslate()&&!e.params.loop;let g=0,C=e.slidesSizesGrid[0];for(let w=0;w<d.length;w+=w<s.slidesPerGroupSkip?1:s.slidesPerGroup){const P=w<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof d[w+P]<"u"?(y||f>=d[w]&&f<d[w+P])&&(g=w,C=d[w+P]-d[w]):(y||f>=d[w])&&(g=w,C=d[d.length-1]-d[d.length-2])}let u=null,b=null;s.rewind&&(e.isBeginning?b=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const h=(f-d[g])/C,T=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(m>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?u:g+T):e.slideTo(g)),e.swipeDirection==="prev"&&(h>1-s.longSwipesRatio?e.slideTo(g+T):b!==null&&h<0&&Math.abs(h)>s.longSwipesRatio?e.slideTo(b):e.slideTo(g))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(g+T):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:g+T),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:g))}}function Li(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const r=s&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!r?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!s?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Ro(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Bo(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function zo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Vo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ji=(t,e)=>{const i=Ae(),{params:n,el:o,wrapperEl:l,device:s}=t,r=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",d=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:r}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:r}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:r}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Li,!0):t[d]("observerUpdate",Li,!0),o[a]("load",t.onLoad,{capture:!0})};function Fo(){const t=this,{params:e}=t;t.onTouchStart=Lo.bind(t),t.onTouchMove=jo.bind(t),t.onTouchEnd=No.bind(t),t.onDocumentTouchStart=Vo.bind(t),e.cssMode&&(t.onScroll=Bo.bind(t)),t.onClick=Ro.bind(t),t.onLoad=zo.bind(t),ji(t,"on")}function Ho(){ji(this,"off")}var Uo={attachEvents:Fo,detachEvents:Ho};const Ni=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Go(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const s=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const a=(s in l?l[s]:void 0)||t.originalParams,d=Ni(t,n),c=Ni(t,a),p=n.enabled;d&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!d&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof a[u]>"u")return;const b=n[u]&&n[u].enabled,h=a[u]&&a[u].enabled;b&&!h&&t[u].disable(),!b&&h&&t[u].enable()});const m=a.direction&&a.direction!==n.direction,f=n.loop&&(a.slidesPerView!==n.slidesPerView||m),y=n.loop;m&&i&&t.changeDirection(),xe(t.params,a);const g=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!g?t.disable():!p&&g&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",a),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&C?(t.loopCreate(e),t.updateSlides()):y&&!C&&t.loopDestroy()),t.emit("breakpoint",a)}function Wo(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=ye(),l=e==="window"?o.innerHeight:i.clientHeight,s=Object.keys(t).map(r=>{if(typeof r=="string"&&r.indexOf("@")===0){const a=parseFloat(r.substr(1));return{value:l*a,point:r}}return{value:r,point:r}});s.sort((r,a)=>parseInt(r.value,10)-parseInt(a.value,10));for(let r=0;r<s.length;r+=1){const{point:a,value:d}=s[r];e==="window"?o.matchMedia(`(min-width: ${d}px)`).matches&&(n=a):d<=i.clientWidth&&(n=a)}return n||"max"}var $o={setBreakpoint:Go,getBreakpoint:Wo};function qo(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function Yo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,s=qo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...s),o.classList.add(...e),t.emitContainerClasses()}function Xo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Jo={addClasses:Yo,removeClasses:Xo};function Ko(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Qo={checkOverflow:Ko},$t={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Zo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){xe(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){xe(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),xe(e,n)}}const qt={eventsEmitter:Xn,update:so,translate:fo,transition:go,slide:Co,loop:ko,grabCursor:Oo,events:Uo,breakpoints:$o,checkOverflow:Qo,classes:Jo},Yt={};let Xt=class Be{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=xe({},i),e&&!i.el&&(i.el=e);const s=Ae();if(i.el&&typeof i.el=="string"&&s.querySelectorAll(i.el).length>1){const c=[];return s.querySelectorAll(i.el).forEach(p=>{const m=xe({},i,{el:p});c.push(new Be(m))}),c}const r=this;r.__swiper__=!0,r.support=Pi(),r.device=_i({userAgent:i.userAgent}),r.browser=$n(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&r.modules.push(...i.modules);const a={};r.modules.forEach(c=>{c({params:i,swiper:r,extendParams:Zo(i,a),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const d=xe({},$t,a);return r.params=xe({},d,Yt,i),r.originalParams=xe({},r.params),r.passedParams=xe({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(c=>{r.on(c,r.params.on[c])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=Pe(i,`.${n.slideClass}, swiper-slide`),l=xt(o[0]);return xt(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Pe(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),s=(n.maxTranslate()-o)*e+o;n.translateTo(s,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:s,slidesSizesGrid:r,size:a,activeIndex:d}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[d]?Math.ceil(l[d].swiperSlideSize):0,m;for(let f=d+1;f<l.length;f+=1)l[f]&&!m&&(p+=Math.ceil(l[f].swiperSlideSize),c+=1,p>a&&(m=!0));for(let f=d-1;f>=0;f-=1)l[f]&&!m&&(p+=l[f].swiperSlideSize,c+=1,p>a&&(m=!0))}else if(e==="current")for(let p=d+1;p<l.length;p+=1)(i?s[p]+r[p]-s[d]<a:s[p]-s[d]<a)&&(c+=1);else for(let p=d-1;p>=0;p-=1)s[d]-s[p]<a&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(s=>{s.complete&&Et(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const s=e.rtlTranslate?e.translate*-1:e.translate,r=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const s=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(s.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Pe(n,o())[0];return!s&&i.params.createElements&&(s=ut("div",i.params.wrapperClass),n.append(s),Pe(n,`.${i.params.slideClass}`).forEach(r=>{s.append(r)})),Object.assign(i,{el:n,wrapperEl:s,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:s,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl"),wrongRTL:He(s,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Et(i,l):l.addEventListener("load",s=>{Et(i,s.target)})}),Wt(i),i.initialized=!0,Wt(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:s,slides:r}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),s.removeAttribute("style"),r&&r.length&&r.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el.swiper=null,Mn(n)),n.destroyed=!0),null}static extendDefaults(e){xe(Yt,e)}static get extendedDefaults(){return Yt}static get defaults(){return $t}static installModule(e){Be.prototype.__modules__||(Be.prototype.__modules__=[]);const i=Be.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Be.installModule(i)),Be):(Be.installModule(e),Be)}};Object.keys(qt).forEach(t=>{Object.keys(qt[t]).forEach(e=>{Xt.prototype[e]=qt[t][e]})}),Xt.use([qn,Yn]);const Ri=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Je(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function it(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Je(e[n])&&Je(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:it(t[n],e[n]):t[n]=e[n]})}function Bi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function zi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Vi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Fi(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function el(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function tl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:s,scrollbarEl:r,paginationEl:a}=t;const d=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:p,navigation:m,scrollbar:f,virtual:y,thumbs:g}=e;let C,u,b,h,T,w,P,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(c.pagination||c.pagination===!1)&&p&&!p.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||r)&&(c.scrollbar||c.scrollbar===!1)&&f&&!f.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||s)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(T=!0);const I=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),c[S].prevEl=void 0,c[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),c[S].el=void 0,e[S].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?w=!0:!c.loop&&n.loop?P=!0:M=!0),d.forEach(S=>{if(Je(c[S])&&Je(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&I(S);else{const x=n[S];(x===!0||x===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?x===!1&&I(S):c[S]=n[S]}}),d.includes("controller")&&!u&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&y&&c.virtual.enabled?(y.slides=i,y.update(!0)):o.includes("virtual")&&y&&c.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),C&&g.init()&&g.update(!0),u&&(e.controller.control=c.controller.control),b&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(c.pagination.el=a),p.init(),p.render(),p.update()),h&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-scrollbar"),r.part.add("scrollbar"),e.el.appendChild(r)),r&&(c.scrollbar.el=r),f.init(),f.updateSize(),f.setTranslate()),T&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=e.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),e.el.appendChild(s))),l&&(c.navigation.nextEl=l),s&&(c.navigation.prevEl=s),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||M)&&e.loopDestroy(),(P||M)&&e.loopCreate(),e.update()}function il(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};it(i,$t),i._emitClasses=!0,i.init=!1;const l={},s=Ri.map(a=>a.replace(/_/,"")),r=Object.assign({},t);return Object.keys(r).forEach(a=>{typeof t[a]>"u"||(s.indexOf(a)>=0?Je(t[a])?(i[a]={},o[a]={},it(i[a],t[a]),it(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function nl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:s,swiper:r}=t;Bi(e)&&n&&o&&(r.params.navigation.nextEl=n,r.originalParams.navigation.nextEl=n,r.params.navigation.prevEl=o,r.originalParams.navigation.prevEl=o),zi(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),Vi(e)&&s&&(r.params.scrollbar.el=s,r.originalParams.scrollbar.el=s),r.init(i)}function ol(t,e,i,n,o){const l=[];if(!e)return l;const s=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),d=i.map(o);a.join("")!==d.join("")&&s("children"),n.length!==i.length&&s("children")}return Ri.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(Je(t[a])&&Je(e[a])){const d=Object.keys(t[a]),c=Object.keys(e[a]);d.length!==c.length?s(a):(d.forEach(p=>{t[a][p]!==e[a][p]&&s(a)}),c.forEach(p=>{t[a][p]!==e[a][p]&&s(a)}))}else t[a]!==e[a]&&s(a)}),l}const ll=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Ct(){return Ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Ct.apply(this,arguments)}function Hi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Ui(t){const e=[];return v.Children.toArray(t).forEach(i=>{Hi(i)?e.push(i):i.props&&i.props.children&&Ui(i.props.children).forEach(n=>e.push(n))}),e}function sl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(Hi(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=Ui(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function al(t,e,i){if(!i)return null;const n=c=>{let p=c;return c<0?p=e.length+c:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:s}=i,r=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,d=[];for(let c=r;c<a;c+=1)c>=l&&c<=s&&d.push(e[n(c)]);return d.map((c,p)=>v.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${p}`}))}function pt(t,e){return typeof window>"u"?K(t,e):on(t,e)}const Jt=ct(null),Gi=()=>dt(Jt),rl=ct(null),nt=gt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:s,...r}=t===void 0?{}:t,a=!1;const[d,c]=G("swiper"),[p,m]=G(null),[f,y]=G(!1),g=Q(!1),C=Q(null),u=Q(null),b=Q(null),h=Q(null),T=Q(null),w=Q(null),P=Q(null),M=Q(null),{params:I,passedParams:S,rest:x,events:A}=il(r),{slides:E,slots:k}=sl(l),L=()=>{y(!f)};Object.assign(I.on,{_containerClasses(_,D){c(D)}});const N=()=>{Object.assign(I.on,A),a=!0;const _={...I};if(delete _.wrapperClass,u.current=new Xt(_),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=E;const D={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};it(u.current.params.virtual,D),it(u.current.originalParams.virtual,D)}};C.current||N(),u.current&&u.current.on("_beforeBreakpoint",L);const F=()=>{a||!A||!u.current||Object.keys(A).forEach(_=>{u.current.on(_,A[_])})},U=()=>{!A||!u.current||Object.keys(A).forEach(_=>{u.current.off(_,A[_])})};K(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",L)}),K(()=>{!g.current&&u.current&&(u.current.emitSlidesClasses(),g.current=!0)}),pt(()=>{if(e&&(e.current=C.current),!!C.current)return u.current.destroyed&&N(),nl({el:C.current,nextEl:T.current,prevEl:w.current,paginationEl:P.current,scrollbarEl:M.current,swiper:u.current},I),s&&!u.current.destroyed&&s(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),pt(()=>{F();const _=ol(S,b.current,E,h.current,D=>D.key);return b.current=S,h.current=E,_.length&&u.current&&!u.current.destroyed&&tl({swiper:u.current,slides:E,passedParams:S,changedParams:_,nextEl:T.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:P.current}),()=>{U()}}),pt(()=>{ll(u.current)},[p]);function R(){return I.virtual?al(u.current,E,p):E.map((_,D)=>v.cloneElement(_,{swiper:u.current,swiperSlideIndex:D}))}return v.createElement(n,Ct({ref:C,className:Fi(`${d}${i?` ${i}`:""}`)},x),v.createElement(rl.Provider,{value:u.current},k["container-start"],v.createElement(o,{className:el(I.wrapperClass)},k["wrapper-start"],R(),k["wrapper-end"]),Bi(I)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:w,className:"swiper-button-prev"}),v.createElement("div",{ref:T,className:"swiper-button-next"})),Vi(I)&&v.createElement("div",{ref:M,className:"swiper-scrollbar"}),zi(I)&&v.createElement("div",{ref:P,className:"swiper-pagination"}),k["container-end"]))});nt.displayName="Swiper";const Ne=gt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:s,lazy:r,virtualIndex:a,swiperSlideIndex:d,...c}=t===void 0?{}:t;const p=Q(null),[m,f]=G("swiper-slide"),[y,g]=G(!1);function C(T,w,P){w===p.current&&f(P)}pt(()=>{if(typeof d<"u"&&(p.current.swiperSlideIndex=d),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),pt(()=>{l&&p.current&&!l.destroyed&&f(l.getSlideClasses(p.current))},[l]);const u={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},b=()=>typeof n=="function"?n(u):n,h=()=>{g(!0)};return v.createElement(i,Ct({ref:p,className:Fi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:h},c),s&&v.createElement(Jt.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},b(),r&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&v.createElement(Jt.Provider,{value:u},b(),r&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"})))});Ne.displayName="SwiperSlide";function Re(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=ce(),o=pe((s,r,a,d)=>{var c,p,m,f,y,g,C,u,b,h,T,w,P,M;let I="";e&&(!((p=(c=s?.video)===null||c===void 0?void 0:c.bindProducts)===null||p===void 0)&&p.length||!((m=s?.video)===null||m===void 0)&&m.bindProduct)?I="pdpPage":n?I="hashTagPage":!((f=s?.video)===null||f===void 0)&&f.url?I="videoPage":!((y=s?.video)===null||y===void 0)&&y.imgUrls&&(!((C=(g=s?.video)===null||g===void 0?void 0:g.imgUrls)===null||C===void 0)&&C.length)?I="imagePage":s?.product&&(I="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=r?.itemId)!==null&&u!==void 0?u:"",productName:(b=r?.title)!==null&&b!==void 0?b:"",price:r?.price?r?.price+"":"0",productCollection:(h=r?.collection)!==null&&h!==void 0?h:"",fromKName:I,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:d+"",contentId:(w=(T=s?.video)===null||T===void 0?void 0:T.itemId)!==null&&w!==void 0?w:"",ctatId:(P=a?.itemId)!==null&&P!==void 0?P:"",traceInfo:(M=r?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=pe((s,r,a,d,c)=>{var p,m,f,y;let g="";e&&(!((m=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((f=s?.video)===null||f===void 0)&&f.bindProduct)?g="pdpPage":s?.product&&(g="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price?r?.price+"":"0",productCollection:r?.collection,fromKName:g,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:c+"",contentId:(y=s?.video)===null||y===void 0?void 0:y.itemId,ctatId:a?.itemId,traceInfo:r?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const dl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",cl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var s;const[r,a]=G(!1),d=Q(null);K(()=>{const m=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?d.current=f:(d.current=document.createElement("div"),d.current.setAttribute("id","pb-modal"),m?.appendChild(d.current))},[]);const c=se(()=>l?.id&&l?.id!==""||t,[t,l]);if(K(()=>{c?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[c,l]),!d.current)return null;const p=At(()=>{e?.()},300);return ui.createPortal(v.createElement(v.Fragment,null,r&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((s=l?.duration)!==null&&s!==void 0?s:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:dl,alt:"close",className:"modal-icon"})),i))),d.current)};var It=re(cl);const ul=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let s=0;s<n.length&&(o.push(n[s]),!(o.join(" ").length>=e));s++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},pl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:s,isPost:r,onChange:a})=>{const[d,c]=G(!1),[p,m]=G(!1),f=Number(i?.lineClamp||2),y=Q(null),g=Q(null),C=pe(()=>{c(!d)},[d,a]);return se(()=>!d&&t.length>e?ul(t,e)+"...":t,[t,e,d]),K(()=>{var u,b;((u=g?.current)===null||u===void 0?void 0:u.offsetHeight)>((b=y?.current)===null||b===void 0?void 0:b.offsetHeight)&&r?m(!0):m(!1),g.current.style.display="none"},[r]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!r||d?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:g,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&r&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},d?s||"show less":l||"show more"))};var Kt=re(pl);const fl=gt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:s}=t,[r,a]=G();return di(e,()=>({setSrc:d=>{a(d)}})),K(()=>{a(i)},[i]),v.createElement(v.Fragment,null,r?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:r}),v.createElement("source",{type:"image/webp",srcSet:`${r}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${r}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:r,style:o,loading:s,onLoad:d=>{n?.(d.target)}})):v.createElement("img",{className:l,src:r,style:o,loading:s,onLoad:d=>{n?.(d.target)}}))});var ke=re(fl);const vl=t=>{var e,i,n,o,l,s,r,a,{content:d,style:c,bgImg:p,onClick:m,schema:f,isDefault:y,bottom_image:g,tipText:C,isPost:u,viewTime:b,rec:h,swiper:T,commodityStyles:w,buttonStyle:P,index:M}=t,I=ge(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=ce(),{popupDetailData:x,bffEventReport:A,isPreview:E,waterFallData:k}=ce(),{jumpToWeb:L,productView:N}=Re(),F=Q(null),[U,R]=G(!1),_=u?h:x,D=u?_?.product:(e=_?.video)===null||e===void 0?void 0:e.bindProduct,O=u?(i=_?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=_?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,B=u?M:x?.index,Y=()=>{D?.link&&(L(x,D,O,B),u||N(_,D,O,b||F.current,B),window.location.href=window.getJointUtmLink(D.link))};K(()=>{const H=()=>{F.current=new Date};return H(),window.addEventListener("pageshow",H),()=>{window.removeEventListener("pageshow",H)}},[]);const de=se(()=>{var H,ne,Z,te,le;return D?.currency&&D?.price?`${(Z=(ne=(H=D?.currency)===null||H===void 0?void 0:H.split("-")[1])===null||ne===void 0?void 0:ne.toUpperCase())!==null&&Z!==void 0?Z:""}${(le=(te=D?.price)===null||te===void 0?void 0:te.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&le!==void 0?le:""}`:"$7,000"},[D?.price,D?.currency]),ie=E?375:window.innerWidth,z=({isPost:H})=>{var ne,Z,te;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:w?.collection,hidden:!!D&&(!D?.collection||D?.collection==="")},(ne=D?.collection)!==null&&ne!==void 0?ne:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:w?.title,hidden:!!D&&!D?.title},(Z=D?.title)!==null&&Z!==void 0?Z:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:w?.price,hidden:!!D&&!D?.price},de),v.createElement("div",{hidden:!!D&&(!D?.info||D?.info==="")},v.createElement(Kt,{foldText:C?.foldText,unfoldText:C?.unfoldText,onClick:()=>R(!0),isPost:H,text:(te=D?.info)!==null&&te!==void 0?te:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
2
2
|
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
3
3
|
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
4
4
|
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
5
5
|
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:w?.info})))},V=()=>{var H;return v.createElement(v.Fragment,null,(y||D?.link)&&v.createElement("button",{onClick:Y,className:"pb-commondity-btn",style:P},(H=O?.enTitle)!==null&&H!==void 0?H:"Purchase on Website"))};return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:$(Object.assign({},c))},I),D&&((l=D?.homePage)===null||l===void 0?void 0:l.length)>0&&v.createElement(nt,{height:ie,modules:[zt,Vt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:T?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:T?.delay*1e3}},(s=D?.homePage)===null||s===void 0?void 0:s.map(H=>v.createElement(Ne,{key:H},v.createElement("div",{style:{overflow:"hidden",width:ie,height:ie}},v.createElement(ke,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:H}))))),!(!((r=D?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:$({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:$({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(a=S?.bottom_image)!==null&&a!==void 0?a:g,alt:""})),v.createElement("div",{className:"pb-commondity-content"},z({isPost:u}))),V(),v.createElement(It,{visible:U,onClose:()=>R(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},z({isPost:!1})),V()))};var ml=re(vl);const hl=Se(ml,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:_n},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var gl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],bl=[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]}],Wi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const yl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},wl=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,s=ge(t,["content","btnText","style","icon","onClick"]);const r=typeof o=="string"?o:yl(o),a=()=>{window?.sxpPopup(""),l?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${$(Object.assign({},n))}`},s),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:r??Wi})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",onClick:a},i))};var Tl=re(wl);const Sl=Se(Tl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:bl,bindableProps:[],interactionRender:gl},defaulSetting:{props:{icon:Wi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Qt,Zt,xl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Qt=ee?.[0])===null||Qt===void 0?void 0:Qt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(Zt=ee?.[0])===null||Zt===void 0?void 0:Zt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const El=t=>{var e,i,n,o,l,s,r,a,d,c,p,{style:m,isDefault:f,rec:y,viewTime:g,isPost:C,bottom_image:u,tipText:b,swiper:h,commodityStyles:T,buttonStyle:w,index:P}=t,M=ge(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);G(!0);const{sxpParameter:I}=ce(),{popupDetailData:S,bffEventReport:x,isPreview:A,swiperRef:E,waterFallData:k}=ce(),{jumpToWeb:L,productView:N}=Re(),F=Q(null);Q(null),Q(null),G(!1),G(!1),G(!0);const[U,R]=G(!1),_=Q(null),D=C?y:S,O=C?D?.product:(e=D?.video)===null||e===void 0?void 0:e.bindProduct,B=C?(i=D?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=D?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,Y=C?P:S?.index,de=()=>{O?.link&&(L(D,O,B,Y),C||N(D,O,B,g||_.current,Y),window.location.href=window.getJointUtmLink(O.link))};K(()=>{const H=()=>{_.current=new Date};return H(),window.addEventListener("pageshow",H),()=>{window.removeEventListener("pageshow",H)}},[]);const ie=se(()=>{var H,ne,Z,te,le;return O?.currency&&O?.price?`${(Z=(ne=(H=O?.currency)===null||H===void 0?void 0:H.split("-")[1])===null||ne===void 0?void 0:ne.toUpperCase())!==null&&Z!==void 0?Z:""}${(le=(te=O?.price)===null||te===void 0?void 0:te.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&le!==void 0?le:""}`:"\xA3102,300.00"},[O?.price,O?.currency]),z=A?375:window.innerWidth,V=({isPost:H})=>v.createElement("div",{hidden:!!O&&(!O?.info||O?.info==="")},v.createElement(Kt,{isPost:H,onClick:()=>R(!0),className:"pb-commondityDiroNew-info",style:T?.info,foldText:b?.foldText,unfoldText:b?.unfoldText,text:O?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
6
|
-
Made in Italy`}));return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:F,className:$(Object.assign({},m))},M),O&&((l=O?.homePage)===null||l===void 0?void 0:l.length)>0&&v.createElement(nt,{height:z,modules:[zt,Vt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:h?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:h?.delay*1e3}},(s=O?.homePage)===null||s===void 0?void 0:s.map(H=>v.createElement(Ne,{key:H},v.createElement("div",{style:{overflow:"hidden",width:z,height:z}},v.createElement(ke,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:H}))))),!(!((r=O?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:$({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:$({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(a=I?.bottom_image)!==null&&a!==void 0?a:u,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:T?.title},(d=O?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!O&&(!O?.collection||O?.collection===""),style:T?.collection},O?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.price,style:T?.price},ie),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.taxInfo,style:T?.taxInfo},(c=O?.taxInfo)!==null&&c!==void 0?c:"\u7A0E\u8D39"))),(!O||O?.link)&&v.createElement("button",{onClick:de,className:"pb-commondityDiroNew-btn",style:w},(p=B?.enTitle)!==null&&p!==void 0?p:"Shop now"),V({isPost:C}))),v.createElement(It,{visible:U,onClose:()=>R(!1)},V({isPost:!1})))};var Cl=re(El);const Il=Se(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:xl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var ei,ti,Ce=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(ei=ee?.[0])===null||ei===void 0?void 0:ei.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(ti=ee?.[0])===null||ti===void 0?void 0:ti.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Dl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function $i(t){const e=Q(null),[i,n]=G(!1);return K(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),K(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Al=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:s=!1,index:r}=t;ge(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Q(null),d=$i(a),{popup:c}=je(),{setPopupDetailData:p,ctaEvent:m}=ce(),{jumpToWeb:f}=Re();K(()=>{var g,C;if(d&&a?.current){const u=(C=(g=e?.video)===null||g===void 0?void 0:g.bindProduct)!==null&&C!==void 0?C:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,r)}},[d,a,e,m,r]);const y=ht(()=>{var g,C,u,b,h,T,w,P,M,I;const S=(C=(g=e?.video)===null||g===void 0?void 0:g.bindProduct)!==null&&C!==void 0?C:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,S,r),p?.(Object.assign(Object.assign({},e),{index:r})),s){if(!((b=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||b===void 0)&&b.link){const x=(h=e?.video)===null||h===void 0?void 0:h.bindCta,A=(T=e?.video)===null||T===void 0?void 0:T.bindProduct;f(e,A,x,r),window.location.href=(P=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||P===void 0?void 0:P.link,window.location.href=window.getJointUtmLink((I=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||I===void 0?void 0:I.link)}}else o?.()},c?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:y},i)};var ft=re(Al),kl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Pl=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:y}=t,g=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=ce(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:y,rec:p,className:$(Object.assign({},d)),style:{display:"flex"}},g),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:b})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:kl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(s=u?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var _l=re(Pl);const Ol=Se(_l,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Dl,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Ml=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ll=t=>{var e,i,n,o,{content:l,style:s,bgImg:r,recData:a,bottom_image:d,ctaTempStyles:c,isExternalLink:p}=t,m=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:f}=ce(),y=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(ft,Object.assign({isExternalLink:p,rec:a,className:$(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement("img",{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:d,alt:""})),v.createElement("div",{className:$(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=y?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var jl=re(Ll);const Nl=Se(jl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ml,settingRender:Ce?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Rl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Bl=t=>{var e,i,n,o,l,{content:s,style:r,bgImg:a,recData:d,bottom_image:c,ctaTempStyles:p,index:m}=t,f=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:g}=ce(),{jumpToWeb:C}=Re(),u=(e=d?.video)===null||e===void 0?void 0:e.bindCta,b=(i=d?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{u?.link&&(C(d,b,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(ft,Object.assign({index:m,rec:d,className:$(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},f,{onClick:h}),v.createElement("div",{className:$(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&o!==void 0?o:c})),v.createElement("div",{className:$({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Rl["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var zl=re(Bl);const Vl=Se(zl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ce?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ul=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:y}=t,g=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=ce(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:y,rec:p,className:$(Object.assign({},d)),style:{display:"flex"}},g),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:b})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Hl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(s=u?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var Gl=re(Ul);const Wl=Se(Gl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Fl,settingRender:Ce,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var $l=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Yl=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:y}=t,g=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=ce(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:y,rec:p,className:$(Object.assign({},d)),style:{display:"flex"}},g),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:b})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ql["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:$(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(s=u?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&r!==void 0?r:"Shop now")))};var Xl=re(Yl);const Jl=Se(Xl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:$l,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ql=({children:t,isPadding:e=!0})=>v.createElement(nt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Hn,Fn,Vn],style:{padding:e?"0 12px 0 20px":0}},t);var Dt=re(Ql);const Zl=({src:t,rec:e,item:i,index:n})=>{const o=Q(null),l=$i(o),{ctaEvent:s}=ce();return K(()=>{l&&t&&o?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,s,i,n]),v.createElement("div",{ref:o,hidden:!t,className:$({width:"100%",height:"100%"})},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var ii=re(Zl),es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const ts=t=>{var e,i,{content:n,style:o,bgImg:l,recData:s,onClick:r,bottom_image:a,ctaTempStyles:d,isExternalLink:c,index:p}=t,m=ge(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:y,sxpParameter:g}=ce(),{popup:C}=je(),{jumpToWeb:u}=Re(),[b,h]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),T=ht(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,w,p),y?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:w}),index:p})),c?w?.link&&(u(s,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):r?.()},C?.duration);return v.createElement(Dt,{isPadding:!!s},b?.map(w=>{var P,M,I,S,x,A;return v.createElement(Ne,Object.assign({hidden:s&&!w?.bindCta,key:w?.itemId,className:$(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>T(w)}),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(ii,{src:(I=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:g?.bottom_image)!==null&&I!==void 0?I:a,rec:s,item:w,index:p})),v.createElement("div",{className:$({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:es["two-line-ellipsis"],style:d?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},d?.ctaTitle))},(A=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&A!==void 0?A:"Shop Now")))}))};var is=re(ts);const ns=Se(is,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Kl,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ls={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:s,onClick:r,bottom_image:a,ctaTempStyles:d,isExternalLink:c,index:p}=t,m=ge(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:f}=ce(),{ctaEvent:y,setPopupDetailData:g}=ce(),{popup:C}=je(),[u,b]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Re(),T=ht(w=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,w,p),g?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:w}),index:p})),c?w?.link&&(h(s,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):r?.()},C?.duration);return v.createElement(Dt,{isPadding:!!s},u?.map(w=>{var P,M,I,S,x,A;return v.createElement(Ne,Object.assign({hidden:s&&!w?.bindCta,key:w.itemId,className:$(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>T(w)}),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(ii,{src:(I=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&I!==void 0?I:a,rec:s,item:w,index:p})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ls["two-line-ellipsis"],style:d?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d?.ctaTitle))},(A=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&A!==void 0?A:"Shop Now")))}))};var as=re(ss);const rs=Se(as,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:os,settingRender:Ce,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],cs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:s,onClick:r,bottom_image:a,ctaTempStyles:d,isExternalLink:c,index:p}=t,m=ge(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:y,sxpParameter:g}=ce(),{popup:C}=je(),{jumpToWeb:u}=Re(),[b,h]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),T=ht(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,w,p),y?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:w}),index:p})),c?w?.link&&(u(s,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):r?.()},C?.duration);return v.createElement(Dt,{isPadding:!!s},b?.map(w=>{var P,M,I,S,x,A;return v.createElement(Ne,Object.assign({hidden:s&&!w?.bindCta,key:w?.itemId,className:$(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>T(w)}),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(ii,{src:(I=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:g?.bottom_image)!==null&&I!==void 0?I:a,rec:s,item:w,index:p})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:cs["tow-line-ellipsis"],style:d?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),v.createElement("div",{className:$(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d?.ctaTitle))},(A=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&A!==void 0?A:"Shop now")))}))};var ps=re(us);const fs=Se(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ds,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var ni,oi,vs=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(ni=ee?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(oi=ee?.[0])===null||oi===void 0?void 0:oi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ms=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:s}=ce();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var qi=re(ms),hs=null,gs="3d989325-e7d6-4a74-8a97-98febdf5b567",bs=null,ys=null,ws={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},Ts=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Ss="Handbags",xs={productUserId:hs,requestId:gs,channel:bs,rtc:ys,tag:ws,recList:Ts,hashTag:Ss};const Es=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:s}=t,{swiperRef:r,setRtcList:a,setOpenHashtag:d,bffEventReport:c,sxpParameter:p}=ce(),[m,f]=G(!1),y=Q(null),g=Q(null),C=Q(null),u=Q(null),[b,h]=G(""),T=se(()=>{var S,x,A,E,k,L,N,F,U,R,_,D;return!((S=e?.video)===null||S===void 0)&&S.cover?(x=e?.video)===null||x===void 0?void 0:x.cover:!((A=e?.video)===null||A===void 0)&&A.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((L=(k=e?.video)===null||k===void 0?void 0:k.imgUrls)===null||L===void 0)&&L.length?(F=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||F===void 0?void 0:F[0]:!((R=(U=e?.product)===null||U===void 0?void 0:U.homePage)===null||R===void 0)&&R.length?(D=(_=e?.product)===null||_===void 0?void 0:_.homePage)===null||D===void 0?void 0:D[0]:p?.bottom_image||""},[e,p?.bottom_image]),w=se(()=>{var S,x;return((S=e?.product)===null||S===void 0?void 0:S.title)||((x=e?.video)===null||x===void 0?void 0:x.title)||null},[e]),P=se(()=>{var S,x,A,E,k,L,N,F,U;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((x=e?.product)===null||x===void 0)&&x.price)?`${(L=(k=(E=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||E===void 0?void 0:E.split("-")[1])===null||k===void 0?void 0:k.toUpperCase())!==null&&L!==void 0?L:""}${(U=(F=(N=e?.product)===null||N===void 0?void 0:N.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&U!==void 0?U:""}`:null},[e]);K(()=>{const S=new IntersectionObserver(x=>{x.forEach(A=>{if(A.isIntersecting){if(g.current===null||T==="")return;m&&b?y.current.setSrc(b):y.current.setSrc(T),S.unobserve(g.current)}})});return S.observe(g.current),()=>{S.disconnect()}},[T,m,b]);const M=(S,x,A)=>{const E=S/x;return A/E};K(()=>{const S=C?.current;S===null||T===""||!m||(S.src=T,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const x=u?.current;if(!x)return;const A=x.getContext("2d"),E=window?.innerWidth/2,k=M(S.videoWidth,S.videoHeight,E);x.height=k,x.width=E,A?.drawImage(S,0,0,x.width,x.height),h(x.toDataURL()),S.remove(),x.remove()})},[T,m]);const I=()=>{o(),a?.(n),setTimeout(()=>{var S;(S=r?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),d?.(!1)},0)};return v.createElement("div",{ref:g,className:"list-content-listItem",key:i,onClick:I,style:{marginBottom:s}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(ke,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${P?"list-content-listItem-info-nowrap":""}`,style:l?.title},w&&w),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!P},P)))};function Cs(t){var e,i,n,o,l,s,r,{reportTagsView:a}=t,d=ge(t,["reportTagsView"]);const{waterFallData:c,getRecommendVideos:p,hashTagSize:m,loadingImage:f,isOpenHashTag:y}=ce(),[g,C]=G(),[u,b]=G(),[h,T]=G(!1),w=Q(null),[P,M]=G(!1);pe(()=>{P||(M(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType}).then(S=>{var x;C(g?.concat((x=S?.recList)!==null&&x!==void 0?x:[])),M(!1)}))},[c,p,g,P]),K(()=>{var S,x;if(T(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(A=>{var E,k;b(A),C((k=(E=A?.recList)===null||E===void 0?void 0:E.filter(L=>L?.video!==null||L?.product!==null))!==null&&k!==void 0?k:[]),T(!1)}),y){const A=xs;b(A),C((x=(S=A?.recList)===null||S===void 0?void 0:S.filter(E=>E?.video!==null||E?.product!==null))!==null&&x!==void 0?x:[]),T(!1)}},[c,p,m,y]);const I=()=>{var S,x;!((S=u?.tag)===null||S===void 0)&&S.link&&(a(),window.location.href=(x=u?.tag)===null||x===void 0?void 0:x.link)};return v.createElement(v.Fragment,null,h?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:f,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:w,style:{bottom:!((e=u?.tag)===null||e===void 0)&&e.link?"100px":0}},v.createElement("div",{className:"list-info",style:(i=d?.textStyles)===null||i===void 0?void 0:i.hashTagDesc},(n=u?.tag)===null||n===void 0?void 0:n.info),v.createElement("div",{hidden:!(!((o=u?.tag)===null||o===void 0)&&o.link),className:"list-collection",onClick:I,style:{marginBottom:d?.space}},((l=u?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},g?.map((S,x)=>v.createElement(Es,Object.assign({key:x,index:x,rec:S,list:g,reportTagsView:a},d)))),v.createElement("div",{hidden:!P,style:{textAlign:"center"}},"loading...")),v.createElement("div",{className:"list-bottom",hidden:!(!((s=u?.tag)===null||s===void 0)&&s.link)},v.createElement("button",{className:"list-bottom-btn",style:d?.buttonStyle,onClick:I},((r=u?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection"))))}var Is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ds=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:s,cacheRtcList:r,setRtcList:a,cacheActiveIndex:d,rtcList:c,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:y}=ce();Q(null);const g=Q(null),[C,u]=G();K(()=>{const P=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?g.current=M:(g.current=document.createElement("div"),g.current.setAttribute("id","water-fall"),P?.appendChild(g.current))},[]);const b=()=>{const P=ai(c,r);!P&&r&&r?.length&&a?.(r),w(),s?.(void 0),m?.(!1),setTimeout(()=>{var M,I;P||(I=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||I===void 0||I.slideTo(d,0,!1),n?.(!1)},0)},[h,T]=G();K(()=>{i&&T(i)},[i]);const w=pe(()=>{var P,M,I,S,x,A;const E=h?.rec;if(!E)return;let k="";f?k="hashTagPage":!((P=E?.video)===null||P===void 0)&&P.url?k="videoPage":!((I=(M=E?.video)===null||M===void 0?void 0:M.imgUrls)===null||I===void 0)&&I.length&&(k="imagePage"),y?.({eventInfo:{relatedContentId:(S=E?.video)===null||S===void 0?void 0:S.itemId,position:d+"",contentTags:JSON.stringify((x=E?.video)===null||x===void 0?void 0:x.tags),traceInfo:(A=E?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:k,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,y,C,f,d]);return K(()=>{o&&u(new Date)},[o]),K(()=>{const P=()=>{u(new Date)};return window.addEventListener("pageshow",P),()=>{window.removeEventListener("pageshow",P)}},[]),g.current?ui.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(qi,{icon:Is,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:b}),v.createElement(Cs,Object.assign({reportTagsView:w},t))),g.current):null};var Yi=re(Ds);const As=t=>v.createElement(Yi,Object.assign({},t));var ks=re(As);const Ps=Se(ks,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:vs,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25}}},w:100,h:40,sort:2});var Xi=Object.freeze({__proto__:null,Appoint:Nl,AppointForm:Pn,Commodity:Ol,CommodityDetail:hl,CommodityDetailDiroNew:Il,CommodityDiro:Wl,CommodityDiroNew:Jl,HashTag:Ps,Link:Vl,MultiCommodity:rs,MultiCommodityDiro:ns,MultiCommodityDiroNew:fs,Prompt:Sl});const _s="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Os="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ms=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,s=ge(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:r,mutateUnlike:a,bffEventReport:d}=ce(),[c,p]=G(e),m=Xe(Os),f=Xe(_s),y=At(()=>Te(void 0,void 0,void 0,function*(){var g,C,u,b,h,T,w,P,M,I,S,x,A,E,k,L,N,F,U,R;if(c){p(!1);const _=(u=yield a?.({videoItemId:(C=(g=o.video)===null||g===void 0?void 0:g.itemId)!==null&&C!==void 0?C:""}))!==null&&u!==void 0?u:!1;d?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&h!==void 0?h:"",contentName:(w=(T=o.video)===null||T===void 0?void 0:T.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((M=(P=o.video)===null||P===void 0?void 0:P.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((I=o.video)===null||I===void 0)&&I.url?"video":"image",traceInfo:(S=o.video)===null||S===void 0?void 0:S.traceInfo}}),_||p(!0)}else{p(!0);const _=(x=yield r?.({content:JSON.stringify(o)}))!==null&&x!==void 0?x:!1;d?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(E=(A=o.video)===null||A===void 0?void 0:A.itemId)!==null&&E!==void 0?E:"",contentName:(L=(k=o.video)===null||k===void 0?void 0:k.title)!==null&&L!==void 0?L:"",contentTags:JSON.stringify((F=(N=o.video)===null||N===void 0?void 0:N.tags)!==null&&F!==void 0?F:[]),position:l+"",contentFormat:!((U=o.video)===null||U===void 0)&&U.url?"video":"image",traceInfo:(R=o.video)===null||R===void 0?void 0:R.traceInfo}}),_||p(!1)}}),200);return v.createElement("button",Object.assign({},s,{onClick:y}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||f,alt:"icon"}))};var Ls=re(Ms);const ot=new sn;var Ue;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ue||(Ue={}));const js=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:s})=>{const[r,a]=G(!1),d=Q(null),{bffEventReport:c,sxpParameter:p,waterFallData:m,openHashtag:f}=ce(),y=Q(0),[g,C]=G(!1),[u,b]=G(!0),{isActive:h}=Gi(),T=Q(null),[w,P]=G("");K(()=>{d.current&&(d.current.muted=o)},[o]);const M=pe(()=>{var _;(_=d.current)===null||_===void 0||_.play()},[]),I=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=pe(()=>{var _,D,O,B,Y,de,ie,z,V,H,ne,Z,te;a(!1);const le=n[e];if(le&&(!((_=d?.current)===null||_===void 0)&&_.duration)){y.current=((D=d?.current)===null||D===void 0?void 0:D.currentTime)||0;const he=((B=(O=d.current)===null||O===void 0?void 0:O.duration)!==null&&B!==void 0?B:0).toFixed(2),me=((de=(Y=d.current)===null||Y===void 0?void 0:Y.currentTime)!==null&&de!==void 0?de:0).toFixed(2),Oe=u?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(z=(ie=le.video)===null||ie===void 0?void 0:ie.itemId)!==null&&z!==void 0?z:"",contentName:(H=(V=le.video)===null||V===void 0?void 0:V.title)!==null&&H!==void 0?H:"",playType:Oe,startTime:me,videoDuration:he,contentTags:JSON.stringify((Z=(ne=le.video)===null||ne===void 0?void 0:ne.tags)!==null&&Z!==void 0?Z:[]),position:e+"",contentFormat:"video",traceInfo:(te=le.video)===null||te===void 0?void 0:te.traceInfo}}),b(!1)}},[c,n,e,u]),x=pe(()=>{C(!0)},[]),A=pe(_=>()=>{var D,O,B,Y,de;if(!g)return;const ie=(D=d.current)===null||D===void 0?void 0:D.paused;switch(_){case"start":if(!ie)return;(O=d.current)===null||O===void 0||O.play(),a(!1);break;case"pause":if(ie)return;(B=d.current)===null||B===void 0||B.pause(),a(!0);break;default:ie?(Y=d.current)===null||Y===void 0||Y.play():(de=d.current)===null||de===void 0||de.pause(),a(!ie);break}},[g]),E=pe(()=>{var _,D,O,B,Y,de,ie,z,V,H,ne,Z,te;const le=n[e],he=((D=(_=d.current)===null||_===void 0?void 0:_.duration)!==null&&D!==void 0?D:0).toFixed(2),me=((B=(O=d.current)===null||O===void 0?void 0:O.currentTime)!==null&&B!==void 0?B:0).toFixed(2);if(!((Y=d?.current)===null||Y===void 0)&&Y.duration){const Oe=(((de=d?.current)===null||de===void 0?void 0:de.currentTime)-y.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(z=(ie=le.video)===null||ie===void 0?void 0:ie.itemId)!==null&&z!==void 0?z:"",contentName:(H=(V=le.video)===null||V===void 0?void 0:V.title)!==null&&H!==void 0?H:"",endTime:me,videoDuration:he,playDuration:Oe,contentTags:JSON.stringify((Z=(ne=le.video)===null||ne===void 0?void 0:ne.tags)!==null&&Z!==void 0?Z:[]),position:e+"",contentFormat:"video",traceInfo:(te=le.video)===null||te===void 0?void 0:te.traceInfo}})}},[n,e,c]),k=se(()=>s?.mode==="2",[s]),L=se(()=>{var _;return s?.mode==="2"?`translateY(-${50+((_=s?.offsetTop)!==null&&_!==void 0?_:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),N=se(()=>{var _;return((_=t?.video)===null||_===void 0?void 0:_.cover)||w},[w,t]),F=pe(()=>{if(!T||!d||!d.current||!T.current)return;const _=d?.current,D=T?.current,O=D.getContext("2d"),B=window?.innerWidth,Y=window?.innerHeight;D.height=Y,D.width=B,O?.drawImage(_,0,0,D.width,D.height),P(D.toDataURL())},[]);K(()=>{var _,D,O,B;if(d.current){if(a(!1),!d.current.src){const Y=t.video.url;if(Y.includes(".m3u8"))if(pi.isSupported()){const de=new pi;de.loadSource(Y),de.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=Y;else d.current.src=Y;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(_=d.current)===null||_===void 0||_.addEventListener("loadedmetadata",x),(D=d.current)===null||D===void 0||D.addEventListener("canplay",x),(O=d.current)===null||O===void 0||O.addEventListener("playing",S),(B=d.current)===null||B===void 0||B.addEventListener("loadeddata",F),()=>{var Y,de,ie,z;(Y=d.current)===null||Y===void 0||Y.removeEventListener("loadedmetadata",x),(de=d.current)===null||de===void 0||de.removeEventListener("canplay",x),(ie=d.current)===null||ie===void 0||ie.removeEventListener("playing",S),(z=d.current)===null||z===void 0||z.removeEventListener("loadeddata",F)}}},[x,S,t.video,F]),K(()=>{var _;!d?.current||!g||(h?d.current.play():(_=d.current)===null||_===void 0||_.pause())},[h,g]),K(()=>{var _,D,O;if(!h||!d?.current)return;!((_=d.current)===null||_===void 0?void 0:_.paused)&&f?(D=d.current)===null||D===void 0||D.pause():f||(O=d.current)===null||O===void 0||O.play()},[f,h]),K(()=>{if(!h)return;const _=A("start"),D=A("pause");return ot.on(Ue.PAGE_DID_SHOW,_),ot.on(Ue.PAGE_DID_HIDE,D),()=>{ot.off(Ue.PAGE_DID_SHOW,_),ot.off(Ue.PAGE_DID_HIDE,D)}},[A,h]);const U=se(()=>!p?.placeholder_image||g?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[g,p?.placeholder_image]);K(()=>{const _=()=>{var D,O;l===e&&(!((D=t?.video)===null||D===void 0)&&D.url)&&(!((O=d?.current)===null||O===void 0)&&O.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",_),()=>{window.removeEventListener("beforeunload",_)}},[l,e,t,d,A,r]);const R=se(()=>k?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[k]);return t.video?v.createElement(v.Fragment,null,k?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},v.createElement(ke,{src:N,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},R)}),v.createElement("canvas",{ref:T,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:L,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M,style:{width:"100%",height:"100%",objectFit:"contain"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:I}))),U):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M}),U,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:I}))):null};var Ns=re(js);const Rs=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,s]=G(t),r=a=>{a.stopPropagation();const d=!l;s(d),n?.(d)};return v.createElement("button",{style:o,className:"pb-toggle-button",onClick:r},v.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Bs=re(Rs);const zs=({imageUrl:t})=>{const[e,i]=G(!0);je(),K(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=se(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return v.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},v.createElement("img",{src:t||n}))},Vs=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=se(()=>n?.mode==="2",[n]),l=se(()=>{var r;return n?.mode==="2"?`translateY(-${50+((r=n?.offsetTop)!==null&&r!==void 0?r:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=se(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]);return v.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},v.createElement(ke,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s)}),o&&v.createElement(ke,{src:e,style:{width:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Fs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:s,imgUrlsPostConfig:r})=>{var a;const d=Q(),{isActive:c}=Gi(),{sxpParameter:p,openHashtag:m}=ce(),[f,y]=G(!1);return K(()=>{f&&c?(d?.current&&d.current.swiper.autoplay.start(),m?l(n):s(o)):(y(!0),d?.current&&d.current.swiper.autoplay.stop())},[n,c,l,m,o,s,f]),v.createElement(nt,{ref:d,defaultValue:0,direction:"horizontal",modules:[zt,Vt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=r?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map(g=>v.createElement(Ne,{key:g},v.createElement(Vs,{src:g,height:i,imgUrlsPostConfig:r}))))};var Hs=re(Fs);const Us=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[s,r]=G(!1),{setWaterFallData:a,setOpenHashtag:d,setCacheActiveIndex:c,waterFallData:p,setIsFromHashtag:m}=ce(),f=y=>{p?m?.(!0):c?.(n),a?.(i?{hashTag:y,itemId:e,itemType:i,rec:o}:{hashTag:y,rec:o}),d?.(!0)};return se(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>r(!s)},s?"show less":"show more"),[s,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Dt,null,t?.map((y,g)=>v.createElement(Ne,{key:g,hidden:s?!1:g>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(y)},`#${y}`))))};var Gs=re(Us),Ws="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function li(t){return re(function(e){const{$store:i}=vn(),n=l=>{let s=l;const r=l.match(/{{.*?}}/g);return r?.length&&r.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(d,c)=>{if(c){const p=ri(i,c);return s=s.replace(a,p),p}})}),s},o=se(()=>{var l,s,r;const{bindDatas:a}=e,d=ge(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,c=>{if(c?.propKey&&c?.dataPath){const{propKey:p,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,y)=>{var g,C;if(y){const u=(C=(g=ri(i,y))!==null&&g!==void 0?g:e[p])!==null&&C!==void 0?C:"";return d[p]=u,u}})}}),d){d.eventMap={};const c=rt(d.event)||{};for(const p in c)if(Object.prototype.hasOwnProperty.call(c,p))try{c[p].value=n(c[p].value),d.eventMap[p]=new Function(c[p].value)}catch{}}return!((r=(s=d?.event)===null||s===void 0?void 0:s.onClick)===null||r===void 0)&&r.linkType&&(d.style.cursor="pointer"),d},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const $s=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=je(),l=se(()=>{var s,r,a,d,c,p,m,f,y,g,C,u,b,h,T,w,P,M,I,S,x,A,E,k,L,N,F,U,R,_,D;if(!t?.video)return null;let O=null;!((r=(s=t?.video)===null||s===void 0?void 0:s.bindProducts)===null||r===void 0)&&r.length?O="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?O="\u5546\u54C1CTA":O=(c=(d=t?.video)===null||d===void 0?void 0:d.bindCta)===null||c===void 0?void 0:c.itemId;const B=i?.[O];if(((p=B?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=B?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((g=B?.item)===null||g===void 0?void 0:g.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((u=B?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((h=(b=t?.video)===null||b===void 0?void 0:b.bindProducts)===null||h===void 0)&&h.length)||((T=B?.item)===null||T===void 0?void 0:T.type)==="MultiCommodityDiro"&&!(!((P=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||P===void 0)&&P.length)||((M=B?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||S===void 0)&&S.length))return null;if(B&&n){const Y=n[(x=B?.item)===null||x===void 0?void 0:x.type],de=li(Y),ie=(A=Y?.extend)===null||A===void 0?void 0:A.defaulSetting,z=((L=(k=(E=B?.item)===null||E===void 0?void 0:E.event)===null||k===void 0?void 0:k.onClick)===null||L===void 0?void 0:L.linkType)==="externalLink";return v.createElement(de,Object.assign({style:Object.assign(Object.assign(Object.assign({},ie?.style),(N=B?.item)===null||N===void 0?void 0:N.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},ie?.textStyle),(F=B?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(R=(U=B?.item)===null||U===void 0?void 0:U.bindDatas)!==null&&R!==void 0?R:[]},ie?.props,(_=B?.item)===null||_===void 0?void 0:_.props,{event:((D=B?.item)===null||D===void 0?void 0:D.event)||{},schema:o,id:B?.id,key:B?.id,recData:t,isExternalLink:z,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var qs=re($s);const Ys=({nudge:t})=>v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:t?.marginBottom,width:t?.size.width,height:t?.size.height,backgroundColor:t?.backgroundColor,borderRadius:t?.borderRadius}},t?.icon?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,v.createElement("p",{style:Object.assign({},t?.textStyle)},t?.content))),Ji=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:s=[],ctaType:r,tipText:a,nudge:d,_schema:c,hashTagStyle:p})=>{var m,f,y,g,C,u,b;const{schema:h}=je(),[T,w]=G(0),P=Q(0),[M,I]=G(!1),[S,x]=G(!0),A=Q(),E=Q(),[k,L]=G(!1),[N,F]=G(!1),{loadVideos:U,bffEventReport:R,loading:_,setPopupDetailData:D,ctaEvent:O,swiperRef:B,waterFallData:Y,setOpenHashtag:de,appDomain:ie,openHashtag:z,loadingImage:V,isFromHashtag:H,popupDetailData:ne}=ce(),{productView:Z}=Re(),te=se(()=>s.length>0&&!_&&yn(),[s,_]),le=pe(()=>{if(s.length<=0)return;he();const j=location.search.slice(1),X=ci.parse(j.replace(/\+/g,"%2B"));for(const J in X)X[J]=X[J].replace(/%2B/g,"+");const W=J=>{var oe;return(oe=X[J])!==null&&oe!==void 0?oe:""};R?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:W("utm_source"),utmMedium:W("utm_medium"),utmCampaign:W("utm_campaign"),utmId:W("utm_id"),utmContent:W("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),I(!0)},[R,s.length]),he=()=>{A.current=new Date,E.current=new Date,hn()};K(()=>{M||le()},[le,M]),K(()=>{var j;const X=s?.findIndex(W=>{var J,oe,ue,q,ae,fe,ve,Ie,De;return r==="\u591A\u5546\u54C1CTA"?((J=W?.video)===null||J===void 0?void 0:J.bindProducts)&&((ue=(oe=W?.video)===null||oe===void 0?void 0:oe.bindProducts)===null||ue===void 0?void 0:ue.length)>0:r==="\u5546\u54C1CTA"?(q=W?.video)===null||q===void 0?void 0:q.bindProduct:((fe=(ae=W?.video)===null||ae===void 0?void 0:ae.bindCta)===null||fe===void 0?void 0:fe.itemId)===r&&(((ve=W?.video)===null||ve===void 0?void 0:ve.url)||((De=(Ie=W?.video)===null||Ie===void 0?void 0:Ie.imgUrls)===null||De===void 0?void 0:De.length))})||0;(j=B?.current)===null||j===void 0||j.swiper.slideTo(X)},[r,B]),K(()=>{const j=s?.[T],X=()=>{var W,J,oe,ue,q,ae,fe,ve,Ie,De,We,$e,qe,Ye,Ve;if(document.visibilityState==="hidden"){ot.emit(Ue.PAGE_DID_HIDE,j),ze(j),at(j);let Me="";ne&&(!((J=(W=j?.video)===null||W===void 0?void 0:W.bindProducts)===null||J===void 0)&&J.length||!((oe=j?.video)===null||oe===void 0)&&oe.bindProduct)?Me="pdpPage":ne&&o?.[(ae=(q=(ue=j.video)===null||ue===void 0?void 0:ue.bindCta)===null||q===void 0?void 0:q.itemId)!==null&&ae!==void 0?ae:""].item.type==="Appoint"?Me="formPage":H?Me="hashTagPage":!((fe=j?.video)===null||fe===void 0)&&fe.url?Me="videoPage":!((ve=j?.video)===null||ve===void 0)&&ve.imgUrls&&(!((De=(Ie=j?.video)===null||Ie===void 0?void 0:Ie.imgUrls)===null||De===void 0)&&De.length)?Me="imagePage":j?.product&&(Me="productPage"),R?.({eventInfo:{sessionDuration:Math.floor((new Date-A.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",relatedContentId:(We=j?.video)===null||We===void 0?void 0:We.itemId,relatedProductId:($e=j?.product)===null||$e===void 0?void 0:$e.itemId,position:T+"",fromKName:Me,fromKPage:location?.href,relatedCtatId:(Ve=(Ye=(qe=j.video)===null||qe===void 0?void 0:qe.bindCta)===null||Ye===void 0?void 0:Ye.itemId)!==null&&Ve!==void 0?Ve:""}})}else document.visibilityState==="visible"&&(le(),Ge(T),ot.emit(Ue.PAGE_DID_SHOW,j))};return document.addEventListener("visibilitychange",X),()=>{document.removeEventListener("visibilitychange",X)}},[T,R,A,s,le,ne,H,o]);const me=se(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),Oe=se(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ke=pe((j,X)=>{var W,J,oe,ue;return!((W=j.video)===null||W===void 0)&&W.url?v.createElement(Ns,{rec:j,index:X,muted:S,data:s,height:me,activeIndex:T,videoPostConfig:t?.videoPost}):!((J=j.video)===null||J===void 0)&&J.imgUrls?v.createElement(Hs,{key:j.video.itemId,imgUrls:j.video.imgUrls,width:n,height:me,rec:j,index:X,onReportViewImageEnd:ze,onViewImageStartEvent:Ge,imgUrlsPostConfig:t?.imgUrlsPost}):j.product&&Array.isArray(t?.productPost)&&((oe=t?.productPost)===null||oe===void 0?void 0:oe.length)>0?(ue=t?.productPost)===null||ue===void 0?void 0:ue.map((q,ae)=>{var fe,ve,Ie,De,We,$e,qe,Ye;const Ve=l[(fe=q?.item)===null||fe===void 0?void 0:fe.type],Me=li(Ve),Le=(ve=Ve?.extend)===null||ve===void 0?void 0:ve.defaulSetting;return v.createElement(Me,Object.assign({key:`${X}${ae}`,textStyle:Object.assign(Object.assign({},Le?.textStyle),(Ie=q?.item)===null||Ie===void 0?void 0:Ie.textStyle),bindDatas:(We=(De=q?.item)===null||De===void 0?void 0:De.bindDatas)!==null&&We!==void 0?We:[]},Le?.props,($e=q?.item)===null||$e===void 0?void 0:$e.props,{event:((qe=q?.item)===null||qe===void 0?void 0:qe.event)||{},schema:h,id:q?.id,viewTime:E.current,rec:j,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},Le?.style),(Ye=q?.item)===null||Ye===void 0?void 0:Ye.style),{height:"100%",overflow:"auto"}),index:X}))}):null},[n,s,me,S,T,t?.productPost,E,a,l,h]),Qe=pe(j=>{F(j)},[]),lt=se(()=>N?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[N]),Ze=pe((j,X)=>{var W,J,oe,ue,q,ae,fe;return j.video?v.createElement(v.Fragment,null,((W=j.video)===null||W===void 0?void 0:W.title)&&!N&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Ys,{nudge:d}),v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(qs,{rec:j,index:X,tempMap:o,resolver:l})),v.createElement("div",null,v.createElement(Kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(oe=(J=j.video)===null||J===void 0?void 0:J.title)!==null&&oe!==void 0?oe:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Qe}),v.createElement(Gs,{index:T,tags:(q=(ue=j?.video)===null||ue===void 0?void 0:ue.hashTags)!==null&&q!==void 0?q:[],itemId:(ae=j?.video)===null||ae===void 0?void 0:ae.itemId,itemType:!((fe=j.video)===null||fe===void 0)&&fe.itemId?"VIDEO":null,rec:j,hashTagStyle:p})))):null},[e,T,o,l,a,d,p,t,Qe,N,lt]),st=pe((j,X)=>{var W,J;if(!t?.isShowLike)return;let oe=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return Y&&oe<40&&(oe+=40),j.video?v.createElement(Ls,{key:j.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:j.isCollected,recData:j,className:"clc-sxp-like-button",style:{top:oe,right:(J=t?.likeIconX)!==null&&J!==void 0?J:0},position:X}):null},[t,Y]),ze=j=>{var X,W,J,oe,ue,q;if(!(!((X=j.video)===null||X===void 0)&&X.url)&&(!((W=j.video)===null||W===void 0)&&W.imgUrls)){const ae=Date.now(),fe=(ae-P.current)/1e3;R?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(oe=(J=j.video)===null||J===void 0?void 0:J.itemId)!==null&&oe!==void 0?oe:"",contentName:(ue=j.video.title)!==null&&ue!==void 0?ue:"",imageEndTime:`${ae}`,playDuration:`${fe}`,contentTags:JSON.stringify((q=j.video.tags)!==null&&q!==void 0?q:[]),position:T+"",contentFormat:"image",traceInfo:j.video.traceInfo}})}},we=j=>{var X,W,J,oe,ue,q,ae,fe;E.current=new Date;const ve=s[j.previousIndex];ve&&(j.previousIndex-j.activeIndex<0?(R?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",relatedContentId:(W=(X=ve.video)===null||X===void 0?void 0:X.itemId)!==null&&W!==void 0?W:"",relatedProductId:(oe=(J=ve.product)===null||J===void 0?void 0:J.itemId)!==null&&oe!==void 0?oe:"",requestId:null}}),ze(ve)):(R?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",relatedContentId:(q=(ue=ve.video)===null||ue===void 0?void 0:ue.itemId)!==null&&q!==void 0?q:"",relatedProductId:(fe=(ae=ve.product)===null||ae===void 0?void 0:ae.itemId)!==null&&fe!==void 0?fe:"",requestId:null}}),ze(ve)),at(ve))},at=j=>{var X,W,J;!(!((X=j?.video)===null||X===void 0)&&X.url)&&!(!((W=j?.video)===null||W===void 0)&&W.imgUrls)&&j?.product&&Z(j,j.product,(J=j?.product)===null||J===void 0?void 0:J.bindCta,E.current,T)};K(()=>{const j=s[T];z&&at(j)},[z,s,T]);const Ge=j=>{var X,W,J,oe,ue,q;const ae=s[j];if(!(!((X=ae?.video)===null||X===void 0)&&X.url)&&(!((W=ae?.video)===null||W===void 0)&&W.imgUrls)){const fe=Date.now();P.current=fe,R?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(oe=(J=ae.video)===null||J===void 0?void 0:J.itemId)!==null&&oe!==void 0?oe:"",contentName:(ue=ae.video.title)!==null&&ue!==void 0?ue:"",imageStartTime:`${fe}`,contentTags:JSON.stringify((q=ae.video.tags)!==null&&q!==void 0?q:[]),position:j+"",contentFormat:"image",traceInfo:ae.video.traceInfo}})}},vt=se(()=>{const j=s?.map((X,W)=>T===W||W-1===T||W+1===T?X:null);return Y?j:j.concat([{loading:!0}])},[s,T,Y]),Qi=se(()=>_?v.createElement("div",{style:{height:me,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:V,alt:"loading...",style:{objectFit:"contain"}})):vt?.map((j,X)=>v.createElement(Ne,{key:X,virtualIndex:X},j&&v.createElement(v.Fragment,null,j?.loading?v.createElement("div",{style:{height:me,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:V,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,Ke(j,X),Ze(j,X),st(j,X))))),[n,s,me,_,Ze,Ke,vt,V]),Zi=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),en=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},Y&&v.createElement(qi,{icon:Ws,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{de?.(!0)}}),Oe,te?v.createElement(zs,{imageUrl:t?.swipeTipIcon}):null,v.createElement(nt,{ref:B,onActiveIndexChange:j=>{w(j.activeIndex),!z&&(we(j),!Y&&j?.activeIndex+2>=s?.length&&(k||(L(!0),U?.(Math.ceil(T/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:me},v.createElement(Bs,{style:{position:"fixed",right:(m=t?.muteIconX)!==null&&m!==void 0?m:0,visibility:!((y=(f=s?.[T])===null||f===void 0?void 0:f.video)===null||y===void 0)&&y.url?"visible":"hidden",bottom:(g=t?.muteIconY)!==null&&g!==void 0?g:23,zIndex:999},defaultValue:S,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Zi,unactiveIcon:t?.muteIcon?t?.muteIcon:en,onChange:x}),Qi),v.createElement(Yi,Object.assign({},(b=(u=(C=t?.hashTag)===null||C===void 0?void 0:C[0])===null||u===void 0?void 0:u.item)===null||b===void 0?void 0:b.props)))},Xs=()=>{const{schema:t,resolver:e,popup:i}=je(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=ce(),{productView:s}=Re(),[r,a]=G(),d=Q(null);K(()=>{const m=()=>{d.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),K(()=>{i&&i?.id&&i?.id!==""&&(d.current=new Date,a(i))},[i]);const c=()=>{var m,f,y,g;if(!i||i?.id===""||!r||new Date-d.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;a(Object.assign(Object.assign({},i),{id:""}));const C=o,u=(f=C?.video)===null||f===void 0?void 0:f.bindProduct,b=(g=(y=C?.video)===null||y===void 0?void 0:y.bindProduct)===null||g===void 0?void 0:g.bindCta;u&&b&&s(C,u,b,d.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=se(()=>{var m,f,y;return(y=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||y===void 0?void 0:y.map((g,C)=>{var u,b,h,T,w,P,M,I;if(g?.id===i?.id){const S=e[(u=g?.item)===null||u===void 0?void 0:u.type],x=li(S),A=(b=S?.extend)===null||b===void 0?void 0:b.defaulSetting;return v.createElement(x,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},A?.style),(h=g?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},A?.textStyle),(T=g?.item)===null||T===void 0?void 0:T.textStyle),bindDatas:(P=(w=g?.item)===null||w===void 0?void 0:w.bindDatas)!==null&&P!==void 0?P:[]},A?.props,(M=g?.item)===null||M===void 0?void 0:M.props,{event:((I=g?.item)===null||I===void 0?void 0:I.event)||{},schema:t,id:g?.id}))}else return v.createElement(v.Fragment,null)})},[t,i,e]);return v.createElement(It,{popup:r,onClose:c,padding:0,modalStyle:{position:"fixed"}},p)},si={};Object.values(Xi).forEach(t=>{si[t.extend.type]=t});const Js=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var s,r,a,d,c,p;const m=se(()=>{var f;return location?.search?(f=location?.search)===null||f===void 0?void 0:f.replace("?",""):""},[]);return v.createElement(Ei,{resolver:si,enableDataSource:!1,schema:t?.data,utmVal:m},v.createElement(wi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(r=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend)!==null&&r!==void 0?r:e,defaultSize:(d=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.default_recommend)!==null&&d!==void 0?d:i,hashTagSize:(p=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.hash_tag_size)!==null&&p!==void 0?p:n,loadingImage:o,appDomain:l,render:({rtcList:f})=>{var y;return v.createElement(v.Fragment,null,v.createElement(Ji,Object.assign({},(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf,{data:f,resolver:si})),v.createElement(Xs,null))}}))};var Ks=re(Js);const Ki=ct({}),Qs=({children:t,data:e})=>{var i,n,o,l,s,r;const[a,d]=G(!1);return v.createElement(Ki.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.hash_tag_size,loadingImage:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.loading_image},appDomain:e?.appDomain,openHashtag:a,setOpenHashtag:d}},t)};function Zs(){return dt(Ki)}export{Qs as EditorDataProvider,It as Modal,wi as SxpDataSourceProvider,Ks as SxpPageCore,Ji as SxpPageRender,En as core,fn as default,In as defaultSetting,Xi as materials,Zs as useEditorDataProvider};
|
6
|
+
Made in Italy`}));return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:F,className:$(Object.assign({},m))},M),O&&((l=O?.homePage)===null||l===void 0?void 0:l.length)>0&&v.createElement(nt,{height:z,modules:[zt,Vt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:h?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:h?.delay*1e3}},(s=O?.homePage)===null||s===void 0?void 0:s.map(H=>v.createElement(Ne,{key:H},v.createElement("div",{style:{overflow:"hidden",width:z,height:z}},v.createElement(ke,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:H}))))),!(!((r=O?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:$({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:$({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(a=I?.bottom_image)!==null&&a!==void 0?a:u,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:T?.title},(d=O?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!O&&(!O?.collection||O?.collection===""),style:T?.collection},O?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.price,style:T?.price},ie),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.taxInfo,style:T?.taxInfo},(c=O?.taxInfo)!==null&&c!==void 0?c:"\u7A0E\u8D39"))),(!O||O?.link)&&v.createElement("button",{onClick:de,className:"pb-commondityDiroNew-btn",style:w},(p=B?.enTitle)!==null&&p!==void 0?p:"Shop now"),V({isPost:C}))),v.createElement(It,{visible:U,onClose:()=>R(!1)},V({isPost:!1})))};var Cl=re(El);const Il=Se(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:xl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var ei,ti,Ce=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(ei=ee?.[0])===null||ei===void 0?void 0:ei.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(ti=ee?.[0])===null||ti===void 0?void 0:ti.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Dl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function $i(t){const e=Q(null),[i,n]=G(!1);return K(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),K(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Al=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:s=!1,index:r}=t;ge(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Q(null),d=$i(a),{popup:c}=je(),{setPopupDetailData:p,ctaEvent:m}=ce(),{jumpToWeb:f}=Re();K(()=>{var g,C;if(d&&a?.current){const u=(C=(g=e?.video)===null||g===void 0?void 0:g.bindProduct)!==null&&C!==void 0?C:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,r)}},[d,a,e,m,r]);const y=ht(()=>{var g,C,u,b,h,T,w,P,M,I;const S=(C=(g=e?.video)===null||g===void 0?void 0:g.bindProduct)!==null&&C!==void 0?C:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,S,r),p?.(Object.assign(Object.assign({},e),{index:r})),s){if(!((b=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||b===void 0)&&b.link){const x=(h=e?.video)===null||h===void 0?void 0:h.bindCta,A=(T=e?.video)===null||T===void 0?void 0:T.bindProduct;f(e,A,x,r),window.location.href=(P=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||P===void 0?void 0:P.link,window.location.href=window.getJointUtmLink((I=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||I===void 0?void 0:I.link)}}else o?.()},c?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:y},i)};var ft=re(Al),kl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Pl=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:y}=t,g=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=ce(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:y,rec:p,className:$(Object.assign({},d)),style:{display:"flex"}},g),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:b})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:kl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(s=u?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var _l=re(Pl);const Ol=Se(_l,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Dl,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Ml=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ll=t=>{var e,i,n,o,{content:l,style:s,bgImg:r,recData:a,bottom_image:d,ctaTempStyles:c,isExternalLink:p}=t,m=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:f}=ce(),y=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(ft,Object.assign({isExternalLink:p,rec:a,className:$(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement("img",{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:d,alt:""})),v.createElement("div",{className:$(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=y?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var jl=re(Ll);const Nl=Se(jl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ml,settingRender:Ce?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Rl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Bl=t=>{var e,i,n,o,l,{content:s,style:r,bgImg:a,recData:d,bottom_image:c,ctaTempStyles:p,index:m}=t,f=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:g}=ce(),{jumpToWeb:C}=Re(),u=(e=d?.video)===null||e===void 0?void 0:e.bindCta,b=(i=d?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{u?.link&&(C(d,b,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(ft,Object.assign({index:m,rec:d,className:$(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},f,{onClick:h}),v.createElement("div",{className:$(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&o!==void 0?o:c})),v.createElement("div",{className:$({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Rl["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var zl=re(Bl);const Vl=Se(zl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ce?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ul=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:y}=t,g=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=ce(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:y,rec:p,className:$(Object.assign({},d)),style:{display:"flex"}},g),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:b})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Hl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(s=u?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var Gl=re(Ul);const Wl=Se(Gl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Fl,settingRender:Ce,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var $l=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Yl=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:y}=t,g=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=ce(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:y,rec:p,className:$(Object.assign({},d)),style:{display:"flex"}},g),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:b})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ql["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:$(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(s=u?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&r!==void 0?r:"Shop now")))};var Xl=re(Yl);const Jl=Se(Xl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:$l,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ql=({children:t,isPadding:e=!0})=>v.createElement(nt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Hn,Fn,Vn],style:{padding:e?"0 12px 0 20px":0}},t);var Dt=re(Ql);const Zl=({src:t,rec:e,item:i,index:n})=>{const o=Q(null),l=$i(o),{ctaEvent:s}=ce();return K(()=>{l&&t&&o?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,s,i,n]),v.createElement("div",{ref:o,hidden:!t,className:$({width:"100%",height:"100%"})},v.createElement(ke,{className:$({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var ii=re(Zl),es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const ts=t=>{var e,i,{content:n,style:o,bgImg:l,recData:s,onClick:r,bottom_image:a,ctaTempStyles:d,isExternalLink:c,index:p}=t,m=ge(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:y,sxpParameter:g}=ce(),{popup:C}=je(),{jumpToWeb:u}=Re(),[b,h]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),T=ht(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,w,p),y?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:w}),index:p})),c?w?.link&&(u(s,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):r?.()},C?.duration);return v.createElement(Dt,{isPadding:!!s},b?.map(w=>{var P,M,I,S,x,A;return v.createElement(Ne,Object.assign({hidden:s&&!w?.bindCta,key:w?.itemId,className:$(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>T(w)}),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(ii,{src:(I=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:g?.bottom_image)!==null&&I!==void 0?I:a,rec:s,item:w,index:p})),v.createElement("div",{className:$({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:es["two-line-ellipsis"],style:d?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},d?.ctaTitle))},(A=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&A!==void 0?A:"Shop Now")))}))};var is=re(ts);const ns=Se(is,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Kl,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ls={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:s,onClick:r,bottom_image:a,ctaTempStyles:d,isExternalLink:c,index:p}=t,m=ge(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:f}=ce(),{ctaEvent:y,setPopupDetailData:g}=ce(),{popup:C}=je(),[u,b]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Re(),T=ht(w=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,w,p),g?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:w}),index:p})),c?w?.link&&(h(s,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):r?.()},C?.duration);return v.createElement(Dt,{isPadding:!!s},u?.map(w=>{var P,M,I,S,x,A;return v.createElement(Ne,Object.assign({hidden:s&&!w?.bindCta,key:w.itemId,className:$(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>T(w)}),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(ii,{src:(I=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&I!==void 0?I:a,rec:s,item:w,index:p})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ls["two-line-ellipsis"],style:d?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),v.createElement("div",{className:$(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d?.ctaTitle))},(A=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&A!==void 0?A:"Shop Now")))}))};var as=re(ss);const rs=Se(as,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:os,settingRender:Ce,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],cs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:s,onClick:r,bottom_image:a,ctaTempStyles:d,isExternalLink:c,index:p}=t,m=ge(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:y,sxpParameter:g}=ce(),{popup:C}=je(),{jumpToWeb:u}=Re(),[b,h]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),T=ht(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,w,p),y?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:w}),index:p})),c?w?.link&&(u(s,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):r?.()},C?.duration);return v.createElement(Dt,{isPadding:!!s},b?.map(w=>{var P,M,I,S,x,A;return v.createElement(Ne,Object.assign({hidden:s&&!w?.bindCta,key:w?.itemId,className:$(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>T(w)}),v.createElement("div",{className:$(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(ii,{src:(I=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:g?.bottom_image)!==null&&I!==void 0?I:a,rec:s,item:w,index:p})),v.createElement("div",{className:$({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:cs["tow-line-ellipsis"],style:d?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),v.createElement("div",{className:$(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d?.ctaTitle))},(A=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&A!==void 0?A:"Shop now")))}))};var ps=re(us);const fs=Se(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ds,bindableProps:[],settingRender:Ce},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var ni,oi,vs=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(ni=ee?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(oi=ee?.[0])===null||oi===void 0?void 0:oi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ms=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:s}=ce();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var qi=re(ms),hs=null,gs="3d989325-e7d6-4a74-8a97-98febdf5b567",bs=null,ys=null,ws={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},Ts=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Ss="Handbags",xs={productUserId:hs,requestId:gs,channel:bs,rtc:ys,tag:ws,recList:Ts,hashTag:Ss};const Es=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:s}=t,{swiperRef:r,setRtcList:a,setOpenHashtag:d,bffEventReport:c,sxpParameter:p}=ce(),[m,f]=G(!1),y=Q(null),g=Q(null),C=Q(null),u=Q(null),[b,h]=G(""),T=se(()=>{var S,x,A,E,k,L,N,F,U,R,_,D;return!((S=e?.video)===null||S===void 0)&&S.cover?(x=e?.video)===null||x===void 0?void 0:x.cover:!((A=e?.video)===null||A===void 0)&&A.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((L=(k=e?.video)===null||k===void 0?void 0:k.imgUrls)===null||L===void 0)&&L.length?(F=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||F===void 0?void 0:F[0]:!((R=(U=e?.product)===null||U===void 0?void 0:U.homePage)===null||R===void 0)&&R.length?(D=(_=e?.product)===null||_===void 0?void 0:_.homePage)===null||D===void 0?void 0:D[0]:p?.bottom_image||""},[e,p?.bottom_image]),w=se(()=>{var S,x;return((S=e?.product)===null||S===void 0?void 0:S.title)||((x=e?.video)===null||x===void 0?void 0:x.title)||null},[e]),P=se(()=>{var S,x,A,E,k,L,N,F,U;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((x=e?.product)===null||x===void 0)&&x.price)?`${(L=(k=(E=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||E===void 0?void 0:E.split("-")[1])===null||k===void 0?void 0:k.toUpperCase())!==null&&L!==void 0?L:""}${(U=(F=(N=e?.product)===null||N===void 0?void 0:N.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&U!==void 0?U:""}`:null},[e]);K(()=>{const S=new IntersectionObserver(x=>{x.forEach(A=>{if(A.isIntersecting){if(g.current===null||T==="")return;m&&b?y.current.setSrc(b):y.current.setSrc(T),S.unobserve(g.current)}})});return S.observe(g.current),()=>{S.disconnect()}},[T,m,b]);const M=(S,x,A)=>{const E=S/x;return A/E};K(()=>{const S=C?.current;S===null||T===""||!m||(S.src=T,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const x=u?.current;if(!x)return;const A=x.getContext("2d"),E=window?.innerWidth/2,k=M(S.videoWidth,S.videoHeight,E);x.height=k,x.width=E,A?.drawImage(S,0,0,x.width,x.height),h(x.toDataURL()),S.remove(),x.remove()})},[T,m]);const I=()=>{o(),a?.(n),setTimeout(()=>{var S;(S=r?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),d?.(!1)},0)};return v.createElement("div",{ref:g,className:"list-content-listItem",key:i,onClick:I,style:{marginBottom:s}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(ke,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${P?"list-content-listItem-info-nowrap":""}`,style:l?.title},w&&w),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!P},P)))};function Cs(t){var e,i,n,o,l,s,r,{reportTagsView:a}=t,d=ge(t,["reportTagsView"]);const{waterFallData:c,getRecommendVideos:p,hashTagSize:m,loadingImage:f,isOpenHashTag:y}=ce(),[g,C]=G(),[u,b]=G(),[h,T]=G(!1),w=Q(null),[P,M]=G(!1);pe(()=>{P||(M(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType}).then(S=>{var x;C(g?.concat((x=S?.recList)!==null&&x!==void 0?x:[])),M(!1)}))},[c,p,g,P]),K(()=>{var S,x;if(T(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(A=>{var E,k;b(A),C((k=(E=A?.recList)===null||E===void 0?void 0:E.filter(L=>L?.video!==null||L?.product!==null))!==null&&k!==void 0?k:[]),T(!1)}),y){const A=xs;b(A),C((x=(S=A?.recList)===null||S===void 0?void 0:S.filter(E=>E?.video!==null||E?.product!==null))!==null&&x!==void 0?x:[]),T(!1)}},[c,p,m,y]);const I=()=>{var S,x;!((S=u?.tag)===null||S===void 0)&&S.link&&(a(),window.location.href=(x=u?.tag)===null||x===void 0?void 0:x.link)};return v.createElement(v.Fragment,null,h?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:f,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:w,style:{bottom:!((e=u?.tag)===null||e===void 0)&&e.link?"100px":0}},v.createElement("div",{className:"list-info",style:(i=d?.textStyles)===null||i===void 0?void 0:i.hashTagDesc},(n=u?.tag)===null||n===void 0?void 0:n.info),v.createElement("div",{hidden:!(!((o=u?.tag)===null||o===void 0)&&o.link),className:"list-collection",onClick:I,style:{marginBottom:d?.space}},((l=u?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},g?.map((S,x)=>v.createElement(Es,Object.assign({key:x,index:x,rec:S,list:g,reportTagsView:a},d)))),v.createElement("div",{hidden:!P,style:{textAlign:"center"}},"loading...")),v.createElement("div",{className:"list-bottom",hidden:!(!((s=u?.tag)===null||s===void 0)&&s.link)},v.createElement("button",{className:"list-bottom-btn",style:d?.buttonStyle,onClick:I},((r=u?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection"))))}var Is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ds=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:s,cacheRtcList:r,setRtcList:a,cacheActiveIndex:d,rtcList:c,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:y}=ce();Q(null);const g=Q(null),[C,u]=G();K(()=>{const P=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?g.current=M:(g.current=document.createElement("div"),g.current.setAttribute("id","water-fall"),P?.appendChild(g.current))},[]);const b=()=>{const P=ai(c,r);!P&&r&&r?.length&&a?.(r),w(),s?.(void 0),m?.(!1),setTimeout(()=>{var M,I;P||(I=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||I===void 0||I.slideTo(d,0,!1),n?.(!1)},0)},[h,T]=G();K(()=>{i&&T(i)},[i]);const w=pe(()=>{var P,M,I,S,x,A;const E=h?.rec;if(!E)return;let k="";f?k="hashTagPage":!((P=E?.video)===null||P===void 0)&&P.url?k="videoPage":!((I=(M=E?.video)===null||M===void 0?void 0:M.imgUrls)===null||I===void 0)&&I.length&&(k="imagePage"),y?.({eventInfo:{contentId:(S=E?.video)===null||S===void 0?void 0:S.itemId,position:d+"",contentTags:JSON.stringify((x=E?.video)===null||x===void 0?void 0:x.tags),traceInfo:(A=E?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:k,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,y,C,f,d]);return K(()=>{o&&u(new Date)},[o]),K(()=>{const P=()=>{u(new Date)};return window.addEventListener("pageshow",P),()=>{window.removeEventListener("pageshow",P)}},[]),g.current?ui.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(qi,{icon:Is,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:b}),v.createElement(Cs,Object.assign({reportTagsView:w},t))),g.current):null};var Yi=re(Ds);const As=t=>v.createElement(Yi,Object.assign({},t));var ks=re(As);const Ps=Se(ks,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:vs,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25}}},w:100,h:40,sort:2});var Xi=Object.freeze({__proto__:null,Appoint:Nl,AppointForm:Pn,Commodity:Ol,CommodityDetail:hl,CommodityDetailDiroNew:Il,CommodityDiro:Wl,CommodityDiroNew:Jl,HashTag:Ps,Link:Vl,MultiCommodity:rs,MultiCommodityDiro:ns,MultiCommodityDiroNew:fs,Prompt:Sl});const _s="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Os="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ms=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,s=ge(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:r,mutateUnlike:a,bffEventReport:d}=ce(),[c,p]=G(e),m=Xe(Os),f=Xe(_s),y=At(()=>Te(void 0,void 0,void 0,function*(){var g,C,u,b,h,T,w,P,M,I,S,x,A,E,k,L,N,F,U,R;if(c){p(!1);const _=(u=yield a?.({videoItemId:(C=(g=o.video)===null||g===void 0?void 0:g.itemId)!==null&&C!==void 0?C:""}))!==null&&u!==void 0?u:!1;d?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&h!==void 0?h:"",contentName:(w=(T=o.video)===null||T===void 0?void 0:T.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((M=(P=o.video)===null||P===void 0?void 0:P.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((I=o.video)===null||I===void 0)&&I.url?"video":"image",traceInfo:(S=o.video)===null||S===void 0?void 0:S.traceInfo}}),_||p(!0)}else{p(!0);const _=(x=yield r?.({content:JSON.stringify(o)}))!==null&&x!==void 0?x:!1;d?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(E=(A=o.video)===null||A===void 0?void 0:A.itemId)!==null&&E!==void 0?E:"",contentName:(L=(k=o.video)===null||k===void 0?void 0:k.title)!==null&&L!==void 0?L:"",contentTags:JSON.stringify((F=(N=o.video)===null||N===void 0?void 0:N.tags)!==null&&F!==void 0?F:[]),position:l+"",contentFormat:!((U=o.video)===null||U===void 0)&&U.url?"video":"image",traceInfo:(R=o.video)===null||R===void 0?void 0:R.traceInfo}}),_||p(!1)}}),200);return v.createElement("button",Object.assign({},s,{onClick:y}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||f,alt:"icon"}))};var Ls=re(Ms);const ot=new sn;var Ue;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ue||(Ue={}));const js=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:s})=>{const[r,a]=G(!1),d=Q(null),{bffEventReport:c,sxpParameter:p,waterFallData:m,openHashtag:f}=ce(),y=Q(0),[g,C]=G(!1),[u,b]=G(!0),{isActive:h}=Gi(),T=Q(null),[w,P]=G("");K(()=>{d.current&&(d.current.muted=o)},[o]);const M=pe(()=>{var _;(_=d.current)===null||_===void 0||_.play()},[]),I=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=pe(()=>{var _,D,O,B,Y,de,ie,z,V,H,ne,Z,te;a(!1);const le=n[e];if(le&&(!((_=d?.current)===null||_===void 0)&&_.duration)){y.current=((D=d?.current)===null||D===void 0?void 0:D.currentTime)||0;const he=((B=(O=d.current)===null||O===void 0?void 0:O.duration)!==null&&B!==void 0?B:0).toFixed(2),me=((de=(Y=d.current)===null||Y===void 0?void 0:Y.currentTime)!==null&&de!==void 0?de:0).toFixed(2),Oe=u?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(z=(ie=le.video)===null||ie===void 0?void 0:ie.itemId)!==null&&z!==void 0?z:"",contentName:(H=(V=le.video)===null||V===void 0?void 0:V.title)!==null&&H!==void 0?H:"",playType:Oe,startTime:me,videoDuration:he,contentTags:JSON.stringify((Z=(ne=le.video)===null||ne===void 0?void 0:ne.tags)!==null&&Z!==void 0?Z:[]),position:e+"",contentFormat:"video",traceInfo:(te=le.video)===null||te===void 0?void 0:te.traceInfo}}),b(!1)}},[c,n,e,u]),x=pe(()=>{C(!0)},[]),A=pe(_=>()=>{var D,O,B,Y,de;if(!g)return;const ie=(D=d.current)===null||D===void 0?void 0:D.paused;switch(_){case"start":if(!ie)return;(O=d.current)===null||O===void 0||O.play(),a(!1);break;case"pause":if(ie)return;(B=d.current)===null||B===void 0||B.pause(),a(!0);break;default:ie?(Y=d.current)===null||Y===void 0||Y.play():(de=d.current)===null||de===void 0||de.pause(),a(!ie);break}},[g]),E=pe(()=>{var _,D,O,B,Y,de,ie,z,V,H,ne,Z,te;const le=n[e],he=((D=(_=d.current)===null||_===void 0?void 0:_.duration)!==null&&D!==void 0?D:0).toFixed(2),me=((B=(O=d.current)===null||O===void 0?void 0:O.currentTime)!==null&&B!==void 0?B:0).toFixed(2);if(!((Y=d?.current)===null||Y===void 0)&&Y.duration){const Oe=(((de=d?.current)===null||de===void 0?void 0:de.currentTime)-y.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(z=(ie=le.video)===null||ie===void 0?void 0:ie.itemId)!==null&&z!==void 0?z:"",contentName:(H=(V=le.video)===null||V===void 0?void 0:V.title)!==null&&H!==void 0?H:"",endTime:me,videoDuration:he,playDuration:Oe,contentTags:JSON.stringify((Z=(ne=le.video)===null||ne===void 0?void 0:ne.tags)!==null&&Z!==void 0?Z:[]),position:e+"",contentFormat:"video",traceInfo:(te=le.video)===null||te===void 0?void 0:te.traceInfo}})}},[n,e,c]),k=se(()=>s?.mode==="2",[s]),L=se(()=>{var _;return s?.mode==="2"?`translateY(-${50+((_=s?.offsetTop)!==null&&_!==void 0?_:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),N=se(()=>{var _;return((_=t?.video)===null||_===void 0?void 0:_.cover)||w},[w,t]),F=pe(()=>{if(!T||!d||!d.current||!T.current)return;const _=d?.current,D=T?.current,O=D.getContext("2d"),B=window?.innerWidth,Y=window?.innerHeight;D.height=Y,D.width=B,O?.drawImage(_,0,0,D.width,D.height),P(D.toDataURL())},[]);K(()=>{var _,D,O,B;if(d.current){if(a(!1),!d.current.src){const Y=t.video.url;if(Y.includes(".m3u8"))if(pi.isSupported()){const de=new pi;de.loadSource(Y),de.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=Y;else d.current.src=Y;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(_=d.current)===null||_===void 0||_.addEventListener("loadedmetadata",x),(D=d.current)===null||D===void 0||D.addEventListener("canplay",x),(O=d.current)===null||O===void 0||O.addEventListener("playing",S),(B=d.current)===null||B===void 0||B.addEventListener("loadeddata",F),()=>{var Y,de,ie,z;(Y=d.current)===null||Y===void 0||Y.removeEventListener("loadedmetadata",x),(de=d.current)===null||de===void 0||de.removeEventListener("canplay",x),(ie=d.current)===null||ie===void 0||ie.removeEventListener("playing",S),(z=d.current)===null||z===void 0||z.removeEventListener("loadeddata",F)}}},[x,S,t.video,F]),K(()=>{var _;!d?.current||!g||(h?d.current.play():(_=d.current)===null||_===void 0||_.pause())},[h,g]),K(()=>{var _,D,O;if(!h||!d?.current)return;!((_=d.current)===null||_===void 0?void 0:_.paused)&&f?(D=d.current)===null||D===void 0||D.pause():f||(O=d.current)===null||O===void 0||O.play()},[f,h]),K(()=>{if(!h)return;const _=A("start"),D=A("pause");return ot.on(Ue.PAGE_DID_SHOW,_),ot.on(Ue.PAGE_DID_HIDE,D),()=>{ot.off(Ue.PAGE_DID_SHOW,_),ot.off(Ue.PAGE_DID_HIDE,D)}},[A,h]);const U=se(()=>!p?.placeholder_image||g?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[g,p?.placeholder_image]);K(()=>{const _=()=>{var D,O;l===e&&(!((D=t?.video)===null||D===void 0)&&D.url)&&(!((O=d?.current)===null||O===void 0)&&O.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",_),()=>{window.removeEventListener("beforeunload",_)}},[l,e,t,d,A,r]);const R=se(()=>k?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[k]);return t.video?v.createElement(v.Fragment,null,k?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},v.createElement(ke,{src:N,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},R)}),v.createElement("canvas",{ref:T,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:L,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M,style:{width:"100%",height:"100%",objectFit:"contain"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:I}))),U):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M}),U,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:I}))):null};var Ns=re(js);const Rs=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,s]=G(t),r=a=>{a.stopPropagation();const d=!l;s(d),n?.(d)};return v.createElement("button",{style:o,className:"pb-toggle-button",onClick:r},v.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Bs=re(Rs);const zs=({imageUrl:t})=>{const[e,i]=G(!0);je(),K(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=se(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return v.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},v.createElement("img",{src:t||n}))},Vs=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=se(()=>n?.mode==="2",[n]),l=se(()=>{var r;return n?.mode==="2"?`translateY(-${50+((r=n?.offsetTop)!==null&&r!==void 0?r:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=se(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]);return v.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},v.createElement(ke,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s)}),o&&v.createElement(ke,{src:e,style:{width:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Fs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:s,imgUrlsPostConfig:r})=>{var a;const d=Q(),{isActive:c}=Gi(),{sxpParameter:p,openHashtag:m}=ce(),[f,y]=G(!1);return K(()=>{f&&c?(d?.current&&d.current.swiper.autoplay.start(),m?l(n):s(o)):(y(!0),d?.current&&d.current.swiper.autoplay.stop())},[n,c,l,m,o,s,f]),v.createElement(nt,{ref:d,defaultValue:0,direction:"horizontal",modules:[zt,Vt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=r?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map(g=>v.createElement(Ne,{key:g},v.createElement(Vs,{src:g,height:i,imgUrlsPostConfig:r}))))};var Hs=re(Fs);const Us=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[s,r]=G(!1),{setWaterFallData:a,setOpenHashtag:d,setCacheActiveIndex:c,waterFallData:p,setIsFromHashtag:m}=ce(),f=y=>{p?m?.(!0):c?.(n),a?.(i?{hashTag:y,itemId:e,itemType:i,rec:o}:{hashTag:y,rec:o}),d?.(!0)};return se(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>r(!s)},s?"show less":"show more"),[s,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Dt,null,t?.map((y,g)=>v.createElement(Ne,{key:g,hidden:s?!1:g>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(y)},`#${y}`))))};var Gs=re(Us),Ws="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function li(t){return re(function(e){const{$store:i}=vn(),n=l=>{let s=l;const r=l.match(/{{.*?}}/g);return r?.length&&r.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(d,c)=>{if(c){const p=ri(i,c);return s=s.replace(a,p),p}})}),s},o=se(()=>{var l,s,r;const{bindDatas:a}=e,d=ge(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,c=>{if(c?.propKey&&c?.dataPath){const{propKey:p,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,y)=>{var g,C;if(y){const u=(C=(g=ri(i,y))!==null&&g!==void 0?g:e[p])!==null&&C!==void 0?C:"";return d[p]=u,u}})}}),d){d.eventMap={};const c=rt(d.event)||{};for(const p in c)if(Object.prototype.hasOwnProperty.call(c,p))try{c[p].value=n(c[p].value),d.eventMap[p]=new Function(c[p].value)}catch{}}return!((r=(s=d?.event)===null||s===void 0?void 0:s.onClick)===null||r===void 0)&&r.linkType&&(d.style.cursor="pointer"),d},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const $s=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=je(),l=se(()=>{var s,r,a,d,c,p,m,f,y,g,C,u,b,h,T,w,P,M,I,S,x,A,E,k,L,N,F,U,R,_,D;if(!t?.video)return null;let O=null;!((r=(s=t?.video)===null||s===void 0?void 0:s.bindProducts)===null||r===void 0)&&r.length?O="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?O="\u5546\u54C1CTA":O=(c=(d=t?.video)===null||d===void 0?void 0:d.bindCta)===null||c===void 0?void 0:c.itemId;const B=i?.[O];if(((p=B?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=B?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((g=B?.item)===null||g===void 0?void 0:g.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((u=B?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((h=(b=t?.video)===null||b===void 0?void 0:b.bindProducts)===null||h===void 0)&&h.length)||((T=B?.item)===null||T===void 0?void 0:T.type)==="MultiCommodityDiro"&&!(!((P=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||P===void 0)&&P.length)||((M=B?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||S===void 0)&&S.length))return null;if(B&&n){const Y=n[(x=B?.item)===null||x===void 0?void 0:x.type],de=li(Y),ie=(A=Y?.extend)===null||A===void 0?void 0:A.defaulSetting,z=((L=(k=(E=B?.item)===null||E===void 0?void 0:E.event)===null||k===void 0?void 0:k.onClick)===null||L===void 0?void 0:L.linkType)==="externalLink";return v.createElement(de,Object.assign({style:Object.assign(Object.assign(Object.assign({},ie?.style),(N=B?.item)===null||N===void 0?void 0:N.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},ie?.textStyle),(F=B?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(R=(U=B?.item)===null||U===void 0?void 0:U.bindDatas)!==null&&R!==void 0?R:[]},ie?.props,(_=B?.item)===null||_===void 0?void 0:_.props,{event:((D=B?.item)===null||D===void 0?void 0:D.event)||{},schema:o,id:B?.id,key:B?.id,recData:t,isExternalLink:z,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var qs=re($s);const Ys=({nudge:t})=>v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:t?.marginBottom,width:t?.size.width,height:t?.size.height,backgroundColor:t?.backgroundColor,borderRadius:t?.borderRadius}},t?.icon?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,v.createElement("p",{style:Object.assign({},t?.textStyle)},t?.content))),Ji=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:s=[],ctaType:r,tipText:a,nudge:d,_schema:c,hashTagStyle:p})=>{var m,f,y,g,C,u,b;const{schema:h}=je(),[T,w]=G(0),P=Q(0),[M,I]=G(!1),[S,x]=G(!0),A=Q(),E=Q(),[k,L]=G(!1),[N,F]=G(!1),{loadVideos:U,bffEventReport:R,loading:_,setPopupDetailData:D,ctaEvent:O,swiperRef:B,waterFallData:Y,setOpenHashtag:de,appDomain:ie,openHashtag:z,loadingImage:V,isFromHashtag:H,popupDetailData:ne}=ce(),{productView:Z}=Re(),te=se(()=>s.length>0&&!_&&yn(),[s,_]),le=pe(()=>{if(s.length<=0)return;he();const j=location.search.slice(1),X=ci.parse(j.replace(/\+/g,"%2B"));for(const J in X)X[J]=X[J].replace(/%2B/g,"+");const W=J=>{var oe;return(oe=X[J])!==null&&oe!==void 0?oe:""};R?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:W("utm_source"),utmMedium:W("utm_medium"),utmCampaign:W("utm_campaign"),utmId:W("utm_id"),utmContent:W("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),I(!0)},[R,s.length]),he=()=>{A.current=new Date,E.current=new Date,hn()};K(()=>{M||le()},[le,M]),K(()=>{var j;const X=s?.findIndex(W=>{var J,oe,ue,q,ae,fe,ve,Ie,De;return r==="\u591A\u5546\u54C1CTA"?((J=W?.video)===null||J===void 0?void 0:J.bindProducts)&&((ue=(oe=W?.video)===null||oe===void 0?void 0:oe.bindProducts)===null||ue===void 0?void 0:ue.length)>0:r==="\u5546\u54C1CTA"?(q=W?.video)===null||q===void 0?void 0:q.bindProduct:((fe=(ae=W?.video)===null||ae===void 0?void 0:ae.bindCta)===null||fe===void 0?void 0:fe.itemId)===r&&(((ve=W?.video)===null||ve===void 0?void 0:ve.url)||((De=(Ie=W?.video)===null||Ie===void 0?void 0:Ie.imgUrls)===null||De===void 0?void 0:De.length))})||0;(j=B?.current)===null||j===void 0||j.swiper.slideTo(X)},[r,B]),K(()=>{const j=s?.[T],X=()=>{var W,J,oe,ue,q,ae,fe,ve,Ie,De,We,$e,qe,Ye,Ve;if(document.visibilityState==="hidden"){ot.emit(Ue.PAGE_DID_HIDE,j),ze(j),at(j);let Me="";ne&&(!((J=(W=j?.video)===null||W===void 0?void 0:W.bindProducts)===null||J===void 0)&&J.length||!((oe=j?.video)===null||oe===void 0)&&oe.bindProduct)?Me="pdpPage":ne&&o?.[(ae=(q=(ue=j.video)===null||ue===void 0?void 0:ue.bindCta)===null||q===void 0?void 0:q.itemId)!==null&&ae!==void 0?ae:""].item.type==="Appoint"?Me="formPage":H?Me="hashTagPage":!((fe=j?.video)===null||fe===void 0)&&fe.url?Me="videoPage":!((ve=j?.video)===null||ve===void 0)&&ve.imgUrls&&(!((De=(Ie=j?.video)===null||Ie===void 0?void 0:Ie.imgUrls)===null||De===void 0)&&De.length)?Me="imagePage":j?.product&&(Me="productPage"),R?.({eventInfo:{sessionDuration:Math.floor((new Date-A.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(We=j?.video)===null||We===void 0?void 0:We.itemId,productId:($e=j?.product)===null||$e===void 0?void 0:$e.itemId,position:T+"",fromKName:Me,fromKPage:location?.href,ctatId:(Ve=(Ye=(qe=j.video)===null||qe===void 0?void 0:qe.bindCta)===null||Ye===void 0?void 0:Ye.itemId)!==null&&Ve!==void 0?Ve:""}})}else document.visibilityState==="visible"&&(le(),Ge(T),ot.emit(Ue.PAGE_DID_SHOW,j))};return document.addEventListener("visibilitychange",X),()=>{document.removeEventListener("visibilitychange",X)}},[T,R,A,s,le,ne,H,o]);const me=se(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),Oe=se(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ke=pe((j,X)=>{var W,J,oe,ue;return!((W=j.video)===null||W===void 0)&&W.url?v.createElement(Ns,{rec:j,index:X,muted:S,data:s,height:me,activeIndex:T,videoPostConfig:t?.videoPost}):!((J=j.video)===null||J===void 0)&&J.imgUrls?v.createElement(Hs,{key:j.video.itemId,imgUrls:j.video.imgUrls,width:n,height:me,rec:j,index:X,onReportViewImageEnd:ze,onViewImageStartEvent:Ge,imgUrlsPostConfig:t?.imgUrlsPost}):j.product&&Array.isArray(t?.productPost)&&((oe=t?.productPost)===null||oe===void 0?void 0:oe.length)>0?(ue=t?.productPost)===null||ue===void 0?void 0:ue.map((q,ae)=>{var fe,ve,Ie,De,We,$e,qe,Ye;const Ve=l[(fe=q?.item)===null||fe===void 0?void 0:fe.type],Me=li(Ve),Le=(ve=Ve?.extend)===null||ve===void 0?void 0:ve.defaulSetting;return v.createElement(Me,Object.assign({key:`${X}${ae}`,textStyle:Object.assign(Object.assign({},Le?.textStyle),(Ie=q?.item)===null||Ie===void 0?void 0:Ie.textStyle),bindDatas:(We=(De=q?.item)===null||De===void 0?void 0:De.bindDatas)!==null&&We!==void 0?We:[]},Le?.props,($e=q?.item)===null||$e===void 0?void 0:$e.props,{event:((qe=q?.item)===null||qe===void 0?void 0:qe.event)||{},schema:h,id:q?.id,viewTime:E.current,rec:j,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},Le?.style),(Ye=q?.item)===null||Ye===void 0?void 0:Ye.style),{height:"100%",overflow:"auto"}),index:X}))}):null},[n,s,me,S,T,t?.productPost,E,a,l,h]),Qe=pe(j=>{F(j)},[]),lt=se(()=>N?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[N]),Ze=pe((j,X)=>{var W,J,oe,ue,q,ae,fe;return j.video?v.createElement(v.Fragment,null,((W=j.video)===null||W===void 0?void 0:W.title)&&!N&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Ys,{nudge:d}),v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(qs,{rec:j,index:X,tempMap:o,resolver:l})),v.createElement("div",null,v.createElement(Kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(oe=(J=j.video)===null||J===void 0?void 0:J.title)!==null&&oe!==void 0?oe:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Qe}),v.createElement(Gs,{index:T,tags:(q=(ue=j?.video)===null||ue===void 0?void 0:ue.hashTags)!==null&&q!==void 0?q:[],itemId:(ae=j?.video)===null||ae===void 0?void 0:ae.itemId,itemType:!((fe=j.video)===null||fe===void 0)&&fe.itemId?"VIDEO":null,rec:j,hashTagStyle:p})))):null},[e,T,o,l,a,d,p,t,Qe,N,lt]),st=pe((j,X)=>{var W,J;if(!t?.isShowLike)return;let oe=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return Y&&oe<40&&(oe+=40),j.video?v.createElement(Ls,{key:j.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:j.isCollected,recData:j,className:"clc-sxp-like-button",style:{top:oe,right:(J=t?.likeIconX)!==null&&J!==void 0?J:0},position:X}):null},[t,Y]),ze=j=>{var X,W,J,oe,ue,q;if(!(!((X=j.video)===null||X===void 0)&&X.url)&&(!((W=j.video)===null||W===void 0)&&W.imgUrls)){const ae=Date.now(),fe=(ae-P.current)/1e3;R?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(oe=(J=j.video)===null||J===void 0?void 0:J.itemId)!==null&&oe!==void 0?oe:"",contentName:(ue=j.video.title)!==null&&ue!==void 0?ue:"",imageEndTime:`${ae}`,playDuration:`${fe}`,contentTags:JSON.stringify((q=j.video.tags)!==null&&q!==void 0?q:[]),position:T+"",contentFormat:"image",traceInfo:j.video.traceInfo}})}},we=j=>{var X,W,J,oe,ue,q,ae,fe;E.current=new Date;const ve=s[j.previousIndex];ve&&(j.previousIndex-j.activeIndex<0?(R?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(X=ve.video)===null||X===void 0?void 0:X.itemId)!==null&&W!==void 0?W:"",productId:(oe=(J=ve.product)===null||J===void 0?void 0:J.itemId)!==null&&oe!==void 0?oe:"",requestId:null}}),ze(ve)):(R?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(q=(ue=ve.video)===null||ue===void 0?void 0:ue.itemId)!==null&&q!==void 0?q:"",productId:(fe=(ae=ve.product)===null||ae===void 0?void 0:ae.itemId)!==null&&fe!==void 0?fe:"",requestId:null}}),ze(ve)),at(ve))},at=j=>{var X,W,J;!(!((X=j?.video)===null||X===void 0)&&X.url)&&!(!((W=j?.video)===null||W===void 0)&&W.imgUrls)&&j?.product&&Z(j,j.product,(J=j?.product)===null||J===void 0?void 0:J.bindCta,E.current,T)};K(()=>{const j=s[T];z&&at(j)},[z,s,T]);const Ge=j=>{var X,W,J,oe,ue,q;const ae=s[j];if(!(!((X=ae?.video)===null||X===void 0)&&X.url)&&(!((W=ae?.video)===null||W===void 0)&&W.imgUrls)){const fe=Date.now();P.current=fe,R?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(oe=(J=ae.video)===null||J===void 0?void 0:J.itemId)!==null&&oe!==void 0?oe:"",contentName:(ue=ae.video.title)!==null&&ue!==void 0?ue:"",imageStartTime:`${fe}`,contentTags:JSON.stringify((q=ae.video.tags)!==null&&q!==void 0?q:[]),position:j+"",contentFormat:"image",traceInfo:ae.video.traceInfo}})}},vt=se(()=>{const j=s?.map((X,W)=>T===W||W-1===T||W+1===T?X:null);return Y?j:j.concat([{loading:!0}])},[s,T,Y]),Qi=se(()=>_?v.createElement("div",{style:{height:me,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:V,alt:"loading...",style:{objectFit:"contain"}})):vt?.map((j,X)=>v.createElement(Ne,{key:X,virtualIndex:X},j&&v.createElement(v.Fragment,null,j?.loading?v.createElement("div",{style:{height:me,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:V,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,Ke(j,X),Ze(j,X),st(j,X))))),[n,s,me,_,Ze,Ke,vt,V]),Zi=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),en=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},Y&&v.createElement(qi,{icon:Ws,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{de?.(!0)}}),Oe,te?v.createElement(zs,{imageUrl:t?.swipeTipIcon}):null,v.createElement(nt,{ref:B,onActiveIndexChange:j=>{w(j.activeIndex),!z&&(we(j),!Y&&j?.activeIndex+2>=s?.length&&(k||(L(!0),U?.(Math.ceil(T/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:me},v.createElement(Bs,{style:{position:"fixed",right:(m=t?.muteIconX)!==null&&m!==void 0?m:0,visibility:!((y=(f=s?.[T])===null||f===void 0?void 0:f.video)===null||y===void 0)&&y.url?"visible":"hidden",bottom:(g=t?.muteIconY)!==null&&g!==void 0?g:23,zIndex:999},defaultValue:S,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Zi,unactiveIcon:t?.muteIcon?t?.muteIcon:en,onChange:x}),Qi),v.createElement(Yi,Object.assign({},(b=(u=(C=t?.hashTag)===null||C===void 0?void 0:C[0])===null||u===void 0?void 0:u.item)===null||b===void 0?void 0:b.props)))},Xs=()=>{const{schema:t,resolver:e,popup:i}=je(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=ce(),{productView:s}=Re(),[r,a]=G(),d=Q(null);K(()=>{const m=()=>{d.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),K(()=>{i&&i?.id&&i?.id!==""&&(d.current=new Date,a(i))},[i]);const c=()=>{var m,f,y,g;if(!i||i?.id===""||!r||new Date-d.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;a(Object.assign(Object.assign({},i),{id:""}));const C=o,u=(f=C?.video)===null||f===void 0?void 0:f.bindProduct,b=(g=(y=C?.video)===null||y===void 0?void 0:y.bindProduct)===null||g===void 0?void 0:g.bindCta;u&&b&&s(C,u,b,d.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=se(()=>{var m,f,y;return(y=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||y===void 0?void 0:y.map((g,C)=>{var u,b,h,T,w,P,M,I;if(g?.id===i?.id){const S=e[(u=g?.item)===null||u===void 0?void 0:u.type],x=li(S),A=(b=S?.extend)===null||b===void 0?void 0:b.defaulSetting;return v.createElement(x,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},A?.style),(h=g?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},A?.textStyle),(T=g?.item)===null||T===void 0?void 0:T.textStyle),bindDatas:(P=(w=g?.item)===null||w===void 0?void 0:w.bindDatas)!==null&&P!==void 0?P:[]},A?.props,(M=g?.item)===null||M===void 0?void 0:M.props,{event:((I=g?.item)===null||I===void 0?void 0:I.event)||{},schema:t,id:g?.id}))}else return v.createElement(v.Fragment,null)})},[t,i,e]);return v.createElement(It,{popup:r,onClose:c,padding:0,modalStyle:{position:"fixed"}},p)},si={};Object.values(Xi).forEach(t=>{si[t.extend.type]=t});const Js=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var s,r,a,d,c,p;const m=se(()=>{var f;return location?.search?(f=location?.search)===null||f===void 0?void 0:f.replace("?",""):""},[]);return v.createElement(Ei,{resolver:si,enableDataSource:!1,schema:t?.data,utmVal:m},v.createElement(wi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(r=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend)!==null&&r!==void 0?r:e,defaultSize:(d=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.default_recommend)!==null&&d!==void 0?d:i,hashTagSize:(p=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.hash_tag_size)!==null&&p!==void 0?p:n,loadingImage:o,appDomain:l,render:({rtcList:f})=>{var y;return v.createElement(v.Fragment,null,v.createElement(Ji,Object.assign({},(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf,{data:f,resolver:si})),v.createElement(Xs,null))}}))};var Ks=re(Js);const Ki=ct({}),Qs=({children:t,data:e})=>{var i,n,o,l,s,r;const[a,d]=G(!1);return v.createElement(Ki.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.hash_tag_size,loadingImage:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.loading_image},appDomain:e?.appDomain,openHashtag:a,setOpenHashtag:d}},t)};function Zs(){return dt(Ki)}export{Qs as EditorDataProvider,It as Modal,wi as SxpDataSourceProvider,Ks as SxpPageCore,Ji as SxpPageRender,En as core,fn as default,In as defaultSetting,Xi as materials,Zs as useEditorDataProvider};
|
7
7
|
//# sourceMappingURL=index.min.js.map
|