pb-sxp-ui 1.0.36 → 1.0.38
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 +106 -447
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -6
- package/dist/index.js +106 -446
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +110 -450
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/VideoWidget/index.js +63 -58
- 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/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/es/materials/sxp/popup/CommodityDetail/index.js +6 -6
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +9 -9
- package/lib/core/components/SxpPageRender/VideoWidget/index.js +63 -58
- 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/lib/index.d.ts +0 -1
- package/lib/index.js +1 -3
- package/lib/materials/sxp/popup/CommodityDetail/index.js +6 -6
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +9 -9
- package/package.json +1 -2
- package/es/core/components/DiyPortalPreview/PictureGroup.d.ts +0 -13
- package/es/core/components/DiyPortalPreview/PictureGroup.js +0 -11
- package/es/core/components/DiyPortalPreview/VideoWidget.d.ts +0 -15
- package/es/core/components/DiyPortalPreview/VideoWidget.js +0 -236
- package/es/core/components/DiyPortalPreview/index.d.ts +0 -6
- package/es/core/components/DiyPortalPreview/index.js +0 -112
- package/lib/core/components/DiyPortalPreview/PictureGroup.d.ts +0 -13
- package/lib/core/components/DiyPortalPreview/PictureGroup.js +0 -14
- package/lib/core/components/DiyPortalPreview/VideoWidget.d.ts +0 -15
- package/lib/core/components/DiyPortalPreview/VideoWidget.js +0 -239
- package/lib/core/components/DiyPortalPreview/index.d.ts +0 -6
- package/lib/core/components/DiyPortalPreview/index.js +0 -115
package/dist/index.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import{isEmpty as ht,isEqual as ci,cloneDeep as rt,debounce as Mt,throttle as gt,get as ui}from"lodash";import{v4 as dn}from"uuid";import cn from"pako";import v,{useContext as dt,useMemo as le,createContext as ct,memo as re,useState as G,useRef as ne,useEffect as te,useCallback as de,forwardRef as bt,useImperativeHandle as pi,useLayoutEffect as un}from"react";import vi from"qs";import{css as K}from"@emotion/css";import{BetaSchemaForm as pn}from"@ant-design/pro-components";import*as fi from"react-dom";import ut from"hls.js";import vn 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 Se(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 fn=/:\w+/g;var mi=(t,e)=>Se(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(([T,y])=>{f=f.replace(fn,k=>k===T?y:k)}),c&&(f+=c),n[l]=d;try{const T=yield fetch(f,{method:s,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(y=>y.json());i[l]=T}catch(T){console.error("DataSource request error: ",T),i[l]={}}}return{$store:i,idMapName:n}});const hi="SXP_TOKEN_INFO",mn=(t,e)=>Se(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),s=window.localStorage.getItem(hi);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(hi,JSON.stringify(r))}}return r});function yt(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 hn=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},gn=()=>{const t=dn();return t?.replaceAll?t.replaceAll("-",""):hn(32)};function gi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=cn.inflate(n,{to:"string"});return JSON.parse(o)}let Lt=null;const bn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class yn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Lt)return Lt;Lt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?bn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let be=null;const wn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{be||(be=new yn),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=>Se(void 0,void 0,void 0,function*(){var l,s;const r=yield o.json(),a=gi((l=r?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:d}=yield mi(n,(s=a?.dataSource)!==null&&s!==void 0?s:[]);r.data.data=a,Object.assign(r.data.data,{__STORE__:d})}return r}))},getSxpDetailByPageId:t=>Se(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=>Se(void 0,void 0,void 0,function*(){var l;const s=yield o.json();if(!s.success)return;const r=gi((l=s?.data)===null||l===void 0?void 0:l.data);return s.data.data=r,s.data}))}),getSxpRecommendVideoData:t=>Se(void 0,void 0,void 0,function*(){if(!be)return;const e=yield mn(be,t),i=yt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ht(n)&&(n=yt(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 Re(){return dt(Ii)}function Sn(){return dt(Ei)}const jt="feRealSessionIdKey",bi=()=>{const t=gn();return`${Date.now()}${t}`},Tn=()=>{let t=En();return t||(t=bi(),window.sessionStorage.setItem(jt,t)),t},xn=()=>{const t=bi();window.sessionStorage.setItem(jt,t)},En=()=>window.sessionStorage.getItem(jt),yi="SXP_FAKE_USER_ID",wi="FAKE_USER_STATE",In=()=>{let t=window.localStorage.getItem(yi);return ht(t)&&(t=yt(36,62),window.localStorage.setItem(yi,t)),t},Cn=()=>{const t=window.localStorage.getItem(wi);return ht(t)&&window.localStorage.setItem(wi,"true"),ht(t)};function Ie(t,e){const{appDomain:i}=ue();return le(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Si=ct({rtcList:[]});var Nt;(function(t){t[t.BFF=5]="BFF"})(Nt||(Nt={}));const Dn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],_n=({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([]),[T,y]=G(!1),[k,u]=G({rtc:"",requestId:""}),w=ne(null),h=ne(!1),[b,g]=G(),[D,M]=G(),[C,x]=G(p),[S,_]=G([]),[E,A]=G(0),[L,R]=G(!1);te(()=>{x(p)},[p]);const F=le(()=>e?.find(z=>z.type===Nt.BFF),[e]),H=de((z,V)=>{if(!F)return;const q=F.url,$=In();if(V?.query){const Q=vi.stringify(V.query);z=`${z}?${Q}`}return V.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${q}/api/v1${z}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},F.headers),{"x-user-id":$}),V.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${q}/api/v1${z}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":$},F.headers),method:V.method,body:JSON.stringify(V.body)}).then(Q=>Q.json()).catch(Q=>Promise.reject(Q))},[F]),B=de(z=>Se(void 0,void 0,void 0,function*(){var V,q,$,Q;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 J=(Q=($=(q=i?.split("&"))===null||q===void 0?void 0:q.filter(pe=>{const me=pe.split("=")[0];return Dn.includes(me)}))===null||$===void 0?void 0:$.join("&"))!==null&&Q!==void 0?Q:"";z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(J)})}const ee=yield H?.("/recommend/list",{method:"GET",query:z});if(ee?.success)return z?.hashTag||u({rtc:ee.data.rtc,requestId:ee.data.requestId}),ee?.data}),[H,i,o,l]),O=de(()=>Se(void 0,void 0,void 0,function*(){var z,V;if(m.length<=0)return;const q=yield B({hashTag:D?.hashTag,"itemFilter.itemId":D?.itemId,"itemFilter.itemType":D?.itemType});f(m.concat((z=q?.recList)!==null&&z!==void 0?z:[])),_(S.concat((V=q?.recList)!==null&&V!==void 0?V:[]))}),[B,m,D,S]),j=de(({userInfo:z,eventInfo:V})=>{if(!n)return;z||(z={});const q=Tn(),$=Object.assign({sessionID:q,rtc:k.rtc,requestId:k.requestId},V),Q=Object.entries(z).map(([J,pe])=>({name:J,value:pe})),ee=Object.entries($).map(([J,pe])=>pe&&{name:J,value:pe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",$),console.log("========= \u7ED3\u675F ========="),H?.("/event/report",{method:"POST",body:{userInfo:Q,eventInfo:ee},type:"beacon"})},[H,k,n]),P=de(z=>Se(void 0,void 0,void 0,function*(){const V=yield H?.("/recommend/like",{method:"POST",body:z});return V?.success}),[H]),I=de(z=>Se(void 0,void 0,void 0,function*(){const V=yield H?.("/recommend/unlike",{method:"POST",body:z});return V?.success}),[H]),U=de(z=>Se(void 0,void 0,void 0,function*(){const V=yield H?.("/customform",{method:"POST",body:z});return V?.success}),[H]),X=de((z,V,q,$)=>{var Q,ee,J,pe,me,Te,Qe,Ze,lt,et,st,Ve;const we=q?.bindCta,at=((Q=V?.video)===null||Q===void 0?void 0:Q.bindProduct)||((ee=V?.video)===null||ee===void 0?void 0:ee.bindProducts)&&((pe=(J=V?.video)===null||J===void 0?void 0:J.bindProducts)===null||pe===void 0?void 0:pe.length)>0;let $e="";L?$e="hashTagPage":!((me=V?.video)===null||me===void 0)&&me.url?$e="videoPage":!((Qe=(Te=V?.video)===null||Te===void 0?void 0:Te.imgUrls)===null||Qe===void 0)&&Qe.length&&($e="imagePage"),j?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(Ze=we?.itemId)!==null&&Ze!==void 0?Ze:"",ctaName:(lt=we?.title)!==null&<!==void 0?lt:"",contentTags:JSON.stringify(we?.tags),position:$+"",contentId:(st=(et=V?.video)===null||et===void 0?void 0:et.itemId)!==null&&st!==void 0?st:"",productId:at?q?.itemId:"",traceInfo:(Ve=we?.traceInfo)!==null&&Ve!==void 0?Ve:"",fromKName:$e})})},[j,L]);te(()=>{y(!0),B().then(z=>{var V,q;f((V=z?.recList)!==null&&V!==void 0?V:[]),_((q=z?.recList)!==null&&q!==void 0?q:[])}).finally(()=>{y(!1),h.current=!0})},[]),te(()=>{h.current&&(y(!0),B().then(z=>{var V,q;f((V=z?.recList)!==null&&V!==void 0?V:[]),_((q=z?.recList)!==null&&q!==void 0?q:[])}).finally(()=>{y(!1)}))},[B]);const Y=Ie("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(Si.Provider,{value:{rtcList:m,setRtcList:f,mutateLike:P,mutateUnlike:I,submitForm:U,popupDetailData:b,loadVideos:O,setPopupDetailData:g,getRecommendVideos:B,bffEventReport:j,utmVal:i,isPreview:s,loading:T,sxpParameter:r,waterFallData:D,setWaterFallData:M,ctaEvent:X,swiperRef:w,openHashtag:C,setOpenHashtag:x,cacheRtcList:S,setCacheRtcList:_,cacheActiveIndex:E,setCacheActiveIndex:A,isFromHashtag:L,setIsFromHashtag:R,appDomain:a,hashTagSize:d,loadingImage:c??Y,isOpenHashTag:p}},t({rtcList:m,mutateLike:P,mutateUnlike:I,submitForm:U}))};var Ti=re(_n);function ue(){return dt(Si)}var xi;(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"})(xi||(xi={}));const Ei=ct({$store:{},options:[],configs:[]}),kn=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=Re(),[s,r]=G(l.__STORE__||{}),[a,d]=G([]);te(()=>{var m;e||ci(a,l?.dataSource)||d((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=de(()=>Se(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield mi("",a);r(m),p(m,f)}),[a]),p=(m,f)=>{const T=[];Object.entries(m).forEach(([y,k])=>{Object.keys(k).forEach(u=>{const w={label:`${f[y]} - ${u}`,value:`{{ ${y}.${u} }}`};T.push(w)})}),o(T)};return te(()=>{e||c()},[c,e,l]),i?v.createElement(Ei.Provider,{value:{$store:l.__STORE__||s,options:n,configs:a}},t):t};var An=re(kn);const wt={id:yt(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},Rt={id:"",duration:0,name:"none"},Ii=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[wt],redoStack:[],popup:Rt,setPopup:()=>{}}),Ci=bt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},s)=>{const[r,a]=G(null),[d,c]=G(n||{pointData:[wt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=G([wt]),[f,T]=G([[wt]]),[y,k]=G([]),[u,w]=G(Rt);typeof window<"u"&&(window.sxpPopup=(M,C)=>{w(Object.assign(Object.assign(Object.assign({},Rt),{id:M}),C))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),te(()=>{T([d.pointData]),k([])},[d.type]);const h=de(M=>{const C=rt(d);C&&(C.dataSource=M,c?.(C))},[d]),[b,g]=G();pi(s,()=>({loadSchema(M){M&&(T([M.pointData]),c(M))},exportSchema(){return rt(d)},getPageInfoData(){return b},initPageInfoData(M){M&&g(M)}}));const D=le(()=>{if(d)return d.type==="PC"?d.pcPageConf:d.mobilePageConf},[d]);return v.createElement(Ii.Provider,{value:{resolver:e,currentNode:r,schema:d,setCurrentNode:a,setSchema:c,saveDataSource:h,prePiontData:p,setPrePiontData:m,pageInfoData:b,setPageInfoData:M=>g(Object.assign(Object.assign({},b),M)),undoStack:f,redoStack:y,setRedoStack:k,setUndoStack:T,getCurPageConf:D,popup:u,setPopup:w}},v.createElement(An,{isSsr:i,enable:o},t))});var Pn=Object.freeze({__proto__:null,EditorCore:Ci}),On=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const se=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var Mn={fontOptions:se},Bt,Ln=[{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:se,initialValue:(Bt=se?.[0])===null||Bt===void 0?void 0:Bt.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 jn=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}=ue(),m=ne(),[f,T]=G(!1),y=le(()=>[{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"}],[]),k=le(()=>{if(a===void 0){const w=rt(e)||y;return w?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return rt(e)||y},[a,e,y]),u=Mt(()=>Se(void 0,void 0,void 0,function*(){var w,h,b;T(!0);const g=yield(w=m?.current)===null||w===void 0?void 0:w.getFieldsValue(),D=(b=(h=Object.keys(g))===null||h===void 0?void 0:h.map(C=>({name:C,value:g[C]})))===null||b===void 0?void 0:b.filter(C=>C?.value);if(!D||!D?.length)return;const M=yield p?.({attributes:D});T(!1),M&&(window?.sxpPopup(""),M&&d?.())}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${K(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:K(Object.assign({},i))},c),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement(pn,{columns:k,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 Nn=re(jn);function xe(t,e){return t.extend=e,t}const Rn=xe(Nn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Ln,bindableProps:[],interactionRender:On},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 zt,Vt,Bn=[{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:se,name:["fontFamily"],initialValue:(zt=se?.[0])===null||zt===void 0?void 0:zt.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:se,initialValue:(Vt=se?.[0])===null||Vt===void 0?void 0:Vt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Di(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ft(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Di(e[i])&&Di(t[i])&&Object.keys(e[i]).length>0&&Ft(t[i],e[i])})}const _i={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 Pe(){const t=typeof document<"u"?document:{};return Ft(t,_i),t}const zn={document:_i,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 Ft(t,zn),t}function He(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Vn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function tt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ce(){return Date.now()}function Fn(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 Hn(t,e){e===void 0&&(e="x");const i=ye();let n,o,l;const s=Fn(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 St(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Un(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ee(){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&&!Un(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&&(St(t[r])&&St(n[r])?n[r].__swiper__?t[r]=n[r]:Ee(t[r],n[r]):!St(t[r])&&St(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:Ee(t[r],n[r])):t[r]=n[r])}}}return t}function Tt(t,e,i){t.style.setProperty(e,i)}function ki(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 T=l+f*(i-l);if(c(T,i)&&(T=i),e.wrapperEl.scrollTo({[n]:T}),c(T,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:T})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function Oe(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function xt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:He(e)),i}function Gn(t){const e=ye(),i=Pe(),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 $n(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 Wn(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 Ue(t,e){return ye().getComputedStyle(t,null).getPropertyValue(e)}function Et(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 Ht(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Ut(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 Me(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function qn(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=Ce(),a;const d=[];function c(h){let M=0,C=0,x=0,S=0;return"detail"in h&&(C=h.detail),"wheelDelta"in h&&(C=-h.wheelDelta/120),"wheelDeltaY"in h&&(C=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=C,C=0),x=M*10,S=C*10,"deltaY"in h&&(S=h.deltaY),"deltaX"in h&&(x=h.deltaX),h.shiftKey&&!x&&(x=S,S=0),(x||S)&&h.deltaMode&&(h.deltaMode===1?(x*=40,S*=40):(x*=800,S*=800)),x&&!M&&(M=x<1?-1:1),S&&!C&&(C=S<1?-1:1),{spinX:M,spinY:C,pixelX:x,pixelY:S}}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&&Ce()-r<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ce()-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 T(h){const b=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&b.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&b.releaseOnEdges)return!0;return!1}function y(h){let b=h,g=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const D=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const C=M&&M.contains(b.target);if(!e.mouseEntered&&!C&&!D.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let x=0;const S=e.rtlTranslate?-1:1,_=c(b);if(D.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))x=-_.pixelX*S;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))x=-_.pixelY;else return!0;else x=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*S:-_.pixelY;if(x===0)return!0;D.invert&&(x=-x);let E=e.getTranslate()+x*D.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),g=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),g&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const A={time:Ce(),delta:Math.abs(x),direction:Math.sign(x),raw:h};d.length>=2&&d.shift();const L=d.length?d[d.length-1]:void 0;if(d.push(A),L?(A.direction!==L.direction||A.delta>L.delta||A.time>L.time+150)&&f(A):f(A),T(A))return!0}else{const A={time:Ce(),delta:Math.abs(x),direction:Math.sign(x)},L=a&&A.time<a.time+500&&A.delta<=a.delta&&A.direction===a.direction;if(!L){a=void 0;let R=e.getTranslate()+x*D.sensitivity;const F=e.isBeginning,H=e.isEnd;if(R>=e.minTranslate()&&(R=e.minTranslate()),R<=e.maxTranslate()&&(R=e.maxTranslate()),e.setTransition(0),e.setTranslate(R),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:A.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,d.length>=15&&d.shift();const B=d.length?d[d.length-1]:void 0,O=d[0];if(d.push(A),B&&(A.delta>B.delta||A.direction!==B.direction))d.splice(0);else if(d.length>=15&&A.time-O.time<500&&O.delta-A.delta>=1&&A.delta<=6){const j=x>0?.8:.2;a=A,d.splice(0),s=tt(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}s||(s=tt(()=>{a=A,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(L||o("scroll",b),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),D.releaseOnEdges&&(R===e.minTranslate()||R===e.maxTranslate()))return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function k(h){let b=e.el;e.params.mousewheel.eventsTarget!=="container"&&(b=document.querySelector(e.params.mousewheel.eventsTarget)),b[h]("mouseenter",p),b[h]("mouseleave",m),b[h]("wheel",y)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",y),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,y),!0):e.mousewheel.enabled?(k("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:u,disable:w})}function Pi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Oe(t.el,`.${n[o]}`)[0];l||(l=pt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function it(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function It(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,w){const{bulletActiveClass:h}=e.params.pagination;u&&(u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${h}-${w}`),u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${h}-${w}-${w}`)))}function c(u){const w=u.target.closest(it(e.params.pagination.bulletClass));if(!w)return;u.preventDefault();const h=Et(w)*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,w=e.params.pagination;if(a())return;let h=e.pagination.el;h=Me(h);let b,g;const D=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(D/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(g=e.previousRealIndex||0,b=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(b=e.snapIndex,g=e.previousSnapIndex):(g=e.previousIndex||0,b=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let x,S,_;if(w.dynamicBullets&&(s=Ut(C[0],e.isHorizontal()?"width":"height",!0),h.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${s*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&g!==void 0&&(r+=b-(g||0),r>w.dynamicMainBullets-1?r=w.dynamicMainBullets-1:r<0&&(r=0)),x=Math.max(b-r,0),S=x+(Math.min(C.length,w.dynamicMainBullets)-1),_=(S+x)/2),C.forEach(E=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${w.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();E.classList.remove(...A)}),h.length>1)C.forEach(E=>{const A=Et(E);A===b?E.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),w.dynamicBullets&&(A>=x&&A<=S&&E.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),A===x&&d(E,"prev"),A===S&&d(E,"next"))});else{const E=C[b];if(E&&E.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&C.forEach((A,L)=>{A.setAttribute("part",L===b?"bullet-active":"bullet")}),w.dynamicBullets){const A=C[x],L=C[S];for(let R=x;R<=S;R+=1)C[R]&&C[R].classList.add(...`${w.bulletActiveClass}-main`.split(" "));d(A,"prev"),d(L,"next")}}if(w.dynamicBullets){const E=Math.min(C.length,w.dynamicMainBullets+4),A=(s*E-s)/2-_*s,L=u?"right":"left";C.forEach(R=>{R.style[e.isHorizontal()?L:"top"]=`${A}px`})}}h.forEach((C,x)=>{if(w.type==="fraction"&&(C.querySelectorAll(it(w.currentClass)).forEach(S=>{S.textContent=w.formatFractionCurrent(b+1)}),C.querySelectorAll(it(w.totalClass)).forEach(S=>{S.textContent=w.formatFractionTotal(M)})),w.type==="progressbar"){let S;w.progressbarOpposite?S=e.isHorizontal()?"vertical":"horizontal":S=e.isHorizontal()?"horizontal":"vertical";const _=(b+1)/M;let E=1,A=1;S==="horizontal"?E=_:A=_,C.querySelectorAll(it(w.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${A})`,L.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(C.innerHTML=w.renderCustom(e,b+1,M),x===0&&o("paginationRender",C)):(x===0&&o("paginationRender",C),o("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](w.lockClass)})}function m(){const u=e.params.pagination;if(a())return;const w=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=Me(h);let b="";if(u.type==="bullets"){let g=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&g>w&&(g=w);for(let D=0;D<g;D+=1)u.renderBullet?b+=u.renderBullet.call(e,D,u.bulletClass):b+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?b=u.renderFraction.call(e,u.currentClass,u.totalClass):b=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?b=u.renderProgressbar.call(e,u.progressbarFillClass):b=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(g=>{u.type!=="custom"&&(g.innerHTML=b||""),u.type==="bullets"&&e.pagination.bullets.push(...g.querySelectorAll(it(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",h[0])}function f(){e.params.pagination=Pi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let w;typeof u.el=="string"&&e.isElement&&(w=e.el.querySelector(u.el)),!w&&typeof u.el=="string"&&(w=[...document.querySelectorAll(u.el)]),w||(w=u.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(u.el)],w.length>1&&(w=w.filter(h=>Ai(h,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Me(w),w.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 T(){const u=e.params.pagination;if(a())return;let w=e.pagination.el;w&&(w=Me(w),w.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:w}=e.pagination;w=Me(w),w.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?k():(f(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{T()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Me(u),u.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,w)=>{const h=w.target,b=Me(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&b&&b.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 g=b[0].classList.contains(e.params.pagination.hiddenClass);o(g===!0?"paginationShow":"paginationHide"),b.forEach(D=>D.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Me(u),u.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),p()},k=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Me(u),u.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),T()};Object.assign(e.pagination,{enable:y,disable:k,render:m,update:p,init:f,destroy:T})}function Yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Pe();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:A}=e,{dragEl:L,el:R}=E,F=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let B=c,O=(p-c)*H;A?(O=-O,O>0?(B=c-O,O=0):-O+c>p&&(B=p+O)):O<0?(B=c+O,O=0):O+c>p&&(B=p-O),e.isHorizontal()?(L.style.transform=`translate3d(${O}px, 0, 0)`,L.style.width=`${B}px`):(L.style.transform=`translate3d(0px, ${O}px, 0)`,L.style.height=`${B}px`),F.hide&&(clearTimeout(r),R.style.opacity=1,r=setTimeout(()=>{R.style.opacity=0,R.style.transitionDuration="400ms"},1e3))}function T(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E}=e,{dragEl:A,el:L}=E;A.style.width="",A.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()?A.style.width=`${c}px`:A.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 k(E){return e.isHorizontal()?E.clientX:E.clientY}function u(E){const{scrollbar:A,rtlTranslate:L}=e,{el:R}=A;let F;F=(k(E)-Gn(R)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(p-c),F=Math.max(Math.min(F,1),0),L&&(F=1-F);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function w(E){const A=e.params.scrollbar,{scrollbar:L,wrapperEl:R}=e,{el:F,dragEl:H}=L;s=!0,d=E.target===H?k(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),R.style.transitionDuration="100ms",H.style.transitionDuration="100ms",u(E),clearTimeout(a),F.style.transitionDuration="0ms",A.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function h(E){const{scrollbar:A,wrapperEl:L}=e,{el:R,dragEl:F}=A;s&&(E.preventDefault?E.preventDefault():E.returnValue=!1,u(E),L.style.transitionDuration="0ms",R.style.transitionDuration="0ms",F.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function b(E){const A=e.params.scrollbar,{scrollbar:L,wrapperEl:R}=e,{el:F}=L;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",R.style.transitionDuration=""),A.hide&&(clearTimeout(a),a=tt(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),A.snapOnRelease&&e.slideToClosest())}function g(E){const{scrollbar:A,params:L}=e,R=A.el;if(!R)return;const F=R,H=L.passiveListeners?{passive:!1,capture:!1}:!1,B=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const O=E==="on"?"addEventListener":"removeEventListener";F[O]("pointerdown",w,H),l[O]("pointermove",h,H),l[O]("pointerup",b,B)}function D(){!e.params.scrollbar.el||!e.scrollbar.el||g("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||g("off")}function C(){const{scrollbar:E,el:A}=e;e.params.scrollbar=Pi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let R;if(typeof L.el=="string"&&e.isElement&&(R=e.el.querySelector(L.el)),!R&&typeof L.el=="string"){if(R=l.querySelectorAll(L.el),!R.length)return}else R||(R=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&R.length>1&&A.querySelectorAll(L.el).length===1&&(R=A.querySelector(L.el)),R.length>0&&(R=R[0]),R.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let F;R&&(F=R.querySelector(it(e.params.scrollbar.dragClass)),F||(F=pt("div",e.params.scrollbar.dragClass),R.append(F))),Object.assign(E,{el:R,dragEl:F}),L.draggable&&D(),R&&R.classList[e.enabled?"remove":"add"](...He(e.params.scrollbar.lockClass))}function x(){const E=e.params.scrollbar,A=e.scrollbar.el;A&&A.classList.remove(...He(e.isHorizontal()?E.horizontalClass:E.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:A}=e.scrollbar;A=Me(A),A.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?_():(C(),y(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{y()}),n("setTranslate",()=>{f()}),n("setTransition",(E,A)=>{T(A)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...He(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const S=()=>{e.el.classList.remove(...He(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...He(e.params.scrollbar.scrollbarDisabledClass)),C(),y(),f()},_=()=>{e.el.classList.add(...He(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...He(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:S,disable:_,updateSize:y,setTranslate:f,init:C,destroy:x})}function Ct(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,T,y,k,u,w;function h(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!w&&S())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(d=c,m=!1);const B=e.autoplay.paused?c:p+d-new Date().getTime();e.autoplay.timeLeft=B,o("autoplayTimeLeft",B,B/a),r=requestAnimationFrame(()=>{b()})},g=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},D=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(r),b();let O=typeof B>"u"?e.params.autoplay.delay:B;a=e.params.autoplay.delay,d=e.params.autoplay.delay;const j=g();!Number.isNaN(j)&&j>0&&typeof B>"u"&&(O=j,a=j,d=j),c=O;const P=e.params.speed,I=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,P,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,P,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{D()})))};return O>0?(clearTimeout(s),s=setTimeout(()=>{I()},O)):requestAnimationFrame(()=>{I()}),O},M=()=>{p=new Date().getTime(),e.autoplay.running=!0,D(),o("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(r),o("autoplayStop")},x=(B,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),B||(u=!0);const j=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):S()};if(e.autoplay.paused=!0,O){k&&(c=e.params.autoplay.delay),k=!1,j();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),j())},S=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,D(c)):D(),e.autoplay.paused=!1,o("autoplayResume"))},_=()=>{if(e.destroyed||!e.autoplay.running)return;const B=Pe();B.visibilityState==="hidden"&&(u=!0,x(!0)),B.visibilityState==="visible"&&S()},E=B=>{B.pointerType==="mouse"&&(u=!0,w=!0,!(e.animating||e.autoplay.paused)&&x(!0))},A=B=>{B.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&S())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",A))},R=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",A)},F=()=>{Pe().addEventListener("visibilitychange",_)},H=()=>{Pe().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(L(),F(),M())}),n("destroy",()=>{R(),H(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(T||u)&&S()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():x(!0,!0)}),n("beforeTransitionStart",(B,O,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?x(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}f=!0,T=!1,u=!1,y=setTimeout(()=>{u=!0,T=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(y),clearTimeout(s),e.params.autoplay.disableOnInteraction){T=!1,f=!1;return}T&&e.params.cssMode&&S(),T=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:M,stop:C,pause:x,resume:S})}function Xn(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:Ce()})}function r(a){let{currentPos:d}=a;if(e.params.cssMode)return;const{params:c,wrapperEl:p,rtlTranslate:m,snapGrid:f,touchEventsData:T}=e,k=Ce()-T.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(T.velocities.length>1){const C=T.velocities.pop(),x=T.velocities.pop(),S=C.position-x.position,_=C.time-x.time;e.velocity=S/_,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(_>150||Ce()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,T.velocities.length=0;let u=1e3*c.freeMode.momentumRatio;const w=e.velocity*u;let h=e.translate+w;m&&(h=-h);let b=!1,g;const D=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-D&&(h=e.maxTranslate()-D),g=e.maxTranslate(),b=!0,T.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>D&&(h=e.minTranslate()+D),g=e.minTranslate(),b=!0,T.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let C;for(let x=0;x<f.length;x+=1)if(f[x]>-h){C=x;break}Math.abs(f[C]-h)<Math.abs(f[C-1]-h)||e.swipeDirection==="next"?h=f[C]:h=f[C-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 C=Math.abs((m?-h:h)-e.translate),x=e.slidesSizesGrid[e.activeIndex];C<x?u=c.speed:C<2*x?u=c.speed*1.5:u=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&b?(e.updateProgress(g),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ht(p,()=>{!e||e.destroyed||!T.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(g),Ht(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,Ht(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||k>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:s,onTouchEnd:r}})}let Gt;function Jn(){const t=ye(),e=Pe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Oi(){return Gt||(Gt=Jn()),Gt}let $t;function Kn(t){let{userAgent:e}=t===void 0?{}:t;const i=Oi(),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 T=o==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&T&&i.touch&&y.indexOf(`${r}x${a}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),T=!1),d&&!f&&(s.os="android",s.android=!0),(c||m||p)&&(s.os="ios",s.ios=!0),s}function Mi(t){return t===void 0&&(t={}),$t||($t=Kn(t)),$t}let Wt;function Qn(){const t=ye(),e=Mi();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 Zn(){return Wt||(Wt=Qn()),Wt}function eo(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 T=m,y=f;p.forEach(k=>{let{contentBoxSize:u,contentRect:w,target:h}=k;h&&h!==e.el||(T=w?w.width:(u[0]||u).inlineSize,y=w?w.height:(u[0]||u).blockSize)}),(T!==m||y!==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 to(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(T=>{if(e.__preventObserver__)return;if(T.length===1){o("observerUpdate",T[0]);return}const y=function(){o("observerUpdate",T[0])};s.requestAnimationFrame?s.requestAnimationFrame(y):s.setTimeout(y,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 io={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 no(){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(Ue(n,"padding-left")||0,10)-parseInt(Ue(n,"padding-right")||0,10),i=i-parseInt(Ue(n,"padding-top")||0,10)-parseInt(Ue(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 oo(){const t=this;function e(S,_){return parseFloat(S.getPropertyValue(t.getDirectionLabel(_))||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=Oe(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:c.length;let m=[];const f=[],T=[];let y=i.slidesOffsetBefore;typeof y=="function"&&(y=i.slidesOffsetBefore.call(t));let k=i.slidesOffsetAfter;typeof k=="function"&&(k=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,w=t.slidesGrid.length;let h=i.spaceBetween,b=-y,g=0,D=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(S=>{s?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.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 C;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(S=>typeof i.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S<p;S+=1){C=0;let _;if(c[S]&&(_=c[S]),M&&t.grid.updateSlide(S,_,c),!(c[S]&&Ue(_,"display")==="none")){if(i.slidesPerView==="auto"){x&&(c[S].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(_),A=_.style.transform,L=_.style.webkitTransform;if(A&&(_.style.transform="none"),L&&(_.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?Ut(_,"width",!0):Ut(_,"height",!0);else{const R=e(E,"width"),F=e(E,"padding-left"),H=e(E,"padding-right"),B=e(E,"margin-left"),O=e(E,"margin-right"),j=E.getPropertyValue("box-sizing");if(j&&j==="border-box")C=R+B+O;else{const{clientWidth:P,offsetWidth:I}=_;C=R+F+H+B+O+(I-P)}}A&&(_.style.transform=A),L&&(_.style.webkitTransform=L),i.roundLengths&&(C=Math.floor(C))}else C=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),c[S]&&(c[S].style[t.getDirectionLabel("width")]=`${C}px`);c[S]&&(c[S].swiperSlideSize=C),T.push(C),i.centeredSlides?(b=b+C/2+g/2+h,g===0&&S!==0&&(b=b-l/2-h),S===0&&(b=b-l/2-h),Math.abs(b)<1/1e3&&(b=0),i.roundLengths&&(b=Math.floor(b)),D%i.slidesPerGroup===0&&m.push(b),f.push(b)):(i.roundLengths&&(b=Math.floor(b)),(D-Math.min(t.params.slidesPerGroupSkip,D))%t.params.slidesPerGroup===0&&m.push(b),f.push(b),b=b+C+h),t.virtualSize+=C+h,g=C,D+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+k,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(C,m),!i.centeredSlides){const S=[];for(let _=0;_<m.length;_+=1){let E=m[_];i.roundLengths&&(E=Math.floor(E)),m[_]<=t.virtualSize-l&&S.push(E)}m=S,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const S=T[0]+h;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=S*i.slidesPerGroup;for(let A=0;A<_;A+=1)m.push(m[m.length-1]+E)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+S),f.push(f[f.length-1]+S),t.virtualSize+=S}if(m.length===0&&(m=[0]),h!==0){const S=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");c.filter((_,E)=>!i.cssMode||i.loop?!0:E!==c.length-1).forEach(_=>{_.style[S]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let S=0;T.forEach(E=>{S+=E+(h||0)}),S-=h;const _=S-l;m=m.map(E=>E<=0?-y:E>_?_+k:E)}if(i.centerInsufficientSlides){let S=0;if(T.forEach(_=>{S+=_+(h||0)}),S-=h,S<l){const _=(l-S)/2;m.forEach((E,A)=>{m[A]=E-_}),f.forEach((E,A)=>{f[A]=E+_})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:T}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Tt(n,"--swiper-centered-offset-before",`${-m[0]}px`),Tt(n,"--swiper-centered-offset-after",`${t.size/2-T[T.length-1]/2}px`);const S=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+S),t.slidesGrid=t.slidesGrid.map(E=>E+_)}if(p!==d&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const S=`${i.containerModifierClass}backface-hidden`,_=t.el.classList.contains(S);p<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(S):_&&t.el.classList.remove(S)}}function lo(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 so(){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 ao(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),T=f+e.slidesSizesGrid[a],y=f>=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f<e.size-1||T>1&&T<=e.size||f<=0&&T>=e.size)&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a),n[a].classList.add(i.slideVisibleClass)),y&&n[a].classList.add(i.slideFullyVisibleClass),d.progress=o?-p:p,d.originalProgress=o?-m:m}}function ro(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],T=e.slidesGrid[e.slidesGrid.length-1],y=Math.abs(t);y>=m?r=(y-m)/T:r=(y+T-f)/T,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 co(){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=>Oe(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=Wn(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),d=$n(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d===0&&(d=e[e.length-1]),d&&d.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Dt=(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()}},qt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Yt=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)&&qt(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)&&qt(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)&&qt(t,s)};function uo(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 po(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 T=f-e.virtual.slidesBefore;return T<0&&(T=e.virtual.slides.length+T),T>=e.virtual.slides.length&&(T-=e.virtual.slides.length),T};if(typeof a>"u"&&(a=uo(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(y=>y.column===a)[0];let T=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(T)&&(T=Math.max(e.slides.indexOf(f),0)),m=Math.floor(T/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&&Yt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function vo(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 fo={updateSize:no,updateSlides:oo,updateAutoHeight:lo,updateSlidesOffset:so,updateSlidesProgress:ao,updateProgress:ro,updateSlidesClasses:co,updateActiveIndex:po,updateClickedSlide:vo};function mo(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=Hn(l,t);return s+=e.cssOverflowAdjustment(),n&&(s=-s),s||0}function ho(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 go(){return-this.snapGrid[0]}function bo(){return-this.snapGrid[this.snapGrid.length-1]}function yo(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 ki({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 wo={getTranslate:mo,setTranslate:ho,minTranslate:go,maxTranslate:bo,translateTo:yo};function So(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 Li(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 To(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Li({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function xo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Li({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Eo={setTransition:So,transitionStart:To,transitionEnd:xo};function Io(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:T}=l;if(l.animating&&r.preventInteractionOnTransition||!T&&!n&&!o||l.destroyed)return!1;const y=Math.min(l.params.slidesPerGroupSkip,s);let k=y+Math.floor((s-y)/l.params.slidesPerGroup);k>=a.length&&(k=a.length-1);const u=-a[k];if(r.normalizeSlideIndex)for(let h=0;h<d.length;h+=1){const b=-Math.floor(u*100),g=Math.floor(d[h]*100),D=Math.floor(d[h+1]*100);typeof d[h+1]<"u"?b>=g&&b<D-(D-g)/2?s=h:b>=g&&b<D&&(s=h+1):b>=g&&(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 w;if(s>p?w="next":s<p?w="prev":w="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),w!=="reset"&&(l.transitionStart(i,w),l.transitionEnd(i,w)),!1;if(r.cssMode){const h=l.isHorizontal(),b=m?u:-u;if(e===0){const g=l.virtual&&l.params.virtual.enabled;g&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),g&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[h?"scrollLeft":"scrollTop"]=b})):f[h?"scrollLeft":"scrollTop"]=b,g&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return ki({swiper:l,targetPosition:b,side:h?"left":"top"}),!0;f.scrollTo({[h?"left":"top"]:b,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(s),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,w),e===0?l.transitionEnd(i,w):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(b){!l||l.destroyed||b.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,w))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Co(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 Do(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 _o(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),T=l.map(u=>m(u));let y=l[T.indexOf(f)-1];if(typeof y>"u"&&o.cssMode){let u;l.forEach((w,h)=>{f>=w&&(u=h)}),typeof u<"u"&&(y=l[u>0?u-1:u])}let k=0;if(typeof y<"u"&&(k=s.indexOf(y),k<0&&(k=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(k=k-n.slidesPerViewDynamic("previous",!0)+1,k=Math.max(k,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(k,t,e,i)}),!0;return n.slideTo(k,t,e,i)}function ko(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 Ao(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 Po(){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(Oe(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),tt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Oe(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),tt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Oo={slideTo:Io,slideToLoop:Co,slideNext:Do,slidePrev:_o,slideReset:ko,slideToClosest:Ao,slideToClickedSlide:Po};function Mo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Oe(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?pt("swiper-slide",[i.slideBlankClass]):pt("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 xt("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 xt("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 Lo(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:T}=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 y=f.slidesPerView;y==="auto"?y=a.slidesPerViewDynamic():(y=Math.ceil(parseFloat(f.slidesPerView,10)),T&&y%2===0&&(y=y+1));const k=f.slidesPerGroupAuto?y:f.slidesPerGroup;let u=k;u%k!==0&&(u+=k-u%k),u+=f.loopAdditionalSlides,a.loopedSlides=u;const w=a.grid&&f.grid&&f.grid.rows>1;d.length<y+u?xt("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"):w&&f.grid.fill==="row"&&xt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],b=[];let g=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(d.filter(A=>A.classList.contains(f.slideActiveClass))[0]):g=l;const D=n==="next"||!n,M=n==="prev"||!n;let C=0,x=0;const S=w?Math.ceil(d.length/f.grid.rows):d.length,E=(w?d[l].column:l)+(T&&typeof o>"u"?-y/2+.5:0);if(E<u){C=Math.max(u-E,k);for(let A=0;A<u-E;A+=1){const L=A-Math.floor(A/S)*S;if(w){const R=S-L-1;for(let F=d.length-1;F>=0;F-=1)d[F].column===R&&h.push(F)}else h.push(S-L-1)}}else if(E+y>S-u){x=Math.max(E-(S-u*2),k);for(let A=0;A<x;A+=1){const L=A-Math.floor(A/S)*S;w?d.forEach((R,F)=>{R.column===L&&b.push(F)}):b.push(L)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),M&&h.forEach(A=>{d[A].swiperLoopMoveDOM=!0,m.prepend(d[A]),d[A].swiperLoopMoveDOM=!1}),D&&b.forEach(A=>{d[A].swiperLoopMoveDOM=!0,m.append(d[A]),d[A].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():w&&(h.length>0&&M||b.length>0&&D)&&a.slides.forEach((A,L)=>{a.grid.updateSlide(L,A,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const A=a.slidesGrid[g],R=a.slidesGrid[g+C]-A;r?a.setTranslate(a.translate-R):(a.slideTo(g+Math.ceil(C),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-R,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-R))}else if(o){const A=w?h.length/f.grid.rows:h.length;a.slideTo(a.activeIndex+A,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(b.length>0&&D)if(typeof e>"u"){const A=a.slidesGrid[g],R=a.slidesGrid[g-x]-A;r?a.setTranslate(a.translate-R):(a.slideTo(g-x,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-R,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-R))}else{const A=w?b.length/f.grid.rows:b.length;a.slideTo(a.activeIndex-A,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=p,a.controller&&a.controller.control&&!s){const A={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({...A,slideTo:L.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...A,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function jo(){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 No={loopCreate:Mo,loopFix:Lo,loopDestroy:jo};function Ro(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 Bo(){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 zo={setGrabCursor:Ro,unsetGrabCursor:Bo};function Vo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Pe()||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 ji(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 Fo(t){const e=this,i=Pe();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"){ji(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?Vo(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,T=s.currentY;if(!ji(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=T,o.touchStartTime=Ce(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let y=!0;a.matches(o.focusableElements)&&(y=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const k=y&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||k)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function Ho(t){const e=Pe(),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(D=>D.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=Ce());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 D;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(D=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?D>o.touchAngle:90-D>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 T=i.isHorizontal()?m:f,y=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(T=Math.abs(T)*(s?1:-1),y=Math.abs(y)*(s?1:-1)),l.diff=T,T*=o.touchRatio,s&&(T=-T,y=-y);const k=i.touchesDirection;i.swipeDirection=T>0?"prev":"next",i.touchesDirection=y>0?"prev":"next";const u=i.params.loop&&!o.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&w&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const D=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(D)}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&&k!==i.touchesDirection&&u&&w&&Math.abs(T)>=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=T+n.startTranslate;let b=!0,g=o.resistanceRatio;if(o.touchReleaseOnEdges&&(g=0),T>0?(u&&w&&!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()&&(b=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+T)**g))):T<0&&(u&&w&&!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()&&(b=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-T)**g))),b&&(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(T)>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 Uo(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(g=>g.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=Ce(),m=p-i.touchStartTime;if(e.allowClick){const g=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(g&&g[0]||n.target,g),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ce(),tt(()=>{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 T=f>=-e.maxTranslate()&&!e.params.loop;let y=0,k=e.slidesSizesGrid[0];for(let g=0;g<d.length;g+=g<s.slidesPerGroupSkip?1:s.slidesPerGroup){const D=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof d[g+D]<"u"?(T||f>=d[g]&&f<d[g+D])&&(y=g,k=d[g+D]-d[g]):(T||f>=d[g])&&(y=g,k=d[d.length-1]-d[d.length-2])}let u=null,w=null;s.rewind&&(e.isBeginning?w=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const h=(f-d[y])/k,b=y<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:y+b):e.slideTo(y)),e.swipeDirection==="prev"&&(h>1-s.longSwipesRatio?e.slideTo(y+b):w!==null&&h<0&&Math.abs(h)>s.longSwipesRatio?e.slideTo(w):e.slideTo(y))}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(y+b):e.slideTo(y):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:y+b),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:y))}}function Ni(){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 Go(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function $o(){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 Wo(t){const e=this;Dt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function qo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Ri=(t,e)=>{const i=Pe(),{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",Ni,!0):t[d]("observerUpdate",Ni,!0),o[a]("load",t.onLoad,{capture:!0})};function Yo(){const t=this,{params:e}=t;t.onTouchStart=Fo.bind(t),t.onTouchMove=Ho.bind(t),t.onTouchEnd=Uo.bind(t),t.onDocumentTouchStart=qo.bind(t),e.cssMode&&(t.onScroll=$o.bind(t)),t.onClick=Go.bind(t),t.onLoad=Wo.bind(t),Ri(t,"on")}function Xo(){Ri(this,"off")}var Jo={attachEvents:Yo,detachEvents:Xo};const Bi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Ko(){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=Bi(t,n),c=Bi(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 w=n[u]&&n[u].enabled,h=a[u]&&a[u].enabled;w&&!h&&t[u].disable(),!w&&h&&t[u].enable()});const m=a.direction&&a.direction!==n.direction,f=n.loop&&(a.slidesPerView!==n.slidesPerView||m),T=n.loop;m&&i&&t.changeDirection(),Ee(t.params,a);const y=t.params.enabled,k=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!y?t.disable():!p&&y&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",a),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!T&&k?(t.loopCreate(e),t.updateSlides()):T&&!k&&t.loopDestroy()),t.emit("breakpoint",a)}function Qo(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 Zo={setBreakpoint:Ko,getBreakpoint:Qo};function el(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 tl(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,s=el(["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 il(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var nl={addClasses:tl,removeClasses:il};function ol(){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 ll={checkOverflow:ol},Xt={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 sl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Ee(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)){Ee(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Ee(e,n)}}const Jt={eventsEmitter:io,update:fo,translate:wo,transition:Eo,slide:Oo,loop:No,grabCursor:zo,events:Jo,breakpoints:Zo,checkOverflow:ll,classes:nl},Kt={};let Qt=class ze{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=Ee({},i),e&&!i.el&&(i.el=e);const s=Pe();if(i.el&&typeof i.el=="string"&&s.querySelectorAll(i.el).length>1){const c=[];return s.querySelectorAll(i.el).forEach(p=>{const m=Ee({},i,{el:p});c.push(new ze(m))}),c}const r=this;r.__swiper__=!0,r.support=Oi(),r.device=Mi({userAgent:i.userAgent}),r.browser=Zn(),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:sl(i,a),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const d=Ee({},Xt,a);return r.params=Ee({},d,Kt,i),r.originalParams=Ee({},r.params),r.passedParams=Ee({},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=Oe(i,`.${n.slideClass}, swiper-slide`),l=Et(o[0]);return Et(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=Oe(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&&Dt(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()):Oe(n,o())[0];return!s&&i.params.createElements&&(s=pt("div",i.params.wrapperClass),n.append(s),Oe(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"||Ue(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ue(n,"direction")==="rtl"),wrongRTL:Ue(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?Dt(i,l):l.addEventListener("load",s=>{Dt(i,s.target)})}),Yt(i),i.initialized=!0,Yt(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,Vn(n)),n.destroyed=!0),null}static extendDefaults(e){Ee(Kt,e)}static get extendedDefaults(){return Kt}static get defaults(){return Xt}static installModule(e){ze.prototype.__modules__||(ze.prototype.__modules__=[]);const i=ze.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ze.installModule(i)),ze):(ze.installModule(e),ze)}};Object.keys(Jt).forEach(t=>{Object.keys(Jt[t]).forEach(e=>{Qt.prototype[e]=Jt[t][e]})}),Qt.use([eo,to]);const zi=["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 nt(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]:nt(t[n],e[n]):t[n]=e[n]})}function Vi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Fi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Hi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Ui(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 al(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function rl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:s,scrollbarEl:r,paginationEl:a}=t;const d=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:p,navigation:m,scrollbar:f,virtual:T,thumbs:y}=e;let k,u,w,h,b,g,D,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(k=!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&&(w=!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&&(b=!0);const C=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?g=!0:!c.loop&&n.loop?D=!0:M=!0),d.forEach(x=>{if(Je(c[x])&&Je(n[x]))Object.assign(c[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&C(x);else{const S=n[x];(S===!0||S===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?S===!1&&C(x):c[x]=n[x]}}),d.includes("controller")&&!u&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&T&&c.virtual.enabled?(T.slides=i,T.update(!0)):o.includes("virtual")&&T&&c.virtual.enabled&&(i&&(T.slides=i),T.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),k&&y.init()&&y.update(!0),u&&(e.controller.control=c.controller.control),w&&(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()),b&&(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),(g||M)&&e.loopDestroy(),(D||M)&&e.loopCreate(),e.update()}function dl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};nt(i,Xt),i._emitClasses=!0,i.init=!1;const l={},s=zi.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]={},nt(i[a],t[a]),nt(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 cl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:s,swiper:r}=t;Vi(e)&&n&&o&&(r.params.navigation.nextEl=n,r.originalParams.navigation.nextEl=n,r.params.navigation.prevEl=o,r.originalParams.navigation.prevEl=o),Fi(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),Hi(e)&&s&&(r.params.scrollbar.el=s,r.originalParams.scrollbar.el=s),r.init(i)}function ul(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 zi.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 pl=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 _t(){return _t=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},_t.apply(this,arguments)}function Gi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function $i(t){const e=[];return v.Children.toArray(t).forEach(i=>{Gi(i)?e.push(i):i.props&&i.props.children&&$i(i.props.children).forEach(n=>e.push(n))}),e}function vl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(Gi(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=$i(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 fl(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 vt(t,e){return typeof window>"u"?te(t,e):un(t,e)}const Zt=ct(null),Wi=()=>dt(Zt),ml=ct(null),Ke=bt(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,T]=G(!1),y=ne(!1),k=ne(null),u=ne(null),w=ne(null),h=ne(null),b=ne(null),g=ne(null),D=ne(null),M=ne(null),{params:C,passedParams:x,rest:S,events:_}=dl(r),{slides:E,slots:A}=vl(l),L=()=>{T(!f)};Object.assign(C.on,{_containerClasses(O,j){c(j)}});const R=()=>{Object.assign(C.on,_),a=!0;const O={...C};if(delete O.wrapperClass,u.current=new Qt(O),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=E;const j={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};nt(u.current.params.virtual,j),nt(u.current.originalParams.virtual,j)}};k.current||R(),u.current&&u.current.on("_beforeBreakpoint",L);const F=()=>{a||!_||!u.current||Object.keys(_).forEach(O=>{u.current.on(O,_[O])})},H=()=>{!_||!u.current||Object.keys(_).forEach(O=>{u.current.off(O,_[O])})};te(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",L)}),te(()=>{!y.current&&u.current&&(u.current.emitSlidesClasses(),y.current=!0)}),vt(()=>{if(e&&(e.current=k.current),!!k.current)return u.current.destroyed&&R(),cl({el:k.current,nextEl:b.current,prevEl:g.current,paginationEl:D.current,scrollbarEl:M.current,swiper:u.current},C),s&&!u.current.destroyed&&s(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),vt(()=>{F();const O=ul(x,w.current,E,h.current,j=>j.key);return w.current=x,h.current=E,O.length&&u.current&&!u.current.destroyed&&rl({swiper:u.current,slides:E,passedParams:x,changedParams:O,nextEl:b.current,prevEl:g.current,scrollbarEl:M.current,paginationEl:D.current}),()=>{H()}}),vt(()=>{pl(u.current)},[p]);function B(){return C.virtual?fl(u.current,E,p):E.map((O,j)=>v.cloneElement(O,{swiper:u.current,swiperSlideIndex:j}))}return v.createElement(n,_t({ref:k,className:Ui(`${d}${i?` ${i}`:""}`)},S),v.createElement(ml.Provider,{value:u.current},A["container-start"],v.createElement(o,{className:al(C.wrapperClass)},A["wrapper-start"],B(),A["wrapper-end"]),Vi(C)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:g,className:"swiper-button-prev"}),v.createElement("div",{ref:b,className:"swiper-button-next"})),Hi(C)&&v.createElement("div",{ref:M,className:"swiper-scrollbar"}),Fi(C)&&v.createElement("div",{ref:D,className:"swiper-pagination"}),A["container-end"]))});Ke.displayName="Swiper";const Le=bt(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=ne(null),[m,f]=G("swiper-slide"),[T,y]=G(!1);function k(b,g,D){g===p.current&&f(D)}vt(()=>{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",k),()=>{l&&l.off("_slideClass",k)}}}),vt(()=>{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},w=()=>typeof n=="function"?n(u):n,h=()=>{y(!0)};return v.createElement(i,_t({ref:p,className:Ui(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:h},c),s&&v.createElement(Zt.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},w(),r&&!T&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&v.createElement(Zt.Provider,{value:u},w(),r&&!T&&v.createElement("div",{className:"swiper-lazy-preloader"})))});Le.displayName="SwiperSlide";function Be(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=ue(),o=de((s,r,a,d)=>{var c,p,m,f,T,y,k,u,w,h,b,g,D,M;let C="";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)?C="pdpPage":n?C="hashTagPage":!((f=s?.video)===null||f===void 0)&&f.url?C="videoPage":!((T=s?.video)===null||T===void 0)&&T.imgUrls&&(!((k=(y=s?.video)===null||y===void 0?void 0:y.imgUrls)===null||k===void 0)&&k.length)?C="imagePage":s?.product&&(C="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=r?.itemId)!==null&&u!==void 0?u:"",productName:(w=r?.title)!==null&&w!==void 0?w:"",price:r?.price?r?.price+"":"0",productCollection:(h=r?.collection)!==null&&h!==void 0?h:"",fromKName:C,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:d+"",contentId:(g=(b=s?.video)===null||b===void 0?void 0:b.itemId)!==null&&g!==void 0?g:"",ctatId:(D=a?.itemId)!==null&&D!==void 0?D:"",traceInfo:(M=r?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=de((s,r,a,d,c)=>{var p,m,f,T;let y="";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)?y="pdpPage":s?.product&&(y="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price?r?.price+"":"0",productCollection:r?.collection,fromKName:y,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:c+"",contentId:(T=s?.video)===null||T===void 0?void 0:T.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 hl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",gl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var s;const[r,a]=G(!1),d=ne(null);te(()=>{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=le(()=>l?.id&&l?.id!==""||t,[t,l]);if(te(()=>{c?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[c,l]),!d.current)return null;const p=Mt(()=>{e?.()},300);return fi.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:hl,alt:"close",className:"modal-icon"})),i))),d.current)};var kt=re(gl);const bl=(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(" ")+" "},yl=({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),T=ne(null),y=ne(null),k=de(()=>{c(!d)},[d,a]);return le(()=>!d&&t.length>e?bl(t,e)+"...":t,[t,e,d]),te(()=>{var u,w;((u=y?.current)===null||u===void 0?void 0:u.offsetHeight)>((w=T?.current)===null||w===void 0?void 0:w.offsetHeight)&&r?m(!0):m(!1),y.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:T,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:y,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&r&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??k},d?s||"show less":l||"show more"))};var At=re(yl);const wl=bt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:s}=t,[r,a]=G();return pi(e,()=>({setSrc:d=>{a(d)}})),te(()=>{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 De=re(wl);const Sl=t=>{var e,i,n,o,l,s,r,a,d,{content:c,style:p,bgImg:m,onClick:f,schema:T,isDefault:y,bottom_image:k,tipText:u,isPost:w,viewTime:h,rec:b,swiper:g,commodityStyles:D,buttonStyle:M,index:C}=t,x=ge(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=ue(),{popupDetailData:_,bffEventReport:E,isPreview:A,waterFallData:L}=ue(),{jumpToWeb:R,productView:F}=Be(),H=ne(null),[B,O]=G(!1),j=w?b:_,P=w?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,I=w?(i=j?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=j?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,U=w?C:_?.index,X=()=>{P?.link&&(R(_,P,I,U),w||F(j,P,I,h||H.current,U),window.location.href=window.getJointUtmLink(P.link))};te(()=>{const $=()=>{H.current=new Date};return $(),window.addEventListener("pageshow",$),()=>{window.removeEventListener("pageshow",$)}},[]);const Y=le(()=>{var $,Q,ee,J,pe;return P?.currency&&P?.price?`${(ee=(Q=($=P?.currency)===null||$===void 0?void 0:$.split("-")[1])===null||Q===void 0?void 0:Q.toUpperCase())!==null&&ee!==void 0?ee:""}${(pe=(J=P?.price)===null||J===void 0?void 0:J.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&pe!==void 0?pe:""}`:"$7,000"},[P?.price,P?.currency]),z=A?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,V=({isPost:$})=>{var Q,ee,J;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:D?.collection,hidden:!!P&&(!P?.collection||P?.collection==="")},(Q=P?.collection)!==null&&Q!==void 0?Q:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:D?.title,hidden:!!P&&!P?.title},(ee=P?.title)!==null&&ee!==void 0?ee:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:D?.price,hidden:!!P&&!P?.price},Y),v.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},v.createElement(At,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>O(!0),isPost:$,text:(J=P?.info)!==null&&J!==void 0?J:`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 en}from"uuid";import tn from"pako";import v,{useContext as dt,useMemo as se,createContext as ct,memo as re,useState as G,useRef as te,useEffect as Z,useCallback as pe,forwardRef as gt,useImperativeHandle as di,useLayoutEffect as nn}from"react";import ci from"qs";import{css as $}from"@emotion/css";import{BetaSchemaForm as on}from"@ant-design/pro-components";import*as ui from"react-dom";import ln 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 sn=/:\w+/g;var pi=(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(sn,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 fi="SXP_TOKEN_INFO",an=(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(fi);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(fi,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 rn=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},dn=()=>{const t=en();return t?.replaceAll?t.replaceAll("-",""):rn(32)};function vi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=tn.inflate(n,{to:"string"});return JSON.parse(o)}let kt=null;const cn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class un{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?cn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let be=null;const pn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{be||(be=new un),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=vi((l=r?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:d}=yield pi(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=vi((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 an(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 Ne(){return dt(Si)}function fn(){return dt(Ti)}const Pt="feRealSessionIdKey",mi=()=>{const t=dn();return`${Date.now()}${t}`},vn=()=>{let t=hn();return t||(t=mi(),window.sessionStorage.setItem(Pt,t)),t},mn=()=>{const t=mi();window.sessionStorage.setItem(Pt,t)},hn=()=>window.sessionStorage.getItem(Pt),hi="SXP_FAKE_USER_ID",gi="FAKE_USER_STATE",gn=()=>{let t=window.localStorage.getItem(hi);return mt(t)&&(t=bt(36,62),window.localStorage.setItem(hi,t)),t},bn=()=>{const t=window.localStorage.getItem(gi);return mt(t)&&window.localStorage.setItem(gi,"true"),mt(t)};function Je(t,e){const{appDomain:i}=ce();return se(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const bi=ct({rtcList:[]});var _t;(function(t){t[t.BFF=5]="BFF"})(_t||(_t={}));const yn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],wn=({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=te(null),h=te(!1),[T,w]=G(),[P,M]=G(),[D,S]=G(p),[x,k]=G([]),[E,A]=G(0),[O,N]=G(!1);Z(()=>{S(p)},[p]);const H=se(()=>e?.find(B=>B.type===_t.BFF),[e]),U=pe((B,V)=>{if(!H)return;const F=H.url,ee=gn();if(V?.query){const X=ci.stringify(V.query);B=`${B}?${X}`}return V.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${F}/api/v1${B}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},H.headers),{"x-user-id":ee}),V.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${F}/api/v1${B}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ee},H.headers),method:V.method,body:JSON.stringify(V.body)}).then(X=>X.json()).catch(X=>Promise.reject(X))},[H]),R=pe(B=>Te(void 0,void 0,void 0,function*(){var V,F,ee,X;if(B={maxSize:o,defaultSize:(V=B?.defaultSize)!==null&&V!==void 0?V:l,"itemFilter.itemId":B?.["itemFilter.itemId"],"itemFilter.itemType":B?.["itemFilter.itemType"],hashTag:B?.hashTag,traceInfo:B?.traceInfo},i){const le=(X=(ee=(F=i?.split("&"))===null||F===void 0?void 0:F.filter(ve=>{const he=ve.split("=")[0];return yn.includes(he)}))===null||ee===void 0?void 0:ee.join("&"))!==null&&X!==void 0?X:"";B=Object.assign(Object.assign({},B),{channel:decodeURIComponent(le)})}const K=yield U?.("/recommend/list",{method:"GET",query:B});if(K?.success)return B?.hashTag||u({rtc:K.data.rtc,requestId:K.data.requestId}),K?.data}),[U,i,o,l]),z=pe(()=>Te(void 0,void 0,void 0,function*(){var B,V;if(m.length<=0)return;const F=yield R({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType});f(m.concat((B=F?.recList)!==null&&B!==void 0?B:[])),k(x.concat((V=F?.recList)!==null&&V!==void 0?V:[]))}),[R,m,P,x]),I=pe(({userInfo:B,eventInfo:V})=>{if(!n)return;B||(B={});const F=vn(),ee=Object.assign({sessionID:F,rtc:C.rtc,requestId:C.requestId},V),X=Object.entries(B).map(([le,ve])=>({name:le,value:ve})),K=Object.entries(ee).map(([le,ve])=>ve&&{name:le,value:ve}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",B),console.log("eventInfo:",ee),console.log("========= \u7ED3\u675F ========="),U?.("/event/report",{method:"POST",body:{userInfo:X,eventInfo:K},type:"beacon"})},[U,C,n]),_=pe(B=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/recommend/like",{method:"POST",body:B});return V?.success}),[U]),j=pe(B=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/recommend/unlike",{method:"POST",body:B});return V?.success}),[U]),J=pe(B=>Te(void 0,void 0,void 0,function*(){const V=yield U?.("/customform",{method:"POST",body:B});return V?.success}),[U]),de=pe((B,V,F,ee)=>{var X,K,le,ve,he,Me,Pe,Qe,lt,Ze,st,Ve;const we=F?.bindCta,at=((X=V?.video)===null||X===void 0?void 0:X.bindProduct)||((K=V?.video)===null||K===void 0?void 0:K.bindProducts)&&((ve=(le=V?.video)===null||le===void 0?void 0:le.bindProducts)===null||ve===void 0?void 0:ve.length)>0;let We="";O?We="hashTagPage":!((he=V?.video)===null||he===void 0)&&he.url?We="videoPage":!((Pe=(Me=V?.video)===null||Me===void 0?void 0:Me.imgUrls)===null||Pe===void 0)&&Pe.length&&(We="imagePage"),I?.({eventInfo:Object.assign(Object.assign({},B),{ctaId:(Qe=we?.itemId)!==null&&Qe!==void 0?Qe:"",ctaName:(lt=we?.title)!==null&<!==void 0?lt:"",contentTags:JSON.stringify(we?.tags),position:ee+"",relatedContentId:(st=(Ze=V?.video)===null||Ze===void 0?void 0:Ze.itemId)!==null&&st!==void 0?st:"",relatedProductId:at?F?.itemId:"",traceInfo:(Ve=we?.traceInfo)!==null&&Ve!==void 0?Ve:"",fromKName:We})})},[I,O]);Z(()=>{g(!0),R().then(B=>{var V,F;f((V=B?.recList)!==null&&V!==void 0?V:[]),k((F=B?.recList)!==null&&F!==void 0?F:[])}).finally(()=>{g(!1),h.current=!0})},[]),Z(()=>{h.current&&(g(!0),R().then(B=>{var V,F;f((V=B?.recList)!==null&&V!==void 0?V:[]),k((F=B?.recList)!==null&&F!==void 0?F:[])}).finally(()=>{g(!1)}))},[R]);const ne=Je("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(bi.Provider,{value:{rtcList:m,setRtcList:f,mutateLike:_,mutateUnlike:j,submitForm:J,popupDetailData:T,loadVideos:z,setPopupDetailData:w,getRecommendVideos:R,bffEventReport:I,utmVal:i,isPreview:s,loading:y,sxpParameter:r,waterFallData:P,setWaterFallData:M,ctaEvent:de,swiperRef:b,openHashtag:D,setOpenHashtag:S,cacheRtcList:x,setCacheRtcList:k,cacheActiveIndex:E,setCacheActiveIndex:A,isFromHashtag:O,setIsFromHashtag:N,appDomain:a,hashTagSize:d,loadingImage:c??ne,isOpenHashTag:p}},t({rtcList:m,mutateLike:_,mutateUnlike:j,submitForm:J}))};var yi=re(wn);function ce(){return dt(bi)}var wi;(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"})(wi||(wi={}));const Ti=ct({$store:{},options:[],configs:[]}),Tn=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=Ne(),[s,r]=G(l.__STORE__||{}),[a,d]=G([]);Z(()=>{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 pi("",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 Z(()=>{e||c()},[c,e,l]),i?v.createElement(Ti.Provider,{value:{$store:l.__STORE__||s,options:n,configs:a}},t):t};var Sn=re(Tn);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"},Si=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:()=>{}}),xi=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,D)=>{b(Object.assign(Object.assign(Object.assign({},Ot),{id:M}),D))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),Z(()=>{y([d.pointData]),C([])},[d.type]);const h=pe(M=>{const D=rt(d);D&&(D.dataSource=M,c?.(D))},[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(Si.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(Sn,{isSsr:i,enable:o},t))});var xn=Object.freeze({__proto__:null,EditorCore:xi}),En=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ie=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var Cn={fontOptions:ie},Mt,In=[{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:ie,initialValue:(Mt=ie?.[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 Dn=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=te(),[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(D=>({name:D,value:w[D]})))===null||T===void 0?void 0:T.filter(D=>D?.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(on,{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 An=re(Dn);function Se(t,e){return t.extend=e,t}const kn=Se(An,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:In,bindableProps:[],interactionRender:En},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,Pn=[{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:ie,name:["fontFamily"],initialValue:(Lt=ie?.[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:ie,initialValue:(jt=ie?.[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 Ei(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]:Ei(e[i])&&Ei(t[i])&&Object.keys(e[i]).length>0&&Nt(t[i],e[i])})}const Ci={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,Ci),t}const _n={document:Ci,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,_n),t}function He(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function On(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 Mn(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 Ln(t,e){e===void 0&&(e="x");const i=ye();let n,o,l;const s=Mn(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 jn(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&&!jn(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 Ii(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 _e(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:He(e)),i}function Nn(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 Rn(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 Bn(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 Ue(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 Di(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 Oe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function zn(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,D=0,S=0,x=0;return"detail"in h&&(D=h.detail),"wheelDelta"in h&&(D=-h.wheelDelta/120),"wheelDeltaY"in h&&(D=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=D,D=0),S=M*10,x=D*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&&!D&&(D=x<1?-1:1),{spinX:M,spinY:D,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 D=M&&M.contains(T.target);if(!e.mouseEntered&&!D&&!P.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let S=0;const x=e.rtlTranslate?-1:1,k=c(T);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))S=-k.pixelX*x;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))S=-k.pixelY;else return!0;else S=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*x:-k.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 A={time:Ee(),delta:Math.abs(S),direction:Math.sign(S),raw:h};d.length>=2&&d.shift();const O=d.length?d[d.length-1]:void 0;if(d.push(A),O?(A.direction!==O.direction||A.delta>O.delta||A.time>O.time+150)&&f(A):f(A),y(A))return!0}else{const A={time:Ee(),delta:Math.abs(S),direction:Math.sign(S)},O=a&&A.time<a.time+500&&A.delta<=a.delta&&A.direction===a.direction;if(!O){a=void 0;let N=e.getTranslate()+S*P.sensitivity;const H=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(),(!H&&e.isBeginning||!U&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:A.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,z=d[0];if(d.push(A),R&&(A.delta>R.delta||A.direction!==R.direction))d.splice(0);else if(d.length>=15&&A.time-z.time<500&&z.delta-A.delta>=1&&A.delta<=6){const I=S>0?.8:.2;a=A,d.splice(0),s=et(()=>{e.slideToClosest(e.params.speed,!0,void 0,I)},0)}s||(s=et(()=>{a=A,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||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 Ai(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=_e(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=Oe(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 D=e.pagination.bullets;let S,x,k;if(b.dynamicBullets&&(s=Bt(D[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(D.length,b.dynamicMainBullets)-1),k=(x+S)/2),D.forEach(E=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${b.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();E.classList.remove(...A)}),h.length>1)D.forEach(E=>{const A=xt(E);A===T?E.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),b.dynamicBullets&&(A>=S&&A<=x&&E.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),A===S&&d(E,"prev"),A===x&&d(E,"next"))});else{const E=D[T];if(E&&E.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&D.forEach((A,O)=>{A.setAttribute("part",O===T?"bullet-active":"bullet")}),b.dynamicBullets){const A=D[S],O=D[x];for(let N=S;N<=x;N+=1)D[N]&&D[N].classList.add(...`${b.bulletActiveClass}-main`.split(" "));d(A,"prev"),d(O,"next")}}if(b.dynamicBullets){const E=Math.min(D.length,b.dynamicMainBullets+4),A=(s*E-s)/2-k*s,O=u?"right":"left";D.forEach(N=>{N.style[e.isHorizontal()?O:"top"]=`${A}px`})}}h.forEach((D,S)=>{if(b.type==="fraction"&&(D.querySelectorAll(tt(b.currentClass)).forEach(x=>{x.textContent=b.formatFractionCurrent(T+1)}),D.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 k=(T+1)/M;let E=1,A=1;x==="horizontal"?E=k:A=k,D.querySelectorAll(tt(b.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${A})`,O.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(D.innerHTML=b.renderCustom(e,T+1,M),S===0&&o("paginationRender",D)):(S===0&&o("paginationRender",D),o("paginationUpdate",D)),e.params.watchOverflow&&e.enabled&&D.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=Oe(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=Ai(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=>Di(h,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=Oe(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=Oe(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=Oe(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=Oe(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=Oe(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=Oe(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=Oe(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 Vn(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:A}=e,{dragEl:O,el:N}=E,H=e.params.scrollbar,U=e.params.loop?e.progressLoop:e.progress;let R=c,z=(p-c)*U;A?(z=-z,z>0?(R=c-z,z=0):-z+c>p&&(R=p+z)):z<0?(R=c+z,z=0):z+c>p&&(R=p-z),e.isHorizontal()?(O.style.transform=`translate3d(${z}px, 0, 0)`,O.style.width=`${R}px`):(O.style.transform=`translate3d(0px, ${z}px, 0)`,O.style.height=`${R}px`),H.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:A,el:O}=E;A.style.width="",A.style.height="",p=e.isHorizontal()?O.offsetWidth:O.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()?A.style.width=`${c}px`:A.style.height=`${c}px`,m>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.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:A,rtlTranslate:O}=e,{el:N}=A;let H;H=(C(E)-Nn(N)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(p-c),H=Math.max(Math.min(H,1),0),O&&(H=1-H);const U=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*H;e.updateProgress(U),e.setTranslate(U),e.updateActiveIndex(),e.updateSlidesClasses()}function b(E){const A=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:H,dragEl:U}=O;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),H.style.transitionDuration="0ms",A.hide&&(H.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function h(E){const{scrollbar:A,wrapperEl:O}=e,{el:N,dragEl:H}=A;s&&(E.preventDefault?E.preventDefault():E.returnValue=!1,u(E),O.style.transitionDuration="0ms",N.style.transitionDuration="0ms",H.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function T(E){const A=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:H}=O;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),A.hide&&(clearTimeout(a),a=et(()=>{H.style.opacity=0,H.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),A.snapOnRelease&&e.slideToClosest())}function w(E){const{scrollbar:A,params:O}=e,N=A.el;if(!N)return;const H=N,U=O.passiveListeners?{passive:!1,capture:!1}:!1,R=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!H)return;const z=E==="on"?"addEventListener":"removeEventListener";H[z]("pointerdown",b,U),l[z]("pointermove",h,U),l[z]("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 D(){const{scrollbar:E,el:A}=e;e.params.scrollbar=Ai(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let N;if(typeof O.el=="string"&&e.isElement&&(N=e.el.querySelector(O.el)),!N&&typeof O.el=="string"){if(N=l.querySelectorAll(O.el),!N.length)return}else N||(N=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&N.length>1&&A.querySelectorAll(O.el).length===1&&(N=A.querySelector(O.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let H;N&&(H=N.querySelector(tt(e.params.scrollbar.dragClass)),H||(H=ut("div",e.params.scrollbar.dragClass),N.append(H))),Object.assign(E,{el:N,dragEl:H}),O.draggable&&P(),N&&N.classList[e.enabled?"remove":"add"](...He(e.params.scrollbar.lockClass))}function S(){const E=e.params.scrollbar,A=e.scrollbar.el;A&&A.classList.remove(...He(e.isHorizontal()?E.horizontalClass:E.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:A}=e.scrollbar;A=Oe(A),A.forEach(O=>{O.classList.remove(E.horizontalClass,E.verticalClass),O.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?k():(D(),g(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{g()}),n("setTranslate",()=>{f()}),n("setTransition",(E,A)=>{y(A)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...He(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const x=()=>{e.el.classList.remove(...He(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...He(e.params.scrollbar.scrollbarDisabledClass)),D(),g(),f()},k=()=>{e.el.classList.add(...He(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...He(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:x,disable:k,updateSize:g,setTranslate:f,init:D,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(I=>I.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 z=typeof R>"u"?e.params.autoplay.delay:R;a=e.params.autoplay.delay,d=e.params.autoplay.delay;const I=w();!Number.isNaN(I)&&I>0&&typeof R>"u"&&(z=I,a=I,d=I),c=z;const _=e.params.speed,j=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(_,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,_,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(_,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,_,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return z>0?(clearTimeout(s),s=setTimeout(()=>{j()},z)):requestAnimationFrame(()=>{j()}),z},M=()=>{p=new Date().getTime(),e.autoplay.running=!0,P(),o("autoplayStart")},D=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(r),o("autoplayStop")},S=(R,z)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),R||(u=!0);const I=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):x()};if(e.autoplay.paused=!0,z){C&&(c=e.params.autoplay.delay),C=!1,I();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),I())},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"))},k=()=>{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))},A=R=>{R.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&x())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",A))},N=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",A)},H=()=>{Ae().addEventListener("visibilitychange",k)},U=()=>{Ae().removeEventListener("visibilitychange",k)};n("init",()=>{e.params.autoplay.enabled&&(O(),H(),M())}),n("destroy",()=>{N(),U(),e.autoplay.running&&D()}),n("_freeModeStaticRelease",()=>{(y||u)&&x()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?D():S(!0,!0)}),n("beforeTransitionStart",(R,z,I)=>{e.destroyed||!e.autoplay.running||(I||!e.params.autoplay.disableOnInteraction?S(!0,!0):D())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){D();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:D,pause:S,resume:x})}function Fn(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 D=y.velocities.pop(),S=y.velocities.pop(),x=D.position-S.position,k=D.time-S.time;e.velocity=x/k,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(k>150||Ee()-D.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 D;for(let S=0;S<f.length;S+=1)if(f[S]>-h){D=S;break}Math.abs(f[D]-h)<Math.abs(f[D-1]-h)||e.swipeDirection==="next"?h=f[D]:h=f[D-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 D=Math.abs((m?-h:h)-e.translate),S=e.slidesSizesGrid[e.activeIndex];D<S?u=c.speed:D<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 Hn(){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 ki(){return Ft||(Ft=Hn()),Ft}let Ht;function Un(t){let{userAgent:e}=t===void 0?{}:t;const i=ki(),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 Pi(t){return t===void 0&&(t={}),Ht||(Ht=Un(t)),Ht}let Ut;function Gn(){const t=ye(),e=Pi();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 Wn(){return Ut||(Ut=Gn()),Ut}function $n(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 qn(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=Di(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 Yn={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 Xn(){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(Ue(n,"padding-left")||0,10)-parseInt(Ue(n,"padding-right")||0,10),i=i-parseInt(Ue(n,"padding-top")||0,10)-parseInt(Ue(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 Jn(){const t=this;function e(x,k){return parseFloat(x.getPropertyValue(t.getDirectionLabel(k))||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=_e(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 D;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){D=0;let k;if(c[x]&&(k=c[x]),M&&t.grid.updateSlide(x,k,c),!(c[x]&&Ue(k,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[x].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(k),A=k.style.transform,O=k.style.webkitTransform;if(A&&(k.style.transform="none"),O&&(k.style.webkitTransform="none"),i.roundLengths)D=t.isHorizontal()?Bt(k,"width",!0):Bt(k,"height",!0);else{const N=e(E,"width"),H=e(E,"padding-left"),U=e(E,"padding-right"),R=e(E,"margin-left"),z=e(E,"margin-right"),I=E.getPropertyValue("box-sizing");if(I&&I==="border-box")D=N+R+z;else{const{clientWidth:_,offsetWidth:j}=k;D=N+H+U+R+z+(j-_)}}A&&(k.style.transform=A),O&&(k.style.webkitTransform=O),i.roundLengths&&(D=Math.floor(D))}else D=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(D=Math.floor(D)),c[x]&&(c[x].style[t.getDirectionLabel("width")]=`${D}px`);c[x]&&(c[x].swiperSlideSize=D),y.push(D),i.centeredSlides?(T=T+D/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+D+h),t.virtualSize+=D+h,w=D,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(D,m),!i.centeredSlides){const x=[];for(let k=0;k<m.length;k+=1){let E=m[k];i.roundLengths&&(E=Math.floor(E)),m[k]<=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 k=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=x*i.slidesPerGroup;for(let A=0;A<k;A+=1)m.push(m[m.length-1]+E)}for(let k=0;k<t.virtual.slidesBefore+t.virtual.slidesAfter;k+=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((k,E)=>!i.cssMode||i.loop?!0:E!==c.length-1).forEach(k=>{k.style[x]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let x=0;y.forEach(E=>{x+=E+(h||0)}),x-=h;const k=x-l;m=m.map(E=>E<=0?-g:E>k?k+C:E)}if(i.centerInsufficientSlides){let x=0;if(y.forEach(k=>{x+=k+(h||0)}),x-=h,x<l){const k=(l-x)/2;m.forEach((E,A)=>{m[A]=E-k}),f.forEach((E,A)=>{f[A]=E+k})}}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],k=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+x),t.slidesGrid=t.slidesGrid.map(E=>E+k)}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`,k=t.el.classList.contains(x);p<=i.maxBackfaceHiddenSlides?k||t.el.classList.add(x):k&&t.el.classList.remove(x)}}function Kn(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 Qn(){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 Zn(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 eo(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 to(){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=>_e(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=Bn(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),d=Rn(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 io(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 no(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=io(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 oo(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 lo={updateSize:Xn,updateSlides:Jn,updateAutoHeight:Kn,updateSlidesOffset:Qn,updateSlidesProgress:Zn,updateProgress:eo,updateSlidesClasses:to,updateActiveIndex:no,updateClickedSlide:oo};function so(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=Ln(l,t);return s+=e.cssOverflowAdjustment(),n&&(s=-s),s||0}function ao(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 ro(){return-this.snapGrid[0]}function co(){return-this.snapGrid[this.snapGrid.length-1]}function uo(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 Ii({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 po={getTranslate:so,setTranslate:ao,minTranslate:ro,maxTranslate:co,translateTo:uo};function fo(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 _i(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 vo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),_i({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function mo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),_i({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var ho={setTransition:fo,transitionStart:vo,transitionEnd:mo};function go(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 Ii({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 bo(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 yo(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 wo(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 To(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 So(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 xo(){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(_e(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(_e(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Eo={slideTo:go,slideToLoop:bo,slideNext:yo,slidePrev:wo,slideReset:To,slideToClosest:So,slideToClickedSlide:xo};function Co(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{_e(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 Io(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(A=>A.classList.contains(f.slideActiveClass))[0]):w=l;const P=n==="next"||!n,M=n==="prev"||!n;let D=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){D=Math.max(u-E,C);for(let A=0;A<u-E;A+=1){const O=A-Math.floor(A/x)*x;if(b){const N=x-O-1;for(let H=d.length-1;H>=0;H-=1)d[H].column===N&&h.push(H)}else h.push(x-O-1)}}else if(E+g>x-u){S=Math.max(E-(x-u*2),C);for(let A=0;A<S;A+=1){const O=A-Math.floor(A/x)*x;b?d.forEach((N,H)=>{N.column===O&&T.push(H)}):T.push(O)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),M&&h.forEach(A=>{d[A].swiperLoopMoveDOM=!0,m.prepend(d[A]),d[A].swiperLoopMoveDOM=!1}),P&&T.forEach(A=>{d[A].swiperLoopMoveDOM=!0,m.append(d[A]),d[A].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():b&&(h.length>0&&M||T.length>0&&P)&&a.slides.forEach((A,O)=>{a.grid.updateSlide(O,A,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const A=a.slidesGrid[w],N=a.slidesGrid[w+D]-A;r?a.setTranslate(a.translate-N):(a.slideTo(w+Math.ceil(D),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else if(o){const A=b?h.length/f.grid.rows:h.length;a.slideTo(a.activeIndex+A,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(T.length>0&&P)if(typeof e>"u"){const A=a.slidesGrid[w],N=a.slidesGrid[w-S]-A;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 A=b?T.length/f.grid.rows:T.length;a.slideTo(a.activeIndex-A,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=p,a.controller&&a.controller.control&&!s){const A={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...A,slideTo:O.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...A,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Do(){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 Ao={loopCreate:Co,loopFix:Io,loopDestroy:Do};function ko(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 Po(){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 _o={setGrabCursor:ko,unsetGrabCursor:Po};function Oo(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 Oi(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 Mo(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"){Oi(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?Oo(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(!Oi(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 Lo(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 jo(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 Mi(){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 No(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Ro(){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 Bo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function zo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Li=(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",Mi,!0):t[d]("observerUpdate",Mi,!0),o[a]("load",t.onLoad,{capture:!0})};function Vo(){const t=this,{params:e}=t;t.onTouchStart=Mo.bind(t),t.onTouchMove=Lo.bind(t),t.onTouchEnd=jo.bind(t),t.onDocumentTouchStart=zo.bind(t),e.cssMode&&(t.onScroll=Ro.bind(t)),t.onClick=No.bind(t),t.onLoad=Bo.bind(t),Li(t,"on")}function Fo(){Li(this,"off")}var Ho={attachEvents:Vo,detachEvents:Fo};const ji=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Uo(){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=ji(t,n),c=ji(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 Go(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 Wo={setBreakpoint:Uo,getBreakpoint:Go};function $o(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 qo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,s=$o(["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 Yo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Xo={addClasses:qo,removeClasses:Yo};function Jo(){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 Ko={checkOverflow:Jo},$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 Qo(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:Yn,update:lo,translate:po,transition:ho,slide:Eo,loop:Ao,grabCursor:_o,events:Ho,breakpoints:Wo,checkOverflow:Ko,classes:Xo},Yt={};let Xt=class ze{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 ze(m))}),c}const r=this;r.__swiper__=!0,r.support=ki(),r.device=Pi({userAgent:i.userAgent}),r.browser=Wn(),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:Qo(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=_e(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=_e(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()):_e(n,o())[0];return!s&&i.params.createElements&&(s=ut("div",i.params.wrapperClass),n.append(s),_e(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"||Ue(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ue(n,"direction")==="rtl"),wrongRTL:Ue(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,On(n)),n.destroyed=!0),null}static extendDefaults(e){xe(Yt,e)}static get extendedDefaults(){return Yt}static get defaults(){return $t}static installModule(e){ze.prototype.__modules__||(ze.prototype.__modules__=[]);const i=ze.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ze.installModule(i)),ze):(ze.installModule(e),ze)}};Object.keys(qt).forEach(t=>{Object.keys(qt[t]).forEach(e=>{Xt.prototype[e]=qt[t][e]})}),Xt.use([$n,qn]);const Ni=["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 Ke(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]:Ke(e[n])&&Ke(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 Ri(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Bi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function zi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Vi(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 Zo(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function el(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 D=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(Ke(c[S])&&Ke(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&D(S);else{const x=n[S];(x===!0||x===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?x===!1&&D(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 tl(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=Ni.map(a=>a.replace(/_/,"")),r=Object.assign({},t);return Object.keys(r).forEach(a=>{typeof t[a]>"u"||(s.indexOf(a)>=0?Ke(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 il(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:s,swiper:r}=t;Ri(e)&&n&&o&&(r.params.navigation.nextEl=n,r.originalParams.navigation.nextEl=n,r.params.navigation.prevEl=o,r.originalParams.navigation.prevEl=o),Bi(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),zi(e)&&s&&(r.params.scrollbar.el=s,r.originalParams.scrollbar.el=s),r.init(i)}function nl(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 Ni.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(Ke(t[a])&&Ke(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 ol=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 Fi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Hi(t){const e=[];return v.Children.toArray(t).forEach(i=>{Fi(i)?e.push(i):i.props&&i.props.children&&Hi(i.props.children).forEach(n=>e.push(n))}),e}function ll(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(Fi(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=Hi(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 sl(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"?Z(t,e):nn(t,e)}const Jt=ct(null),Ui=()=>dt(Jt),al=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=te(!1),C=te(null),u=te(null),b=te(null),h=te(null),T=te(null),w=te(null),P=te(null),M=te(null),{params:D,passedParams:S,rest:x,events:k}=tl(r),{slides:E,slots:A}=ll(l),O=()=>{y(!f)};Object.assign(D.on,{_containerClasses(z,I){c(I)}});const N=()=>{Object.assign(D.on,k),a=!0;const z={...D};if(delete z.wrapperClass,u.current=new Xt(z),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=E;const I={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};it(u.current.params.virtual,I),it(u.current.originalParams.virtual,I)}};C.current||N(),u.current&&u.current.on("_beforeBreakpoint",O);const H=()=>{a||!k||!u.current||Object.keys(k).forEach(z=>{u.current.on(z,k[z])})},U=()=>{!k||!u.current||Object.keys(k).forEach(z=>{u.current.off(z,k[z])})};Z(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",O)}),Z(()=>{!g.current&&u.current&&(u.current.emitSlidesClasses(),g.current=!0)}),pt(()=>{if(e&&(e.current=C.current),!!C.current)return u.current.destroyed&&N(),il({el:C.current,nextEl:T.current,prevEl:w.current,paginationEl:P.current,scrollbarEl:M.current,swiper:u.current},D),s&&!u.current.destroyed&&s(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),pt(()=>{H();const z=nl(S,b.current,E,h.current,I=>I.key);return b.current=S,h.current=E,z.length&&u.current&&!u.current.destroyed&&el({swiper:u.current,slides:E,passedParams:S,changedParams:z,nextEl:T.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:P.current}),()=>{U()}}),pt(()=>{ol(u.current)},[p]);function R(){return D.virtual?sl(u.current,E,p):E.map((z,I)=>v.cloneElement(z,{swiper:u.current,swiperSlideIndex:I}))}return v.createElement(n,Ct({ref:C,className:Vi(`${d}${i?` ${i}`:""}`)},x),v.createElement(al.Provider,{value:u.current},A["container-start"],v.createElement(o,{className:Zo(D.wrapperClass)},A["wrapper-start"],R(),A["wrapper-end"]),Ri(D)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:w,className:"swiper-button-prev"}),v.createElement("div",{ref:T,className:"swiper-button-next"})),zi(D)&&v.createElement("div",{ref:M,className:"swiper-scrollbar"}),Bi(D)&&v.createElement("div",{ref:P,className:"swiper-pagination"}),A["container-end"]))});nt.displayName="Swiper";const Re=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=te(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:Vi(`${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"})))});Re.displayName="SwiperSlide";function Be(){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 D="";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)?D="pdpPage":n?D="hashTagPage":!((f=s?.video)===null||f===void 0)&&f.url?D="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)?D="imagePage":s?.product&&(D="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:D,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 rl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",dl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var s;const[r,a]=G(!1),d=te(null);Z(()=>{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(Z(()=>{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:rl,alt:"close",className:"modal-icon"})),i))),d.current)};var It=re(dl);const cl=(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(" ")+" "},ul=({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=te(null),g=te(null),C=pe(()=>{c(!d)},[d,a]);return se(()=>!d&&t.length>e?cl(t,e)+"...":t,[t,e,d]),Z(()=>{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(ul);const pl=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)}})),Z(()=>{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(pl);const fl=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,D=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:k,isPreview:E,waterFallData:A}=ce(),{jumpToWeb:O,productView:N}=Be(),H=te(null),[U,R]=G(!1),z=u?h:x,I=u?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,_=u?(i=z?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=z?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,j=u?M:x?.index,J=()=>{I?.link&&(O(x,I,_,j),u||N(z,I,_,b||H.current,j),window.location.href=window.getJointUtmLink(I.link))};Z(()=>{const F=()=>{H.current=new Date};return F(),window.addEventListener("pageshow",F),()=>{window.removeEventListener("pageshow",F)}},[]);const de=se(()=>{var F,ee,X,K,le;return I?.currency&&I?.price?`${(X=(ee=(F=I?.currency)===null||F===void 0?void 0:F.split("-")[1])===null||ee===void 0?void 0:ee.toUpperCase())!==null&&X!==void 0?X:""}${(le=(K=I?.price)===null||K===void 0?void 0:K.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&le!==void 0?le:""}`:"$7,000"},[I?.price,I?.currency]),ne=E?375:window.innerWidth,B=({isPost:F})=>{var ee,X,K;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:w?.collection,hidden:!!I&&(!I?.collection||I?.collection==="")},(ee=I?.collection)!==null&&ee!==void 0?ee:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:w?.title,hidden:!!I&&!I?.title},(X=I?.title)!==null&&X!==void 0?X:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:w?.price,hidden:!!I&&!I?.price},de),v.createElement("div",{hidden:!!I&&(!I?.info||I?.info==="")},v.createElement(Kt,{foldText:C?.foldText,unfoldText:C?.unfoldText,onClick:()=>R(!0),isPost:F,text:(K=I?.info)!==null&&K!==void 0?K:`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
|
-
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:
|
6
|
-
Made in Italy`}));return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:H,className:K(Object.assign({},f))},C),I&&((s=I?.homePage)===null||s===void 0?void 0:s.length)>0&&v.createElement(Ke,{height:V,modules:[It,Ct],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:b?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:b?.delay*1e3}},(r=I?.homePage)===null||r===void 0?void 0:r.map($=>v.createElement(Le,{key:$},v.createElement("div",{style:{overflow:"hidden",width:V,height:V}},v.createElement(De,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:$}))))),!(!((a=I?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(d=x?.bottom_image)!==null&&d!==void 0?d:w,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:g?.title},(c=I?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!I&&(!I?.collection||I?.collection===""),style:g?.collection},I?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!I&&!I?.price,style:g?.price},z),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!I&&!I?.taxInfo,style:g?.taxInfo},(p=I?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!I||I?.link)&&v.createElement("button",{onClick:Y,className:"pb-commondityDiroNew-btn",style:D},(m=U?.enTitle)!==null&&m!==void 0?m:"Shop now"),q({isPost:u}))),v.createElement(kt,{visible:B,onClose:()=>O(!1)},q({isPost:!1})))};var Ol=re(Pl);const Ml=xe(Ol,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Al},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 ii,ni,_e=[{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:se,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(ii=se?.[0])===null||ii===void 0?void 0:ii.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:se,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(ni=se?.[0])===null||ni===void 0?void 0:ni.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"]}]}],Ll=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Yi(t){const e=ne(null),[i,n]=G(!1);return te(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),te(()=>{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 jl=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=ne(null),d=Yi(a),{popup:c}=Re(),{setPopupDetailData:p,ctaEvent:m}=ue(),{jumpToWeb:f}=Be();te(()=>{var y,k;if(d&&a?.current){const u=(k=(y=e?.video)===null||y===void 0?void 0:y.bindProduct)!==null&&k!==void 0?k:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,r)}},[d,a,e,m,r]);const T=gt(()=>{var y,k,u,w,h,b,g,D,M,C;const x=(k=(y=e?.video)===null||y===void 0?void 0:y.bindProduct)!==null&&k!==void 0?k:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,x,r),p?.(Object.assign(Object.assign({},e),{index:r})),s){if(!((w=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||w===void 0)&&w.link){const S=(h=e?.video)===null||h===void 0?void 0:h.bindCta,_=(b=e?.video)===null||b===void 0?void 0:b.bindProduct;f(e,_,S,r),window.location.href=(D=(g=e?.video)===null||g===void 0?void 0:g.bindProduct)===null||D===void 0?void 0:D.link,window.location.href=window.getJointUtmLink((C=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||C===void 0?void 0:C.link)}}else o?.()},c?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:T},i)};var ft=re(jl),Nl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Rl=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:T}=t,y=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=ue(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:T,rec:p,className:K(Object.assign({},d)),style:{display:"flex"}},y),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(De,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Nl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:K(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 Bl=re(Rl);const zl=xe(Bl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Ll,bindableProps:[],settingRender:_e},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 Vl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Fl=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}=ue(),T=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(ft,Object.assign({isExternalLink:p,rec:a,className:K(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement("img",{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=T?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:d,alt:""})),v.createElement("div",{className:K(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=T?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var Hl=re(Fl);const Ul=xe(Hl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Vl,settingRender:_e?.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 Gl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const $l=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:T,bffEventReport:y}=ue(),{jumpToWeb:k}=Be(),u=(e=d?.video)===null||e===void 0?void 0:e.bindCta,w=(i=d?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{u?.link&&(k(d,w,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(ft,Object.assign({index:m,rec:d,className:K(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},f,{onClick:h}),v.createElement("div",{className:K(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(De,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:T?.bottom_image)!==null&&o!==void 0?o:c})),v.createElement("div",{className:K({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Gl["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Wl=re($l);const ql=xe(Wl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:_e?.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 Yl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Xl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Jl=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:T}=t,y=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=ue(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:T,rec:p,className:K(Object.assign({},d)),style:{display:"flex"}},y),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(De,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Xl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:K(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 Kl=re(Jl);const Ql=xe(Kl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Yl,settingRender:_e,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 Zl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],es={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const ts=t=>{var e,i,n,o,l,s,r,{content:a,style:d,bgImg:c,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:T}=t,y=ge(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=ue(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(ft,Object.assign({isExternalLink:T,rec:p,className:K(Object.assign({},d)),style:{display:"flex"}},y),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(De,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:es["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:K(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 is=re(ts);const ns=xe(is,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Zl,bindableProps:[],settingRender:_e},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 os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ls=({children:t,isPadding:e=!0})=>v.createElement(Ke,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Xn,Yn,qn],style:{padding:e?"0 12px 0 20px":0}},t);var Pt=re(ls);const ss=({src:t,rec:e,item:i,index:n})=>{const o=ne(null),l=Yi(o),{ctaEvent:s}=ue();return te(()=>{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:K({width:"100%",height:"100%"})},v.createElement(De,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var oi=re(ss),as={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const rs=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:T,sxpParameter:y}=ue(),{popup:k}=Re(),{jumpToWeb:u}=Be(),[w,h]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),b=gt(g=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,g,p),T?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:g}),index:p})),c?g?.link&&(u(s,g,g.bindCta,p),window.location.href=window.getJointUtmLink(g.link)):r?.()},k?.duration);return v.createElement(Pt,{isPadding:!!s},w?.map(g=>{var D,M,C,x,S,_;return v.createElement(Le,Object.assign({hidden:s&&!g?.bindCta,key:g?.itemId,className:K(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>b(g)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(oi,{src:(C=(M=(D=g?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:y?.bottom_image)!==null&&C!==void 0?C:a,rec:s,item:g,index:p})),v.createElement("div",{className:K({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:as["two-line-ellipsis"],style:d?.title},(x=g?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},d?.ctaTitle))},(_=(S=g?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var ds=re(rs);const cs=xe(ds,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:os,bindableProps:[],settingRender:_e},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 us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ps={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const vs=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}=ue(),{ctaEvent:T,setPopupDetailData:y}=ue(),{popup:k}=Re(),[u,w]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Be(),b=gt(g=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,g,p),y?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:g}),index:p})),c?g?.link&&(h(s,g,g.bindCta,p),window.location.href=window.getJointUtmLink(g.link)):r?.()},k?.duration);return v.createElement(Pt,{isPadding:!!s},u?.map(g=>{var D,M,C,x,S,_;return v.createElement(Le,Object.assign({hidden:s&&!g?.bindCta,key:g.itemId,className:K(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>b(g)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(oi,{src:(C=(M=(D=g?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&C!==void 0?C:a,rec:s,item:g,index:p})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ps["two-line-ellipsis"],style:d?.title},(x=g?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d?.ctaTitle))},(_=(S=g?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var fs=re(vs);const ms=xe(fs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:us,settingRender:_e,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 hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const bs=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:T,sxpParameter:y}=ue(),{popup:k}=Re(),{jumpToWeb:u}=Be(),[w,h]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),b=gt(g=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,g,p),T?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:g}),index:p})),c?g?.link&&(u(s,g,g.bindCta,p),window.location.href=window.getJointUtmLink(g.link)):r?.()},k?.duration);return v.createElement(Pt,{isPadding:!!s},w?.map(g=>{var D,M,C,x,S,_;return v.createElement(Le,Object.assign({hidden:s&&!g?.bindCta,key:g?.itemId,className:K(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>b(g)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement(oi,{src:(C=(M=(D=g?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:y?.bottom_image)!==null&&C!==void 0?C:a,rec:s,item:g,index:p})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:gs["tow-line-ellipsis"],style:d?.title},(x=g?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d?.ctaTitle))},(_=(S=g?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&_!==void 0?_:"Shop now")))}))};var ys=re(bs);const ws=xe(ys,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:hs,bindableProps:[],settingRender:_e},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 li,si,Ss=[{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:se,name:["fontFamily"],initialValue:(li=se?.[0])===null||li===void 0?void 0:li.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:se,initialValue:(si=se?.[0])===null||si===void 0?void 0:si.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Ts=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:s}=ue();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 Xi=re(Ts),xs=null,Es="3d989325-e7d6-4a74-8a97-98febdf5b567",Is=null,Cs=null,Ds={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"},_s=[{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}],ks="Handbags",As={productUserId:xs,requestId:Es,channel:Is,rtc:Cs,tag:Ds,recList:_s,hashTag:ks};const Ps=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}=ue(),[m,f]=G(!1),T=ne(null),y=ne(null),k=ne(null),u=ne(null),[w,h]=G(""),b=le(()=>{var x,S,_,E,A,L,R,F,H,B,O,j;return!((x=e?.video)===null||x===void 0)&&x.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((_=e?.video)===null||_===void 0)&&_.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((L=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||L===void 0)&&L.length?(F=(R=e?.video)===null||R===void 0?void 0:R.imgUrls)===null||F===void 0?void 0:F[0]:!((B=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||B===void 0)&&B.length?(j=(O=e?.product)===null||O===void 0?void 0:O.homePage)===null||j===void 0?void 0:j[0]:p?.bottom_image||""},[e,p?.bottom_image]),g=le(()=>{var x,S;return((x=e?.product)===null||x===void 0?void 0:x.title)||((S=e?.video)===null||S===void 0?void 0:S.title)||null},[e]),D=le(()=>{var x,S,_,E,A,L,R,F,H;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(L=(A=(E=(_=e?.product)===null||_===void 0?void 0:_.currency)===null||E===void 0?void 0:E.split("-")[1])===null||A===void 0?void 0:A.toUpperCase())!==null&&L!==void 0?L:""}${(H=(F=(R=e?.product)===null||R===void 0?void 0:R.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);te(()=>{const x=new IntersectionObserver(S=>{S.forEach(_=>{if(_.isIntersecting){if(y.current===null||b==="")return;m&&w?T.current.setSrc(w):T.current.setSrc(b),x.unobserve(y.current)}})});return x.observe(y.current),()=>{x.disconnect()}},[b,m,w]);const M=(x,S,_)=>{const E=x/S;return _/E};te(()=>{const x=k?.current;x===null||b===""||!m||(x.src=b,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const S=u?.current;if(!S)return;const _=S.getContext("2d"),E=window?.innerWidth/2,A=M(x.videoWidth,x.videoHeight,E);S.height=A,S.width=E,_?.drawImage(x,0,0,S.width,S.height),h(S.toDataURL()),x.remove(),S.remove()})},[b,m]);const C=()=>{o(),a?.(n),setTimeout(()=>{var x;(x=r?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),d?.(!1)},0)};return v.createElement("div",{ref:y,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:s}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:k,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(De,{loading:"lazy",className:"list-content-listItem-picture-img",ref:T})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${D?"list-content-listItem-info-nowrap":""}`,style:l?.title},g&&g),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!D},D)))};function Os(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:T}=ue(),[y,k]=G(),[u,w]=G(),[h,b]=G(!1),g=ne(null),[D,M]=G(!1);de(()=>{D||(M(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType}).then(x=>{var S;k(y?.concat((S=x?.recList)!==null&&S!==void 0?S:[])),M(!1)}))},[c,p,y,D]),te(()=>{var x,S;if(b(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(_=>{var E,A;w(_),k((A=(E=_?.recList)===null||E===void 0?void 0:E.filter(L=>L?.video!==null||L?.product!==null))!==null&&A!==void 0?A:[]),b(!1)}),T){const _=As;w(_),k((S=(x=_?.recList)===null||x===void 0?void 0:x.filter(E=>E?.video!==null||E?.product!==null))!==null&&S!==void 0?S:[]),b(!1)}},[c,p,m,T]);const C=()=>{var x,S;!((x=u?.tag)===null||x===void 0)&&x.link&&(a(),window.location.href=(S=u?.tag)===null||S===void 0?void 0:S.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:g,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:C,style:{marginBottom:d?.space}},((l=u?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},y?.map((x,S)=>v.createElement(Ps,Object.assign({key:S,index:S,rec:x,list:y,reportTagsView:a},d)))),v.createElement("div",{hidden:!D,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:C},((r=u?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection"))))}var Ms="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ls=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:T}=ue();ne(null);const y=ne(null),[k,u]=G();te(()=>{const D=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?y.current=M:(y.current=document.createElement("div"),y.current.setAttribute("id","water-fall"),D?.appendChild(y.current))},[]);const w=()=>{const D=ci(c,r);!D&&r&&r?.length&&a?.(r),g(),s?.(void 0),m?.(!1),setTimeout(()=>{var M,C;D||(C=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||C===void 0||C.slideTo(d,0,!1),n?.(!1)},0)},[h,b]=G();te(()=>{i&&b(i)},[i]);const g=de(()=>{var D,M,C,x,S,_;const E=h?.rec;if(!E)return;let A="";f?A="hashTagPage":!((D=E?.video)===null||D===void 0)&&D.url?A="videoPage":!((C=(M=E?.video)===null||M===void 0?void 0:M.imgUrls)===null||C===void 0)&&C.length&&(A="imagePage"),T?.({eventInfo:{contentId:(x=E?.video)===null||x===void 0?void 0:x.itemId,position:d+"",contentTags:JSON.stringify((S=E?.video)===null||S===void 0?void 0:S.tags),traceInfo:(_=E?.video)===null||_===void 0?void 0:_.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:A,fromKPage:location?.href,timeOnSite:Math.floor((new Date-k)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,T,k,f,d]);return te(()=>{o&&u(new Date)},[o]),te(()=>{const D=()=>{u(new Date)};return window.addEventListener("pageshow",D),()=>{window.removeEventListener("pageshow",D)}},[]),y.current?fi.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(Xi,{icon:Ms,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),v.createElement(Os,Object.assign({reportTagsView:g},t))),y.current):null};var Ji=re(Ls);const js=t=>v.createElement(Ji,Object.assign({},t));var Ns=re(js);const Rs=xe(Ns,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Ss,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 ai=Object.freeze({__proto__:null,Appoint:Ul,AppointForm:Rn,Commodity:zl,CommodityDetail:xl,CommodityDetailDiroNew:Ml,CommodityDiro:Ql,CommodityDiroNew:ns,HashTag:Rs,Link:ql,MultiCommodity:ms,MultiCommodityDiro:cs,MultiCommodityDiroNew:ws,Prompt:kl});const Bs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",zs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Vs=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}=ue(),[c,p]=G(e),m=Ie(zs),f=Ie(Bs),T=Mt(()=>Se(void 0,void 0,void 0,function*(){var y,k,u,w,h,b,g,D,M,C,x,S,_,E,A,L,R,F,H,B;if(c){p(!1);const O=(u=yield a?.({videoItemId:(k=(y=o.video)===null||y===void 0?void 0:y.itemId)!==null&&k!==void 0?k:""}))!==null&&u!==void 0?u:!1;d?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(w=o.video)===null||w===void 0?void 0:w.itemId)!==null&&h!==void 0?h:"",contentName:(g=(b=o.video)===null||b===void 0?void 0:b.title)!==null&&g!==void 0?g:"",contentTags:JSON.stringify((M=(D=o.video)===null||D===void 0?void 0:D.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((C=o.video)===null||C===void 0)&&C.url?"video":"image",traceInfo:(x=o.video)===null||x===void 0?void 0:x.traceInfo}}),O||p(!0)}else{p(!0);const O=(S=yield r?.({content:JSON.stringify(o)}))!==null&&S!==void 0?S:!1;d?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(E=(_=o.video)===null||_===void 0?void 0:_.itemId)!==null&&E!==void 0?E:"",contentName:(L=(A=o.video)===null||A===void 0?void 0:A.title)!==null&&L!==void 0?L:"",contentTags:JSON.stringify((F=(R=o.video)===null||R===void 0?void 0:R.tags)!==null&&F!==void 0?F:[]),position:l+"",contentFormat:!((H=o.video)===null||H===void 0)&&H.url?"video":"image",traceInfo:(B=o.video)===null||B===void 0?void 0:B.traceInfo}}),O||p(!1)}}),200);return v.createElement("button",Object.assign({},s,{onClick:T}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||f,alt:"icon"}))};var Ki=re(Vs);const ot=new vn;var Ge;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ge||(Ge={}));const Fs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:s})=>{const[r,a]=G(!1),d=ne(null),{bffEventReport:c,sxpParameter:p,waterFallData:m,openHashtag:f}=ue(),T=ne(0),[y,k]=G(!1),[u,w]=G(!0),{isActive:h}=Wi(),b=ne(null),[g,D]=G("");te(()=>{d.current&&(d.current.muted=o)},[o]);const M=de(()=>{var O;(O=d.current)===null||O===void 0||O.play()},[]),C=Ie("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=de(()=>{var O,j,P,I,U,X,Y,z,V,q,$,Q,ee;a(!1);const J=n[e];if(J&&(!((O=d?.current)===null||O===void 0)&&O.duration)){T.current=((j=d?.current)===null||j===void 0?void 0:j.currentTime)||0;const pe=((I=(P=d.current)===null||P===void 0?void 0:P.duration)!==null&&I!==void 0?I:0).toFixed(2),me=((X=(U=d.current)===null||U===void 0?void 0:U.currentTime)!==null&&X!==void 0?X:0).toFixed(2),Te=u?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(z=(Y=J.video)===null||Y===void 0?void 0:Y.itemId)!==null&&z!==void 0?z:"",contentName:(q=(V=J.video)===null||V===void 0?void 0:V.title)!==null&&q!==void 0?q:"",playType:Te,startTime:me,videoDuration:pe,contentTags:JSON.stringify((Q=($=J.video)===null||$===void 0?void 0:$.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(ee=J.video)===null||ee===void 0?void 0:ee.traceInfo}}),w(!1)}},[c,n,e,u]),S=de(()=>{k(!0)},[]),_=de(O=>()=>{var j,P,I,U,X;if(!y)return;const Y=(j=d.current)===null||j===void 0?void 0:j.paused;switch(O){case"start":if(!Y)return;(P=d.current)===null||P===void 0||P.play(),a(!1);break;case"pause":if(Y)return;(I=d.current)===null||I===void 0||I.pause(),a(!0);break;default:Y?(U=d.current)===null||U===void 0||U.play():(X=d.current)===null||X===void 0||X.pause(),a(!Y);break}},[y]),E=de(()=>{var O,j,P,I,U,X,Y,z,V,q,$,Q,ee;const J=n[e],pe=((j=(O=d.current)===null||O===void 0?void 0:O.duration)!==null&&j!==void 0?j:0).toFixed(2),me=((I=(P=d.current)===null||P===void 0?void 0:P.currentTime)!==null&&I!==void 0?I:0).toFixed(2);if(!((U=d?.current)===null||U===void 0)&&U.duration){const Te=(((X=d?.current)===null||X===void 0?void 0:X.currentTime)-T.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(z=(Y=J.video)===null||Y===void 0?void 0:Y.itemId)!==null&&z!==void 0?z:"",contentName:(q=(V=J.video)===null||V===void 0?void 0:V.title)!==null&&q!==void 0?q:"",endTime:me,videoDuration:pe,playDuration:Te,contentTags:JSON.stringify((Q=($=J.video)===null||$===void 0?void 0:$.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(ee=J.video)===null||ee===void 0?void 0:ee.traceInfo}})}},[n,e,c]),A=le(()=>s?.mode==="2",[s]),L=le(()=>{var O;return s?.mode==="2"?`translateY(-${50+((O=s?.offsetTop)!==null&&O!==void 0?O:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),R=le(()=>{var O;return((O=t?.video)===null||O===void 0?void 0:O.cover)||g},[g,t]),F=de(()=>{if(!b||!d||!d.current||!b.current)return;const O=d?.current,j=b?.current,P=j.getContext("2d"),I=window?.innerWidth,U=window?.innerHeight;j.height=U,j.width=I,P?.drawImage(O,0,0,j.width,j.height),D(j.toDataURL())},[]);te(()=>{var O,j,P,I;if(d.current){if(a(!1),!d.current.src){const U=t.video.url;if(U.includes(".m3u8"))if(ut.isSupported()){const X=new ut;X.loadSource(U),X.attachMedia(d.current),X.on(ut.Events.MANIFEST_PARSED,function(){var Y;(Y=d?.current)===null||Y===void 0||Y.play()})}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=U;else d.current.src=U;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(O=d.current)===null||O===void 0||O.addEventListener("loadedmetadata",S),(j=d.current)===null||j===void 0||j.addEventListener("canplay",S),(P=d.current)===null||P===void 0||P.addEventListener("playing",x),(I=d.current)===null||I===void 0||I.addEventListener("loadeddata",F),()=>{var U,X,Y,z;(U=d.current)===null||U===void 0||U.removeEventListener("loadedmetadata",S),(X=d.current)===null||X===void 0||X.removeEventListener("canplay",S),(Y=d.current)===null||Y===void 0||Y.removeEventListener("playing",x),(z=d.current)===null||z===void 0||z.removeEventListener("loadeddata",F)}}},[S,x,t.video,F]),te(()=>{var O;!d?.current||!y||(h?d.current.play():(O=d.current)===null||O===void 0||O.pause())},[h,y]),te(()=>{var O,j,P;if(!h||!d?.current)return;!((O=d.current)===null||O===void 0?void 0:O.paused)&&f?(j=d.current)===null||j===void 0||j.pause():f||(P=d.current)===null||P===void 0||P.play()},[f,h]),te(()=>{if(!h)return;const O=_("start"),j=_("pause");return ot.on(Ge.PAGE_DID_SHOW,O),ot.on(Ge.PAGE_DID_HIDE,j),()=>{ot.off(Ge.PAGE_DID_SHOW,O),ot.off(Ge.PAGE_DID_HIDE,j)}},[_,h]);const H=le(()=>!p?.placeholder_image||y?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[y,p?.placeholder_image]);te(()=>{const O=()=>{var j,P;l===e&&(!((j=t?.video)===null||j===void 0)&&j.url)&&(!((P=d?.current)===null||P===void 0)&&P.src)&&!r&&_("pause")()};return window.addEventListener("beforeunload",O),()=>{window.removeEventListener("beforeunload",O)}},[l,e,t,d,_,r]);const B=le(()=>A?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[A]);return t.video?v.createElement(v.Fragment,null,A?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},v.createElement(De,{src:R,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},B)}),v.createElement("canvas",{ref:b,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:C}))),H):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),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}),H,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:C}))):null};var Hs=re(Fs);const Us=({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 Qi=re(Us);const Gs=({imageUrl:t})=>{const[e,i]=G(!0);Re(),te(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Ie("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=le(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return v.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},v.createElement("img",{src:t||n}))},Zi=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=le(()=>n?.mode==="2",[n]),l=le(()=>{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=le(()=>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(De,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s)}),o&&v.createElement(De,{src:e,style:{width:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},$s=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:s,imgUrlsPostConfig:r})=>{var a;const d=ne(),{isActive:c}=Wi(),{sxpParameter:p,openHashtag:m}=ue(),[f,T]=G(!1);return te(()=>{f&&c?(d?.current&&d.current.swiper.autoplay.start(),m?l(n):s(o)):(T(!0),d?.current&&d.current.swiper.autoplay.stop())},[n,c,l,m,o,s,f]),v.createElement(Ke,{ref:d,defaultValue:0,direction:"horizontal",modules:[It,Ct],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(y=>v.createElement(Le,{key:y},v.createElement(Zi,{src:y,height:i,imgUrlsPostConfig:r}))))};var Ws=re($s);const qs=({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}=ue(),f=T=>{p?m?.(!0):c?.(n),a?.(i?{hashTag:T,itemId:e,itemType:i,rec:o}:{hashTag:T,rec:o}),d?.(!0)};return le(()=>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(Pt,null,t?.map((T,y)=>v.createElement(Le,{key:y,hidden:s?!1:y>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(T)},`#${T}`))))};var en=re(qs),Ys="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 Ot(t){return re(function(e){const{$store:i}=Sn(),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=ui(i,c);return s=s.replace(a,p),p}})}),s},o=le(()=>{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,T)=>{var y,k;if(T){const u=(k=(y=ui(i,T))!==null&&y!==void 0?y:e[p])!==null&&k!==void 0?k:"";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 Xs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Re(),l=le(()=>{var s,r,a,d,c,p,m,f,T,y,k,u,w,h,b,g,D,M,C,x,S,_,E,A,L,R,F,H,B,O,j;if(!t?.video)return null;let P=null;!((r=(s=t?.video)===null||s===void 0?void 0:s.bindProducts)===null||r===void 0)&&r.length?P="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?P="\u5546\u54C1CTA":P=(c=(d=t?.video)===null||d===void 0?void 0:d.bindCta)===null||c===void 0?void 0:c.itemId;const I=i?.[P];if(((p=I?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=I?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((T=t?.video)===null||T===void 0)&&T.bindProduct)||((y=I?.item)===null||y===void 0?void 0:y.type)==="CommodityDiroNew"&&!(!((k=t?.video)===null||k===void 0)&&k.bindProduct)||((u=I?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((h=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||h===void 0)&&h.length)||((b=I?.item)===null||b===void 0?void 0:b.type)==="MultiCommodityDiro"&&!(!((D=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||D===void 0)&&D.length)||((M=I?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((x=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||x===void 0)&&x.length))return null;if(I&&n){const U=n[(S=I?.item)===null||S===void 0?void 0:S.type],X=Ot(U),Y=(_=U?.extend)===null||_===void 0?void 0:_.defaulSetting,z=((L=(A=(E=I?.item)===null||E===void 0?void 0:E.event)===null||A===void 0?void 0:A.onClick)===null||L===void 0?void 0:L.linkType)==="externalLink";return v.createElement(X,Object.assign({style:Object.assign(Object.assign(Object.assign({},Y?.style),(R=I?.item)===null||R===void 0?void 0:R.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},Y?.textStyle),(F=I?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(B=(H=I?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&B!==void 0?B:[]},Y?.props,(O=I?.item)===null||O===void 0?void 0:O.props,{event:((j=I?.item)===null||j===void 0?void 0:j.event)||{},schema:o,id:I?.id,key:I?.id,recData:t,isExternalLink:z,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var tn=re(Xs);const nn=({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))),on=({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,T,y,k,u,w;const{schema:h}=Re(),[b,g]=G(0),D=ne(0),[M,C]=G(!1),[x,S]=G(!0),_=ne(),E=ne(),[A,L]=G(!1),[R,F]=G(!1),{loadVideos:H,bffEventReport:B,loading:O,setPopupDetailData:j,ctaEvent:P,swiperRef:I,waterFallData:U,setOpenHashtag:X,appDomain:Y,openHashtag:z,loadingImage:V,isFromHashtag:q,popupDetailData:$}=ue(),{productView:Q}=Be(),ee=le(()=>s.length>0&&!O&&Cn(),[s,O]),J=de(()=>{if(s.length<=0)return;pe();const N=location.search.slice(1),ie=vi.parse(N.replace(/\+/g,"%2B"));for(const oe in ie)ie[oe]=ie[oe].replace(/%2B/g,"+");const W=oe=>{var ae;return(ae=ie[oe])!==null&&ae!==void 0?ae:""};B?.({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}}),C(!0)},[B,s.length]),pe=()=>{_.current=new Date,E.current=new Date,xn()};te(()=>{M||J()},[J,M]),te(()=>{var N;const ie=s?.findIndex(W=>{var oe,ae,ve,Z,ce,fe,he,ke,Ae;return r==="\u591A\u5546\u54C1CTA"?((oe=W?.video)===null||oe===void 0?void 0:oe.bindProducts)&&((ve=(ae=W?.video)===null||ae===void 0?void 0:ae.bindProducts)===null||ve===void 0?void 0:ve.length)>0:r==="\u5546\u54C1CTA"?(Z=W?.video)===null||Z===void 0?void 0:Z.bindProduct:((fe=(ce=W?.video)===null||ce===void 0?void 0:ce.bindCta)===null||fe===void 0?void 0:fe.itemId)===r&&(((he=W?.video)===null||he===void 0?void 0:he.url)||((Ae=(ke=W?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||Ae===void 0?void 0:Ae.length))})||0;(N=I?.current)===null||N===void 0||N.swiper.slideTo(ie)},[r,I]),te(()=>{const N=s?.[b],ie=()=>{var W,oe,ae,ve,Z,ce,fe,he,ke,Ae,We,qe,Ye,Xe,Fe;if(document.visibilityState==="hidden"){ot.emit(Ge.PAGE_DID_HIDE,N),Ve(N),at(N);let je="";$&&(!((oe=(W=N?.video)===null||W===void 0?void 0:W.bindProducts)===null||oe===void 0)&&oe.length||!((ae=N?.video)===null||ae===void 0)&&ae.bindProduct)?je="pdpPage":$&&o?.[(ce=(Z=(ve=N.video)===null||ve===void 0?void 0:ve.bindCta)===null||Z===void 0?void 0:Z.itemId)!==null&&ce!==void 0?ce:""].item.type==="Appoint"?je="formPage":q?je="hashTagPage":!((fe=N?.video)===null||fe===void 0)&&fe.url?je="videoPage":!((he=N?.video)===null||he===void 0)&&he.imgUrls&&(!((Ae=(ke=N?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||Ae===void 0)&&Ae.length)?je="imagePage":N?.product&&(je="productPage"),B?.({eventInfo:{sessionDuration:Math.floor((new Date-_.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(We=N?.video)===null||We===void 0?void 0:We.itemId,productId:(qe=N?.product)===null||qe===void 0?void 0:qe.itemId,position:b+"",fromKName:je,fromKPage:location?.href,ctatId:(Fe=(Xe=(Ye=N.video)===null||Ye===void 0?void 0:Ye.bindCta)===null||Xe===void 0?void 0:Xe.itemId)!==null&&Fe!==void 0?Fe:""}})}else document.visibilityState==="visible"&&(J(),$e(b),ot.emit(Ge.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",ie),()=>{document.removeEventListener("visibilitychange",ie)}},[b,B,_,s,J,$,q,o]);const me=le(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),Te=le(()=>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]),Qe=de((N,ie)=>{var W,oe,ae,ve;return!((W=N.video)===null||W===void 0)&&W.url?v.createElement(Hs,{rec:N,index:ie,muted:x,data:s,height:me,activeIndex:b,videoPostConfig:t?.videoPost}):!((oe=N.video)===null||oe===void 0)&&oe.imgUrls?v.createElement(Ws,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:me,rec:N,index:ie,onReportViewImageEnd:Ve,onViewImageStartEvent:$e,imgUrlsPostConfig:t?.imgUrlsPost}):N.product&&Array.isArray(t?.productPost)&&((ae=t?.productPost)===null||ae===void 0?void 0:ae.length)>0?(ve=t?.productPost)===null||ve===void 0?void 0:ve.map((Z,ce)=>{var fe,he,ke,Ae,We,qe,Ye,Xe;const Fe=l[(fe=Z?.item)===null||fe===void 0?void 0:fe.type],je=Ot(Fe),Ne=(he=Fe?.extend)===null||he===void 0?void 0:he.defaulSetting;return v.createElement(je,Object.assign({key:`${ie}${ce}`,textStyle:Object.assign(Object.assign({},Ne?.textStyle),(ke=Z?.item)===null||ke===void 0?void 0:ke.textStyle),bindDatas:(We=(Ae=Z?.item)===null||Ae===void 0?void 0:Ae.bindDatas)!==null&&We!==void 0?We:[]},Ne?.props,(qe=Z?.item)===null||qe===void 0?void 0:qe.props,{event:((Ye=Z?.item)===null||Ye===void 0?void 0:Ye.event)||{},schema:h,id:Z?.id,viewTime:E.current,rec:N,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},Ne?.style),(Xe=Z?.item)===null||Xe===void 0?void 0:Xe.style),{height:"100%",overflow:"auto"}),index:ie}))}):null},[n,s,me,x,b,t?.productPost,E,a,l,h]),Ze=de(N=>{F(N)},[]),lt=le(()=>R?{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"},[R]),et=de((N,ie)=>{var W,oe,ae,ve,Z,ce,fe;return N.video?v.createElement(v.Fragment,null,((W=N.video)===null||W===void 0?void 0:W.title)&&!R&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(nn,{nudge:d}),v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(tn,{rec:N,index:ie,tempMap:o,resolver:l})),v.createElement("div",null,v.createElement(At,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(ae=(oe=N.video)===null||oe===void 0?void 0:oe.title)!==null&&ae!==void 0?ae:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Ze}),v.createElement(en,{index:b,tags:(Z=(ve=N?.video)===null||ve===void 0?void 0:ve.hashTags)!==null&&Z!==void 0?Z:[],itemId:(ce=N?.video)===null||ce===void 0?void 0:ce.itemId,itemType:!((fe=N.video)===null||fe===void 0)&&fe.itemId?"VIDEO":null,rec:N,hashTagStyle:p})))):null},[e,b,o,l,a,d,p,t,Ze,R,lt]),st=de((N,ie)=>{var W,oe;if(!t?.isShowLike)return;let ae=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return U&&ae<40&&(ae+=40),N.video?v.createElement(Ki,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{top:ae,right:(oe=t?.likeIconX)!==null&&oe!==void 0?oe:0},position:ie}):null},[t,U]),Ve=N=>{var ie,W,oe,ae,ve,Z;if(!(!((ie=N.video)===null||ie===void 0)&&ie.url)&&(!((W=N.video)===null||W===void 0)&&W.imgUrls)){const ce=Date.now(),fe=(ce-D.current)/1e3;B?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ae=(oe=N.video)===null||oe===void 0?void 0:oe.itemId)!==null&&ae!==void 0?ae:"",contentName:(ve=N.video.title)!==null&&ve!==void 0?ve:"",imageEndTime:`${ce}`,playDuration:`${fe}`,contentTags:JSON.stringify((Z=N.video.tags)!==null&&Z!==void 0?Z:[]),position:b+"",contentFormat:"image",traceInfo:N.video.traceInfo}})}},we=N=>{var ie,W,oe,ae,ve,Z,ce,fe;E.current=new Date;const he=s[N.previousIndex];he&&(N.previousIndex-N.activeIndex<0?(B?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&W!==void 0?W:"",productId:(ae=(oe=he.product)===null||oe===void 0?void 0:oe.itemId)!==null&&ae!==void 0?ae:"",requestId:null}}),Ve(he)):(B?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(Z=(ve=he.video)===null||ve===void 0?void 0:ve.itemId)!==null&&Z!==void 0?Z:"",productId:(fe=(ce=he.product)===null||ce===void 0?void 0:ce.itemId)!==null&&fe!==void 0?fe:"",requestId:null}}),Ve(he)),at(he))},at=N=>{var ie,W,oe;!(!((ie=N?.video)===null||ie===void 0)&&ie.url)&&!(!((W=N?.video)===null||W===void 0)&&W.imgUrls)&&N?.product&&Q(N,N.product,(oe=N?.product)===null||oe===void 0?void 0:oe.bindCta,E.current,b)};te(()=>{const N=s[b];z&&at(N)},[z,s,b]);const $e=N=>{var ie,W,oe,ae,ve,Z;const ce=s[N];if(!(!((ie=ce?.video)===null||ie===void 0)&&ie.url)&&(!((W=ce?.video)===null||W===void 0)&&W.imgUrls)){const fe=Date.now();D.current=fe,B?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ae=(oe=ce.video)===null||oe===void 0?void 0:oe.itemId)!==null&&ae!==void 0?ae:"",contentName:(ve=ce.video.title)!==null&&ve!==void 0?ve:"",imageStartTime:`${fe}`,contentTags:JSON.stringify((Z=ce.video.tags)!==null&&Z!==void 0?Z:[]),position:N+"",contentFormat:"image",traceInfo:ce.video.traceInfo}})}},mt=le(()=>{const N=s?.map((ie,W)=>b===W||W-1===b||W+1===b?ie:null);return U?N:N.concat([{loading:!0}])},[s,b,U]),sn=le(()=>O?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"}})):mt?.map((N,ie)=>v.createElement(Le,{key:ie,virtualIndex:ie},N&&v.createElement(v.Fragment,null,N?.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,Qe(N,ie),et(N,ie),st(N,ie))))),[n,s,me,O,et,Qe,mt,V]),an=Ie("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),rn=Ie("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&v.createElement(Xi,{icon:Ys,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{X?.(!0)}}),Te,ee?v.createElement(Gs,{imageUrl:t?.swipeTipIcon}):null,v.createElement(Ke,{ref:I,onActiveIndexChange:N=>{g(N.activeIndex),!z&&(we(N),!U&&N?.activeIndex+2>=s?.length&&(A||(L(!0),H?.(Math.ceil(b/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:me},v.createElement(Qi,{style:{position:"fixed",right:(m=t?.muteIconX)!==null&&m!==void 0?m:0,visibility:!((T=(f=s?.[b])===null||f===void 0?void 0:f.video)===null||T===void 0)&&T.url?"visible":"hidden",bottom:(y=t?.muteIconY)!==null&&y!==void 0?y:23,zIndex:999},defaultValue:x,activeIcon:t?.unMuteIcon?t?.unMuteIcon:an,unactiveIcon:t?.muteIcon?t?.muteIcon:rn,onChange:S}),sn),v.createElement(Ji,Object.assign({},(w=(u=(k=t?.hashTag)===null||k===void 0?void 0:k[0])===null||u===void 0?void 0:u.item)===null||w===void 0?void 0:w.props)))},Js=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>v.createElement(Ke,{defaultValue:0,direction:"horizontal",modules:[It,Ct],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(s=>v.createElement(Le,{key:s},v.createElement(Zi,{src:s,height:i,imgUrlsPostConfig:n}))));var Ks=re(Js);const Qs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:s,width:r})=>{const[a,d]=G(!1),c=ne(null),{bffEventReport:p,sxpParameter:m,waterFallData:f,openHashtag:T}=ue(),y=ne(0),[k,u]=G(!1),[w,h]=G(!0),b=ne(null),[g,D]=G("");te(()=>{c.current&&(c.current.muted=o)},[o]);const M=de(()=>{var O;(O=c.current)===null||O===void 0||O.play()},[]),C=Ie("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=de(()=>{var O,j,P,I,U,X,Y,z,V,q,$,Q,ee;d(!1);const J=n[e];if(J&&(!((O=c?.current)===null||O===void 0)&&O.duration)){y.current=((j=c?.current)===null||j===void 0?void 0:j.currentTime)||0;const pe=((I=(P=c.current)===null||P===void 0?void 0:P.duration)!==null&&I!==void 0?I:0).toFixed(2),me=((X=(U=c.current)===null||U===void 0?void 0:U.currentTime)!==null&&X!==void 0?X:0).toFixed(2),Te=w?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(z=(Y=J.video)===null||Y===void 0?void 0:Y.itemId)!==null&&z!==void 0?z:"",contentName:(q=(V=J.video)===null||V===void 0?void 0:V.title)!==null&&q!==void 0?q:"",playType:Te,startTime:me,videoDuration:pe,contentTags:JSON.stringify((Q=($=J.video)===null||$===void 0?void 0:$.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(ee=J.video)===null||ee===void 0?void 0:ee.traceInfo}}),h(!1)}},[p,n,e,w]),S=de(()=>{u(!0)},[]),_=de(O=>()=>{var j,P,I,U,X;if(!k)return;const Y=(j=c.current)===null||j===void 0?void 0:j.paused;switch(O){case"start":if(!Y)return;(P=c.current)===null||P===void 0||P.play(),d(!1);break;case"pause":if(Y)return;(I=c.current)===null||I===void 0||I.pause(),d(!0);break;default:Y?(U=c.current)===null||U===void 0||U.play():(X=c.current)===null||X===void 0||X.pause(),d(!Y);break}},[k]),E=de(()=>{var O,j,P,I,U,X,Y,z,V,q,$,Q,ee;const J=n[e],pe=((j=(O=c.current)===null||O===void 0?void 0:O.duration)!==null&&j!==void 0?j:0).toFixed(2),me=((I=(P=c.current)===null||P===void 0?void 0:P.currentTime)!==null&&I!==void 0?I:0).toFixed(2);if(!((U=c?.current)===null||U===void 0)&&U.duration){const Te=(((X=c?.current)===null||X===void 0?void 0:X.currentTime)-y.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(z=(Y=J.video)===null||Y===void 0?void 0:Y.itemId)!==null&&z!==void 0?z:"",contentName:(q=(V=J.video)===null||V===void 0?void 0:V.title)!==null&&q!==void 0?q:"",endTime:me,videoDuration:pe,playDuration:Te,contentTags:JSON.stringify((Q=($=J.video)===null||$===void 0?void 0:$.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(ee=J.video)===null||ee===void 0?void 0:ee.traceInfo}})}},[n,e,p]),A=le(()=>s?.mode==="2",[s]),L=le(()=>{var O;return s?.mode==="2"?`translateY(-${50+((O=s?.offsetTop)!==null&&O!==void 0?O:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),R=le(()=>{var O;return((O=t?.video)===null||O===void 0?void 0:O.cover)||g},[g,t]),F=de(()=>{if(!b||!c||!c.current||!b.current)return;const O=c?.current,j=b?.current,P=j.getContext("2d"),I=window?.innerWidth,U=window?.innerHeight;j.height=U,j.width=I,P?.drawImage(O,0,0,j.width,j.height),D(j.toDataURL())},[]);te(()=>{var O,j,P,I;if(c.current){if(d(!1),!c.current.src){const U=t.video.url;if(U.includes(".m3u8"))if(ut.isSupported()){const X=new ut;X.loadSource(U),X.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=U;else c.current.src=U;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(O=c.current)===null||O===void 0||O.addEventListener("loadedmetadata",S),(j=c.current)===null||j===void 0||j.addEventListener("canplay",S),(P=c.current)===null||P===void 0||P.addEventListener("playing",x),(I=c.current)===null||I===void 0||I.addEventListener("loadeddata",F),()=>{var U,X,Y,z;(U=c.current)===null||U===void 0||U.removeEventListener("loadedmetadata",S),(X=c.current)===null||X===void 0||X.removeEventListener("canplay",S),(Y=c.current)===null||Y===void 0||Y.removeEventListener("playing",x),(z=c.current)===null||z===void 0||z.removeEventListener("loadeddata",F)}}},[S,x,t.video,F]);const H=le(()=>!m?.placeholder_image||k?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[k,m?.placeholder_image]);te(()=>{const O=()=>{var j,P;l===e&&(!((j=t?.video)===null||j===void 0)&&j.url)&&(!((P=c?.current)===null||P===void 0)&&P.src)&&!a&&_("pause")()};return window.addEventListener("beforeunload",O),()=>{window.removeEventListener("beforeunload",O)}},[l,e,t,c,_,a]);const B=le(()=>A?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[A]);return t.video?v.createElement(v.Fragment,null,A?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:r,height:i,overflow:"hidden"}},v.createElement(De,{src:R,style:Object.assign({height:i,width:r,objectFit:"cover"},B)}),v.createElement("canvas",{ref:b,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:r,height:i,top:"50%",transform:L,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:r,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C}))),H):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:r,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M}),H,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C}))):null};var Zs=re(Qs);const ri={};Object.values(ai).forEach(t=>{ri[t.extend.type]=t});const ea="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ta="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ia=({data:t,globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:s,containerHeight:r=664,containerWidth:a=375,appDomain:d})=>{const c=le(()=>e?.logoUrl&&e?.isShowLogo?r-45:r,[e,r]),p=(b,g)=>{var D,M,C,x;if(!((D=b.video)===null||D===void 0)&&D.url)return v.createElement(Zs,{rec:b,index:g,muted:!0,width:a,data:t??[],height:c,activeIndex:g,videoPostConfig:e?.videoPost});if(!((M=b.video)===null||M===void 0)&&M.imgUrls)return v.createElement(Ks,{key:b.video.itemId,imgUrls:b.video.imgUrls,width:a,height:c,rec:b,index:g,imgUrlsPostConfig:e?.imgUrlsPost});if(b.product&&b.product&&Array.isArray(e?.productPost)&&((C=e?.productPost)===null||C===void 0?void 0:C.length)>0)return(x=e?.productPost)===null||x===void 0?void 0:x.map((S,_)=>{var E,A,L,R,F,H,B,O;const j=ri[(E=S?.item)===null||E===void 0?void 0:E.type],P=Ot(j),I=(A=j?.extend)===null||A===void 0?void 0:A.defaulSetting;return v.createElement(P,Object.assign({key:`${g}${_}`,textStyle:Object.assign(Object.assign({},I?.textStyle),(L=S?.item)===null||L===void 0?void 0:L.textStyle),bindDatas:(F=(R=S?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&F!==void 0?F:[]},I?.props,(H=S?.item)===null||H===void 0?void 0:H.props,{event:((B=S?.item)===null||B===void 0?void 0:B.event)||{},id:S?.id,rec:b,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},I?.style),(O=S?.item)===null||O===void 0?void 0:O.style),{width:a,height:c,overflow:"auto"}),index:g}))})},m=le(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),f=(b,g)=>{var D,M,C,x,S,_,E;return b.video?v.createElement(v.Fragment,null,((D=b.video)===null||D===void 0?void 0:D.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(nn,{nudge:n}),v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(tn,{rec:b,index:g,tempMap:o,resolver:ri})),v.createElement("div",null,v.createElement(At,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(C=(M=b.video)===null||M===void 0?void 0:M.title)!==null&&C!==void 0?C:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(en,{index:g,tags:(S=(x=b?.video)===null||x===void 0?void 0:x.hashTags)!==null&&S!==void 0?S:[],itemId:(_=b?.video)===null||_===void 0?void 0:_.itemId,itemType:!((E=b.video)===null||E===void 0)&&E.itemId?"VIDEO":null,rec:b,hashTagStyle:s}))):null},T=Ie(ta,d),y=Ie(ea,d),k=(b,g)=>{var D,M,C,x;if(!e?.isShowLike)return;let S=(D=e?.likeIconY)!==null&&D!==void 0?D:400;return S<40&&(S+=40),b.video?v.createElement(Ki,{key:b.position,activeIcon:(M=e?.likeIcon)!==null&&M!==void 0?M:T,unActicveIcon:(C=e?.unlikeIcon)!==null&&C!==void 0?C:y,position:g,active:b.isCollected,recData:b,className:"clc-sxp-like-button",style:{top:S,right:(x=e?.likeIconX)!==null&&x!==void 0?x:0}}):null},u=Ie("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",d),w=Ie("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",d),h=(b,g)=>{var D,M,C,x;return v.createElement("div",{style:{position:"relative"}},m,v.createElement(Qi,{style:{position:"absolute",right:(D=e?.muteIconX)!==null&&D!==void 0?D:0,visibility:!((C=(M=t?.[g])===null||M===void 0?void 0:M.video)===null||C===void 0)&&C.url?"visible":"hidden",bottom:(x=e?.muteIconY)!==null&&x!==void 0?x:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:u,unactiveIcon:e?.muteIcon?e?.muteIcon:w}),p(b,g),f(b,g),k(b,g))};return v.createElement("div",{style:{width:"100%",height:r,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none"}},t?.map((b,g)=>h(b,g)))};var na=re(ia);const oa=()=>{const{schema:t,resolver:e,popup:i}=Re(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=ue(),{productView:s}=Be(),[r,a]=G(),d=ne(null);te(()=>{const m=()=>{d.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),te(()=>{i&&i?.id&&i?.id!==""&&(d.current=new Date,a(i))},[i]);const c=()=>{var m,f,T,y;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 k=o,u=(f=k?.video)===null||f===void 0?void 0:f.bindProduct,w=(y=(T=k?.video)===null||T===void 0?void 0:T.bindProduct)===null||y===void 0?void 0:y.bindCta;u&&w&&s(k,u,w,d.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=le(()=>{var m,f,T;return(T=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||T===void 0?void 0:T.map((y,k)=>{var u,w,h,b,g,D,M,C;if(y?.id===i?.id){const x=e[(u=y?.item)===null||u===void 0?void 0:u.type],S=Ot(x),_=(w=x?.extend)===null||w===void 0?void 0:w.defaulSetting;return v.createElement(S,Object.assign({key:k,style:Object.assign(Object.assign(Object.assign({},_?.style),(h=y?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},_?.textStyle),(b=y?.item)===null||b===void 0?void 0:b.textStyle),bindDatas:(D=(g=y?.item)===null||g===void 0?void 0:g.bindDatas)!==null&&D!==void 0?D:[]},_?.props,(M=y?.item)===null||M===void 0?void 0:M.props,{event:((C=y?.item)===null||C===void 0?void 0:C.event)||{},schema:t,id:y?.id}))}else return v.createElement(v.Fragment,null)})},[t,i,e]);return v.createElement(kt,{popup:r,onClose:c,padding:0,modalStyle:{position:"fixed"}},p)},di={};Object.values(ai).forEach(t=>{di[t.extend.type]=t});const la=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var s,r,a,d,c,p;const m=le(()=>{var f;return location?.search?(f=location?.search)===null||f===void 0?void 0:f.replace("?",""):""},[]);return v.createElement(Ci,{resolver:di,enableDataSource:!1,schema:t?.data,utmVal:m},v.createElement(Ti,{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 T;return v.createElement(v.Fragment,null,v.createElement(on,Object.assign({},(T=t?.data)===null||T===void 0?void 0:T.sxpPageConf,{data:f,resolver:di})),v.createElement(oa,null))}}))};var sa=re(la);const ln=ct({}),aa=({children:t,data:e})=>{var i,n,o,l,s,r;const[a,d]=G(!1);return v.createElement(ln.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 ra(){return dt(ln)}export{na as DiyPortalPreview,aa as EditorDataProvider,kt as Modal,Ti as SxpDataSourceProvider,sa as SxpPageCore,on as SxpPageRender,Pn as core,wn as default,Mn as defaultSetting,ai as materials,ra as useEditorDataProvider};
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:w?.info})))},V=()=>{var F;return v.createElement(v.Fragment,null,(y||I?.link)&&v.createElement("button",{onClick:J,className:"pb-commondity-btn",style:P},(F=_?.enTitle)!==null&&F!==void 0?F:"Purchase on Website"))};return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:$(Object.assign({},c))},D),I&&((l=I?.homePage)===null||l===void 0?void 0:l.length)>0&&v.createElement(nt,{height:ne,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=I?.homePage)===null||s===void 0?void 0:s.map(F=>v.createElement(Re,{key:F},v.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},v.createElement(ke,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:F}))))),!(!((r=I?.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"},B({isPost:u}))),V(),v.createElement(It,{visible:U,onClose:()=>R(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},B({isPost:!1})),V()))};var vl=re(fl);const ml=Se(vl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Pn},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 hl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],gl=[{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"]}],Gi="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 bl=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}},yl=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:bl(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??Gi})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",onClick:a},i))};var wl=re(yl);const Tl=Se(wl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:gl,bindableProps:[],interactionRender:hl},defaulSetting:{props:{icon:Gi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Qt,Zt,Sl=[{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:ie,name:["fontFamily"],initialValue:(Qt=ie?.[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:ie,initialValue:(Zt=ie?.[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 xl=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:D}=ce(),{popupDetailData:S,bffEventReport:x,isPreview:k,swiperRef:E,waterFallData:A}=ce(),{jumpToWeb:O,productView:N}=Be(),H=te(null);te(null),te(null),G(!1),G(!1),G(!0);const[U,R]=G(!1),z=te(null),I=C?y:S,_=C?I?.product:(e=I?.video)===null||e===void 0?void 0:e.bindProduct,j=C?(i=I?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=I?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,J=C?P:S?.index,de=()=>{_?.link&&(O(I,_,j,J),C||N(I,_,j,g||z.current,J),window.location.href=window.getJointUtmLink(_.link))};Z(()=>{const F=()=>{z.current=new Date};return F(),window.addEventListener("pageshow",F),()=>{window.removeEventListener("pageshow",F)}},[]);const ne=se(()=>{var F,ee,X,K,le;return _?.currency&&_?.price?`${(X=(ee=(F=_?.currency)===null||F===void 0?void 0:F.split("-")[1])===null||ee===void 0?void 0:ee.toUpperCase())!==null&&X!==void 0?X:""}${(le=(K=_?.price)===null||K===void 0?void 0:K.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&le!==void 0?le:""}`:"\xA3102,300.00"},[_?.price,_?.currency]),B=k?375:window.innerWidth,V=({isPost:F})=>v.createElement("div",{hidden:!!_&&(!_?.info||_?.info==="")},v.createElement(Kt,{isPost:F,onClick:()=>R(!0),className:"pb-commondityDiroNew-info",style:T?.info,foldText:b?.foldText,unfoldText:b?.unfoldText,text:_?.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:H,className:$(Object.assign({},m))},M),_&&((l=_?.homePage)===null||l===void 0?void 0:l.length)>0&&v.createElement(nt,{height:B,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=_?.homePage)===null||s===void 0?void 0:s.map(F=>v.createElement(Re,{key:F},v.createElement("div",{style:{overflow:"hidden",width:B,height:B}},v.createElement(ke,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:F}))))),!(!((r=_?.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=D?.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=_?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!_&&(!_?.collection||_?.collection===""),style:T?.collection},_?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!_&&!_?.price,style:T?.price},ne),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!_&&!_?.taxInfo,style:T?.taxInfo},(c=_?.taxInfo)!==null&&c!==void 0?c:"\u7A0E\u8D39"))),(!_||_?.link)&&v.createElement("button",{onClick:de,className:"pb-commondityDiroNew-btn",style:w},(p=j?.enTitle)!==null&&p!==void 0?p:"Shop now"),V({isPost:C}))),v.createElement(It,{visible:U,onClose:()=>R(!1)},V({isPost:!1})))};var El=re(xl);const Cl=Se(El,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Sl},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:ie,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(ei=ie?.[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:ie,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(ti=ie?.[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"]}]}],Il=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Wi(t){const e=te(null),[i,n]=G(!1);return Z(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),Z(()=>{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 Dl=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=te(null),d=Wi(a),{popup:c}=Ne(),{setPopupDetailData:p,ctaEvent:m}=ce(),{jumpToWeb:f}=Be();Z(()=>{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,D;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,k=(T=e?.video)===null||T===void 0?void 0:T.bindProduct;f(e,k,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((D=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||D===void 0?void 0:D.link)}}else o?.()},c?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:y},i)};var ft=re(Dl),Al={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const kl=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:Al["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 Pl=re(kl);const _l=Se(Pl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Il,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 Ol=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ml=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 Ll=re(Ml);const jl=Se(Ll,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ol,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 Nl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Rl=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}=Be(),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:Nl["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Bl=re(Rl);const zl=Se(Bl,{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 Vl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Hl=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:Fl["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 Ul=re(Hl);const Gl=Se(Ul,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Vl,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 Wl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],$l={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const ql=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:$l["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 Yl=re(ql);const Xl=Se(Yl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Wl,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 Jl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Kl=({children:t,isPadding:e=!0})=>v.createElement(nt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Fn,Vn,zn],style:{padding:e?"0 12px 0 20px":0}},t);var Dt=re(Kl);const Ql=({src:t,rec:e,item:i,index:n})=>{const o=te(null),l=Wi(o),{ctaEvent:s}=ce();return Z(()=>{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(Ql),Zl={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const es=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}=Ne(),{jumpToWeb:u}=Be(),[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,D,S,x,k;return v.createElement(Re,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:(D=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:g?.bottom_image)!==null&&D!==void 0?D: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:Zl["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))},(k=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var ts=re(es);const is=Se(ts,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Jl,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 ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],os={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ls=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}=Ne(),[u,b]=G((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Be(),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,D,S,x,k;return v.createElement(Re,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:(D=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&D!==void 0?D: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:os["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))},(k=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var ss=re(ls);const as=Se(ss,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:ns,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 rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ds={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const cs=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}=Ne(),{jumpToWeb:u}=Be(),[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,D,S,x,k;return v.createElement(Re,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:(D=(M=(P=w?.homePage)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:g?.bottom_image)!==null&&D!==void 0?D: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:ds["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))},(k=(x=w?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&k!==void 0?k:"Shop now")))}))};var us=re(cs);const ps=Se(us,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:rs,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,fs=[{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:ie,name:["fontFamily"],initialValue:(ni=ie?.[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:ie,initialValue:(oi=ie?.[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 vs=({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 $i=re(vs),ms=null,hs="3d989325-e7d6-4a74-8a97-98febdf5b567",gs=null,bs=null,ys={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"},ws=[{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}],Ts="Handbags",Ss={productUserId:ms,requestId:hs,channel:gs,rtc:bs,tag:ys,recList:ws,hashTag:Ts};const xs=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=te(null),g=te(null),C=te(null),u=te(null),[b,h]=G(""),T=se(()=>{var S,x,k,E,A,O,N,H,U,R,z,I;return!((S=e?.video)===null||S===void 0)&&S.cover?(x=e?.video)===null||x===void 0?void 0:x.cover:!((k=e?.video)===null||k===void 0)&&k.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((O=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||O===void 0)&&O.length?(H=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||H===void 0?void 0:H[0]:!((R=(U=e?.product)===null||U===void 0?void 0:U.homePage)===null||R===void 0)&&R.length?(I=(z=e?.product)===null||z===void 0?void 0:z.homePage)===null||I===void 0?void 0:I[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,k,E,A,O,N,H,U;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((x=e?.product)===null||x===void 0)&&x.price)?`${(O=(A=(E=(k=e?.product)===null||k===void 0?void 0:k.currency)===null||E===void 0?void 0:E.split("-")[1])===null||A===void 0?void 0:A.toUpperCase())!==null&&O!==void 0?O:""}${(U=(H=(N=e?.product)===null||N===void 0?void 0:N.price)===null||H===void 0?void 0:H.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&U!==void 0?U:""}`:null},[e]);Z(()=>{const S=new IntersectionObserver(x=>{x.forEach(k=>{if(k.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,k)=>{const E=S/x;return k/E};Z(()=>{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 k=x.getContext("2d"),E=window?.innerWidth/2,A=M(S.videoWidth,S.videoHeight,E);x.height=A,x.width=E,k?.drawImage(S,0,0,x.width,x.height),h(x.toDataURL()),S.remove(),x.remove()})},[T,m]);const D=()=>{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:D,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 Es(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=te(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]),Z(()=>{var S,x;if(T(!0),c&&p?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(k=>{var E,A;b(k),C((A=(E=k?.recList)===null||E===void 0?void 0:E.filter(O=>O?.video!==null||O?.product!==null))!==null&&A!==void 0?A:[]),T(!1)}),y){const k=Ss;b(k),C((x=(S=k?.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 D=()=>{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:D,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(xs,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:D},((r=u?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection"))))}var Cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Is=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();te(null);const g=te(null),[C,u]=G();Z(()=>{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,D;P||(D=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||D===void 0||D.slideTo(d,0,!1),n?.(!1)},0)},[h,T]=G();Z(()=>{i&&T(i)},[i]);const w=pe(()=>{var P,M,D,S,x,k;const E=h?.rec;if(!E)return;let A="";f?A="hashTagPage":!((P=E?.video)===null||P===void 0)&&P.url?A="videoPage":!((D=(M=E?.video)===null||M===void 0?void 0:M.imgUrls)===null||D===void 0)&&D.length&&(A="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:(k=E?.video)===null||k===void 0?void 0:k.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:A,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,y,C,f,d]);return Z(()=>{o&&u(new Date)},[o]),Z(()=>{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($i,{icon:Cs,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:b}),v.createElement(Es,Object.assign({reportTagsView:w},t))),g.current):null};var qi=re(Is);const Ds=t=>v.createElement(qi,Object.assign({},t));var As=re(Ds);const ks=Se(As,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:fs,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 Yi=Object.freeze({__proto__:null,Appoint:jl,AppointForm:kn,Commodity:_l,CommodityDetail:ml,CommodityDetailDiroNew:Cl,CommodityDiro:Gl,CommodityDiroNew:Xl,HashTag:ks,Link:zl,MultiCommodity:as,MultiCommodityDiro:is,MultiCommodityDiroNew:ps,Prompt:Tl});const Ps="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",_s="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Os=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=Je(_s),f=Je(Ps),y=At(()=>Te(void 0,void 0,void 0,function*(){var g,C,u,b,h,T,w,P,M,D,S,x,k,E,A,O,N,H,U,R;if(c){p(!1);const z=(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:!((D=o.video)===null||D===void 0)&&D.url?"video":"image",traceInfo:(S=o.video)===null||S===void 0?void 0:S.traceInfo}}),z||p(!0)}else{p(!0);const z=(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=(k=o.video)===null||k===void 0?void 0:k.itemId)!==null&&E!==void 0?E:"",contentName:(O=(A=o.video)===null||A===void 0?void 0:A.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((H=(N=o.video)===null||N===void 0?void 0:N.tags)!==null&&H!==void 0?H:[]),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}}),z||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 Ms=re(Os);const ot=new ln;var Ge;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ge||(Ge={}));const Ls=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:s})=>{const[r,a]=G(!1),d=te(null),{bffEventReport:c,sxpParameter:p,waterFallData:m,openHashtag:f}=ce(),y=te(0),[g,C]=G(!1),[u,b]=G(!0),{isActive:h}=Ui(),T=te(null),[w,P]=G(""),M=`pb-video-${e}`;Z(()=>{d.current&&d.current.muted(o)},[o]);const D=pe(()=>{var I;(I=d.current)===null||I===void 0||I.play()},[]),S=Je("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=pe(()=>{var I,_,j,J,de,ne,B,V,F,ee,X,K,le;a(!1);const ve=n[e];if(ve&&(!((I=d?.current)===null||I===void 0)&&I.duration())){y.current=((_=d?.current)===null||_===void 0?void 0:_.currentTime())||0;const he=((J=(j=d.current)===null||j===void 0?void 0:j.duration())!==null&&J!==void 0?J:0).toFixed(2),Me=((ne=(de=d.current)===null||de===void 0?void 0:de.currentTime())!==null&&ne!==void 0?ne:0).toFixed(2),Pe=u?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(V=(B=ve.video)===null||B===void 0?void 0:B.itemId)!==null&&V!==void 0?V:"",contentName:(ee=(F=ve.video)===null||F===void 0?void 0:F.title)!==null&&ee!==void 0?ee:"",playType:Pe,startTime:Me,videoDuration:he,contentTags:JSON.stringify((K=(X=ve.video)===null||X===void 0?void 0:X.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(le=ve.video)===null||le===void 0?void 0:le.traceInfo}}),b(!1)}},[c,n,e,u]),k=pe(()=>{C(!0)},[]),E=pe(I=>()=>{var _,j,J,de,ne;if(!g)return;const B=(_=d.current)===null||_===void 0?void 0:_.paused();switch(I){case"start":if(!B)return;(j=d.current)===null||j===void 0||j.play(),a(!1);break;case"pause":if(B)return;(J=d.current)===null||J===void 0||J.pause(),a(!0);break;default:B?(de=d.current)===null||de===void 0||de.play():(ne=d.current)===null||ne===void 0||ne.pause(),a(!B);break}},[g]),A=pe(()=>{var I,_,j,J,de,ne,B,V,F,ee,X,K,le;const ve=n[e],he=((_=(I=d.current)===null||I===void 0?void 0:I.duration())!==null&&_!==void 0?_:0).toFixed(2),Me=((J=(j=d.current)===null||j===void 0?void 0:j.currentTime())!==null&&J!==void 0?J:0).toFixed(2);if(!((de=d?.current)===null||de===void 0)&&de.duration()){const Pe=(((ne=d?.current)===null||ne===void 0?void 0:ne.currentTime())-y.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(V=(B=ve.video)===null||B===void 0?void 0:B.itemId)!==null&&V!==void 0?V:"",contentName:(ee=(F=ve.video)===null||F===void 0?void 0:F.title)!==null&&ee!==void 0?ee:"",endTime:Me,videoDuration:he,playDuration:Pe,contentTags:JSON.stringify((K=(X=ve.video)===null||X===void 0?void 0:X.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(le=ve.video)===null||le===void 0?void 0:le.traceInfo}})}},[n,e,c]),O=se(()=>s?.mode==="2",[s]),N=se(()=>{var I;return s?.mode==="2"?`translateY(-${50+((I=s?.offsetTop)!==null&&I!==void 0?I:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),H=se(()=>{var I;return((I=t?.video)===null||I===void 0?void 0:I.cover)||w},[w,t]),U=pe(()=>{const I=document.getElementById(`${M}_html5_api`);if(!T||!I||!T.current)return;const _=I,j=T?.current,J=j.getContext("2d"),de=window?.innerWidth,ne=window?.innerHeight;j.height=ne,j.width=de,J?.drawImage(_,0,0,j.width,j.height),P(j.toDataURL())},[]);Z(()=>{var I,_,j,J,de,ne;a(!1);const B=t.video.url;return B&&typeof TCPlayer=="function"&&(d.current=TCPlayer(M,{sources:[{src:B}],licenseUrl:"https://license.vod2.myqcloud.com/license/v2/1325816236_1/v_cube.license",controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0})),(I=d.current)===null||I===void 0||I.on("loadedmetadata",k),(_=d.current)===null||_===void 0||_.on("canplay",k),(j=d.current)===null||j===void 0||j.on("playing",x),(J=d.current)===null||J===void 0||J.on("loadeddata",U),(de=d.current)===null||de===void 0||de.on("pause",A),(ne=d.current)===null||ne===void 0||ne.on("ended",D),()=>{var V,F,ee,X,K,le;(V=d.current)===null||V===void 0||V.off("loadedmetadata",k),(F=d.current)===null||F===void 0||F.off("canplay",k),(ee=d.current)===null||ee===void 0||ee.off("playing",x),(X=d.current)===null||X===void 0||X.off("loadeddata",U),(K=d.current)===null||K===void 0||K.off("pause",A),(le=d.current)===null||le===void 0||le.off("ended",D),d.current.dispose()}},[]),Z(()=>{var I;!d?.current||!g||(h?d.current.play():(I=d.current)===null||I===void 0||I.pause())},[h,g]),Z(()=>{var I,_,j;if(!h||!d?.current)return;!((I=d.current)===null||I===void 0?void 0:I.paused)&&f?(_=d.current)===null||_===void 0||_.pause():f||(j=d.current)===null||j===void 0||j.play()},[f,h]),Z(()=>{if(!h)return;const I=E("start"),_=E("pause");return ot.on(Ge.PAGE_DID_SHOW,I),ot.on(Ge.PAGE_DID_HIDE,_),()=>{ot.off(Ge.PAGE_DID_SHOW,I),ot.off(Ge.PAGE_DID_HIDE,_)}},[E,h]);const R=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]);Z(()=>{const I=()=>{var _,j;l===e&&(!((_=t?.video)===null||_===void 0)&&_.url)&&(!((j=d?.current)===null||j===void 0)&&j.src)&&!r&&E("pause")()};return window.addEventListener("beforeunload",I),()=>{window.removeEventListener("beforeunload",I)}},[l,e,t,d,E,r]);const z=se(()=>O?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[O]);return t.video?v.createElement(v.Fragment,null,O?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:E(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},v.createElement(ke,{src:H,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},z)}),v.createElement("canvas",{ref:T,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:N,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,playsInline:!0,crossOrigin:"anonymous",style:{width:"100%",height:"100%",objectFit:"contain",backgroundColor:"transparent",pointerEvents:"none"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:S}))),R):v.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:E()},v.createElement("video",{id:`pb-video-${e}`,playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),R,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:S}))):null};var js=re(Ls);const Ns=({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 Rs=re(Ns);const Bs=({imageUrl:t})=>{const[e,i]=G(!0);Ne(),Z(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Je("/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}))},zs=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}}))},Vs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:s,imgUrlsPostConfig:r})=>{var a;const d=te(),{isActive:c}=Ui(),{sxpParameter:p,openHashtag:m}=ce(),[f,y]=G(!1);return Z(()=>{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(Re,{key:g},v.createElement(zs,{src:g,height:i,imgUrlsPostConfig:r}))))};var Fs=re(Vs);const Hs=({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(Re,{key:g,hidden:s?!1:g>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(y)},`#${y}`))))};var Us=re(Hs),Gs="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}=fn(),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 Ws=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Ne(),l=se(()=>{var s,r,a,d,c,p,m,f,y,g,C,u,b,h,T,w,P,M,D,S,x,k,E,A,O,N,H,U,R,z,I;if(!t?.video)return null;let _=null;!((r=(s=t?.video)===null||s===void 0?void 0:s.bindProducts)===null||r===void 0)&&r.length?_="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?_="\u5546\u54C1CTA":_=(c=(d=t?.video)===null||d===void 0?void 0:d.bindCta)===null||c===void 0?void 0:c.itemId;const j=i?.[_];if(((p=j?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=j?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((g=j?.item)===null||g===void 0?void 0:g.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((u=j?.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=j?.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=j?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||S===void 0)&&S.length))return null;if(j&&n){const J=n[(x=j?.item)===null||x===void 0?void 0:x.type],de=li(J),ne=(k=J?.extend)===null||k===void 0?void 0:k.defaulSetting,B=((O=(A=(E=j?.item)===null||E===void 0?void 0:E.event)===null||A===void 0?void 0:A.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return v.createElement(de,Object.assign({style:Object.assign(Object.assign(Object.assign({},ne?.style),(N=j?.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({},ne?.textStyle),(H=j?.item)===null||H===void 0?void 0:H.textStyle),bindDatas:(R=(U=j?.item)===null||U===void 0?void 0:U.bindDatas)!==null&&R!==void 0?R:[]},ne?.props,(z=j?.item)===null||z===void 0?void 0:z.props,{event:((I=j?.item)===null||I===void 0?void 0:I.event)||{},schema:o,id:j?.id,key:j?.id,recData:t,isExternalLink:B,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var $s=re(Ws);const qs=({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))),Xi=({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}=Ne(),[T,w]=G(0),P=te(0),[M,D]=G(!1),[S,x]=G(!0),k=te(),E=te(),[A,O]=G(!1),[N,H]=G(!1),{loadVideos:U,bffEventReport:R,loading:z,setPopupDetailData:I,ctaEvent:_,swiperRef:j,waterFallData:J,setOpenHashtag:de,appDomain:ne,openHashtag:B,loadingImage:V,isFromHashtag:F,popupDetailData:ee}=ce(),{productView:X}=Be(),K=se(()=>s.length>0&&!z&&bn(),[s,z]),le=pe(()=>{if(s.length<=0)return;ve();const L=location.search.slice(1),Y=ci.parse(L.replace(/\+/g,"%2B"));for(const Q in Y)Y[Q]=Y[Q].replace(/%2B/g,"+");const W=Q=>{var oe;return(oe=Y[Q])!==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}}),D(!0)},[R,s.length]),ve=()=>{k.current=new Date,E.current=new Date,mn()};Z(()=>{M||le()},[le,M]),Z(()=>{var L;const Y=s?.findIndex(W=>{var Q,oe,ue,q,ae,fe,me,Ie,De;return r==="\u591A\u5546\u54C1CTA"?((Q=W?.video)===null||Q===void 0?void 0:Q.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&&(((me=W?.video)===null||me===void 0?void 0:me.url)||((De=(Ie=W?.video)===null||Ie===void 0?void 0:Ie.imgUrls)===null||De===void 0?void 0:De.length))})||0;(L=j?.current)===null||L===void 0||L.swiper.slideTo(Y)},[r,j]),Z(()=>{const L=s?.[T],Y=()=>{var W,Q,oe,ue,q,ae,fe,me,Ie,De,$e,qe,Ye,Xe,Fe;if(document.visibilityState==="hidden"){ot.emit(Ge.PAGE_DID_HIDE,L),Ve(L),at(L);let Le="";ee&&(!((Q=(W=L?.video)===null||W===void 0?void 0:W.bindProducts)===null||Q===void 0)&&Q.length||!((oe=L?.video)===null||oe===void 0)&&oe.bindProduct)?Le="pdpPage":ee&&o?.[(ae=(q=(ue=L.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"?Le="formPage":F?Le="hashTagPage":!((fe=L?.video)===null||fe===void 0)&&fe.url?Le="videoPage":!((me=L?.video)===null||me===void 0)&&me.imgUrls&&(!((De=(Ie=L?.video)===null||Ie===void 0?void 0:Ie.imgUrls)===null||De===void 0)&&De.length)?Le="imagePage":L?.product&&(Le="productPage"),R?.({eventInfo:{sessionDuration:Math.floor((new Date-k.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",relatedContentId:($e=L?.video)===null||$e===void 0?void 0:$e.itemId,relatedProductId:(qe=L?.product)===null||qe===void 0?void 0:qe.itemId,position:T+"",fromKName:Le,fromKPage:location?.href,relatedCtatId:(Fe=(Xe=(Ye=L.video)===null||Ye===void 0?void 0:Ye.bindCta)===null||Xe===void 0?void 0:Xe.itemId)!==null&&Fe!==void 0?Fe:""}})}else document.visibilityState==="visible"&&(le(),We(T),ot.emit(Ge.PAGE_DID_SHOW,L))};return document.addEventListener("visibilitychange",Y),()=>{document.removeEventListener("visibilitychange",Y)}},[T,R,k,s,le,ee,F,o]);const he=se(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),Me=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]),Pe=pe((L,Y)=>{var W,Q,oe,ue;return!((W=L.video)===null||W===void 0)&&W.url?v.createElement(js,{rec:L,index:Y,muted:S,data:s,height:he,activeIndex:T,videoPostConfig:t?.videoPost}):!((Q=L.video)===null||Q===void 0)&&Q.imgUrls?v.createElement(Fs,{key:L.video.itemId,imgUrls:L.video.imgUrls,width:n,height:he,rec:L,index:Y,onReportViewImageEnd:Ve,onViewImageStartEvent:We,imgUrlsPostConfig:t?.imgUrlsPost}):L.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,me,Ie,De,$e,qe,Ye,Xe;const Fe=l[(fe=q?.item)===null||fe===void 0?void 0:fe.type],Le=li(Fe),je=(me=Fe?.extend)===null||me===void 0?void 0:me.defaulSetting;return v.createElement(Le,Object.assign({key:`${Y}${ae}`,textStyle:Object.assign(Object.assign({},je?.textStyle),(Ie=q?.item)===null||Ie===void 0?void 0:Ie.textStyle),bindDatas:($e=(De=q?.item)===null||De===void 0?void 0:De.bindDatas)!==null&&$e!==void 0?$e:[]},je?.props,(qe=q?.item)===null||qe===void 0?void 0:qe.props,{event:((Ye=q?.item)===null||Ye===void 0?void 0:Ye.event)||{},schema:h,id:q?.id,viewTime:E.current,rec:L,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},je?.style),(Xe=q?.item)===null||Xe===void 0?void 0:Xe.style),{height:"100%",overflow:"auto"}),index:Y}))}):null},[n,s,he,S,T,t?.productPost,E,a,l,h]),Qe=pe(L=>{H(L)},[]),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((L,Y)=>{var W,Q,oe,ue,q,ae,fe;return L.video?v.createElement(v.Fragment,null,((W=L.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(qs,{nudge:d}),v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement($s,{rec:L,index:Y,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=(Q=L.video)===null||Q===void 0?void 0:Q.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(Us,{index:T,tags:(q=(ue=L?.video)===null||ue===void 0?void 0:ue.hashTags)!==null&&q!==void 0?q:[],itemId:(ae=L?.video)===null||ae===void 0?void 0:ae.itemId,itemType:!((fe=L.video)===null||fe===void 0)&&fe.itemId?"VIDEO":null,rec:L,hashTagStyle:p})))):null},[e,T,o,l,a,d,p,t,Qe,N,lt]),st=pe((L,Y)=>{var W,Q;if(!t?.isShowLike)return;let oe=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return J&&oe<40&&(oe+=40),L.video?v.createElement(Ms,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{top:oe,right:(Q=t?.likeIconX)!==null&&Q!==void 0?Q:0},position:Y}):null},[t,J]),Ve=L=>{var Y,W,Q,oe,ue,q;if(!(!((Y=L.video)===null||Y===void 0)&&Y.url)&&(!((W=L.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=(Q=L.video)===null||Q===void 0?void 0:Q.itemId)!==null&&oe!==void 0?oe:"",contentName:(ue=L.video.title)!==null&&ue!==void 0?ue:"",imageEndTime:`${ae}`,playDuration:`${fe}`,contentTags:JSON.stringify((q=L.video.tags)!==null&&q!==void 0?q:[]),position:T+"",contentFormat:"image",traceInfo:L.video.traceInfo}})}},we=L=>{var Y,W,Q,oe,ue,q,ae,fe;E.current=new Date;const me=s[L.previousIndex];me&&(L.previousIndex-L.activeIndex<0?(R?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",relatedContentId:(W=(Y=me.video)===null||Y===void 0?void 0:Y.itemId)!==null&&W!==void 0?W:"",relatedProductId:(oe=(Q=me.product)===null||Q===void 0?void 0:Q.itemId)!==null&&oe!==void 0?oe:"",requestId:null}}),Ve(me)):(R?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",relatedContentId:(q=(ue=me.video)===null||ue===void 0?void 0:ue.itemId)!==null&&q!==void 0?q:"",relatedProductId:(fe=(ae=me.product)===null||ae===void 0?void 0:ae.itemId)!==null&&fe!==void 0?fe:"",requestId:null}}),Ve(me)),at(me))},at=L=>{var Y,W,Q;!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&!(!((W=L?.video)===null||W===void 0)&&W.imgUrls)&&L?.product&&X(L,L.product,(Q=L?.product)===null||Q===void 0?void 0:Q.bindCta,E.current,T)};Z(()=>{const L=s[T];B&&at(L)},[B,s,T]);const We=L=>{var Y,W,Q,oe,ue,q;const ae=s[L];if(!(!((Y=ae?.video)===null||Y===void 0)&&Y.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=(Q=ae.video)===null||Q===void 0?void 0:Q.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:L+"",contentFormat:"image",traceInfo:ae.video.traceInfo}})}},vt=se(()=>{const L=s?.map((Y,W)=>T===W||W-1===T||W+1===T?Y:null);return J?L:L.concat([{loading:!0}])},[s,T,J]),Ki=se(()=>z?v.createElement("div",{style:{height:he,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:V,alt:"loading...",style:{objectFit:"contain"}})):vt?.map((L,Y)=>v.createElement(Re,{key:Y,virtualIndex:Y},L&&v.createElement(v.Fragment,null,L?.loading?v.createElement("div",{style:{height:he,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,Pe(L,Y),Ze(L,Y),st(L,Y))))),[n,s,he,z,Ze,Pe,vt,V]),Qi=Je("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Zi=Je("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},J&&v.createElement($i,{icon:Gs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{de?.(!0)}}),Me,K?v.createElement(Bs,{imageUrl:t?.swipeTipIcon}):null,v.createElement(nt,{ref:j,onActiveIndexChange:L=>{w(L.activeIndex),!B&&(we(L),!J&&L?.activeIndex+2>=s?.length&&(A||(O(!0),U?.(Math.ceil(T/10)+1).then(()=>{O(!1)}))))},direction:"vertical",height:he},v.createElement(Rs,{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:Qi,unactiveIcon:t?.muteIcon?t?.muteIcon:Zi,onChange:x}),Ki),v.createElement(qi,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)))},Ys=()=>{const{schema:t,resolver:e,popup:i}=Ne(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=ce(),{productView:s}=Be(),[r,a]=G(),d=te(null);Z(()=>{const m=()=>{d.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),Z(()=>{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,D;if(g?.id===i?.id){const S=e[(u=g?.item)===null||u===void 0?void 0:u.type],x=li(S),k=(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({},k?.style),(h=g?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},k?.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:[]},k?.props,(M=g?.item)===null||M===void 0?void 0:M.props,{event:((D=g?.item)===null||D===void 0?void 0:D.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(Yi).forEach(t=>{si[t.extend.type]=t});const Xs=({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(xi,{resolver:si,enableDataSource:!1,schema:t?.data,utmVal:m},v.createElement(yi,{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(Xi,Object.assign({},(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf,{data:f,resolver:si})),v.createElement(Ys,null))}}))};var Js=re(Xs);const Ji=ct({}),Ks=({children:t,data:e})=>{var i,n,o,l,s,r;const[a,d]=G(!1);return v.createElement(Ji.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 Qs(){return dt(Ji)}export{Ks as EditorDataProvider,It as Modal,yi as SxpDataSourceProvider,Js as SxpPageCore,Xi as SxpPageRender,xn as core,pn as default,Cn as defaultSetting,Yi as materials,Qs as useEditorDataProvider};
|
7
7
|
//# sourceMappingURL=index.min.js.map
|